-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #371 from Once-Upon/feature/ou-2182-extract-across…
…-protocol-abi-snippet-consts-into-an-abis-dir feat: extract abi for acrossProtocol
- Loading branch information
Showing
4 changed files
with
182 additions
and
176 deletions.
There are no files selected for viewing
169 changes: 169 additions & 0 deletions
169
src/contextualizers/bridges/acrossProtocol/abis/AcrossProtcolRelayer.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
const abi = [ | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'amount', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'originChainId', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'uint256', | ||
name: 'destinationChainId', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'int64', | ||
name: 'relayerFeePct', | ||
type: 'int64', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'uint32', | ||
name: 'depositId', | ||
type: 'uint32', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint32', | ||
name: 'quoteTimestamp', | ||
type: 'uint32', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'originToken', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'recipient', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'address', | ||
name: 'depositor', | ||
type: 'address', | ||
}, | ||
{ indexed: false, internalType: 'bytes', name: 'message', type: 'bytes' }, | ||
], | ||
name: 'FundsDeposited', | ||
type: 'event', | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'amount', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'totalFilledAmount', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'fillAmount', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'repaymentChainId', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'uint256', | ||
name: 'originChainId', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'uint256', | ||
name: 'destinationChainId', | ||
type: 'uint256', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'int64', | ||
name: 'relayerFeePct', | ||
type: 'int64', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'int64', | ||
name: 'realizedLpFeePct', | ||
type: 'int64', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'uint32', | ||
name: 'depositId', | ||
type: 'uint32', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'destinationToken', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'relayer', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: true, | ||
internalType: 'address', | ||
name: 'depositor', | ||
type: 'address', | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: 'address', | ||
name: 'recipient', | ||
type: 'address', | ||
}, | ||
{ indexed: false, internalType: 'bytes', name: 'message', type: 'bytes' }, | ||
{ | ||
components: [ | ||
{ internalType: 'address', name: 'recipient', type: 'address' }, | ||
{ internalType: 'bytes', name: 'message', type: 'bytes' }, | ||
{ internalType: 'int64', name: 'relayerFeePct', type: 'int64' }, | ||
{ internalType: 'bool', name: 'isSlowRelay', type: 'bool' }, | ||
{ | ||
internalType: 'int256', | ||
name: 'payoutAdjustmentPct', | ||
type: 'int256', | ||
}, | ||
], | ||
indexed: false, | ||
internalType: 'struct SpokePool.RelayExecutionInfo', | ||
name: 'updatableRelayData', | ||
type: 'tuple', | ||
}, | ||
], | ||
name: 'FilledRelay', | ||
type: 'event', | ||
}, | ||
] as const; | ||
|
||
export default abi; |
174 changes: 4 additions & 170 deletions
174
src/contextualizers/bridges/acrossProtocol/constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.