@across-protocol/contracts 4.0.11 → 4.0.12
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/dist/scripts/svm/{enableRoute.js → createVault.js} +13 -35
- package/dist/scripts/svm/fakeFillWithRandomDistribution.js +9 -8
- package/dist/scripts/svm/nativeDeposit.js +138 -0
- package/dist/scripts/svm/queryEventsV2.js +3 -3
- package/dist/scripts/svm/{queryRoute.js → queryVault.js} +10 -25
- package/dist/scripts/svm/remoteHubPoolPauseDeposits.js +2 -2
- package/dist/scripts/svm/simpleDeposit.js +3 -12
- package/dist/scripts/svm/simpleFakeRelayerRepayment.js +2 -9
- package/dist/scripts/svm/simpleFill.js +3 -2
- package/dist/src/svm/assets/idl/svm_spoke.json +43 -369
- package/dist/src/svm/assets/svm_spoke.d.ts +40 -366
- package/dist/src/svm/clients/SvmSpoke/accounts/index.d.ts +0 -1
- package/dist/src/svm/clients/SvmSpoke/accounts/index.js +0 -1
- package/dist/src/svm/clients/SvmSpoke/errors/svmSpoke.d.ts +3 -1
- package/dist/src/svm/clients/SvmSpoke/errors/svmSpoke.js +4 -1
- package/dist/src/svm/clients/SvmSpoke/instructions/deposit.d.ts +21 -13
- package/dist/src/svm/clients/SvmSpoke/instructions/deposit.js +38 -6
- package/dist/src/svm/clients/SvmSpoke/instructions/depositNow.d.ts +21 -13
- package/dist/src/svm/clients/SvmSpoke/instructions/depositNow.js +38 -6
- package/dist/src/svm/clients/SvmSpoke/instructions/fillRelay.d.ts +20 -16
- package/dist/src/svm/clients/SvmSpoke/instructions/fillRelay.js +6 -1
- package/dist/src/svm/clients/SvmSpoke/instructions/index.d.ts +0 -1
- package/dist/src/svm/clients/SvmSpoke/instructions/index.js +0 -1
- package/dist/src/svm/clients/SvmSpoke/instructions/unsafeDeposit.d.ts +21 -13
- package/dist/src/svm/clients/SvmSpoke/instructions/unsafeDeposit.js +38 -6
- package/dist/src/svm/clients/SvmSpoke/programs/svmSpoke.d.ts +6 -10
- package/dist/src/svm/clients/SvmSpoke/programs/svmSpoke.js +5 -13
- package/dist/src/svm/clients/SvmSpoke/types/index.d.ts +0 -1
- package/dist/src/svm/clients/SvmSpoke/types/index.js +0 -1
- package/dist/src/svm/web3-v1/helpers.d.ts +114 -1
- package/dist/src/svm/web3-v1/helpers.js +179 -1
- package/dist/target/types/svm_spoke.d.ts +40 -366
- package/dist/test/svm/SvmSpoke.Deposit.js +143 -176
- package/dist/test/svm/SvmSpoke.Fill.AcrossPlus.js +20 -17
- package/dist/test/svm/SvmSpoke.Fill.js +52 -38
- package/dist/test/svm/SvmSpoke.HandleReceiveMessage.js +2 -114
- package/dist/test/svm/SvmSpoke.SlowFill.AcrossPlus.js +2 -2
- package/dist/test/svm/SvmSpoke.SlowFill.js +37 -34
- package/dist/test/svm/SvmSpoke.common.d.ts +2 -3
- package/dist/test/svm/SvmSpoke.common.js +3 -12
- package/package.json +1 -1
- package/dist/scripts/svm/remoteHubPoolSetDepositRoute.d.ts +0 -1
- package/dist/scripts/svm/remoteHubPoolSetDepositRoute.js +0 -252
- package/dist/src/svm/clients/SvmSpoke/accounts/route.d.ts +0 -27
- package/dist/src/svm/clients/SvmSpoke/accounts/route.js +0 -66
- package/dist/src/svm/clients/SvmSpoke/instructions/setEnableRoute.d.ts +0 -95
- package/dist/src/svm/clients/SvmSpoke/instructions/setEnableRoute.js +0 -213
- package/dist/src/svm/clients/SvmSpoke/types/enabledDepositRoute.d.ts +0 -21
- package/dist/src/svm/clients/SvmSpoke/types/enabledDepositRoute.js +0 -30
- package/dist/test/svm/SvmSpoke.Routes.js +0 -167
- /package/dist/scripts/svm/{enableRoute.d.ts → createVault.d.ts} +0 -0
- /package/dist/scripts/svm/{queryRoute.d.ts → nativeDeposit.d.ts} +0 -0
- /package/dist/{test/svm/SvmSpoke.Routes.d.ts → scripts/svm/queryVault.d.ts} +0 -0
|
@@ -728,13 +728,12 @@
|
|
|
728
728
|
"### Required Accounts:",
|
|
729
729
|
"- signer (Signer): The account that authorizes the deposit.",
|
|
730
730
|
"- state (Writable): Spoke state PDA. Seed: [\"state\",state.seed] where seed is 0 on mainnet.",
|
|
731
|
-
"- route (Account): The route PDA for the particular bridged route in question. Validates a route is enabled.",
|
|
732
|
-
"Seed: [\"route\",input_token,state.seed,destination_chain_id].",
|
|
733
731
|
"- depositor_token_account (Writable): The depositor's ATA for the input token.",
|
|
734
732
|
"- vault (Writable): Programs ATA for the associated input token. This is where the depositor's assets are sent.",
|
|
735
733
|
"Authority must be the state.",
|
|
736
734
|
"- mint (Account): The mint account for the input token.",
|
|
737
735
|
"- token_program (Interface): The token program.",
|
|
736
|
+
"- delegate (Account): The account used to delegate the input amount of the input token.",
|
|
738
737
|
"",
|
|
739
738
|
"### Parameters",
|
|
740
739
|
"- depositor: The account credited with the deposit. Can be different from the signer.",
|
|
@@ -746,8 +745,7 @@
|
|
|
746
745
|
"amount will be sent to the relayer on their repayment chain of choice as a refund following an optimistic",
|
|
747
746
|
"challenge window in the HubPool, less a system fee.",
|
|
748
747
|
"- output_amount: The amount of output tokens that the relayer will send to the recipient on the destination.",
|
|
749
|
-
"- destination_chain_id: The destination chain identifier
|
|
750
|
-
"deposit route from this spoke pool or this transaction will revert.",
|
|
748
|
+
"- destination_chain_id: The destination chain identifier where the fill should be made.",
|
|
751
749
|
"- exclusive_relayer: The relayer that will be exclusively allowed to fill this deposit before the exclusivity",
|
|
752
750
|
"deadline timestamp. This must be a valid, non-zero address if the exclusivity deadline is greater than the",
|
|
753
751
|
"current block timestamp.",
|
|
@@ -802,34 +800,7 @@
|
|
|
802
800
|
}
|
|
803
801
|
},
|
|
804
802
|
{
|
|
805
|
-
"name": "
|
|
806
|
-
"pda": {
|
|
807
|
-
"seeds": [
|
|
808
|
-
{
|
|
809
|
-
"kind": "const",
|
|
810
|
-
"value": [
|
|
811
|
-
114,
|
|
812
|
-
111,
|
|
813
|
-
117,
|
|
814
|
-
116,
|
|
815
|
-
101
|
|
816
|
-
]
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
"kind": "arg",
|
|
820
|
-
"path": "input_token"
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
"kind": "account",
|
|
824
|
-
"path": "state.seed",
|
|
825
|
-
"account": "State"
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
"kind": "arg",
|
|
829
|
-
"path": "destination_chain_id"
|
|
830
|
-
}
|
|
831
|
-
]
|
|
832
|
-
}
|
|
803
|
+
"name": "delegate"
|
|
833
804
|
},
|
|
834
805
|
{
|
|
835
806
|
"name": "depositor_token_account",
|
|
@@ -951,6 +922,14 @@
|
|
|
951
922
|
{
|
|
952
923
|
"name": "token_program"
|
|
953
924
|
},
|
|
925
|
+
{
|
|
926
|
+
"name": "associated_token_program",
|
|
927
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"name": "system_program",
|
|
931
|
+
"address": "11111111111111111111111111111111"
|
|
932
|
+
},
|
|
954
933
|
{
|
|
955
934
|
"name": "event_authority",
|
|
956
935
|
"pda": {
|
|
@@ -1081,34 +1060,7 @@
|
|
|
1081
1060
|
}
|
|
1082
1061
|
},
|
|
1083
1062
|
{
|
|
1084
|
-
"name": "
|
|
1085
|
-
"pda": {
|
|
1086
|
-
"seeds": [
|
|
1087
|
-
{
|
|
1088
|
-
"kind": "const",
|
|
1089
|
-
"value": [
|
|
1090
|
-
114,
|
|
1091
|
-
111,
|
|
1092
|
-
117,
|
|
1093
|
-
116,
|
|
1094
|
-
101
|
|
1095
|
-
]
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"kind": "arg",
|
|
1099
|
-
"path": "input_token"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"kind": "account",
|
|
1103
|
-
"path": "state.seed",
|
|
1104
|
-
"account": "State"
|
|
1105
|
-
},
|
|
1106
|
-
{
|
|
1107
|
-
"kind": "arg",
|
|
1108
|
-
"path": "destination_chain_id"
|
|
1109
|
-
}
|
|
1110
|
-
]
|
|
1111
|
-
}
|
|
1063
|
+
"name": "delegate"
|
|
1112
1064
|
},
|
|
1113
1065
|
{
|
|
1114
1066
|
"name": "depositor_token_account",
|
|
@@ -1230,6 +1182,14 @@
|
|
|
1230
1182
|
{
|
|
1231
1183
|
"name": "token_program"
|
|
1232
1184
|
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "associated_token_program",
|
|
1187
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "system_program",
|
|
1191
|
+
"address": "11111111111111111111111111111111"
|
|
1192
|
+
},
|
|
1233
1193
|
{
|
|
1234
1194
|
"name": "event_authority",
|
|
1235
1195
|
"pda": {
|
|
@@ -2114,7 +2074,7 @@
|
|
|
2114
2074
|
},
|
|
2115
2075
|
{
|
|
2116
2076
|
"kind": "arg",
|
|
2117
|
-
"path": "
|
|
2077
|
+
"path": "_root_bundle_id.unwrap_or_else(| |\ninstruction_params"
|
|
2118
2078
|
}
|
|
2119
2079
|
]
|
|
2120
2080
|
}
|
|
@@ -2136,7 +2096,7 @@
|
|
|
2136
2096
|
},
|
|
2137
2097
|
{
|
|
2138
2098
|
"kind": "arg",
|
|
2139
|
-
"path": "
|
|
2099
|
+
"path": "_relay_hash"
|
|
2140
2100
|
}
|
|
2141
2101
|
]
|
|
2142
2102
|
}
|
|
@@ -2357,9 +2317,6 @@
|
|
|
2357
2317
|
"instruction data due to message size constraints. Pass this program ID to represent None. When Some, this must",
|
|
2358
2318
|
"be derived from the signer's public key with seed [\"instruction_params\",signer].",
|
|
2359
2319
|
"- state (Writable): Spoke state PDA. Seed: [\"state\",state.seed] where seed is 0 on mainnet.",
|
|
2360
|
-
"- route (Account): The route PDA for the particular bridged route in question. Validates a route is enabled.",
|
|
2361
|
-
"Seed: [\"route\",input_token,state.seed,destination_chain_id].",
|
|
2362
|
-
"- vault (Writable): The ATA for refunded mint. Authority must be the state.",
|
|
2363
2320
|
"- mint (Account): The mint of the output token, sent from the relayer to the recipient.",
|
|
2364
2321
|
"- relayer_token_account (Writable): The relayer's ATA for the input token.",
|
|
2365
2322
|
"- recipient_token_account (Writable): The recipient's ATA for the output token.",
|
|
@@ -2368,9 +2325,10 @@
|
|
|
2368
2325
|
"- token_program (Interface): The token program.",
|
|
2369
2326
|
"- associated_token_program (Interface): The associated token program.",
|
|
2370
2327
|
"- system_program (Interface): The system program.",
|
|
2328
|
+
"- delegate (Account): The account used to delegate the output amount of the output token.",
|
|
2371
2329
|
"",
|
|
2372
2330
|
"### Parameters:",
|
|
2373
|
-
"-
|
|
2331
|
+
"- relay_hash: The hash identifying the deposit to be filled. Caller must pass this in. Computed as hash of",
|
|
2374
2332
|
"the flattened relay_data & destination_chain_id.",
|
|
2375
2333
|
"- relay_data: Struct containing all the data needed to identify the deposit to be filled. Should match",
|
|
2376
2334
|
"all the same-named parameters emitted in the origin chain FundsDeposited event.",
|
|
@@ -2470,6 +2428,9 @@
|
|
|
2470
2428
|
]
|
|
2471
2429
|
}
|
|
2472
2430
|
},
|
|
2431
|
+
{
|
|
2432
|
+
"name": "delegate"
|
|
2433
|
+
},
|
|
2473
2434
|
{
|
|
2474
2435
|
"name": "mint"
|
|
2475
2436
|
},
|
|
@@ -2602,7 +2563,7 @@
|
|
|
2602
2563
|
],
|
|
2603
2564
|
"args": [
|
|
2604
2565
|
{
|
|
2605
|
-
"name": "
|
|
2566
|
+
"name": "relay_hash",
|
|
2606
2567
|
"type": {
|
|
2607
2568
|
"array": [
|
|
2608
2569
|
"u8",
|
|
@@ -3604,7 +3565,7 @@
|
|
|
3604
3565
|
},
|
|
3605
3566
|
{
|
|
3606
3567
|
"kind": "arg",
|
|
3607
|
-
"path": "
|
|
3568
|
+
"path": "_relay_hash"
|
|
3608
3569
|
}
|
|
3609
3570
|
]
|
|
3610
3571
|
}
|
|
@@ -3809,221 +3770,6 @@
|
|
|
3809
3770
|
}
|
|
3810
3771
|
]
|
|
3811
3772
|
},
|
|
3812
|
-
{
|
|
3813
|
-
"name": "set_enable_route",
|
|
3814
|
-
"docs": [
|
|
3815
|
-
"Enables or disables a route for deposits from origin token to destination chain ID. Callable only by the owner.",
|
|
3816
|
-
"",
|
|
3817
|
-
"### Required Accounts:",
|
|
3818
|
-
"- signer (Signer): The account that must be the owner to authorize the route change.",
|
|
3819
|
-
"- payer (Signer): The account responsible for paying the transaction fees.",
|
|
3820
|
-
"- state (Writable): The Spoke state PDA. Seed: [\"state\",state.seed] where `seed` is 0 on mainnet.",
|
|
3821
|
-
"- route (Writable): PDA to store route information. Created on the first call, updated subsequently.",
|
|
3822
|
-
"Seed: [\"route\",origin_token,state.seed,destination_chain_id].",
|
|
3823
|
-
"- vault (Writable): ATA to hold the origin token for the associated route. Created on the first call.",
|
|
3824
|
-
"Authority must be set as the state, and mint must be the origin_token_mint.",
|
|
3825
|
-
"- origin_token_mint: The mint account for the origin token.",
|
|
3826
|
-
"- token_program: The token program.",
|
|
3827
|
-
"- associated_token_program: The associated token program.",
|
|
3828
|
-
"- system_program: The system program required for account creation.",
|
|
3829
|
-
"",
|
|
3830
|
-
"### Parameters:",
|
|
3831
|
-
"- origin_token: The public key of the origin token.",
|
|
3832
|
-
"- destination_chain_id: The chain ID of the destination.",
|
|
3833
|
-
"- enabled: Boolean indicating whether the route is enabled or disabled."
|
|
3834
|
-
],
|
|
3835
|
-
"discriminator": [
|
|
3836
|
-
166,
|
|
3837
|
-
66,
|
|
3838
|
-
33,
|
|
3839
|
-
156,
|
|
3840
|
-
122,
|
|
3841
|
-
251,
|
|
3842
|
-
223,
|
|
3843
|
-
34
|
|
3844
|
-
],
|
|
3845
|
-
"accounts": [
|
|
3846
|
-
{
|
|
3847
|
-
"name": "signer",
|
|
3848
|
-
"signer": true
|
|
3849
|
-
},
|
|
3850
|
-
{
|
|
3851
|
-
"name": "payer",
|
|
3852
|
-
"writable": true,
|
|
3853
|
-
"signer": true
|
|
3854
|
-
},
|
|
3855
|
-
{
|
|
3856
|
-
"name": "state",
|
|
3857
|
-
"pda": {
|
|
3858
|
-
"seeds": [
|
|
3859
|
-
{
|
|
3860
|
-
"kind": "const",
|
|
3861
|
-
"value": [
|
|
3862
|
-
115,
|
|
3863
|
-
116,
|
|
3864
|
-
97,
|
|
3865
|
-
116,
|
|
3866
|
-
101
|
|
3867
|
-
]
|
|
3868
|
-
},
|
|
3869
|
-
{
|
|
3870
|
-
"kind": "account",
|
|
3871
|
-
"path": "state.seed",
|
|
3872
|
-
"account": "State"
|
|
3873
|
-
}
|
|
3874
|
-
]
|
|
3875
|
-
}
|
|
3876
|
-
},
|
|
3877
|
-
{
|
|
3878
|
-
"name": "route",
|
|
3879
|
-
"writable": true,
|
|
3880
|
-
"pda": {
|
|
3881
|
-
"seeds": [
|
|
3882
|
-
{
|
|
3883
|
-
"kind": "const",
|
|
3884
|
-
"value": [
|
|
3885
|
-
114,
|
|
3886
|
-
111,
|
|
3887
|
-
117,
|
|
3888
|
-
116,
|
|
3889
|
-
101
|
|
3890
|
-
]
|
|
3891
|
-
},
|
|
3892
|
-
{
|
|
3893
|
-
"kind": "arg",
|
|
3894
|
-
"path": "origin_token"
|
|
3895
|
-
},
|
|
3896
|
-
{
|
|
3897
|
-
"kind": "account",
|
|
3898
|
-
"path": "state.seed",
|
|
3899
|
-
"account": "State"
|
|
3900
|
-
},
|
|
3901
|
-
{
|
|
3902
|
-
"kind": "arg",
|
|
3903
|
-
"path": "destination_chain_id"
|
|
3904
|
-
}
|
|
3905
|
-
]
|
|
3906
|
-
}
|
|
3907
|
-
},
|
|
3908
|
-
{
|
|
3909
|
-
"name": "vault",
|
|
3910
|
-
"writable": true,
|
|
3911
|
-
"pda": {
|
|
3912
|
-
"seeds": [
|
|
3913
|
-
{
|
|
3914
|
-
"kind": "account",
|
|
3915
|
-
"path": "state"
|
|
3916
|
-
},
|
|
3917
|
-
{
|
|
3918
|
-
"kind": "account",
|
|
3919
|
-
"path": "token_program"
|
|
3920
|
-
},
|
|
3921
|
-
{
|
|
3922
|
-
"kind": "account",
|
|
3923
|
-
"path": "origin_token_mint"
|
|
3924
|
-
}
|
|
3925
|
-
],
|
|
3926
|
-
"program": {
|
|
3927
|
-
"kind": "const",
|
|
3928
|
-
"value": [
|
|
3929
|
-
140,
|
|
3930
|
-
151,
|
|
3931
|
-
37,
|
|
3932
|
-
143,
|
|
3933
|
-
78,
|
|
3934
|
-
36,
|
|
3935
|
-
137,
|
|
3936
|
-
241,
|
|
3937
|
-
187,
|
|
3938
|
-
61,
|
|
3939
|
-
16,
|
|
3940
|
-
41,
|
|
3941
|
-
20,
|
|
3942
|
-
142,
|
|
3943
|
-
13,
|
|
3944
|
-
131,
|
|
3945
|
-
11,
|
|
3946
|
-
90,
|
|
3947
|
-
19,
|
|
3948
|
-
153,
|
|
3949
|
-
218,
|
|
3950
|
-
255,
|
|
3951
|
-
16,
|
|
3952
|
-
132,
|
|
3953
|
-
4,
|
|
3954
|
-
142,
|
|
3955
|
-
123,
|
|
3956
|
-
216,
|
|
3957
|
-
219,
|
|
3958
|
-
233,
|
|
3959
|
-
248,
|
|
3960
|
-
89
|
|
3961
|
-
]
|
|
3962
|
-
}
|
|
3963
|
-
}
|
|
3964
|
-
},
|
|
3965
|
-
{
|
|
3966
|
-
"name": "origin_token_mint"
|
|
3967
|
-
},
|
|
3968
|
-
{
|
|
3969
|
-
"name": "token_program"
|
|
3970
|
-
},
|
|
3971
|
-
{
|
|
3972
|
-
"name": "associated_token_program",
|
|
3973
|
-
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
3974
|
-
},
|
|
3975
|
-
{
|
|
3976
|
-
"name": "system_program",
|
|
3977
|
-
"address": "11111111111111111111111111111111"
|
|
3978
|
-
},
|
|
3979
|
-
{
|
|
3980
|
-
"name": "event_authority",
|
|
3981
|
-
"pda": {
|
|
3982
|
-
"seeds": [
|
|
3983
|
-
{
|
|
3984
|
-
"kind": "const",
|
|
3985
|
-
"value": [
|
|
3986
|
-
95,
|
|
3987
|
-
95,
|
|
3988
|
-
101,
|
|
3989
|
-
118,
|
|
3990
|
-
101,
|
|
3991
|
-
110,
|
|
3992
|
-
116,
|
|
3993
|
-
95,
|
|
3994
|
-
97,
|
|
3995
|
-
117,
|
|
3996
|
-
116,
|
|
3997
|
-
104,
|
|
3998
|
-
111,
|
|
3999
|
-
114,
|
|
4000
|
-
105,
|
|
4001
|
-
116,
|
|
4002
|
-
121
|
|
4003
|
-
]
|
|
4004
|
-
}
|
|
4005
|
-
]
|
|
4006
|
-
}
|
|
4007
|
-
},
|
|
4008
|
-
{
|
|
4009
|
-
"name": "program"
|
|
4010
|
-
}
|
|
4011
|
-
],
|
|
4012
|
-
"args": [
|
|
4013
|
-
{
|
|
4014
|
-
"name": "origin_token",
|
|
4015
|
-
"type": "pubkey"
|
|
4016
|
-
},
|
|
4017
|
-
{
|
|
4018
|
-
"name": "destination_chain_id",
|
|
4019
|
-
"type": "u64"
|
|
4020
|
-
},
|
|
4021
|
-
{
|
|
4022
|
-
"name": "enabled",
|
|
4023
|
-
"type": "bool"
|
|
4024
|
-
}
|
|
4025
|
-
]
|
|
4026
|
-
},
|
|
4027
3773
|
{
|
|
4028
3774
|
"name": "transfer_ownership",
|
|
4029
3775
|
"docs": [
|
|
@@ -4164,34 +3910,7 @@
|
|
|
4164
3910
|
}
|
|
4165
3911
|
},
|
|
4166
3912
|
{
|
|
4167
|
-
"name": "
|
|
4168
|
-
"pda": {
|
|
4169
|
-
"seeds": [
|
|
4170
|
-
{
|
|
4171
|
-
"kind": "const",
|
|
4172
|
-
"value": [
|
|
4173
|
-
114,
|
|
4174
|
-
111,
|
|
4175
|
-
117,
|
|
4176
|
-
116,
|
|
4177
|
-
101
|
|
4178
|
-
]
|
|
4179
|
-
},
|
|
4180
|
-
{
|
|
4181
|
-
"kind": "arg",
|
|
4182
|
-
"path": "input_token"
|
|
4183
|
-
},
|
|
4184
|
-
{
|
|
4185
|
-
"kind": "account",
|
|
4186
|
-
"path": "state.seed",
|
|
4187
|
-
"account": "State"
|
|
4188
|
-
},
|
|
4189
|
-
{
|
|
4190
|
-
"kind": "arg",
|
|
4191
|
-
"path": "destination_chain_id"
|
|
4192
|
-
}
|
|
4193
|
-
]
|
|
4194
|
-
}
|
|
3913
|
+
"name": "delegate"
|
|
4195
3914
|
},
|
|
4196
3915
|
{
|
|
4197
3916
|
"name": "depositor_token_account",
|
|
@@ -4313,6 +4032,14 @@
|
|
|
4313
4032
|
{
|
|
4314
4033
|
"name": "token_program"
|
|
4315
4034
|
},
|
|
4035
|
+
{
|
|
4036
|
+
"name": "associated_token_program",
|
|
4037
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
4038
|
+
},
|
|
4039
|
+
{
|
|
4040
|
+
"name": "system_program",
|
|
4041
|
+
"address": "11111111111111111111111111111111"
|
|
4042
|
+
},
|
|
4316
4043
|
{
|
|
4317
4044
|
"name": "event_authority",
|
|
4318
4045
|
"pda": {
|
|
@@ -4577,19 +4304,6 @@
|
|
|
4577
4304
|
219
|
|
4578
4305
|
]
|
|
4579
4306
|
},
|
|
4580
|
-
{
|
|
4581
|
-
"name": "Route",
|
|
4582
|
-
"discriminator": [
|
|
4583
|
-
80,
|
|
4584
|
-
179,
|
|
4585
|
-
58,
|
|
4586
|
-
115,
|
|
4587
|
-
52,
|
|
4588
|
-
19,
|
|
4589
|
-
146,
|
|
4590
|
-
134
|
|
4591
|
-
]
|
|
4592
|
-
},
|
|
4593
4307
|
{
|
|
4594
4308
|
"name": "State",
|
|
4595
4309
|
"discriminator": [
|
|
@@ -4657,19 +4371,6 @@
|
|
|
4657
4371
|
114
|
|
4658
4372
|
]
|
|
4659
4373
|
},
|
|
4660
|
-
{
|
|
4661
|
-
"name": "EnabledDepositRoute",
|
|
4662
|
-
"discriminator": [
|
|
4663
|
-
37,
|
|
4664
|
-
128,
|
|
4665
|
-
171,
|
|
4666
|
-
126,
|
|
4667
|
-
10,
|
|
4668
|
-
179,
|
|
4669
|
-
154,
|
|
4670
|
-
241
|
|
4671
|
-
]
|
|
4672
|
-
},
|
|
4673
4374
|
{
|
|
4674
4375
|
"name": "ExecutedRelayerRefundRoot",
|
|
4675
4376
|
"discriminator": [
|
|
@@ -4886,6 +4587,11 @@
|
|
|
4886
4587
|
"code": 6016,
|
|
4887
4588
|
"name": "InvalidATACreationAccounts",
|
|
4888
4589
|
"msg": "Invalid remaining accounts for ATA creation!"
|
|
4590
|
+
},
|
|
4591
|
+
{
|
|
4592
|
+
"code": 6017,
|
|
4593
|
+
"name": "InvalidDelegatePda",
|
|
4594
|
+
"msg": "Invalid delegate PDA!"
|
|
4889
4595
|
}
|
|
4890
4596
|
],
|
|
4891
4597
|
"types": [
|
|
@@ -4953,26 +4659,6 @@
|
|
|
4953
4659
|
]
|
|
4954
4660
|
}
|
|
4955
4661
|
},
|
|
4956
|
-
{
|
|
4957
|
-
"name": "EnabledDepositRoute",
|
|
4958
|
-
"type": {
|
|
4959
|
-
"kind": "struct",
|
|
4960
|
-
"fields": [
|
|
4961
|
-
{
|
|
4962
|
-
"name": "origin_token",
|
|
4963
|
-
"type": "pubkey"
|
|
4964
|
-
},
|
|
4965
|
-
{
|
|
4966
|
-
"name": "destination_chain_id",
|
|
4967
|
-
"type": "u64"
|
|
4968
|
-
},
|
|
4969
|
-
{
|
|
4970
|
-
"name": "enabled",
|
|
4971
|
-
"type": "bool"
|
|
4972
|
-
}
|
|
4973
|
-
]
|
|
4974
|
-
}
|
|
4975
|
-
},
|
|
4976
4662
|
{
|
|
4977
4663
|
"name": "ExecuteRelayerRefundLeafParams",
|
|
4978
4664
|
"type": {
|
|
@@ -5632,18 +5318,6 @@
|
|
|
5632
5318
|
]
|
|
5633
5319
|
}
|
|
5634
5320
|
},
|
|
5635
|
-
{
|
|
5636
|
-
"name": "Route",
|
|
5637
|
-
"type": {
|
|
5638
|
-
"kind": "struct",
|
|
5639
|
-
"fields": [
|
|
5640
|
-
{
|
|
5641
|
-
"name": "enabled",
|
|
5642
|
-
"type": "bool"
|
|
5643
|
-
}
|
|
5644
|
-
]
|
|
5645
|
-
}
|
|
5646
|
-
},
|
|
5647
5321
|
{
|
|
5648
5322
|
"name": "SetXDomainAdmin",
|
|
5649
5323
|
"type": {
|