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

Update dependencies and add EVMS event/function definitions #9142

Merged
merged 2 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add new function and event JSON definitions for EVMS
  • Loading branch information
0xnekoya committed Jan 15, 2025
commit 757a8e698fe161f07e1ae5ad0ff97f18109a674a
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"event","anonymous":false,"inputs":[{"name":"receiver","internalType":"address","type":"address","indexed":false},{"name":"srcTrackId","internalType":"uint24","type":"uint24","indexed":false},{"name":"timestamp","internalType":"uint80","type":"uint80","indexed":false},{"name":"dstChainId","internalType":"uint64","type":"uint64","indexed":false},{"name":"dstTrackId","internalType":"uint24","type":"uint24","indexed":false}],"name":"SyncTotalWeight"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"event","anonymous":false,"inputs":[{"name":"token","internalType":"address","type":"address","indexed":false},{"name":"totalAmount","internalType":"uint256","type":"uint256","indexed":false},{"name":"recipientsCount","internalType":"uint256","type":"uint256","indexed":false}],"name":"Sent"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"event","anonymous":false,"inputs":[{"name":"receiver","internalType":"address","type":"address","indexed":false},{"name":"srcTrackId","internalType":"uint24","type":"uint24","indexed":false},{"name":"timestamp","internalType":"uint80","type":"uint80","indexed":false},{"name":"dstChainId","internalType":"uint64","type":"uint64","indexed":false},{"name":"dstTrackId","internalType":"uint24","type":"uint24","indexed":false}],"name":"SyncUserWeight"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"event","anonymous":false,"inputs":[{"name":"orderHash","internalType":"bytes32","type":"bytes32","indexed":true},{"name":"swapper","internalType":"address","type":"address","indexed":true},{"name":"ref","internalType":"address","type":"address","indexed":true},{"name":"inToken","internalType":"address","type":"address","indexed":false},{"name":"outToken","internalType":"address","type":"address","indexed":false},{"name":"inAmount","internalType":"uint256","type":"uint256","indexed":false},{"name":"outAmount","internalType":"uint256","type":"uint256","indexed":false}],"name":"Resolved"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"event","anonymous":false,"inputs":[{"name":"recipient","internalType":"address","type":"address","indexed":true},{"name":"token","internalType":"address","type":"address","indexed":false},{"name":"amount","internalType":"uint256","type":"uint256","indexed":false}],"name":"ExtraOut"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"event","anonymous":false,"inputs":[{"name":"protocolBeneficiary","internalType":"address","type":"address","indexed":false}],"name":"ProtocolBeneficiaryUpdated"}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"event","anonymous":false,"inputs":[{"name":"ref","internalType":"address","type":"address","indexed":true},{"name":"swapper","internalType":"address","type":"address","indexed":false},{"name":"token","internalType":"address","type":"address","indexed":false},{"name":"amount","internalType":"uint256","type":"uint256","indexed":false},{"name":"refshare","internalType":"uint256","type":"uint256","indexed":false}],"name":"Surplus"}]
1 change: 1 addition & 0 deletions evms/functions/0x00c40584.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"","internalType":"uint24","type":"uint24"},{"name":"","internalType":"uint24","type":"uint24"}],"name":"trackFinishedSaleTimestamps","outputs":[{"name":"","internalType":"uint80","type":"uint80"}],"stateMutability":"view"}]
1 change: 1 addition & 0 deletions evms/functions/0x185242b0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"receiver","internalType":"address","type":"address"},{"name":"trackId","internalType":"uint24","type":"uint24"},{"name":"timestamp","internalType":"uint80","type":"uint80"},{"name":"dstChainId","internalType":"uint64","type":"uint64"}],"name":"syncTotalWeight","outputs":[],"stateMutability":"payable"}]
1 change: 1 addition & 0 deletions evms/functions/0x19e1fca4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[],"name":"allowed","outputs":[{"name":"","internalType":"contract IAllowed","type":"address"}],"stateMutability":"view"}]
1 change: 1 addition & 0 deletions evms/functions/0x1b5ad8b5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"to","internalType":"address","type":"address"},{"name":"amount","internalType":"uint256","type":"uint256"}],"name":"mintByBond","outputs":[],"stateMutability":"nonpayable"}]
1 change: 1 addition & 0 deletions evms/functions/0x23100509.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[],"name":"KEY_GRANTER_ROLE","outputs":[{"name":"","internalType":"bytes32","type":"bytes32"}],"stateMutability":"view"}]
1 change: 1 addition & 0 deletions evms/functions/0x27e381a9.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"protocolBeneficiary_","internalType":"address","type":"address"}],"name":"updateProtocolBeneficiary","outputs":[],"stateMutability":"nonpayable"}]
1 change: 1 addition & 0 deletions evms/functions/0x2af9162a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"_granter","internalType":"address","type":"address"}],"name":"revokeKeyGranter","outputs":[],"stateMutability":"nonpayable"}]
1 change: 1 addition & 0 deletions evms/functions/0x2f4fe782.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"receiver","internalType":"address","type":"address"},{"name":"users","internalType":"address[]","type":"address[]"},{"name":"trackId","internalType":"uint24","type":"uint24"},{"name":"timestamp","internalType":"uint80","type":"uint80"},{"name":"dstChainId","internalType":"uint64","type":"uint64"}],"name":"syncUserWeight","outputs":[],"stateMutability":"payable"}]
1 change: 1 addition & 0 deletions evms/functions/0x318adb8b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"recipients","internalType":"address[]","type":"address[]"},{"name":"amounts","internalType":"uint256[]","type":"uint256[]"}],"name":"sendNative","outputs":[],"stateMutability":"payable"}]
1 change: 1 addition & 0 deletions evms/functions/0x41e461a0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"name_","internalType":"string","type":"string"},{"name":"symbol_","internalType":"string","type":"string"},{"name":"uri_","internalType":"string","type":"string"}],"name":"init","outputs":[],"stateMutability":"nonpayable"}]
1 change: 1 addition & 0 deletions evms/functions/0x489f9902.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"order","internalType":"struct SignedOrder","type":"tuple","components":[{"name":"order","internalType":"bytes","type":"bytes"},{"name":"sig","internalType":"bytes","type":"bytes"}]},{"name":"calls","internalType":"struct IMulticall3.Call[]","type":"tuple[]","components":[{"name":"target","internalType":"address","type":"address"},{"name":"callData","internalType":"bytes","type":"bytes"}]},{"name":"outAmountSwapper","internalType":"uint256","type":"uint256"}],"name":"execute","outputs":[],"stateMutability":"nonpayable"}]
1 change: 1 addition & 0 deletions evms/functions/0x52b0f638.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"account","internalType":"address","type":"address"}],"name":"isKeyGranter","outputs":[{"name":"","internalType":"bool","type":"bool"}],"stateMutability":"view"}]
1 change: 1 addition & 0 deletions evms/functions/0x564aa99d.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"account","internalType":"address","type":"address"}],"name":"addKeyGranter","outputs":[],"stateMutability":"nonpayable"}]
1 change: 1 addition & 0 deletions evms/functions/0x594e7f2b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"feePerRecipient_","internalType":"uint256","type":"uint256"}],"name":"updateFeePerRecipient","outputs":[],"stateMutability":"nonpayable"}]
1 change: 1 addition & 0 deletions evms/functions/0x5963709b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[],"name":"INVALID_ADDRESS","outputs":[{"name":"","internalType":"address","type":"address"}],"stateMutability":"view"}]
1 change: 1 addition & 0 deletions evms/functions/0x8ca2fbad.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[],"name":"LOCK_MANAGER_ROLE","outputs":[{"name":"","internalType":"bytes32","type":"bytes32"}],"stateMutability":"view"}]
1 change: 1 addition & 0 deletions evms/functions/0x990e6005.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[],"name":"protocolBeneficiary","outputs":[{"name":"","internalType":"address","type":"address"}],"stateMutability":"view"}]
1 change: 1 addition & 0 deletions evms/functions/0xad016716.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"trackId","internalType":"uint24","type":"uint24"},{"name":"timestamp","internalType":"uint80","type":"uint80"},{"name":"start","internalType":"uint256","type":"uint256"},{"name":"count","internalType":"uint256","type":"uint256"}],"name":"getBatchStakeWeightByTrackId","outputs":[{"name":"","internalType":"struct IFAllocationMaster.AddressStakeWeight[]","type":"tuple[]","components":[{"name":"user","internalType":"address","type":"address"},{"name":"stakeWeight","internalType":"uint192","type":"uint192"}]}],"stateMutability":"view"}]
1 change: 1 addition & 0 deletions evms/functions/0xd59b5d7e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"token","internalType":"address","type":"address"},{"name":"recipients","internalType":"address[]","type":"address[]"},{"name":"amounts","internalType":"uint256[]","type":"uint256[]"}],"name":"sendERC1155","outputs":[],"stateMutability":"payable"}]
1 change: 1 addition & 0 deletions evms/functions/0xf4efe8f2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"account","internalType":"address","type":"address"},{"name":"amount","internalType":"uint256","type":"uint256"}],"name":"burnByBond","outputs":[],"stateMutability":"nonpayable"}]
1 change: 1 addition & 0 deletions evms/functions/0xf8548e36.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[{"name":"_tokenId","internalType":"uint256","type":"uint256"},{"name":"_to","internalType":"address","type":"address"},{"name":"_valueBasisPoint","internalType":"uint256","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","internalType":"bool","type":"bool"}],"stateMutability":"nonpayable"}]
1 change: 1 addition & 0 deletions evms/functions/0xfc530b7d.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"function","inputs":[],"name":"feePerRecipient","outputs":[{"name":"","internalType":"uint256","type":"uint256"}],"stateMutability":"view"}]
Loading