Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MEX-397] xmex farm position energy increase #1266

Merged

Conversation

claudiulataretu
Copy link
Collaborator

Reasoning

  • proxy dex can increase the energy for a xmex from a wrapped farm token

Proposed Changes

  • added query to generate transaction that increases the energy of xmex from XMEXFARM token

How to test

query IncreaseProxyFarmTokenEnergy {
	increaseProxyFarmTokenEnergy(
		payment: {
			tokenID: <proxy_farm_token_id>,
			nonce: <nonce>,
			amount: <amount>
		},
		lockEpochs: 360
	) {
		data
	}
}
  • query should return transaction

Copy link

codecov bot commented Jan 29, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (388d07c) 56.70% compared to head (58e4e4a) 56.69%.
Report is 1 commits behind head on feat/xexchange-v3.

Files Patch % Lines
...ices/proxy-farm/proxy.farm.transactions.service.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##           feat/xexchange-v3    #1266      +/-   ##
=====================================================
- Coverage              56.70%   56.69%   -0.02%     
=====================================================
  Files                    242      242              
  Lines                   8599     8601       +2     
  Branches                 615      615              
=====================================================
  Hits                    4876     4876              
- Misses                  3185     3187       +2     
  Partials                 538      538              
Flag Coverage Δ
unittests 56.69% <0.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@claudiulataretu claudiulataretu merged commit 498bc5c into feat/xexchange-v3 Jan 29, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants