@chainlink/ccip-sdk 0.0.0 → 0.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/aptos/exec.d.ts +18 -0
- package/dist/aptos/exec.d.ts.map +1 -0
- package/dist/aptos/exec.js +55 -0
- package/dist/aptos/exec.js.map +1 -0
- package/dist/aptos/hasher.d.ts +11 -0
- package/dist/aptos/hasher.d.ts.map +1 -0
- package/dist/aptos/hasher.js +62 -0
- package/dist/aptos/hasher.js.map +1 -0
- package/dist/aptos/index.d.ts +92 -0
- package/dist/aptos/index.d.ts.map +1 -0
- package/dist/aptos/index.js +482 -0
- package/dist/aptos/index.js.map +1 -0
- package/dist/aptos/logs.d.ts +9 -0
- package/dist/aptos/logs.d.ts.map +1 -0
- package/dist/aptos/logs.js +167 -0
- package/dist/aptos/logs.js.map +1 -0
- package/dist/aptos/send.d.ts +11 -0
- package/dist/aptos/send.d.ts.map +1 -0
- package/dist/aptos/send.js +78 -0
- package/dist/aptos/send.js.map +1 -0
- package/dist/aptos/token.d.ts +4 -0
- package/dist/aptos/token.d.ts.map +1 -0
- package/dist/aptos/token.js +134 -0
- package/dist/aptos/token.js.map +1 -0
- package/dist/aptos/types.d.ts +78 -0
- package/dist/aptos/types.d.ts.map +1 -0
- package/dist/aptos/types.js +60 -0
- package/dist/aptos/types.js.map +1 -0
- package/dist/aptos/utils.d.ts +12 -0
- package/dist/aptos/utils.d.ts.map +1 -0
- package/dist/aptos/utils.js +15 -0
- package/dist/aptos/utils.js.map +1 -0
- package/dist/chain.d.ts +344 -0
- package/dist/chain.d.ts.map +1 -0
- package/dist/chain.js +41 -0
- package/dist/chain.js.map +1 -0
- package/dist/commits.d.ts +25 -0
- package/dist/commits.d.ts.map +1 -0
- package/dist/commits.js +29 -0
- package/dist/commits.js.map +1 -0
- package/dist/evm/abi/BurnMintERC677Token.d.ts +602 -0
- package/dist/evm/abi/BurnMintERC677Token.d.ts.map +1 -0
- package/dist/evm/abi/BurnMintERC677Token.js +488 -0
- package/dist/evm/abi/BurnMintERC677Token.js.map +1 -0
- package/dist/evm/abi/CommitStore_1_2.d.ts +688 -0
- package/dist/evm/abi/CommitStore_1_2.d.ts.map +1 -0
- package/dist/evm/abi/CommitStore_1_2.js +638 -0
- package/dist/evm/abi/CommitStore_1_2.js.map +1 -0
- package/dist/evm/abi/CommitStore_1_5.d.ts +708 -0
- package/dist/evm/abi/CommitStore_1_5.d.ts.map +1 -0
- package/dist/evm/abi/CommitStore_1_5.js +675 -0
- package/dist/evm/abi/CommitStore_1_5.js.map +1 -0
- package/dist/evm/abi/FeeQuoter_1_6.d.ts +1770 -0
- package/dist/evm/abi/FeeQuoter_1_6.d.ts.map +1 -0
- package/dist/evm/abi/FeeQuoter_1_6.js +1904 -0
- package/dist/evm/abi/FeeQuoter_1_6.js.map +1 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_5.d.ts +1116 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_5.d.ts.map +1 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_5.js +1096 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_5.js.map +1 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_5_1.d.ts +1306 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_5_1.d.ts.map +1 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_5_1.js +1278 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_5_1.js.map +1 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_6_1.d.ts +1290 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_6_1.d.ts.map +1 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_6_1.js +1288 -0
- package/dist/evm/abi/LockReleaseTokenPool_1_6_1.js.map +1 -0
- package/dist/evm/abi/OffRamp_1_2.d.ts +1217 -0
- package/dist/evm/abi/OffRamp_1_2.d.ts.map +1 -0
- package/dist/evm/abi/OffRamp_1_2.js +1204 -0
- package/dist/evm/abi/OffRamp_1_2.js.map +1 -0
- package/dist/evm/abi/OffRamp_1_5.d.ts +1271 -0
- package/dist/evm/abi/OffRamp_1_5.d.ts.map +1 -0
- package/dist/evm/abi/OffRamp_1_5.js +1273 -0
- package/dist/evm/abi/OffRamp_1_5.js.map +1 -0
- package/dist/evm/abi/OffRamp_1_6.d.ts +1472 -0
- package/dist/evm/abi/OffRamp_1_6.d.ts.map +1 -0
- package/dist/evm/abi/OffRamp_1_6.js +1529 -0
- package/dist/evm/abi/OffRamp_1_6.js.map +1 -0
- package/dist/evm/abi/OnRamp_1_2.d.ts +1391 -0
- package/dist/evm/abi/OnRamp_1_2.d.ts.map +1 -0
- package/dist/evm/abi/OnRamp_1_2.js +1343 -0
- package/dist/evm/abi/OnRamp_1_2.js.map +1 -0
- package/dist/evm/abi/OnRamp_1_5.d.ts +1443 -0
- package/dist/evm/abi/OnRamp_1_5.d.ts.map +1 -0
- package/dist/evm/abi/OnRamp_1_5.js +1427 -0
- package/dist/evm/abi/OnRamp_1_5.js.map +1 -0
- package/dist/evm/abi/OnRamp_1_6.d.ts +796 -0
- package/dist/evm/abi/OnRamp_1_6.d.ts.map +1 -0
- package/dist/evm/abi/OnRamp_1_6.js +880 -0
- package/dist/evm/abi/OnRamp_1_6.js.map +1 -0
- package/dist/evm/abi/Router.d.ts +541 -0
- package/dist/evm/abi/Router.d.ts.map +1 -0
- package/dist/evm/abi/Router.js +508 -0
- package/dist/evm/abi/Router.js.map +1 -0
- package/dist/evm/abi/TokenAdminRegistry_1_5.d.ts +373 -0
- package/dist/evm/abi/TokenAdminRegistry_1_5.d.ts.map +1 -0
- package/dist/evm/abi/TokenAdminRegistry_1_5.js +333 -0
- package/dist/evm/abi/TokenAdminRegistry_1_5.js.map +1 -0
- package/dist/evm/const.d.ts +27 -0
- package/dist/evm/const.d.ts.map +1 -0
- package/dist/evm/const.js +63 -0
- package/dist/evm/const.js.map +1 -0
- package/dist/evm/errors.d.ts +36 -0
- package/dist/evm/errors.d.ts.map +1 -0
- package/dist/evm/errors.js +192 -0
- package/dist/evm/errors.js.map +1 -0
- package/dist/evm/hasher.d.ts +5 -0
- package/dist/evm/hasher.d.ts.map +1 -0
- package/dist/evm/hasher.js +116 -0
- package/dist/evm/hasher.js.map +1 -0
- package/dist/evm/index.d.ts +121 -0
- package/dist/evm/index.d.ts.map +1 -0
- package/dist/evm/index.js +904 -0
- package/dist/evm/index.js.map +1 -0
- package/dist/evm/messages.d.ts +35 -0
- package/dist/evm/messages.d.ts.map +1 -0
- package/dist/evm/messages.js +11 -0
- package/dist/evm/messages.js.map +1 -0
- package/dist/evm/offchain.d.ts +16 -0
- package/dist/evm/offchain.d.ts.map +1 -0
- package/dist/evm/offchain.js +142 -0
- package/dist/evm/offchain.js.map +1 -0
- package/dist/execution.d.ts +80 -0
- package/dist/execution.d.ts.map +1 -0
- package/dist/execution.js +91 -0
- package/dist/execution.js.map +1 -0
- package/dist/extra-args.d.ts +45 -0
- package/dist/extra-args.d.ts.map +1 -0
- package/dist/extra-args.js +44 -0
- package/dist/extra-args.js.map +1 -0
- package/dist/gas.d.ts +27 -0
- package/dist/gas.d.ts.map +1 -0
- package/dist/gas.js +80 -0
- package/dist/gas.js.map +1 -0
- package/dist/hasher/common.d.ts +12 -0
- package/dist/hasher/common.d.ts.map +1 -0
- package/dist/hasher/common.js +19 -0
- package/dist/hasher/common.js.map +1 -0
- package/dist/hasher/hasher.d.ts +4 -0
- package/dist/hasher/hasher.d.ts.map +1 -0
- package/dist/hasher/hasher.js +11 -0
- package/dist/hasher/hasher.js.map +1 -0
- package/dist/hasher/index.d.ts +4 -0
- package/dist/hasher/index.d.ts.map +1 -0
- package/dist/hasher/index.js +4 -0
- package/dist/hasher/index.js.map +1 -0
- package/dist/hasher/merklemulti.d.ts +58 -0
- package/dist/hasher/merklemulti.d.ts.map +1 -0
- package/dist/hasher/merklemulti.js +257 -0
- package/dist/hasher/merklemulti.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/offchain.d.ts +20 -0
- package/dist/offchain.d.ts.map +1 -0
- package/dist/offchain.js +59 -0
- package/dist/offchain.js.map +1 -0
- package/dist/requests.d.ts +48 -0
- package/dist/requests.d.ts.map +1 -0
- package/dist/requests.js +286 -0
- package/dist/requests.js.map +1 -0
- package/dist/selectors.d.ts +9 -0
- package/dist/selectors.d.ts.map +1 -0
- package/dist/selectors.js +1330 -0
- package/dist/selectors.js.map +1 -0
- package/dist/solana/cleanup.d.ts +15 -0
- package/dist/solana/cleanup.d.ts.map +1 -0
- package/dist/solana/cleanup.js +159 -0
- package/dist/solana/cleanup.js.map +1 -0
- package/dist/solana/exec.d.ts +15 -0
- package/dist/solana/exec.d.ts.map +1 -0
- package/dist/solana/exec.js +417 -0
- package/dist/solana/exec.js.map +1 -0
- package/dist/solana/hasher.d.ts +4 -0
- package/dist/solana/hasher.d.ts.map +1 -0
- package/dist/solana/hasher.js +81 -0
- package/dist/solana/hasher.js.map +1 -0
- package/dist/solana/idl/1.6.0/BASE_TOKEN_POOL.d.ts +866 -0
- package/dist/solana/idl/1.6.0/BASE_TOKEN_POOL.d.ts.map +1 -0
- package/dist/solana/idl/1.6.0/BASE_TOKEN_POOL.js +866 -0
- package/dist/solana/idl/1.6.0/BASE_TOKEN_POOL.js.map +1 -0
- package/dist/solana/idl/1.6.0/BURN_MINT_TOKEN_POOL.d.ts +949 -0
- package/dist/solana/idl/1.6.0/BURN_MINT_TOKEN_POOL.d.ts.map +1 -0
- package/dist/solana/idl/1.6.0/BURN_MINT_TOKEN_POOL.js +949 -0
- package/dist/solana/idl/1.6.0/BURN_MINT_TOKEN_POOL.js.map +1 -0
- package/dist/solana/idl/1.6.0/CCIP_CCTP_TOKEN_POOL.d.ts +1374 -0
- package/dist/solana/idl/1.6.0/CCIP_CCTP_TOKEN_POOL.d.ts.map +1 -0
- package/dist/solana/idl/1.6.0/CCIP_CCTP_TOKEN_POOL.js +1374 -0
- package/dist/solana/idl/1.6.0/CCIP_CCTP_TOKEN_POOL.js.map +1 -0
- package/dist/solana/idl/1.6.0/CCIP_COMMON.d.ts +104 -0
- package/dist/solana/idl/1.6.0/CCIP_COMMON.d.ts.map +1 -0
- package/dist/solana/idl/1.6.0/CCIP_COMMON.js +104 -0
- package/dist/solana/idl/1.6.0/CCIP_COMMON.js.map +1 -0
- package/dist/solana/idl/1.6.0/CCIP_OFFRAMP.d.ts +2746 -0
- package/dist/solana/idl/1.6.0/CCIP_OFFRAMP.d.ts.map +1 -0
- package/dist/solana/idl/1.6.0/CCIP_OFFRAMP.js +2746 -0
- package/dist/solana/idl/1.6.0/CCIP_OFFRAMP.js.map +1 -0
- package/dist/solana/idl/1.6.0/CCIP_ROUTER.d.ts +2332 -0
- package/dist/solana/idl/1.6.0/CCIP_ROUTER.d.ts.map +1 -0
- package/dist/solana/idl/1.6.0/CCIP_ROUTER.js +2332 -0
- package/dist/solana/idl/1.6.0/CCIP_ROUTER.js.map +1 -0
- package/dist/solana/index.d.ts +205 -0
- package/dist/solana/index.d.ts.map +1 -0
- package/dist/solana/index.js +1085 -0
- package/dist/solana/index.js.map +1 -0
- package/dist/solana/offchain.d.ts +31 -0
- package/dist/solana/offchain.d.ts.map +1 -0
- package/dist/solana/offchain.js +152 -0
- package/dist/solana/offchain.js.map +1 -0
- package/dist/solana/patchBorsh.d.ts +2 -0
- package/dist/solana/patchBorsh.d.ts.map +1 -0
- package/dist/solana/patchBorsh.js +60 -0
- package/dist/solana/patchBorsh.js.map +1 -0
- package/dist/solana/send.d.ts +14 -0
- package/dist/solana/send.d.ts.map +1 -0
- package/dist/solana/send.js +272 -0
- package/dist/solana/send.js.map +1 -0
- package/dist/solana/types.d.ts +4 -0
- package/dist/solana/types.d.ts.map +1 -0
- package/dist/solana/types.js +2 -0
- package/dist/solana/types.js.map +1 -0
- package/dist/solana/utils.d.ts +58 -0
- package/dist/solana/utils.d.ts.map +1 -0
- package/dist/solana/utils.js +211 -0
- package/dist/solana/utils.js.map +1 -0
- package/dist/sui/hasher.d.ts +12 -0
- package/dist/sui/hasher.d.ts.map +1 -0
- package/dist/sui/hasher.js +63 -0
- package/dist/sui/hasher.js.map +1 -0
- package/dist/sui/index.d.ts +72 -0
- package/dist/sui/index.d.ts.map +1 -0
- package/dist/sui/index.js +128 -0
- package/dist/sui/index.js.map +1 -0
- package/dist/sui/types.d.ts +17 -0
- package/dist/sui/types.d.ts.map +1 -0
- package/dist/sui/types.js +17 -0
- package/dist/sui/types.js.map +1 -0
- package/dist/supported-chains.d.ts +5 -0
- package/dist/supported-chains.d.ts.map +1 -0
- package/dist/supported-chains.js +3 -0
- package/dist/supported-chains.js.map +1 -0
- package/dist/types.d.ts +118 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +11 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +117 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +336 -0
- package/dist/utils.js.map +1 -0
- package/package.json +66 -8
- package/src/aptos/exec.ts +69 -0
- package/src/aptos/hasher.ts +92 -0
- package/src/aptos/index.ts +660 -0
- package/src/aptos/logs.ts +210 -0
- package/src/aptos/send.ts +120 -0
- package/src/aptos/token.ts +150 -0
- package/src/aptos/types.ts +85 -0
- package/src/aptos/utils.ts +24 -0
- package/src/chain.ts +398 -0
- package/src/commits.ts +44 -0
- package/src/evm/abi/BurnMintERC677Token.ts +487 -0
- package/src/evm/abi/CommitStore_1_2.ts +637 -0
- package/src/evm/abi/CommitStore_1_5.ts +674 -0
- package/src/evm/abi/FeeQuoter_1_6.ts +1903 -0
- package/src/evm/abi/LockReleaseTokenPool_1_5.ts +1095 -0
- package/src/evm/abi/LockReleaseTokenPool_1_5_1.ts +1277 -0
- package/src/evm/abi/LockReleaseTokenPool_1_6_1.ts +1287 -0
- package/src/evm/abi/OffRamp_1_2.ts +1203 -0
- package/src/evm/abi/OffRamp_1_5.ts +1272 -0
- package/src/evm/abi/OffRamp_1_6.ts +1528 -0
- package/src/evm/abi/OnRamp_1_2.ts +1342 -0
- package/src/evm/abi/OnRamp_1_5.ts +1426 -0
- package/src/evm/abi/OnRamp_1_6.ts +879 -0
- package/src/evm/abi/Router.ts +507 -0
- package/src/evm/abi/TokenAdminRegistry_1_5.ts +332 -0
- package/src/evm/const.ts +69 -0
- package/src/evm/errors.ts +212 -0
- package/src/evm/hasher.ts +166 -0
- package/src/evm/index.ts +1262 -0
- package/src/evm/messages.ts +73 -0
- package/src/evm/offchain.ts +189 -0
- package/src/execution.ts +131 -0
- package/src/extra-args.ts +71 -0
- package/src/gas.ts +135 -0
- package/src/hasher/common.ts +23 -0
- package/src/hasher/hasher.ts +12 -0
- package/src/hasher/index.ts +3 -0
- package/src/hasher/merklemulti.ts +309 -0
- package/src/index.ts +51 -0
- package/src/offchain.ts +86 -0
- package/src/requests.ts +339 -0
- package/src/selectors.ts +1340 -0
- package/src/solana/cleanup.ts +216 -0
- package/src/solana/exec.ts +645 -0
- package/src/solana/hasher.ts +104 -0
- package/src/solana/idl/1.6.0/BASE_TOKEN_POOL.ts +1734 -0
- package/src/solana/idl/1.6.0/BURN_MINT_TOKEN_POOL.ts +1900 -0
- package/src/solana/idl/1.6.0/CCIP_CCTP_TOKEN_POOL.ts +2750 -0
- package/src/solana/idl/1.6.0/CCIP_COMMON.ts +210 -0
- package/src/solana/idl/1.6.0/CCIP_OFFRAMP.ts +5494 -0
- package/src/solana/idl/1.6.0/CCIP_ROUTER.ts +4671 -0
- package/src/solana/index.ts +1454 -0
- package/src/solana/offchain.ts +209 -0
- package/src/solana/patchBorsh.ts +67 -0
- package/src/solana/send.ts +436 -0
- package/src/solana/types.ts +6 -0
- package/src/solana/utils.ts +272 -0
- package/src/sui/hasher.ts +90 -0
- package/src/sui/index.ts +198 -0
- package/src/sui/types.ts +22 -0
- package/src/supported-chains.ts +4 -0
- package/src/types.ts +153 -0
- package/src/utils.ts +405 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,2746 @@
|
|
|
1
|
+
export const IDL = {
|
|
2
|
+
version: '0.1.1',
|
|
3
|
+
name: 'ccip_offramp',
|
|
4
|
+
constants: [
|
|
5
|
+
{
|
|
6
|
+
name: 'MAX_ORACLES',
|
|
7
|
+
type: {
|
|
8
|
+
defined: 'usize',
|
|
9
|
+
},
|
|
10
|
+
value: '16',
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
instructions: [
|
|
14
|
+
{
|
|
15
|
+
name: 'initialize',
|
|
16
|
+
docs: [
|
|
17
|
+
'Initialization Flow //',
|
|
18
|
+
'Initializes the CCIP Offramp, except for the config account (due to stack size limitations).',
|
|
19
|
+
'',
|
|
20
|
+
'The initialization of the Offramp is responsibility of Admin, nothing more than calling these',
|
|
21
|
+
'initialization methods should be done first.',
|
|
22
|
+
'',
|
|
23
|
+
'# Arguments',
|
|
24
|
+
'',
|
|
25
|
+
'* `ctx` - The context containing the accounts required for initialization.',
|
|
26
|
+
],
|
|
27
|
+
accounts: [
|
|
28
|
+
{
|
|
29
|
+
name: 'referenceAddresses',
|
|
30
|
+
isMut: true,
|
|
31
|
+
isSigner: false,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'router',
|
|
35
|
+
isMut: false,
|
|
36
|
+
isSigner: false,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'feeQuoter',
|
|
40
|
+
isMut: false,
|
|
41
|
+
isSigner: false,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'rmnRemote',
|
|
45
|
+
isMut: false,
|
|
46
|
+
isSigner: false,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'offrampLookupTable',
|
|
50
|
+
isMut: false,
|
|
51
|
+
isSigner: false,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'state',
|
|
55
|
+
isMut: true,
|
|
56
|
+
isSigner: false,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'authority',
|
|
60
|
+
isMut: true,
|
|
61
|
+
isSigner: true,
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: 'systemProgram',
|
|
65
|
+
isMut: false,
|
|
66
|
+
isSigner: false,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'program',
|
|
70
|
+
isMut: false,
|
|
71
|
+
isSigner: false,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'programData',
|
|
75
|
+
isMut: false,
|
|
76
|
+
isSigner: false,
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
args: [],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'initializeConfig',
|
|
83
|
+
docs: [
|
|
84
|
+
'Initializes the CCIP Offramp Config account.',
|
|
85
|
+
'',
|
|
86
|
+
'The initialization of the Offramp is responsibility of Admin, nothing more than calling these',
|
|
87
|
+
'initialization methods should be done first.',
|
|
88
|
+
'',
|
|
89
|
+
'# Arguments',
|
|
90
|
+
'',
|
|
91
|
+
'* `ctx` - The context containing the accounts required for initialization of the config.',
|
|
92
|
+
'* `svm_chain_selector` - The chain selector for SVM.',
|
|
93
|
+
'* `enable_execution_after` - The minimum amount of time required between a message has been committed and can be manually executed.',
|
|
94
|
+
],
|
|
95
|
+
accounts: [
|
|
96
|
+
{
|
|
97
|
+
name: 'config',
|
|
98
|
+
isMut: true,
|
|
99
|
+
isSigner: false,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: 'authority',
|
|
103
|
+
isMut: true,
|
|
104
|
+
isSigner: true,
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: 'systemProgram',
|
|
108
|
+
isMut: false,
|
|
109
|
+
isSigner: false,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'program',
|
|
113
|
+
isMut: false,
|
|
114
|
+
isSigner: false,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'programData',
|
|
118
|
+
isMut: false,
|
|
119
|
+
isSigner: false,
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
args: [
|
|
123
|
+
{
|
|
124
|
+
name: 'svmChainSelector',
|
|
125
|
+
type: 'u64',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: 'enableExecutionAfter',
|
|
129
|
+
type: 'i64',
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: 'typeVersion',
|
|
135
|
+
docs: [
|
|
136
|
+
'Returns the program type (name) and version.',
|
|
137
|
+
'Used by offchain code to easily determine which program & version is being interacted with.',
|
|
138
|
+
'',
|
|
139
|
+
'# Arguments',
|
|
140
|
+
'* `ctx` - The context',
|
|
141
|
+
],
|
|
142
|
+
accounts: [
|
|
143
|
+
{
|
|
144
|
+
name: 'clock',
|
|
145
|
+
isMut: false,
|
|
146
|
+
isSigner: false,
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
args: [],
|
|
150
|
+
returns: 'string',
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: 'transferOwnership',
|
|
154
|
+
docs: [
|
|
155
|
+
'Transfers the ownership of the router to a new proposed owner.',
|
|
156
|
+
'',
|
|
157
|
+
'Shared func signature with other programs',
|
|
158
|
+
'',
|
|
159
|
+
'# Arguments',
|
|
160
|
+
'',
|
|
161
|
+
'* `ctx` - The context containing the accounts required for the transfer.',
|
|
162
|
+
'* `proposed_owner` - The public key of the new proposed owner.',
|
|
163
|
+
],
|
|
164
|
+
accounts: [
|
|
165
|
+
{
|
|
166
|
+
name: 'config',
|
|
167
|
+
isMut: true,
|
|
168
|
+
isSigner: false,
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: 'authority',
|
|
172
|
+
isMut: false,
|
|
173
|
+
isSigner: true,
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
args: [
|
|
177
|
+
{
|
|
178
|
+
name: 'proposedOwner',
|
|
179
|
+
type: 'publicKey',
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: 'acceptOwnership',
|
|
185
|
+
docs: [
|
|
186
|
+
'Accepts the ownership of the router by the proposed owner.',
|
|
187
|
+
'',
|
|
188
|
+
'Shared func signature with other programs',
|
|
189
|
+
'',
|
|
190
|
+
'# Arguments',
|
|
191
|
+
'',
|
|
192
|
+
'* `ctx` - The context containing the accounts required for accepting ownership.',
|
|
193
|
+
'The new owner must be a signer of the transaction.',
|
|
194
|
+
],
|
|
195
|
+
accounts: [
|
|
196
|
+
{
|
|
197
|
+
name: 'config',
|
|
198
|
+
isMut: true,
|
|
199
|
+
isSigner: false,
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: 'authority',
|
|
203
|
+
isMut: false,
|
|
204
|
+
isSigner: true,
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
args: [],
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
name: 'setDefaultCodeVersion',
|
|
211
|
+
docs: [
|
|
212
|
+
'Sets the default code version to be used. This is then used by the slim routing layer to determine',
|
|
213
|
+
'which version of the versioned business logic module (`instructions`) to use. Only the admin may set this.',
|
|
214
|
+
'',
|
|
215
|
+
'Shared func signature with other programs',
|
|
216
|
+
'',
|
|
217
|
+
'# Arguments',
|
|
218
|
+
'',
|
|
219
|
+
'* `ctx` - The context containing the accounts required for updating the configuration.',
|
|
220
|
+
'* `code_version` - The new code version to be set as default.',
|
|
221
|
+
],
|
|
222
|
+
accounts: [
|
|
223
|
+
{
|
|
224
|
+
name: 'config',
|
|
225
|
+
isMut: true,
|
|
226
|
+
isSigner: false,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: 'authority',
|
|
230
|
+
isMut: false,
|
|
231
|
+
isSigner: true,
|
|
232
|
+
},
|
|
233
|
+
],
|
|
234
|
+
args: [
|
|
235
|
+
{
|
|
236
|
+
name: 'codeVersion',
|
|
237
|
+
type: {
|
|
238
|
+
defined: 'CodeVersion',
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: 'updateReferenceAddresses',
|
|
245
|
+
docs: [
|
|
246
|
+
'Updates reference addresses in the offramp contract, such as',
|
|
247
|
+
'the CCIP router, Fee Quoter, and the Offramp Lookup Table.',
|
|
248
|
+
'Only the Admin may update these addresses.',
|
|
249
|
+
'',
|
|
250
|
+
'# Arguments',
|
|
251
|
+
'',
|
|
252
|
+
'* `ctx` - The context containing the accounts required for updating the reference addresses.',
|
|
253
|
+
'* `router` - The router address to be set.',
|
|
254
|
+
'* `fee_quoter` - The fee_quoter address to be set.',
|
|
255
|
+
'* `offramp_lookup_table` - The offramp_lookup_table address to be set.',
|
|
256
|
+
'* `rmn_remote` - The rmn_remote address to be set.',
|
|
257
|
+
],
|
|
258
|
+
accounts: [
|
|
259
|
+
{
|
|
260
|
+
name: 'config',
|
|
261
|
+
isMut: false,
|
|
262
|
+
isSigner: false,
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
name: 'referenceAddresses',
|
|
266
|
+
isMut: true,
|
|
267
|
+
isSigner: false,
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
name: 'authority',
|
|
271
|
+
isMut: false,
|
|
272
|
+
isSigner: true,
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
args: [
|
|
276
|
+
{
|
|
277
|
+
name: 'router',
|
|
278
|
+
type: 'publicKey',
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
name: 'feeQuoter',
|
|
282
|
+
type: 'publicKey',
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
name: 'offrampLookupTable',
|
|
286
|
+
type: 'publicKey',
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: 'rmnRemote',
|
|
290
|
+
type: 'publicKey',
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'addSourceChain',
|
|
296
|
+
docs: [
|
|
297
|
+
'Adds a new source chain selector with its config to the offramp.',
|
|
298
|
+
'',
|
|
299
|
+
'The Admin needs to add any new chain supported.',
|
|
300
|
+
"When adding a new chain, the Admin needs to specify if it's enabled or not.",
|
|
301
|
+
'',
|
|
302
|
+
'# Arguments',
|
|
303
|
+
],
|
|
304
|
+
accounts: [
|
|
305
|
+
{
|
|
306
|
+
name: 'sourceChain',
|
|
307
|
+
isMut: true,
|
|
308
|
+
isSigner: false,
|
|
309
|
+
docs: ['Adding a chain selector implies initializing the state for a new chain'],
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
name: 'config',
|
|
313
|
+
isMut: false,
|
|
314
|
+
isSigner: false,
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
name: 'authority',
|
|
318
|
+
isMut: true,
|
|
319
|
+
isSigner: true,
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
name: 'systemProgram',
|
|
323
|
+
isMut: false,
|
|
324
|
+
isSigner: false,
|
|
325
|
+
},
|
|
326
|
+
],
|
|
327
|
+
args: [
|
|
328
|
+
{
|
|
329
|
+
name: 'newChainSelector',
|
|
330
|
+
type: 'u64',
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
name: 'sourceChainConfig',
|
|
334
|
+
type: {
|
|
335
|
+
defined: 'SourceChainConfig',
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
name: 'disableSourceChainSelector',
|
|
342
|
+
docs: [
|
|
343
|
+
'Disables the source chain selector.',
|
|
344
|
+
'',
|
|
345
|
+
'The Admin is the only one able to disable the chain selector as source. This method is thought of as an emergency kill-switch.',
|
|
346
|
+
'',
|
|
347
|
+
'# Arguments',
|
|
348
|
+
'',
|
|
349
|
+
'* `ctx` - The context containing the accounts required for disabling the chain selector.',
|
|
350
|
+
'* `source_chain_selector` - The source chain selector to be disabled.',
|
|
351
|
+
],
|
|
352
|
+
accounts: [
|
|
353
|
+
{
|
|
354
|
+
name: 'sourceChain',
|
|
355
|
+
isMut: true,
|
|
356
|
+
isSigner: false,
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
name: 'config',
|
|
360
|
+
isMut: false,
|
|
361
|
+
isSigner: false,
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: 'authority',
|
|
365
|
+
isMut: true,
|
|
366
|
+
isSigner: true,
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
args: [
|
|
370
|
+
{
|
|
371
|
+
name: 'sourceChainSelector',
|
|
372
|
+
type: 'u64',
|
|
373
|
+
},
|
|
374
|
+
],
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
name: 'updateSourceChainConfig',
|
|
378
|
+
docs: [
|
|
379
|
+
'Updates the configuration of the source chain selector.',
|
|
380
|
+
'',
|
|
381
|
+
'The Admin is the only one able to update the source chain config.',
|
|
382
|
+
'',
|
|
383
|
+
'# Arguments',
|
|
384
|
+
'',
|
|
385
|
+
'* `ctx` - The context containing the accounts required for updating the chain selector.',
|
|
386
|
+
'* `source_chain_selector` - The source chain selector to be updated.',
|
|
387
|
+
'* `source_chain_config` - The new configuration for the source chain.',
|
|
388
|
+
],
|
|
389
|
+
accounts: [
|
|
390
|
+
{
|
|
391
|
+
name: 'sourceChain',
|
|
392
|
+
isMut: true,
|
|
393
|
+
isSigner: false,
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: 'config',
|
|
397
|
+
isMut: false,
|
|
398
|
+
isSigner: false,
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
name: 'authority',
|
|
402
|
+
isMut: true,
|
|
403
|
+
isSigner: true,
|
|
404
|
+
},
|
|
405
|
+
],
|
|
406
|
+
args: [
|
|
407
|
+
{
|
|
408
|
+
name: 'sourceChainSelector',
|
|
409
|
+
type: 'u64',
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
name: 'sourceChainConfig',
|
|
413
|
+
type: {
|
|
414
|
+
defined: 'SourceChainConfig',
|
|
415
|
+
},
|
|
416
|
+
},
|
|
417
|
+
],
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
name: 'updateSvmChainSelector',
|
|
421
|
+
docs: [
|
|
422
|
+
'Updates the SVM chain selector in the offramp configuration.',
|
|
423
|
+
'',
|
|
424
|
+
'This method should only be used if there was an error with the initial configuration or if the solana chain selector changes.',
|
|
425
|
+
'',
|
|
426
|
+
'# Arguments',
|
|
427
|
+
'',
|
|
428
|
+
'* `ctx` - The context containing the accounts required for updating the configuration.',
|
|
429
|
+
'* `new_chain_selector` - The new chain selector for SVM.',
|
|
430
|
+
],
|
|
431
|
+
accounts: [
|
|
432
|
+
{
|
|
433
|
+
name: 'config',
|
|
434
|
+
isMut: true,
|
|
435
|
+
isSigner: false,
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
name: 'authority',
|
|
439
|
+
isMut: false,
|
|
440
|
+
isSigner: true,
|
|
441
|
+
},
|
|
442
|
+
],
|
|
443
|
+
args: [
|
|
444
|
+
{
|
|
445
|
+
name: 'newChainSelector',
|
|
446
|
+
type: 'u64',
|
|
447
|
+
},
|
|
448
|
+
],
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
name: 'updateEnableManualExecutionAfter',
|
|
452
|
+
docs: [
|
|
453
|
+
'Updates the minimum amount of time required between a message being committed and when it can be manually executed.',
|
|
454
|
+
'',
|
|
455
|
+
'This is part of the OffRamp Configuration for SVM.',
|
|
456
|
+
'The Admin is the only one able to update this config.',
|
|
457
|
+
'',
|
|
458
|
+
'# Arguments',
|
|
459
|
+
'',
|
|
460
|
+
'* `ctx` - The context containing the accounts required for updating the configuration.',
|
|
461
|
+
'* `new_enable_manual_execution_after` - The new minimum amount of time required.',
|
|
462
|
+
],
|
|
463
|
+
accounts: [
|
|
464
|
+
{
|
|
465
|
+
name: 'config',
|
|
466
|
+
isMut: true,
|
|
467
|
+
isSigner: false,
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
name: 'authority',
|
|
471
|
+
isMut: false,
|
|
472
|
+
isSigner: true,
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
args: [
|
|
476
|
+
{
|
|
477
|
+
name: 'newEnableManualExecutionAfter',
|
|
478
|
+
type: 'i64',
|
|
479
|
+
},
|
|
480
|
+
],
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
name: 'setOcrConfig',
|
|
484
|
+
docs: [
|
|
485
|
+
'Sets the OCR configuration.',
|
|
486
|
+
'Only CCIP Admin can set the OCR configuration.',
|
|
487
|
+
'',
|
|
488
|
+
'# Arguments',
|
|
489
|
+
'',
|
|
490
|
+
'* `ctx` - The context containing the accounts required for setting the OCR configuration.',
|
|
491
|
+
'* `plugin_type` - The type of OCR plugin [0: Commit, 1: Execution].',
|
|
492
|
+
'* `config_info` - The OCR configuration information.',
|
|
493
|
+
'* `signers` - The list of signers.',
|
|
494
|
+
'* `transmitters` - The list of transmitters.',
|
|
495
|
+
],
|
|
496
|
+
accounts: [
|
|
497
|
+
{
|
|
498
|
+
name: 'config',
|
|
499
|
+
isMut: true,
|
|
500
|
+
isSigner: false,
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: 'state',
|
|
504
|
+
isMut: true,
|
|
505
|
+
isSigner: false,
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
name: 'authority',
|
|
509
|
+
isMut: false,
|
|
510
|
+
isSigner: true,
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
args: [
|
|
514
|
+
{
|
|
515
|
+
name: 'pluginType',
|
|
516
|
+
type: {
|
|
517
|
+
defined: 'OcrPluginType',
|
|
518
|
+
},
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
name: 'configInfo',
|
|
522
|
+
type: {
|
|
523
|
+
defined: 'Ocr3ConfigInfo',
|
|
524
|
+
},
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
name: 'signers',
|
|
528
|
+
type: {
|
|
529
|
+
vec: {
|
|
530
|
+
array: ['u8', 20],
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
name: 'transmitters',
|
|
536
|
+
type: {
|
|
537
|
+
vec: 'publicKey',
|
|
538
|
+
},
|
|
539
|
+
},
|
|
540
|
+
],
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
name: 'commit',
|
|
544
|
+
docs: [
|
|
545
|
+
'Off Ramp Flow //',
|
|
546
|
+
'Commits a report to the router, containing a Merkle Root.',
|
|
547
|
+
'',
|
|
548
|
+
'The method name needs to be commit with Anchor encoding.',
|
|
549
|
+
'',
|
|
550
|
+
'This function is called by the OffChain when committing one Report to the SVM Router.',
|
|
551
|
+
'In this Flow only one report is sent, the Commit Report. This is different as EVM does,',
|
|
552
|
+
'this is because here all the chain state is stored in one account per Merkle Tree Root.',
|
|
553
|
+
'So, to avoid having to send a dynamic size array of accounts, in this message only one Commit Report Account is sent.',
|
|
554
|
+
'This message validates the signatures of the report and stores the Merkle Root in the Commit Report Account.',
|
|
555
|
+
'The Report must contain an interval of messages, and the min of them must be the next sequence number expected.',
|
|
556
|
+
'The max size of the interval is 64.',
|
|
557
|
+
'This message emits two events: CommitReportAccepted and Transmitted.',
|
|
558
|
+
'',
|
|
559
|
+
'# Arguments',
|
|
560
|
+
'',
|
|
561
|
+
'* `ctx` - The context containing the accounts required for the commit.',
|
|
562
|
+
'* `report_context_byte_words` - consists of:',
|
|
563
|
+
'* report_context_byte_words[0]: ConfigDigest',
|
|
564
|
+
'* report_context_byte_words[1]: 24 byte padding, 8 byte sequence number',
|
|
565
|
+
'* `raw_report` - The serialized commit input report, single merkle root with RMN signatures and price updates',
|
|
566
|
+
'* `rs` - slice of R components of signatures',
|
|
567
|
+
'* `ss` - slice of S components of signatures',
|
|
568
|
+
'* `raw_vs` - array of V components of signatures',
|
|
569
|
+
],
|
|
570
|
+
accounts: [
|
|
571
|
+
{
|
|
572
|
+
name: 'config',
|
|
573
|
+
isMut: false,
|
|
574
|
+
isSigner: false,
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
name: 'referenceAddresses',
|
|
578
|
+
isMut: false,
|
|
579
|
+
isSigner: false,
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
name: 'sourceChain',
|
|
583
|
+
isMut: true,
|
|
584
|
+
isSigner: false,
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: 'commitReport',
|
|
588
|
+
isMut: true,
|
|
589
|
+
isSigner: false,
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
name: 'authority',
|
|
593
|
+
isMut: true,
|
|
594
|
+
isSigner: true,
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
name: 'systemProgram',
|
|
598
|
+
isMut: false,
|
|
599
|
+
isSigner: false,
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
name: 'sysvarInstructions',
|
|
603
|
+
isMut: false,
|
|
604
|
+
isSigner: false,
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
name: 'feeBillingSigner',
|
|
608
|
+
isMut: false,
|
|
609
|
+
isSigner: false,
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
name: 'feeQuoter',
|
|
613
|
+
isMut: false,
|
|
614
|
+
isSigner: false,
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
name: 'feeQuoterAllowedPriceUpdater',
|
|
618
|
+
isMut: false,
|
|
619
|
+
isSigner: false,
|
|
620
|
+
docs: ['so that it can authorize the call made by this offramp'],
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
name: 'feeQuoterConfig',
|
|
624
|
+
isMut: false,
|
|
625
|
+
isSigner: false,
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
name: 'rmnRemote',
|
|
629
|
+
isMut: false,
|
|
630
|
+
isSigner: false,
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
name: 'rmnRemoteCurses',
|
|
634
|
+
isMut: false,
|
|
635
|
+
isSigner: false,
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
name: 'rmnRemoteConfig',
|
|
639
|
+
isMut: false,
|
|
640
|
+
isSigner: false,
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
args: [
|
|
644
|
+
{
|
|
645
|
+
name: 'reportContextByteWords',
|
|
646
|
+
type: {
|
|
647
|
+
array: [
|
|
648
|
+
{
|
|
649
|
+
array: ['u8', 32],
|
|
650
|
+
},
|
|
651
|
+
2,
|
|
652
|
+
],
|
|
653
|
+
},
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
name: 'rawReport',
|
|
657
|
+
type: 'bytes',
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
name: 'rs',
|
|
661
|
+
type: {
|
|
662
|
+
vec: {
|
|
663
|
+
array: ['u8', 32],
|
|
664
|
+
},
|
|
665
|
+
},
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
name: 'ss',
|
|
669
|
+
type: {
|
|
670
|
+
vec: {
|
|
671
|
+
array: ['u8', 32],
|
|
672
|
+
},
|
|
673
|
+
},
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
name: 'rawVs',
|
|
677
|
+
type: {
|
|
678
|
+
array: ['u8', 32],
|
|
679
|
+
},
|
|
680
|
+
},
|
|
681
|
+
],
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
name: 'commitPriceOnly',
|
|
685
|
+
docs: [
|
|
686
|
+
'Commits a report to the router, with price updates only.',
|
|
687
|
+
'',
|
|
688
|
+
'The method name needs to be commit with Anchor encoding.',
|
|
689
|
+
'',
|
|
690
|
+
'This function is called by the OffChain when committing one Report to the SVM Router,',
|
|
691
|
+
'containing only price updates and no merkle root.',
|
|
692
|
+
'',
|
|
693
|
+
'# Arguments',
|
|
694
|
+
'',
|
|
695
|
+
'* `ctx` - The context containing the accounts required for the commit.',
|
|
696
|
+
'* `report_context_byte_words` - consists of:',
|
|
697
|
+
'* report_context_byte_words[0]: ConfigDigest',
|
|
698
|
+
'* report_context_byte_words[1]: 24 byte padding, 8 byte sequence number',
|
|
699
|
+
'* `raw_report` - The serialized commit input report containing the price updates,',
|
|
700
|
+
'with no merkle root.',
|
|
701
|
+
'* `rs` - slice of R components of signatures',
|
|
702
|
+
'* `ss` - slice of S components of signatures',
|
|
703
|
+
'* `raw_vs` - array of V components of signatures',
|
|
704
|
+
],
|
|
705
|
+
accounts: [
|
|
706
|
+
{
|
|
707
|
+
name: 'config',
|
|
708
|
+
isMut: false,
|
|
709
|
+
isSigner: false,
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
name: 'referenceAddresses',
|
|
713
|
+
isMut: false,
|
|
714
|
+
isSigner: false,
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
name: 'authority',
|
|
718
|
+
isMut: true,
|
|
719
|
+
isSigner: true,
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
name: 'systemProgram',
|
|
723
|
+
isMut: false,
|
|
724
|
+
isSigner: false,
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
name: 'sysvarInstructions',
|
|
728
|
+
isMut: false,
|
|
729
|
+
isSigner: false,
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
name: 'feeBillingSigner',
|
|
733
|
+
isMut: false,
|
|
734
|
+
isSigner: false,
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
name: 'feeQuoter',
|
|
738
|
+
isMut: false,
|
|
739
|
+
isSigner: false,
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
name: 'feeQuoterAllowedPriceUpdater',
|
|
743
|
+
isMut: false,
|
|
744
|
+
isSigner: false,
|
|
745
|
+
docs: ['so that it can authorize the call made by this offramp'],
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
name: 'feeQuoterConfig',
|
|
749
|
+
isMut: false,
|
|
750
|
+
isSigner: false,
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
name: 'rmnRemote',
|
|
754
|
+
isMut: false,
|
|
755
|
+
isSigner: false,
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
name: 'rmnRemoteCurses',
|
|
759
|
+
isMut: false,
|
|
760
|
+
isSigner: false,
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
name: 'rmnRemoteConfig',
|
|
764
|
+
isMut: false,
|
|
765
|
+
isSigner: false,
|
|
766
|
+
},
|
|
767
|
+
],
|
|
768
|
+
args: [
|
|
769
|
+
{
|
|
770
|
+
name: 'reportContextByteWords',
|
|
771
|
+
type: {
|
|
772
|
+
array: [
|
|
773
|
+
{
|
|
774
|
+
array: ['u8', 32],
|
|
775
|
+
},
|
|
776
|
+
2,
|
|
777
|
+
],
|
|
778
|
+
},
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
name: 'rawReport',
|
|
782
|
+
type: 'bytes',
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
name: 'rs',
|
|
786
|
+
type: {
|
|
787
|
+
vec: {
|
|
788
|
+
array: ['u8', 32],
|
|
789
|
+
},
|
|
790
|
+
},
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
name: 'ss',
|
|
794
|
+
type: {
|
|
795
|
+
vec: {
|
|
796
|
+
array: ['u8', 32],
|
|
797
|
+
},
|
|
798
|
+
},
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
name: 'rawVs',
|
|
802
|
+
type: {
|
|
803
|
+
array: ['u8', 32],
|
|
804
|
+
},
|
|
805
|
+
},
|
|
806
|
+
],
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
name: 'execute',
|
|
810
|
+
docs: [
|
|
811
|
+
'Executes a message on the destination chain.',
|
|
812
|
+
'',
|
|
813
|
+
'The method name needs to be execute with Anchor encoding.',
|
|
814
|
+
'',
|
|
815
|
+
'This function is called by the OffChain when executing one Report to the SVM Router.',
|
|
816
|
+
'In this Flow only one message is sent, the Execution Report. This is different as EVM does,',
|
|
817
|
+
'this is because there is no try/catch mechanism to allow batch execution.',
|
|
818
|
+
'This message validates that the Merkle Tree Proof of the given message is correct and is stored in the Commit Report Account.',
|
|
819
|
+
'The message must be untouched to be executed.',
|
|
820
|
+
'This message emits the event ExecutionStateChanged with the new state of the message.',
|
|
821
|
+
'Finally, executes the CPI instruction to the receiver program in the ccip_receive message.',
|
|
822
|
+
'',
|
|
823
|
+
'# Arguments',
|
|
824
|
+
'',
|
|
825
|
+
'* `ctx` - The context containing the accounts required for the execute.',
|
|
826
|
+
'* `raw_execution_report` - the serialized execution report containing only one message and proofs',
|
|
827
|
+
'* `report_context_byte_words` - report_context after execution_report to match context for manually execute (proper decoding order)',
|
|
828
|
+
'* consists of:',
|
|
829
|
+
'* report_context_byte_words[0]: ConfigDigest',
|
|
830
|
+
'* report_context_byte_words[1]: 24 byte padding, 8 byte sequence number',
|
|
831
|
+
],
|
|
832
|
+
accounts: [
|
|
833
|
+
{
|
|
834
|
+
name: 'config',
|
|
835
|
+
isMut: false,
|
|
836
|
+
isSigner: false,
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
name: 'referenceAddresses',
|
|
840
|
+
isMut: false,
|
|
841
|
+
isSigner: false,
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
name: 'sourceChain',
|
|
845
|
+
isMut: false,
|
|
846
|
+
isSigner: false,
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
name: 'commitReport',
|
|
850
|
+
isMut: true,
|
|
851
|
+
isSigner: false,
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
name: 'offramp',
|
|
855
|
+
isMut: false,
|
|
856
|
+
isSigner: false,
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
name: 'allowedOfframp',
|
|
860
|
+
isMut: false,
|
|
861
|
+
isSigner: false,
|
|
862
|
+
docs: [
|
|
863
|
+
'CHECK PDA of the router program verifying the signer is an allowed offramp.',
|
|
864
|
+
"If PDA does not exist, the router doesn't allow this offramp. This is just used",
|
|
865
|
+
'so that token pools and receivers can then check that the caller is an actual offramp that',
|
|
866
|
+
'has been registered in the router as such for that source chain.',
|
|
867
|
+
],
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
name: 'authority',
|
|
871
|
+
isMut: true,
|
|
872
|
+
isSigner: true,
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
name: 'systemProgram',
|
|
876
|
+
isMut: false,
|
|
877
|
+
isSigner: false,
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
name: 'sysvarInstructions',
|
|
881
|
+
isMut: false,
|
|
882
|
+
isSigner: false,
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
name: 'rmnRemote',
|
|
886
|
+
isMut: false,
|
|
887
|
+
isSigner: false,
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
name: 'rmnRemoteCurses',
|
|
891
|
+
isMut: false,
|
|
892
|
+
isSigner: false,
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
name: 'rmnRemoteConfig',
|
|
896
|
+
isMut: false,
|
|
897
|
+
isSigner: false,
|
|
898
|
+
},
|
|
899
|
+
],
|
|
900
|
+
args: [
|
|
901
|
+
{
|
|
902
|
+
name: 'rawExecutionReport',
|
|
903
|
+
type: 'bytes',
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
name: 'reportContextByteWords',
|
|
907
|
+
type: {
|
|
908
|
+
array: [
|
|
909
|
+
{
|
|
910
|
+
array: ['u8', 32],
|
|
911
|
+
},
|
|
912
|
+
2,
|
|
913
|
+
],
|
|
914
|
+
},
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
name: 'tokenIndexes',
|
|
918
|
+
type: 'bytes',
|
|
919
|
+
},
|
|
920
|
+
],
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
name: 'manuallyExecute',
|
|
924
|
+
docs: [
|
|
925
|
+
'Manually executes a report to the router.',
|
|
926
|
+
'',
|
|
927
|
+
'When a message is not being executed, then the user can trigger the execution manually.',
|
|
928
|
+
'No verification over the transmitter, but the message needs to be in some commit report.',
|
|
929
|
+
'It validates that the required time has passed since the commit and then executes the report.',
|
|
930
|
+
'',
|
|
931
|
+
'# Arguments',
|
|
932
|
+
'',
|
|
933
|
+
'* `ctx` - The context containing the accounts required for the execution.',
|
|
934
|
+
'* `raw_execution_report` - The serialized execution report containing the message and proofs.',
|
|
935
|
+
],
|
|
936
|
+
accounts: [
|
|
937
|
+
{
|
|
938
|
+
name: 'config',
|
|
939
|
+
isMut: false,
|
|
940
|
+
isSigner: false,
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
name: 'referenceAddresses',
|
|
944
|
+
isMut: false,
|
|
945
|
+
isSigner: false,
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
name: 'sourceChain',
|
|
949
|
+
isMut: false,
|
|
950
|
+
isSigner: false,
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
name: 'commitReport',
|
|
954
|
+
isMut: true,
|
|
955
|
+
isSigner: false,
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
name: 'offramp',
|
|
959
|
+
isMut: false,
|
|
960
|
+
isSigner: false,
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
name: 'allowedOfframp',
|
|
964
|
+
isMut: false,
|
|
965
|
+
isSigner: false,
|
|
966
|
+
docs: [
|
|
967
|
+
'CHECK PDA of the router program verifying the signer is an allowed offramp.',
|
|
968
|
+
"If PDA does not exist, the router doesn't allow this offramp. This is just used",
|
|
969
|
+
'so that token pools and receivers can then check that the caller is an actual offramp that',
|
|
970
|
+
'has been registered in the router as such for that source chain.',
|
|
971
|
+
],
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
name: 'authority',
|
|
975
|
+
isMut: true,
|
|
976
|
+
isSigner: true,
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
name: 'systemProgram',
|
|
980
|
+
isMut: false,
|
|
981
|
+
isSigner: false,
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
name: 'sysvarInstructions',
|
|
985
|
+
isMut: false,
|
|
986
|
+
isSigner: false,
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
name: 'rmnRemote',
|
|
990
|
+
isMut: false,
|
|
991
|
+
isSigner: false,
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
name: 'rmnRemoteCurses',
|
|
995
|
+
isMut: false,
|
|
996
|
+
isSigner: false,
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
name: 'rmnRemoteConfig',
|
|
1000
|
+
isMut: false,
|
|
1001
|
+
isSigner: false,
|
|
1002
|
+
},
|
|
1003
|
+
],
|
|
1004
|
+
args: [
|
|
1005
|
+
{
|
|
1006
|
+
name: 'rawExecutionReport',
|
|
1007
|
+
type: 'bytes',
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
name: 'tokenIndexes',
|
|
1011
|
+
type: 'bytes',
|
|
1012
|
+
},
|
|
1013
|
+
],
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
name: 'bufferExecutionReport',
|
|
1017
|
+
docs: [
|
|
1018
|
+
'Initializes and/or inserts a chunk of report data to an execution report buffer.',
|
|
1019
|
+
'',
|
|
1020
|
+
'When execution reports are too large to fit in a single transaction, they can be chopped',
|
|
1021
|
+
'up in chunks first (as a special case, one chunk is also acceptable), and pre-buffered',
|
|
1022
|
+
'via multiple calls to this instruction.',
|
|
1023
|
+
'',
|
|
1024
|
+
"There's no need to pre-initialize the buffer: all chunks can be sent concurrently, and the",
|
|
1025
|
+
'first one to arrive will initialize the buffer.',
|
|
1026
|
+
'',
|
|
1027
|
+
'To benefit from buffering, the eventual call to `execute` or `manually_execute` must',
|
|
1028
|
+
'include an additional `remaining_account` with the PDA derived from',
|
|
1029
|
+
'["execution_report_buffer", <buffer_id>, <caller_pubkey>].',
|
|
1030
|
+
'',
|
|
1031
|
+
'# Arguments',
|
|
1032
|
+
'',
|
|
1033
|
+
'* `ctx` - The context containing the accounts required for buffering.',
|
|
1034
|
+
'* `buffer_id` - An arbitrary buffer id defined by the caller (could be the message_id). Max 32 bytes.',
|
|
1035
|
+
'* `report_length` - Total length in bytes of the execution report.',
|
|
1036
|
+
'* `chunk` - The specific chunk to add to the buffer. Chunk must have a consistent size, except',
|
|
1037
|
+
'the last one in the buffer, which may be smaller.',
|
|
1038
|
+
'* `chunk_index` - The index of this chunk.',
|
|
1039
|
+
'* `num_chunks` - The total number of chunks in the report.',
|
|
1040
|
+
],
|
|
1041
|
+
accounts: [
|
|
1042
|
+
{
|
|
1043
|
+
name: 'executionReportBuffer',
|
|
1044
|
+
isMut: true,
|
|
1045
|
+
isSigner: false,
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
name: 'config',
|
|
1049
|
+
isMut: false,
|
|
1050
|
+
isSigner: false,
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
name: 'authority',
|
|
1054
|
+
isMut: true,
|
|
1055
|
+
isSigner: true,
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
name: 'systemProgram',
|
|
1059
|
+
isMut: false,
|
|
1060
|
+
isSigner: false,
|
|
1061
|
+
},
|
|
1062
|
+
],
|
|
1063
|
+
args: [
|
|
1064
|
+
{
|
|
1065
|
+
name: 'bufferId',
|
|
1066
|
+
type: 'bytes',
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
name: 'reportLength',
|
|
1070
|
+
type: 'u32',
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
name: 'chunk',
|
|
1074
|
+
type: 'bytes',
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
name: 'chunkIndex',
|
|
1078
|
+
type: 'u8',
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
name: 'numChunks',
|
|
1082
|
+
type: 'u8',
|
|
1083
|
+
},
|
|
1084
|
+
],
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
name: 'closeExecutionReportBuffer',
|
|
1088
|
+
docs: [
|
|
1089
|
+
'Closes the execution report buffer to reclaim funds.',
|
|
1090
|
+
'',
|
|
1091
|
+
'Note this is only necessary when aborting a buffered transaction, or when a mistake',
|
|
1092
|
+
'was made when buffering data. The buffer account will otherwise automatically close',
|
|
1093
|
+
'and return funds to the caller whenever buffered execution succeeds.',
|
|
1094
|
+
],
|
|
1095
|
+
accounts: [
|
|
1096
|
+
{
|
|
1097
|
+
name: 'executionReportBuffer',
|
|
1098
|
+
isMut: true,
|
|
1099
|
+
isSigner: false,
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
name: 'config',
|
|
1103
|
+
isMut: false,
|
|
1104
|
+
isSigner: false,
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
name: 'authority',
|
|
1108
|
+
isMut: true,
|
|
1109
|
+
isSigner: true,
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
name: 'systemProgram',
|
|
1113
|
+
isMut: false,
|
|
1114
|
+
isSigner: false,
|
|
1115
|
+
},
|
|
1116
|
+
],
|
|
1117
|
+
args: [
|
|
1118
|
+
{
|
|
1119
|
+
name: 'bufferId',
|
|
1120
|
+
type: 'bytes',
|
|
1121
|
+
},
|
|
1122
|
+
],
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
name: 'deriveAccountsExecute',
|
|
1126
|
+
docs: [
|
|
1127
|
+
'Automatically derives all acounts required to call `ccip_execute`.',
|
|
1128
|
+
'',
|
|
1129
|
+
'This method receives the bare minimum amount of information needed to construct',
|
|
1130
|
+
'the entire account list to execute a transaction, and builds it iteratively',
|
|
1131
|
+
'over the course of multiple calls.',
|
|
1132
|
+
'',
|
|
1133
|
+
'The return type contains:',
|
|
1134
|
+
'',
|
|
1135
|
+
'* `accounts_to_save`: The caller must append these accounts to a list they maintain.',
|
|
1136
|
+
'When complete, this list will contain all accounts needed to call `ccip_execute`.',
|
|
1137
|
+
'* `ask_again_with`: When `next_stage` is not empty, the caller must call `derive_accounts_execute`',
|
|
1138
|
+
'again, including exactly these accounts as the `remaining_accounts`.',
|
|
1139
|
+
'* `lookup_tables_to_save`: The caller must save those LUTs. They can be used for `ccip_execute`.',
|
|
1140
|
+
'* `current_stage`: A string describing the current stage of the derivation process. When the stage',
|
|
1141
|
+
'is "TokenTransferStaticAccounts/<N>/0", it means the `accounts_to_save` block in this response contains',
|
|
1142
|
+
'all accounts relating to the Nth token being transferred. Use this information to construct',
|
|
1143
|
+
'the `token_indexes` vector that `execute` requires.',
|
|
1144
|
+
'* `next_stage`: If nonempty, this means the instruction must get called again with this value',
|
|
1145
|
+
'as the `stage` argument.',
|
|
1146
|
+
'',
|
|
1147
|
+
'Therefore, and starting with an empty `remaining_accounts` list, the caller must repeteadly',
|
|
1148
|
+
'call `derive_accounts_execute` until `next_stage` is returned empty.',
|
|
1149
|
+
'',
|
|
1150
|
+
'# Arguments',
|
|
1151
|
+
'',
|
|
1152
|
+
'* `ctx`: Context containing only the offramp config.',
|
|
1153
|
+
'* `stage`: Requested derivation stage. Pass "Start" the first time, then for each subsequent',
|
|
1154
|
+
'call, pass the value returned in `response.next_stage` until empty.',
|
|
1155
|
+
'* `params`:',
|
|
1156
|
+
'* `execute_caller`: Public key of the account that will sign the call to `ccip_execute`.',
|
|
1157
|
+
'* `message_accounts`: If the transaction involves messaging, the message accounts.',
|
|
1158
|
+
'* `source_chain_selector`: CCIP chain selector for the source chain.',
|
|
1159
|
+
'* `mints_of_transferred_token`: List of all token mints for tokens being transferred (i.e.',
|
|
1160
|
+
'the entries in `report.message.token_amounts.destination_address`.)',
|
|
1161
|
+
'* `merkle_root`: Merkle root as per the commit report.',
|
|
1162
|
+
'* `buffer_id`: If the execution will be buffered, the buffer id that will be used by the',
|
|
1163
|
+
'`execute_caller`: If the execution will not be buffered, this should be empty.',
|
|
1164
|
+
'* `token_receiver`: Receiver of token transfers, if any (i.e. report.message.token_receiver)',
|
|
1165
|
+
],
|
|
1166
|
+
accounts: [
|
|
1167
|
+
{
|
|
1168
|
+
name: 'config',
|
|
1169
|
+
isMut: false,
|
|
1170
|
+
isSigner: false,
|
|
1171
|
+
},
|
|
1172
|
+
],
|
|
1173
|
+
args: [
|
|
1174
|
+
{
|
|
1175
|
+
name: 'params',
|
|
1176
|
+
type: {
|
|
1177
|
+
defined: 'DeriveAccountsExecuteParams',
|
|
1178
|
+
},
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
name: 'stage',
|
|
1182
|
+
type: 'string',
|
|
1183
|
+
},
|
|
1184
|
+
],
|
|
1185
|
+
returns: {
|
|
1186
|
+
defined: 'DeriveAccountsResponse',
|
|
1187
|
+
},
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
name: 'closeCommitReportAccount',
|
|
1191
|
+
accounts: [
|
|
1192
|
+
{
|
|
1193
|
+
name: 'config',
|
|
1194
|
+
isMut: false,
|
|
1195
|
+
isSigner: false,
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
name: 'commitReport',
|
|
1199
|
+
isMut: true,
|
|
1200
|
+
isSigner: false,
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
name: 'referenceAddresses',
|
|
1204
|
+
isMut: false,
|
|
1205
|
+
isSigner: false,
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
name: 'wsolMint',
|
|
1209
|
+
isMut: false,
|
|
1210
|
+
isSigner: false,
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
name: 'feeTokenReceiver',
|
|
1214
|
+
isMut: true,
|
|
1215
|
+
isSigner: false,
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
name: 'feeBillingSigner',
|
|
1219
|
+
isMut: false,
|
|
1220
|
+
isSigner: false,
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
name: 'tokenProgram',
|
|
1224
|
+
isMut: false,
|
|
1225
|
+
isSigner: false,
|
|
1226
|
+
},
|
|
1227
|
+
],
|
|
1228
|
+
args: [
|
|
1229
|
+
{
|
|
1230
|
+
name: 'sourceChainSelector',
|
|
1231
|
+
type: 'u64',
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
name: 'root',
|
|
1235
|
+
type: 'bytes',
|
|
1236
|
+
},
|
|
1237
|
+
],
|
|
1238
|
+
},
|
|
1239
|
+
],
|
|
1240
|
+
accounts: [
|
|
1241
|
+
{
|
|
1242
|
+
name: 'config',
|
|
1243
|
+
type: {
|
|
1244
|
+
kind: 'struct',
|
|
1245
|
+
fields: [
|
|
1246
|
+
{
|
|
1247
|
+
name: 'version',
|
|
1248
|
+
type: 'u8',
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
name: 'defaultCodeVersion',
|
|
1252
|
+
type: 'u8',
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
name: 'padding0',
|
|
1256
|
+
type: {
|
|
1257
|
+
array: ['u8', 6],
|
|
1258
|
+
},
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
name: 'svmChainSelector',
|
|
1262
|
+
type: 'u64',
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
name: 'enableManualExecutionAfter',
|
|
1266
|
+
type: 'i64',
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
name: 'padding1',
|
|
1270
|
+
type: {
|
|
1271
|
+
array: ['u8', 8],
|
|
1272
|
+
},
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
name: 'owner',
|
|
1276
|
+
type: 'publicKey',
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
name: 'proposedOwner',
|
|
1280
|
+
type: 'publicKey',
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
name: 'padding2',
|
|
1284
|
+
type: {
|
|
1285
|
+
array: ['u8', 8],
|
|
1286
|
+
},
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
name: 'ocr3',
|
|
1290
|
+
type: {
|
|
1291
|
+
array: [
|
|
1292
|
+
{
|
|
1293
|
+
defined: 'Ocr3Config',
|
|
1294
|
+
},
|
|
1295
|
+
2,
|
|
1296
|
+
],
|
|
1297
|
+
},
|
|
1298
|
+
},
|
|
1299
|
+
],
|
|
1300
|
+
},
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
name: 'referenceAddresses',
|
|
1304
|
+
type: {
|
|
1305
|
+
kind: 'struct',
|
|
1306
|
+
fields: [
|
|
1307
|
+
{
|
|
1308
|
+
name: 'version',
|
|
1309
|
+
type: 'u8',
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
name: 'router',
|
|
1313
|
+
type: 'publicKey',
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
name: 'feeQuoter',
|
|
1317
|
+
type: 'publicKey',
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
name: 'offrampLookupTable',
|
|
1321
|
+
type: 'publicKey',
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
name: 'rmnRemote',
|
|
1325
|
+
type: 'publicKey',
|
|
1326
|
+
},
|
|
1327
|
+
],
|
|
1328
|
+
},
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
name: 'globalState',
|
|
1332
|
+
type: {
|
|
1333
|
+
kind: 'struct',
|
|
1334
|
+
fields: [
|
|
1335
|
+
{
|
|
1336
|
+
name: 'latestPriceSequenceNumber',
|
|
1337
|
+
type: 'u64',
|
|
1338
|
+
},
|
|
1339
|
+
],
|
|
1340
|
+
},
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
name: 'executionReportBuffer',
|
|
1344
|
+
type: {
|
|
1345
|
+
kind: 'struct',
|
|
1346
|
+
fields: [
|
|
1347
|
+
{
|
|
1348
|
+
name: 'version',
|
|
1349
|
+
type: 'u8',
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
name: 'chunkBitmap',
|
|
1353
|
+
type: 'u64',
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
name: 'numChunks',
|
|
1357
|
+
type: 'u8',
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
name: 'chunkLength',
|
|
1361
|
+
type: 'u32',
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
name: 'data',
|
|
1365
|
+
type: 'bytes',
|
|
1366
|
+
},
|
|
1367
|
+
],
|
|
1368
|
+
},
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
name: 'sourceChain',
|
|
1372
|
+
type: {
|
|
1373
|
+
kind: 'struct',
|
|
1374
|
+
fields: [
|
|
1375
|
+
{
|
|
1376
|
+
name: 'version',
|
|
1377
|
+
type: 'u8',
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
name: 'chainSelector',
|
|
1381
|
+
type: 'u64',
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
name: 'state',
|
|
1385
|
+
type: {
|
|
1386
|
+
defined: 'SourceChainState',
|
|
1387
|
+
},
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
name: 'config',
|
|
1391
|
+
type: {
|
|
1392
|
+
defined: 'SourceChainConfig',
|
|
1393
|
+
},
|
|
1394
|
+
},
|
|
1395
|
+
],
|
|
1396
|
+
},
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
name: 'commitReport',
|
|
1400
|
+
type: {
|
|
1401
|
+
kind: 'struct',
|
|
1402
|
+
fields: [
|
|
1403
|
+
{
|
|
1404
|
+
name: 'version',
|
|
1405
|
+
type: 'u8',
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
name: 'chainSelector',
|
|
1409
|
+
type: 'u64',
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
name: 'merkleRoot',
|
|
1413
|
+
type: {
|
|
1414
|
+
array: ['u8', 32],
|
|
1415
|
+
},
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
name: 'timestamp',
|
|
1419
|
+
type: 'i64',
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
name: 'minMsgNr',
|
|
1423
|
+
type: 'u64',
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
name: 'maxMsgNr',
|
|
1427
|
+
type: 'u64',
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
name: 'executionStates',
|
|
1431
|
+
type: 'u128',
|
|
1432
|
+
},
|
|
1433
|
+
],
|
|
1434
|
+
},
|
|
1435
|
+
},
|
|
1436
|
+
],
|
|
1437
|
+
types: [
|
|
1438
|
+
{
|
|
1439
|
+
name: 'CommitInput',
|
|
1440
|
+
docs: [
|
|
1441
|
+
'Input from an offchain node, containing the Merkle root and interval for',
|
|
1442
|
+
'the source chain, and optionally some price updates alongside it',
|
|
1443
|
+
],
|
|
1444
|
+
type: {
|
|
1445
|
+
kind: 'struct',
|
|
1446
|
+
fields: [
|
|
1447
|
+
{
|
|
1448
|
+
name: 'priceUpdates',
|
|
1449
|
+
type: {
|
|
1450
|
+
defined: 'PriceUpdates',
|
|
1451
|
+
},
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
name: 'merkleRoot',
|
|
1455
|
+
type: {
|
|
1456
|
+
option: {
|
|
1457
|
+
defined: 'MerkleRoot',
|
|
1458
|
+
},
|
|
1459
|
+
},
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
name: 'rmnSignatures',
|
|
1463
|
+
type: {
|
|
1464
|
+
vec: {
|
|
1465
|
+
array: ['u8', 64],
|
|
1466
|
+
},
|
|
1467
|
+
},
|
|
1468
|
+
},
|
|
1469
|
+
],
|
|
1470
|
+
},
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
name: 'PriceUpdates',
|
|
1474
|
+
type: {
|
|
1475
|
+
kind: 'struct',
|
|
1476
|
+
fields: [
|
|
1477
|
+
{
|
|
1478
|
+
name: 'tokenPriceUpdates',
|
|
1479
|
+
type: {
|
|
1480
|
+
vec: {
|
|
1481
|
+
defined: 'TokenPriceUpdate',
|
|
1482
|
+
},
|
|
1483
|
+
},
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
name: 'gasPriceUpdates',
|
|
1487
|
+
type: {
|
|
1488
|
+
vec: {
|
|
1489
|
+
defined: 'GasPriceUpdate',
|
|
1490
|
+
},
|
|
1491
|
+
},
|
|
1492
|
+
},
|
|
1493
|
+
],
|
|
1494
|
+
},
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
name: 'TokenPriceUpdate',
|
|
1498
|
+
type: {
|
|
1499
|
+
kind: 'struct',
|
|
1500
|
+
fields: [
|
|
1501
|
+
{
|
|
1502
|
+
name: 'sourceToken',
|
|
1503
|
+
type: 'publicKey',
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
name: 'usdPerToken',
|
|
1507
|
+
type: {
|
|
1508
|
+
array: ['u8', 28],
|
|
1509
|
+
},
|
|
1510
|
+
},
|
|
1511
|
+
],
|
|
1512
|
+
},
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
name: 'GasPriceUpdate',
|
|
1516
|
+
docs: ['Gas price for a given chain in USD; its value may contain tightly packed fields.'],
|
|
1517
|
+
type: {
|
|
1518
|
+
kind: 'struct',
|
|
1519
|
+
fields: [
|
|
1520
|
+
{
|
|
1521
|
+
name: 'destChainSelector',
|
|
1522
|
+
type: 'u64',
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
name: 'usdPerUnitGas',
|
|
1526
|
+
type: {
|
|
1527
|
+
array: ['u8', 28],
|
|
1528
|
+
},
|
|
1529
|
+
},
|
|
1530
|
+
],
|
|
1531
|
+
},
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
name: 'MerkleRoot',
|
|
1535
|
+
docs: ['Struct to hold a merkle root and an interval for a source chain'],
|
|
1536
|
+
type: {
|
|
1537
|
+
kind: 'struct',
|
|
1538
|
+
fields: [
|
|
1539
|
+
{
|
|
1540
|
+
name: 'sourceChainSelector',
|
|
1541
|
+
type: 'u64',
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
name: 'onRampAddress',
|
|
1545
|
+
type: 'bytes',
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
name: 'minSeqNr',
|
|
1549
|
+
type: 'u64',
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
name: 'maxSeqNr',
|
|
1553
|
+
type: 'u64',
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
name: 'merkleRoot',
|
|
1557
|
+
type: {
|
|
1558
|
+
array: ['u8', 32],
|
|
1559
|
+
},
|
|
1560
|
+
},
|
|
1561
|
+
],
|
|
1562
|
+
},
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
name: 'ConfigOcrPluginType',
|
|
1566
|
+
docs: [
|
|
1567
|
+
"It's not possible to store enums in zero_copy accounts, so we wrap the discriminant",
|
|
1568
|
+
'in a struct to store in config.',
|
|
1569
|
+
],
|
|
1570
|
+
type: {
|
|
1571
|
+
kind: 'struct',
|
|
1572
|
+
fields: [
|
|
1573
|
+
{
|
|
1574
|
+
name: 'discriminant',
|
|
1575
|
+
type: 'u8',
|
|
1576
|
+
},
|
|
1577
|
+
],
|
|
1578
|
+
},
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
name: 'ExecutionReportSingleChain',
|
|
1582
|
+
docs: [
|
|
1583
|
+
'Report that is submitted by the execution DON at the execution phase. (including chain selector data)',
|
|
1584
|
+
],
|
|
1585
|
+
type: {
|
|
1586
|
+
kind: 'struct',
|
|
1587
|
+
fields: [
|
|
1588
|
+
{
|
|
1589
|
+
name: 'sourceChainSelector',
|
|
1590
|
+
type: 'u64',
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
name: 'message',
|
|
1594
|
+
type: {
|
|
1595
|
+
defined: 'Any2SVMRampMessage',
|
|
1596
|
+
},
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
name: 'offchainTokenData',
|
|
1600
|
+
type: {
|
|
1601
|
+
vec: 'bytes',
|
|
1602
|
+
},
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
name: 'proofs',
|
|
1606
|
+
type: {
|
|
1607
|
+
vec: {
|
|
1608
|
+
array: ['u8', 32],
|
|
1609
|
+
},
|
|
1610
|
+
},
|
|
1611
|
+
},
|
|
1612
|
+
],
|
|
1613
|
+
},
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
name: 'RampMessageHeader',
|
|
1617
|
+
type: {
|
|
1618
|
+
kind: 'struct',
|
|
1619
|
+
fields: [
|
|
1620
|
+
{
|
|
1621
|
+
name: 'messageId',
|
|
1622
|
+
type: {
|
|
1623
|
+
array: ['u8', 32],
|
|
1624
|
+
},
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
name: 'sourceChainSelector',
|
|
1628
|
+
type: 'u64',
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
name: 'destChainSelector',
|
|
1632
|
+
type: 'u64',
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
name: 'sequenceNumber',
|
|
1636
|
+
type: 'u64',
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
name: 'nonce',
|
|
1640
|
+
type: 'u64',
|
|
1641
|
+
},
|
|
1642
|
+
],
|
|
1643
|
+
},
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
name: 'Any2SVMRampExtraArgs',
|
|
1647
|
+
type: {
|
|
1648
|
+
kind: 'struct',
|
|
1649
|
+
fields: [
|
|
1650
|
+
{
|
|
1651
|
+
name: 'computeUnits',
|
|
1652
|
+
type: 'u32',
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
name: 'isWritableBitmap',
|
|
1656
|
+
type: 'u64',
|
|
1657
|
+
},
|
|
1658
|
+
],
|
|
1659
|
+
},
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
name: 'Any2SVMRampMessage',
|
|
1663
|
+
type: {
|
|
1664
|
+
kind: 'struct',
|
|
1665
|
+
fields: [
|
|
1666
|
+
{
|
|
1667
|
+
name: 'header',
|
|
1668
|
+
type: {
|
|
1669
|
+
defined: 'RampMessageHeader',
|
|
1670
|
+
},
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
name: 'sender',
|
|
1674
|
+
type: 'bytes',
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
name: 'data',
|
|
1678
|
+
type: 'bytes',
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
name: 'tokenReceiver',
|
|
1682
|
+
type: 'publicKey',
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
name: 'tokenAmounts',
|
|
1686
|
+
type: {
|
|
1687
|
+
vec: {
|
|
1688
|
+
defined: 'Any2SVMTokenTransfer',
|
|
1689
|
+
},
|
|
1690
|
+
},
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
name: 'extraArgs',
|
|
1694
|
+
type: {
|
|
1695
|
+
defined: 'Any2SVMRampExtraArgs',
|
|
1696
|
+
},
|
|
1697
|
+
},
|
|
1698
|
+
],
|
|
1699
|
+
},
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
name: 'Any2SVMTokenTransfer',
|
|
1703
|
+
type: {
|
|
1704
|
+
kind: 'struct',
|
|
1705
|
+
fields: [
|
|
1706
|
+
{
|
|
1707
|
+
name: 'sourcePoolAddress',
|
|
1708
|
+
type: 'bytes',
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
name: 'destTokenAddress',
|
|
1712
|
+
type: 'publicKey',
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
name: 'destGasAmount',
|
|
1716
|
+
type: 'u32',
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
name: 'extraData',
|
|
1720
|
+
type: 'bytes',
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
name: 'amount',
|
|
1724
|
+
type: {
|
|
1725
|
+
defined: 'CrossChainAmount',
|
|
1726
|
+
},
|
|
1727
|
+
},
|
|
1728
|
+
],
|
|
1729
|
+
},
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
name: 'SVMTokenAmount',
|
|
1733
|
+
type: {
|
|
1734
|
+
kind: 'struct',
|
|
1735
|
+
fields: [
|
|
1736
|
+
{
|
|
1737
|
+
name: 'token',
|
|
1738
|
+
type: 'publicKey',
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
name: 'amount',
|
|
1742
|
+
type: 'u64',
|
|
1743
|
+
},
|
|
1744
|
+
],
|
|
1745
|
+
},
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
name: 'CrossChainAmount',
|
|
1749
|
+
type: {
|
|
1750
|
+
kind: 'struct',
|
|
1751
|
+
fields: [
|
|
1752
|
+
{
|
|
1753
|
+
name: 'leBytes',
|
|
1754
|
+
type: {
|
|
1755
|
+
array: ['u8', 32],
|
|
1756
|
+
},
|
|
1757
|
+
},
|
|
1758
|
+
],
|
|
1759
|
+
},
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
name: 'DeriveAccountsExecuteParams',
|
|
1763
|
+
type: {
|
|
1764
|
+
kind: 'struct',
|
|
1765
|
+
fields: [
|
|
1766
|
+
{
|
|
1767
|
+
name: 'executeCaller',
|
|
1768
|
+
type: 'publicKey',
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
name: 'tokenReceiver',
|
|
1772
|
+
type: 'publicKey',
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
name: 'tokenTransfers',
|
|
1776
|
+
type: {
|
|
1777
|
+
vec: {
|
|
1778
|
+
defined: 'TokenTransferAndOffchainData',
|
|
1779
|
+
},
|
|
1780
|
+
},
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
name: 'messageAccounts',
|
|
1784
|
+
type: {
|
|
1785
|
+
vec: {
|
|
1786
|
+
defined: 'CcipAccountMeta',
|
|
1787
|
+
},
|
|
1788
|
+
},
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
name: 'sourceChainSelector',
|
|
1792
|
+
type: 'u64',
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
name: 'originalSender',
|
|
1796
|
+
type: 'bytes',
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
name: 'merkleRoot',
|
|
1800
|
+
type: {
|
|
1801
|
+
array: ['u8', 32],
|
|
1802
|
+
},
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
name: 'bufferId',
|
|
1806
|
+
type: 'bytes',
|
|
1807
|
+
},
|
|
1808
|
+
],
|
|
1809
|
+
},
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
name: 'TokenTransferAndOffchainData',
|
|
1813
|
+
type: {
|
|
1814
|
+
kind: 'struct',
|
|
1815
|
+
fields: [
|
|
1816
|
+
{
|
|
1817
|
+
name: 'transfer',
|
|
1818
|
+
type: {
|
|
1819
|
+
defined: 'Any2SVMTokenTransfer',
|
|
1820
|
+
},
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
name: 'data',
|
|
1824
|
+
type: 'bytes',
|
|
1825
|
+
},
|
|
1826
|
+
],
|
|
1827
|
+
},
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
name: 'DeriveAccountsResponse',
|
|
1831
|
+
type: {
|
|
1832
|
+
kind: 'struct',
|
|
1833
|
+
fields: [
|
|
1834
|
+
{
|
|
1835
|
+
name: 'askAgainWith',
|
|
1836
|
+
docs: [
|
|
1837
|
+
'If this vector is not empty, you must call the `derive_` method again including',
|
|
1838
|
+
'exactly these accounts as the `remaining_accounts` field.',
|
|
1839
|
+
],
|
|
1840
|
+
type: {
|
|
1841
|
+
vec: {
|
|
1842
|
+
defined: 'CcipAccountMeta',
|
|
1843
|
+
},
|
|
1844
|
+
},
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
name: 'accountsToSave',
|
|
1848
|
+
docs: [
|
|
1849
|
+
'You must append these accounts at the end of a separate list. When `next_stage`',
|
|
1850
|
+
'is finally empty, this separate list will contain all the accounts to use for the',
|
|
1851
|
+
'instruction of interest.',
|
|
1852
|
+
],
|
|
1853
|
+
type: {
|
|
1854
|
+
vec: {
|
|
1855
|
+
defined: 'CcipAccountMeta',
|
|
1856
|
+
},
|
|
1857
|
+
},
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
name: 'lookUpTablesToSave',
|
|
1861
|
+
docs: [
|
|
1862
|
+
'Append these look up tables at the end of a list. It will contain all LUTs',
|
|
1863
|
+
'that the instruction of interest can use.',
|
|
1864
|
+
],
|
|
1865
|
+
type: {
|
|
1866
|
+
vec: 'publicKey',
|
|
1867
|
+
},
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
name: 'currentStage',
|
|
1871
|
+
docs: ['Identifies the derivation stage.'],
|
|
1872
|
+
type: 'string',
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
name: 'nextStage',
|
|
1876
|
+
docs: ['Identifies the next derivation stage. If empty, the derivation is complete.'],
|
|
1877
|
+
type: 'string',
|
|
1878
|
+
},
|
|
1879
|
+
],
|
|
1880
|
+
},
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
name: 'CcipAccountMeta',
|
|
1884
|
+
type: {
|
|
1885
|
+
kind: 'struct',
|
|
1886
|
+
fields: [
|
|
1887
|
+
{
|
|
1888
|
+
name: 'pubkey',
|
|
1889
|
+
type: 'publicKey',
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
name: 'isSigner',
|
|
1893
|
+
type: 'bool',
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
name: 'isWritable',
|
|
1897
|
+
type: 'bool',
|
|
1898
|
+
},
|
|
1899
|
+
],
|
|
1900
|
+
},
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
name: 'Ocr3ConfigInfo',
|
|
1904
|
+
type: {
|
|
1905
|
+
kind: 'struct',
|
|
1906
|
+
fields: [
|
|
1907
|
+
{
|
|
1908
|
+
name: 'configDigest',
|
|
1909
|
+
type: {
|
|
1910
|
+
array: ['u8', 32],
|
|
1911
|
+
},
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
name: 'f',
|
|
1915
|
+
type: 'u8',
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
name: 'n',
|
|
1919
|
+
type: 'u8',
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
name: 'isSignatureVerificationEnabled',
|
|
1923
|
+
type: 'u8',
|
|
1924
|
+
},
|
|
1925
|
+
],
|
|
1926
|
+
},
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
name: 'Ocr3Config',
|
|
1930
|
+
type: {
|
|
1931
|
+
kind: 'struct',
|
|
1932
|
+
fields: [
|
|
1933
|
+
{
|
|
1934
|
+
name: 'pluginType',
|
|
1935
|
+
type: {
|
|
1936
|
+
defined: 'ConfigOcrPluginType',
|
|
1937
|
+
},
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
name: 'configInfo',
|
|
1941
|
+
type: {
|
|
1942
|
+
defined: 'Ocr3ConfigInfo',
|
|
1943
|
+
},
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
name: 'signers',
|
|
1947
|
+
type: {
|
|
1948
|
+
array: [
|
|
1949
|
+
{
|
|
1950
|
+
array: ['u8', 20],
|
|
1951
|
+
},
|
|
1952
|
+
16,
|
|
1953
|
+
],
|
|
1954
|
+
},
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
name: 'transmitters',
|
|
1958
|
+
type: {
|
|
1959
|
+
array: [
|
|
1960
|
+
{
|
|
1961
|
+
array: ['u8', 32],
|
|
1962
|
+
},
|
|
1963
|
+
16,
|
|
1964
|
+
],
|
|
1965
|
+
},
|
|
1966
|
+
},
|
|
1967
|
+
],
|
|
1968
|
+
},
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
name: 'SourceChainConfig',
|
|
1972
|
+
type: {
|
|
1973
|
+
kind: 'struct',
|
|
1974
|
+
fields: [
|
|
1975
|
+
{
|
|
1976
|
+
name: 'isEnabled',
|
|
1977
|
+
type: 'bool',
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
name: 'isRmnVerificationDisabled',
|
|
1981
|
+
type: 'bool',
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
name: 'laneCodeVersion',
|
|
1985
|
+
type: {
|
|
1986
|
+
defined: 'CodeVersion',
|
|
1987
|
+
},
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
name: 'onRamp',
|
|
1991
|
+
type: {
|
|
1992
|
+
defined: 'OnRampAddress',
|
|
1993
|
+
},
|
|
1994
|
+
},
|
|
1995
|
+
],
|
|
1996
|
+
},
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
name: 'OnRampAddress',
|
|
2000
|
+
type: {
|
|
2001
|
+
kind: 'struct',
|
|
2002
|
+
fields: [
|
|
2003
|
+
{
|
|
2004
|
+
name: 'bytes',
|
|
2005
|
+
type: {
|
|
2006
|
+
array: ['u8', 64],
|
|
2007
|
+
},
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
name: 'len',
|
|
2011
|
+
type: 'u32',
|
|
2012
|
+
},
|
|
2013
|
+
],
|
|
2014
|
+
},
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
name: 'SourceChainState',
|
|
2018
|
+
type: {
|
|
2019
|
+
kind: 'struct',
|
|
2020
|
+
fields: [
|
|
2021
|
+
{
|
|
2022
|
+
name: 'minSeqNr',
|
|
2023
|
+
type: 'u64',
|
|
2024
|
+
},
|
|
2025
|
+
],
|
|
2026
|
+
},
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
name: 'OcrPluginType',
|
|
2030
|
+
type: {
|
|
2031
|
+
kind: 'enum',
|
|
2032
|
+
variants: [
|
|
2033
|
+
{
|
|
2034
|
+
name: 'Commit',
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
name: 'Execution',
|
|
2038
|
+
},
|
|
2039
|
+
],
|
|
2040
|
+
},
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
name: 'DeriveAccountsExecuteStage',
|
|
2044
|
+
type: {
|
|
2045
|
+
kind: 'enum',
|
|
2046
|
+
variants: [
|
|
2047
|
+
{
|
|
2048
|
+
name: 'Start',
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
name: 'FinishMainAccountList',
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
name: 'RetrieveTokenLUTs',
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
name: 'RetrievePoolPrograms',
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
name: 'TokenTransferStaticAccounts',
|
|
2061
|
+
fields: [
|
|
2062
|
+
{
|
|
2063
|
+
name: 'token',
|
|
2064
|
+
type: 'u32',
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
name: 'page',
|
|
2068
|
+
type: 'u32',
|
|
2069
|
+
},
|
|
2070
|
+
],
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
name: 'NestedTokenDerive',
|
|
2074
|
+
fields: [
|
|
2075
|
+
{
|
|
2076
|
+
name: 'token',
|
|
2077
|
+
type: 'u32',
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
name: 'tokenSubstage',
|
|
2081
|
+
type: 'string',
|
|
2082
|
+
},
|
|
2083
|
+
],
|
|
2084
|
+
},
|
|
2085
|
+
],
|
|
2086
|
+
},
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
name: 'MessageExecutionState',
|
|
2090
|
+
type: {
|
|
2091
|
+
kind: 'enum',
|
|
2092
|
+
variants: [
|
|
2093
|
+
{
|
|
2094
|
+
name: 'Untouched',
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
name: 'InProgress',
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
name: 'Success',
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
name: 'Failure',
|
|
2104
|
+
},
|
|
2105
|
+
],
|
|
2106
|
+
},
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
name: 'CodeVersion',
|
|
2110
|
+
type: {
|
|
2111
|
+
kind: 'enum',
|
|
2112
|
+
variants: [
|
|
2113
|
+
{
|
|
2114
|
+
name: 'Default',
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
name: 'V1',
|
|
2118
|
+
},
|
|
2119
|
+
],
|
|
2120
|
+
},
|
|
2121
|
+
},
|
|
2122
|
+
],
|
|
2123
|
+
events: [
|
|
2124
|
+
{
|
|
2125
|
+
name: 'SourceChainConfigUpdated',
|
|
2126
|
+
fields: [
|
|
2127
|
+
{
|
|
2128
|
+
name: 'sourceChainSelector',
|
|
2129
|
+
type: 'u64',
|
|
2130
|
+
index: false,
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
name: 'sourceChainConfig',
|
|
2134
|
+
type: {
|
|
2135
|
+
defined: 'SourceChainConfig',
|
|
2136
|
+
},
|
|
2137
|
+
index: false,
|
|
2138
|
+
},
|
|
2139
|
+
],
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
name: 'SourceChainAdded',
|
|
2143
|
+
fields: [
|
|
2144
|
+
{
|
|
2145
|
+
name: 'sourceChainSelector',
|
|
2146
|
+
type: 'u64',
|
|
2147
|
+
index: false,
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
name: 'sourceChainConfig',
|
|
2151
|
+
type: {
|
|
2152
|
+
defined: 'SourceChainConfig',
|
|
2153
|
+
},
|
|
2154
|
+
index: false,
|
|
2155
|
+
},
|
|
2156
|
+
],
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
name: 'OwnershipTransferRequested',
|
|
2160
|
+
fields: [
|
|
2161
|
+
{
|
|
2162
|
+
name: 'from',
|
|
2163
|
+
type: 'publicKey',
|
|
2164
|
+
index: false,
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
name: 'to',
|
|
2168
|
+
type: 'publicKey',
|
|
2169
|
+
index: false,
|
|
2170
|
+
},
|
|
2171
|
+
],
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
name: 'OwnershipTransferred',
|
|
2175
|
+
fields: [
|
|
2176
|
+
{
|
|
2177
|
+
name: 'from',
|
|
2178
|
+
type: 'publicKey',
|
|
2179
|
+
index: false,
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
name: 'to',
|
|
2183
|
+
type: 'publicKey',
|
|
2184
|
+
index: false,
|
|
2185
|
+
},
|
|
2186
|
+
],
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
name: 'ConfigSet',
|
|
2190
|
+
fields: [
|
|
2191
|
+
{
|
|
2192
|
+
name: 'svmChainSelector',
|
|
2193
|
+
type: 'u64',
|
|
2194
|
+
index: false,
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
name: 'enableManualExecutionAfter',
|
|
2198
|
+
type: 'i64',
|
|
2199
|
+
index: false,
|
|
2200
|
+
},
|
|
2201
|
+
],
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
name: 'ReferenceAddressesSet',
|
|
2205
|
+
fields: [
|
|
2206
|
+
{
|
|
2207
|
+
name: 'router',
|
|
2208
|
+
type: 'publicKey',
|
|
2209
|
+
index: false,
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
name: 'feeQuoter',
|
|
2213
|
+
type: 'publicKey',
|
|
2214
|
+
index: false,
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
name: 'offrampLookupTable',
|
|
2218
|
+
type: 'publicKey',
|
|
2219
|
+
index: false,
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
name: 'rmnRemote',
|
|
2223
|
+
type: 'publicKey',
|
|
2224
|
+
index: false,
|
|
2225
|
+
},
|
|
2226
|
+
],
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
name: 'CommitReportAccepted',
|
|
2230
|
+
fields: [
|
|
2231
|
+
{
|
|
2232
|
+
name: 'merkleRoot',
|
|
2233
|
+
type: {
|
|
2234
|
+
option: {
|
|
2235
|
+
defined: 'MerkleRoot',
|
|
2236
|
+
},
|
|
2237
|
+
},
|
|
2238
|
+
index: false,
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
name: 'priceUpdates',
|
|
2242
|
+
type: {
|
|
2243
|
+
defined: 'PriceUpdates',
|
|
2244
|
+
},
|
|
2245
|
+
index: false,
|
|
2246
|
+
},
|
|
2247
|
+
],
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
name: 'CommitReportPDAClosed',
|
|
2251
|
+
fields: [
|
|
2252
|
+
{
|
|
2253
|
+
name: 'sourceChainSelector',
|
|
2254
|
+
type: 'u64',
|
|
2255
|
+
index: false,
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
name: 'merkleRoot',
|
|
2259
|
+
type: {
|
|
2260
|
+
array: ['u8', 32],
|
|
2261
|
+
},
|
|
2262
|
+
index: false,
|
|
2263
|
+
},
|
|
2264
|
+
],
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
name: 'SkippedAlreadyExecutedMessage',
|
|
2268
|
+
fields: [
|
|
2269
|
+
{
|
|
2270
|
+
name: 'sourceChainSelector',
|
|
2271
|
+
type: 'u64',
|
|
2272
|
+
index: false,
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
name: 'sequenceNumber',
|
|
2276
|
+
type: 'u64',
|
|
2277
|
+
index: false,
|
|
2278
|
+
},
|
|
2279
|
+
],
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
name: 'ExecutionStateChanged',
|
|
2283
|
+
fields: [
|
|
2284
|
+
{
|
|
2285
|
+
name: 'sourceChainSelector',
|
|
2286
|
+
type: 'u64',
|
|
2287
|
+
index: false,
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
name: 'sequenceNumber',
|
|
2291
|
+
type: 'u64',
|
|
2292
|
+
index: false,
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
name: 'messageId',
|
|
2296
|
+
type: {
|
|
2297
|
+
array: ['u8', 32],
|
|
2298
|
+
},
|
|
2299
|
+
index: false,
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
name: 'messageHash',
|
|
2303
|
+
type: {
|
|
2304
|
+
array: ['u8', 32],
|
|
2305
|
+
},
|
|
2306
|
+
index: false,
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
name: 'state',
|
|
2310
|
+
type: {
|
|
2311
|
+
defined: 'MessageExecutionState',
|
|
2312
|
+
},
|
|
2313
|
+
index: false,
|
|
2314
|
+
},
|
|
2315
|
+
],
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
name: 'ConfigSet',
|
|
2319
|
+
fields: [
|
|
2320
|
+
{
|
|
2321
|
+
name: 'ocrPluginType',
|
|
2322
|
+
type: {
|
|
2323
|
+
defined: 'OcrPluginType',
|
|
2324
|
+
},
|
|
2325
|
+
index: false,
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
name: 'configDigest',
|
|
2329
|
+
type: {
|
|
2330
|
+
array: ['u8', 32],
|
|
2331
|
+
},
|
|
2332
|
+
index: false,
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
name: 'signers',
|
|
2336
|
+
type: {
|
|
2337
|
+
vec: {
|
|
2338
|
+
array: ['u8', 20],
|
|
2339
|
+
},
|
|
2340
|
+
},
|
|
2341
|
+
index: false,
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
name: 'transmitters',
|
|
2345
|
+
type: {
|
|
2346
|
+
vec: 'publicKey',
|
|
2347
|
+
},
|
|
2348
|
+
index: false,
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
name: 'f',
|
|
2352
|
+
type: 'u8',
|
|
2353
|
+
index: false,
|
|
2354
|
+
},
|
|
2355
|
+
],
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
name: 'Transmitted',
|
|
2359
|
+
fields: [
|
|
2360
|
+
{
|
|
2361
|
+
name: 'ocrPluginType',
|
|
2362
|
+
type: {
|
|
2363
|
+
defined: 'OcrPluginType',
|
|
2364
|
+
},
|
|
2365
|
+
index: false,
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
name: 'configDigest',
|
|
2369
|
+
type: {
|
|
2370
|
+
array: ['u8', 32],
|
|
2371
|
+
},
|
|
2372
|
+
index: false,
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
name: 'sequenceNumber',
|
|
2376
|
+
type: 'u64',
|
|
2377
|
+
index: false,
|
|
2378
|
+
},
|
|
2379
|
+
],
|
|
2380
|
+
},
|
|
2381
|
+
],
|
|
2382
|
+
errors: [
|
|
2383
|
+
{
|
|
2384
|
+
code: 9000,
|
|
2385
|
+
name: 'InvalidSequenceInterval',
|
|
2386
|
+
msg: 'The given sequence interval is invalid',
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
code: 9001,
|
|
2390
|
+
name: 'RootNotCommitted',
|
|
2391
|
+
msg: 'The given Merkle Root is missing',
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
code: 9002,
|
|
2395
|
+
name: 'InvalidRMNRemoteAddress',
|
|
2396
|
+
msg: 'Invalid RMN Remote Address',
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
code: 9003,
|
|
2400
|
+
name: 'ExistingMerkleRoot',
|
|
2401
|
+
msg: 'The given Merkle Root is already committed',
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
code: 9004,
|
|
2405
|
+
name: 'Unauthorized',
|
|
2406
|
+
msg: 'The signer is unauthorized',
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
code: 9005,
|
|
2410
|
+
name: 'InvalidNonce',
|
|
2411
|
+
msg: 'Invalid Nonce',
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
code: 9006,
|
|
2415
|
+
name: 'InvalidInputsMissingWritable',
|
|
2416
|
+
msg: 'Account should be writable',
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
code: 9007,
|
|
2420
|
+
name: 'OnrampNotConfigured',
|
|
2421
|
+
msg: 'Onramp was not configured',
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
code: 9008,
|
|
2425
|
+
name: 'FailedToDeserializeReport',
|
|
2426
|
+
msg: 'Failed to deserialize report',
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
code: 9009,
|
|
2430
|
+
name: 'InvalidPluginType',
|
|
2431
|
+
msg: 'Invalid plugin type',
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
code: 9010,
|
|
2435
|
+
name: 'InvalidVersion',
|
|
2436
|
+
msg: 'Invalid version of the onchain state',
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
code: 9011,
|
|
2440
|
+
name: 'MissingExpectedPriceUpdates',
|
|
2441
|
+
msg: 'Commit report is missing expected price updates',
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
code: 9012,
|
|
2445
|
+
name: 'MissingExpectedMerkleRoot',
|
|
2446
|
+
msg: 'Commit report is missing expected merkle root',
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
code: 9013,
|
|
2450
|
+
name: 'UnexpectedMerkleRoot',
|
|
2451
|
+
msg: 'Commit report contains unexpected merkle root',
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
code: 9014,
|
|
2455
|
+
name: 'RedundantOwnerProposal',
|
|
2456
|
+
msg: 'Proposed owner is the current owner',
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
code: 9015,
|
|
2460
|
+
name: 'UnsupportedSourceChainSelector',
|
|
2461
|
+
msg: 'Source chain selector not supported',
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
code: 9016,
|
|
2465
|
+
name: 'UnsupportedDestinationChainSelector',
|
|
2466
|
+
msg: 'Destination chain selector not supported',
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
code: 9017,
|
|
2470
|
+
name: 'InvalidProof',
|
|
2471
|
+
msg: 'Invalid Proof for Merkle Root',
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
code: 9018,
|
|
2475
|
+
name: 'InvalidMessage',
|
|
2476
|
+
msg: 'Invalid message format',
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
code: 9019,
|
|
2480
|
+
name: 'ReachedMaxSequenceNumber',
|
|
2481
|
+
msg: 'Reached max sequence number',
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
code: 9020,
|
|
2485
|
+
name: 'ManualExecutionNotAllowed',
|
|
2486
|
+
msg: 'Manual execution not allowed',
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
code: 9021,
|
|
2490
|
+
name: 'InvalidInputsNumberOfAccounts',
|
|
2491
|
+
msg: 'Number of accounts is invalid',
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
code: 9022,
|
|
2495
|
+
name: 'InvalidInputsGlobalStateAccount',
|
|
2496
|
+
msg: 'Invalid global state account address',
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
code: 9023,
|
|
2500
|
+
name: 'InvalidInputsTokenIndices',
|
|
2501
|
+
msg: 'Invalid pool account account indices',
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
code: 9024,
|
|
2505
|
+
name: 'InvalidInputsPoolAccounts',
|
|
2506
|
+
msg: 'Invalid pool accounts',
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
code: 9025,
|
|
2510
|
+
name: 'InvalidInputsTokenAccounts',
|
|
2511
|
+
msg: 'Invalid token accounts',
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
code: 9026,
|
|
2515
|
+
name: 'InvalidInputsSysvarAccount',
|
|
2516
|
+
msg: 'Invalid sysvar instructions account',
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
code: 9027,
|
|
2520
|
+
name: 'InvalidInputsFeeQuoterAccount',
|
|
2521
|
+
msg: 'Invalid fee quoter account',
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
code: 9028,
|
|
2525
|
+
name: 'InvalidInputsAllowedOfframpAccount',
|
|
2526
|
+
msg: 'Invalid offramp authorization account',
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
code: 9029,
|
|
2530
|
+
name: 'InvalidInputsTokenAdminRegistryAccounts',
|
|
2531
|
+
msg: 'Invalid Token Admin Registry account',
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
code: 9030,
|
|
2535
|
+
name: 'InvalidInputsLookupTableAccounts',
|
|
2536
|
+
msg: 'Invalid LookupTable account',
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
code: 9031,
|
|
2540
|
+
name: 'InvalidInputsLookupTableAccountWritable',
|
|
2541
|
+
msg: 'Invalid LookupTable account writable access',
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
code: 9032,
|
|
2545
|
+
name: 'OfframpReleaseMintBalanceMismatch',
|
|
2546
|
+
msg: 'Release or mint balance mismatch',
|
|
2547
|
+
},
|
|
2548
|
+
{
|
|
2549
|
+
code: 9033,
|
|
2550
|
+
name: 'OfframpInvalidDataLength',
|
|
2551
|
+
msg: 'Invalid data length',
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
code: 9034,
|
|
2555
|
+
name: 'StaleCommitReport',
|
|
2556
|
+
msg: 'Stale commit report',
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
code: 9035,
|
|
2560
|
+
name: 'InvalidWritabilityBitmap',
|
|
2561
|
+
msg: 'Invalid writability bitmap',
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
code: 9036,
|
|
2565
|
+
name: 'InvalidCodeVersion',
|
|
2566
|
+
msg: 'Invalid code version',
|
|
2567
|
+
},
|
|
2568
|
+
{
|
|
2569
|
+
code: 9037,
|
|
2570
|
+
name: 'Ocr3InvalidConfigFMustBePositive',
|
|
2571
|
+
msg: 'Invalid config: F must be positive',
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
code: 9038,
|
|
2575
|
+
name: 'Ocr3InvalidConfigTooManyTransmitters',
|
|
2576
|
+
msg: 'Invalid config: Too many transmitters',
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
code: 9039,
|
|
2580
|
+
name: 'Ocr3InvalidConfigNoTransmitters',
|
|
2581
|
+
msg: 'Invalid config: No transmitters',
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
code: 9040,
|
|
2585
|
+
name: 'Ocr3InvalidConfigTooManySigners',
|
|
2586
|
+
msg: 'Invalid config: Too many signers',
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
code: 9041,
|
|
2590
|
+
name: 'Ocr3InvalidConfigFIsTooHigh',
|
|
2591
|
+
msg: 'Invalid config: F is too high',
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
code: 9042,
|
|
2595
|
+
name: 'Ocr3InvalidConfigRepeatedOracle',
|
|
2596
|
+
msg: 'Invalid config: Repeated oracle address',
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
code: 9043,
|
|
2600
|
+
name: 'Ocr3WrongMessageLength',
|
|
2601
|
+
msg: 'Wrong message length',
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
code: 9044,
|
|
2605
|
+
name: 'Ocr3ConfigDigestMismatch',
|
|
2606
|
+
msg: 'Config digest mismatch',
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
code: 9045,
|
|
2610
|
+
name: 'Ocr3WrongNumberOfSignatures',
|
|
2611
|
+
msg: 'Wrong number signatures',
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
code: 9046,
|
|
2615
|
+
name: 'Ocr3UnauthorizedTransmitter',
|
|
2616
|
+
msg: 'Unauthorized transmitter',
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
code: 9047,
|
|
2620
|
+
name: 'Ocr3UnauthorizedSigner',
|
|
2621
|
+
msg: 'Unauthorized signer',
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
code: 9048,
|
|
2625
|
+
name: 'Ocr3NonUniqueSignatures',
|
|
2626
|
+
msg: 'Non unique signatures',
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
code: 9049,
|
|
2630
|
+
name: 'Ocr3OracleCannotBeZeroAddress',
|
|
2631
|
+
msg: 'Oracle cannot be zero address',
|
|
2632
|
+
},
|
|
2633
|
+
{
|
|
2634
|
+
code: 9050,
|
|
2635
|
+
name: 'Ocr3StaticConfigCannotBeChanged',
|
|
2636
|
+
msg: 'Static config cannot be changed',
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
code: 9051,
|
|
2640
|
+
name: 'Ocr3InvalidPluginType',
|
|
2641
|
+
msg: 'Incorrect plugin type',
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
code: 9052,
|
|
2645
|
+
name: 'Ocr3InvalidSignature',
|
|
2646
|
+
msg: 'Invalid signature',
|
|
2647
|
+
},
|
|
2648
|
+
{
|
|
2649
|
+
code: 9053,
|
|
2650
|
+
name: 'Ocr3SignaturesOutOfRegistration',
|
|
2651
|
+
msg: 'Signatures out of registration',
|
|
2652
|
+
},
|
|
2653
|
+
{
|
|
2654
|
+
code: 9054,
|
|
2655
|
+
name: 'InvalidOnrampAddress',
|
|
2656
|
+
msg: 'Invalid onramp address',
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
code: 9055,
|
|
2660
|
+
name: 'InvalidInputsExternalExecutionSignerAccount',
|
|
2661
|
+
msg: 'Invalid external execution signer account',
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
code: 9056,
|
|
2665
|
+
name: 'CommitReportHasPendingMessages',
|
|
2666
|
+
msg: 'Commit report has pending messages',
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
code: 9057,
|
|
2670
|
+
name: 'ExecutionReportBufferAlreadyContainsChunk',
|
|
2671
|
+
msg: 'The execution report buffer already contains that chunk',
|
|
2672
|
+
},
|
|
2673
|
+
{
|
|
2674
|
+
code: 9058,
|
|
2675
|
+
name: 'ExecutionReportBufferAlreadyInitialized',
|
|
2676
|
+
msg: 'The execution report buffer is already initialized',
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
code: 9059,
|
|
2680
|
+
name: 'ExecutionReportBufferInvalidLength',
|
|
2681
|
+
msg: 'Invalid length for execution report buffer',
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
code: 9060,
|
|
2685
|
+
name: 'ExecutionReportBufferInvalidChunkIndex',
|
|
2686
|
+
msg: 'Chunk lies outside the execution report buffer',
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
code: 9061,
|
|
2690
|
+
name: 'ExecutionReportBufferInvalidChunkNumber',
|
|
2691
|
+
msg: 'Total number of chunks is not consistent',
|
|
2692
|
+
},
|
|
2693
|
+
{
|
|
2694
|
+
code: 9062,
|
|
2695
|
+
name: 'ExecutionReportBufferChunkSizeTooSmall',
|
|
2696
|
+
msg: 'Chunk size is too small',
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
code: 9063,
|
|
2700
|
+
name: 'ExecutionReportBufferInvalidChunkSize',
|
|
2701
|
+
msg: 'Invalid chunk size',
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
code: 9064,
|
|
2705
|
+
name: 'ExecutionReportBufferInvalidIdSize',
|
|
2706
|
+
msg: 'Invalid ID size for buffer',
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
code: 9065,
|
|
2710
|
+
name: 'ExecutionReportBufferIncomplete',
|
|
2711
|
+
msg: 'Execution report buffer is not complete: chunks are missing',
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
code: 9066,
|
|
2715
|
+
name: 'ExecutionReportUnavailable',
|
|
2716
|
+
msg: "Execution report wasn't provided either directly or via buffer",
|
|
2717
|
+
},
|
|
2718
|
+
{
|
|
2719
|
+
code: 9067,
|
|
2720
|
+
name: 'InvalidAccountListForPdaDerivation',
|
|
2721
|
+
msg: 'Invalid account list for PDA derivation',
|
|
2722
|
+
},
|
|
2723
|
+
{
|
|
2724
|
+
code: 9068,
|
|
2725
|
+
name: 'InvalidDerivationStage',
|
|
2726
|
+
msg: 'Unexpected account derivation stage',
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
code: 9069,
|
|
2730
|
+
name: 'InvalidTokenPoolAccountDerivationResponse',
|
|
2731
|
+
msg: 'Token pool returned an unexpected derivation response',
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
code: 9070,
|
|
2735
|
+
name: 'AccountDerivationResponseTooLarge',
|
|
2736
|
+
msg: "Can't fit account derivation response.",
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
code: 9071,
|
|
2740
|
+
name: 'DefaultOwnerProposal',
|
|
2741
|
+
msg: 'Proposed owner is the default pubkey',
|
|
2742
|
+
},
|
|
2743
|
+
],
|
|
2744
|
+
};
|
|
2745
|
+
// generate:end
|
|
2746
|
+
//# sourceMappingURL=CCIP_OFFRAMP.js.map
|