@across-protocol/contracts 5.0.12-alpha.1 → 5.0.12-beta.1
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/broadcast/deployed-addresses.json +104 -124
- package/dist/src/svm/assets/idl/svm_spoke.json +9 -4
- package/dist/src/svm/assets/svm_spoke.d.ts +9 -4
- 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/types/svm.d.ts +44 -0
- package/dist/target/types/svm_spoke.d.ts +9 -4
- package/package.json +1 -1
|
@@ -195,6 +195,11 @@
|
|
|
195
195
|
"block_number": 24745925,
|
|
196
196
|
"transaction_hash": "0xb46c184af2359773c6714d0bcfa4969690f0b703fa134ad313e291bd15961289"
|
|
197
197
|
},
|
|
198
|
+
"DonationBox_CCTP_USDC": {
|
|
199
|
+
"address": "0x109Db572e719Fa363dC53Fbaf3617422159060c9",
|
|
200
|
+
"block_number": 25050835,
|
|
201
|
+
"transaction_hash": "0x0da10665bd5c3250388d5e07ae01004275fda9033d8eccfb94932623df6f667c"
|
|
202
|
+
},
|
|
198
203
|
"OP_Adapter_57073": {
|
|
199
204
|
"address": "0x545E43B6eC2f9a44CAa531298699Ff05958670B5",
|
|
200
205
|
"block_number": 24271862,
|
|
@@ -206,24 +211,29 @@
|
|
|
206
211
|
"transaction_hash": "0xa2a7b2c6812fb8ae34539fb04cd5f2a9112da1c7f6ffce0ddcf1fee7e43acf48"
|
|
207
212
|
},
|
|
208
213
|
"PermissionedMulticallHandler": {
|
|
209
|
-
"address": "
|
|
210
|
-
"block_number":
|
|
211
|
-
"transaction_hash": "
|
|
214
|
+
"address": "0x64a43393866DBA0044879979fAa7AD3d000622e9",
|
|
215
|
+
"block_number": 24021499,
|
|
216
|
+
"transaction_hash": "0x70b3edf99db66aac34338c3686cd708ddfc2b503c2f707f51ced67dc50e5022f"
|
|
212
217
|
},
|
|
213
218
|
"Safe": {
|
|
214
219
|
"address": "0x4c45F70B1d9a7A6D1984daccAd74D0E973B73F01",
|
|
215
220
|
"block_number": 25138380,
|
|
216
221
|
"transaction_hash": "0x135450e78b12f576b5d294d2fe26000eb1bb0bbf9ba755f5e8cd41d9587ac0f9"
|
|
217
222
|
},
|
|
218
|
-
"
|
|
219
|
-
"address": "
|
|
220
|
-
"block_number":
|
|
221
|
-
"transaction_hash": "
|
|
223
|
+
"PermissionedMulticallHandler_CCTP_USDC": {
|
|
224
|
+
"address": "0xDd52f8134f85f3979fbA24387Ce0CEC05937259E",
|
|
225
|
+
"block_number": 25050834,
|
|
226
|
+
"transaction_hash": "0xc7f656f7ae6a105c3cef94d67c488c14b2e44037af06dd3541d13e87305b8d53"
|
|
227
|
+
},
|
|
228
|
+
"SponsoredCCTPDstPeriphery_CCTP_USDC": {
|
|
229
|
+
"address": "0x214C19FBcdFb683F2c726B4BBAf24AB483bFaDf3",
|
|
230
|
+
"block_number": 25050837,
|
|
231
|
+
"transaction_hash": "0xd3a1f51d6917a22db3fafe940a9ce0b72986974eee1861c0706d46a49ba408e2"
|
|
222
232
|
},
|
|
223
233
|
"SponsoredCCTPSrcPeriphery": {
|
|
224
|
-
"address": "
|
|
225
|
-
"block_number":
|
|
226
|
-
"transaction_hash": "
|
|
234
|
+
"address": "0x6769155b16F25D317819eFef011E0A50A48e83c5",
|
|
235
|
+
"block_number": 24451096,
|
|
236
|
+
"transaction_hash": "0x2015905f5cbdb4afeba30deb6dc0f0f779ba4af5bc43edceabf0bf4343cb290b"
|
|
227
237
|
},
|
|
228
238
|
"SponsoredOFTSrcPeriphery": {
|
|
229
239
|
"address": "0xc80B267469D509ae45Df65845B291CBbe1945CB9",
|
|
@@ -309,20 +319,10 @@
|
|
|
309
319
|
"block_number": 151852638,
|
|
310
320
|
"transaction_hash": "0xc56c8cff88f814d4fc41149007b3b867cd8672ba7541d4153bd7e5dfbbacfb44"
|
|
311
321
|
},
|
|
312
|
-
"PermissionedMulticallHandler": {
|
|
313
|
-
"address": "0x641119c49Ac149DadaEC95D4fA8FFbe1eaB448fc",
|
|
314
|
-
"block_number": 152070131,
|
|
315
|
-
"transaction_hash": "0xf296c864b8c38fd55de6116371264e488c22cedbf70d17596782fe7437322eb5"
|
|
316
|
-
},
|
|
317
|
-
"SponsoredCCTPDstPeriphery": {
|
|
318
|
-
"address": "0x7caAe751f8eAfEC5646A730d86c6Ae2d47a31Ca6",
|
|
319
|
-
"block_number": 152070134,
|
|
320
|
-
"transaction_hash": "0xa6eae1e6fa1febf359d475b5ba807d4fa1e6fbbf121fe4d06fcb26d0f75280e5"
|
|
321
|
-
},
|
|
322
322
|
"SponsoredCCTPSrcPeriphery": {
|
|
323
|
-
"address": "
|
|
324
|
-
"block_number":
|
|
325
|
-
"transaction_hash": "
|
|
323
|
+
"address": "0x4d11A23E4408eF08Ae1216B3917560e0001CD000",
|
|
324
|
+
"block_number": 147713295,
|
|
325
|
+
"transaction_hash": "0x8c34d7508b8348857cbbfa2065efdbdab61eb9b39f2df9e817761cccdbd94e95"
|
|
326
326
|
},
|
|
327
327
|
"TransferProxy": {
|
|
328
328
|
"address": "0x03743372098Aa51E1fCe537D51025F08b55C4144",
|
|
@@ -448,9 +448,9 @@
|
|
|
448
448
|
"transaction_hash": "0x52e78f777ab18c2b0211ee814a5b9c317b348f88c7af157b0e12df7535e4f8bd"
|
|
449
449
|
},
|
|
450
450
|
"SponsoredCCTPSrcPeriphery": {
|
|
451
|
-
"address": "
|
|
452
|
-
"block_number":
|
|
453
|
-
"transaction_hash": "
|
|
451
|
+
"address": "0xce9Cf0C8f8121b573f6212344F53BC7746846e71",
|
|
452
|
+
"block_number": 40277181,
|
|
453
|
+
"transaction_hash": "0x5d0fcdfb942ef6868c78269cc0a5aa92879a9609f58aed0d10ec26290c9276d8"
|
|
454
454
|
},
|
|
455
455
|
"SponsoredOFTSrcPeriphery": {
|
|
456
456
|
"address": "0xC920dAbe5f40d0785Be9b4aCf5B4B8D662a5955A",
|
|
@@ -543,20 +543,10 @@
|
|
|
543
543
|
"block_number": 87180073,
|
|
544
544
|
"transaction_hash": "0xecd589bda3e78dcba4ad5bcb838e49889248ee07c09b3d2296259a62dcdd06f2"
|
|
545
545
|
},
|
|
546
|
-
"PermissionedMulticallHandler": {
|
|
547
|
-
"address": "0xCde45b9C0A693Acb603918cf96dA7b078469f930",
|
|
548
|
-
"block_number": 87429979,
|
|
549
|
-
"transaction_hash": "0xe62af6bc7152ead9fd03c3efe21b4cc9443d1038f1f635f4de6064c9c22553a1"
|
|
550
|
-
},
|
|
551
|
-
"SponsoredCCTPDstPeriphery": {
|
|
552
|
-
"address": "0x02a00425f619C5e2B25e3d138Fe80a71201B007E",
|
|
553
|
-
"block_number": 87429984,
|
|
554
|
-
"transaction_hash": "0xb06fb5eced2f762203130ce68220c8337728e0925acddb67317c6bd85852645d"
|
|
555
|
-
},
|
|
556
546
|
"SponsoredCCTPSrcPeriphery": {
|
|
557
|
-
"address": "
|
|
558
|
-
"block_number":
|
|
559
|
-
"transaction_hash": "
|
|
547
|
+
"address": "0x6005CD9f10c0Dc654445f138350b2FA7370BE42d",
|
|
548
|
+
"block_number": 82952908,
|
|
549
|
+
"transaction_hash": "0x761562ffb7ea735da1c9de3269e765f5765411bac767491b1519d370f28b20f0"
|
|
560
550
|
},
|
|
561
551
|
"SponsoredOFTSrcPeriphery": {
|
|
562
552
|
"address": "0x43e15Fb40DaDdA50E1d2BA300416811f6c28540c",
|
|
@@ -630,20 +620,10 @@
|
|
|
630
620
|
"block_number": 67900920,
|
|
631
621
|
"transaction_hash": "0x600cbf25870f7204c57ae5b3f3e7b8df0feeb00ec3e578fefb4f67280c9cfe77"
|
|
632
622
|
},
|
|
633
|
-
"PermissionedMulticallHandler": {
|
|
634
|
-
"address": "0xA0542655D7dE212386d9dE26A7cb9BEf621D01A2",
|
|
635
|
-
"block_number": 77181729,
|
|
636
|
-
"transaction_hash": "0x816b21b51bef842571285f8990c8423848120c9eb1749e54301bbc0800c4f58b"
|
|
637
|
-
},
|
|
638
|
-
"SponsoredCCTPDstPeriphery": {
|
|
639
|
-
"address": "0x647aFB7d935Ff0aaE4F0DdEfE0499d13AdE69178",
|
|
640
|
-
"block_number": 77181730,
|
|
641
|
-
"transaction_hash": "0x71b523b38952e3f589b43e4f6bb78423b7c0344d77890759b9497cd754880791"
|
|
642
|
-
},
|
|
643
623
|
"SponsoredCCTPSrcPeriphery": {
|
|
644
|
-
"address": "
|
|
645
|
-
"block_number":
|
|
646
|
-
"transaction_hash": "
|
|
624
|
+
"address": "0xc49226858478DE8757E425661b1B5297102330d7",
|
|
625
|
+
"block_number": 55209435,
|
|
626
|
+
"transaction_hash": "0xef1ee7424466245bd4dcdb47e0bb75c22a26073d700e64fe39db38d301642ffa"
|
|
647
627
|
},
|
|
648
628
|
"SponsoredOFTSrcPeriphery": {
|
|
649
629
|
"address": "0xB0C6Ed64a77A3D8F61b21922B13F39525Fbf5fC0",
|
|
@@ -820,20 +800,10 @@
|
|
|
820
800
|
"block_number": 29984927,
|
|
821
801
|
"transaction_hash": "0xfca2ae3fcca621ae80560c43b4bc7172b03a4e13aaa9aaf54472909c396e29f8"
|
|
822
802
|
},
|
|
823
|
-
"PermissionedMulticallHandler": {
|
|
824
|
-
"address": "0x5c3Dd98981EB4c8f0835F3d5634Ba6Dd5E725575",
|
|
825
|
-
"block_number": 30202745,
|
|
826
|
-
"transaction_hash": "0x5b738add0d5cfccb481e7d18760fa500e5bb920cd55b89ecb7491c36675edb03"
|
|
827
|
-
},
|
|
828
|
-
"SponsoredCCTPDstPeriphery": {
|
|
829
|
-
"address": "0x219044ECb0Eb0b3f0D8A614A9633A89f0b5f81f8",
|
|
830
|
-
"block_number": 30202748,
|
|
831
|
-
"transaction_hash": "0xf7f79d4327e80ca0ab540c45fb808c3801ee48634a1625c496d47e0554f3be07"
|
|
832
|
-
},
|
|
833
803
|
"SponsoredCCTPSrcPeriphery": {
|
|
834
|
-
"address": "
|
|
835
|
-
"block_number":
|
|
836
|
-
"transaction_hash": "
|
|
804
|
+
"address": "0x2C7a3cCd1a8F4f96174c42E0638AAb3BDA6Bc923",
|
|
805
|
+
"block_number": 25845007,
|
|
806
|
+
"transaction_hash": "0x67f84d59d697028bba264ada6bafef4bc7c4a4efd9dc4e4c4031d7d151558c00"
|
|
837
807
|
},
|
|
838
808
|
"WithdrawImplementation": {
|
|
839
809
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
@@ -904,12 +874,22 @@
|
|
|
904
874
|
"block_number": 31071129,
|
|
905
875
|
"transaction_hash": "0xd78f71ca11de6d28fe02006adf91b55f05efe0ffb1e0b2f51cb450cdf5ade5c0"
|
|
906
876
|
},
|
|
907
|
-
"
|
|
908
|
-
"address": "
|
|
909
|
-
"block_number":
|
|
910
|
-
"transaction_hash": "
|
|
877
|
+
"DonationBox_CCTP_USDC_EVM": {
|
|
878
|
+
"address": "0x64a0A69d16518E4544fAb83C624e01339DC36945",
|
|
879
|
+
"block_number": 35005190,
|
|
880
|
+
"transaction_hash": "0xed4511c6892fd1379e7e9d03ec4bb61c7f036a50cecc9adfb4fdd3ccdfe4b145"
|
|
881
|
+
},
|
|
882
|
+
"DonationBox_OFT_USDT": {
|
|
883
|
+
"address": "0x1635Eb08fe35e8297ddd394Abc6d53f39330A8FE",
|
|
884
|
+
"block_number": 34254973,
|
|
885
|
+
"transaction_hash": "0x519e48cc52914b81c14de8fd00ae9585cff27a1c5cdb263ea73daf308693a7d5"
|
|
886
|
+
},
|
|
887
|
+
"PermissionedMulticallHandler_OFT_USDT": {
|
|
888
|
+
"address": "0xeaa13e675Fb95821B99D34B9c94c3D60fecAdd4A",
|
|
889
|
+
"block_number": 34255034,
|
|
890
|
+
"transaction_hash": "0x39825b39641504f3b2dca5e70fac9d8c0c6c0595ca2fb115804092ac6efe7dad"
|
|
911
891
|
},
|
|
912
|
-
"
|
|
892
|
+
"DstOFTHandler_OFT_USDT": {
|
|
913
893
|
"address": "0xeb8feE79B59D048162986B0432a187Be46322284",
|
|
914
894
|
"block_number": 34255095,
|
|
915
895
|
"transaction_hash": "0x60d15964d33311f23aeba14cedd9f14a8f46a89dcad084e3e244519845130188"
|
|
@@ -924,10 +904,35 @@
|
|
|
924
904
|
"block_number": 32382094,
|
|
925
905
|
"transaction_hash": "0x188d49f786ebe99a6dbeb7c845d525064431a1eb615d0bea275d8da8a32953b1"
|
|
926
906
|
},
|
|
927
|
-
"
|
|
928
|
-
"address": "
|
|
929
|
-
"block_number":
|
|
930
|
-
"transaction_hash": "
|
|
907
|
+
"PermissionedMulticallHandler_CCTP_USDC": {
|
|
908
|
+
"address": "0xD7B719ed2b02Bfa0247600EDd6bd8Fb3957e95c8",
|
|
909
|
+
"block_number": 33686717,
|
|
910
|
+
"transaction_hash": "0x51bc99dd5ba78198246e16eee7b2f94dbe123720f05bffd1dd0862d5da8e2fb5"
|
|
911
|
+
},
|
|
912
|
+
"DonationBox_CCTP_USDC": {
|
|
913
|
+
"address": "0xe3D0D1B6d3571EDC9657dB5076AC1Be5f0bBfE60",
|
|
914
|
+
"block_number": 33686717,
|
|
915
|
+
"transaction_hash": "0x38305e431db9c74a6f9fa2f6209c2086cc4b79f10ca3bfae773e4313914eaf28"
|
|
916
|
+
},
|
|
917
|
+
"SponsoredCCTPDstPeriphery_CCTP_USDC": {
|
|
918
|
+
"address": "0x1CFE31eD57c2d2b4CB69c0298A1b586965b882d5",
|
|
919
|
+
"block_number": 33686717,
|
|
920
|
+
"transaction_hash": "0x5730f65ea3507b2daea9a0a143b3da717d7f2194e428993fb04fddfb714eb66e"
|
|
921
|
+
},
|
|
922
|
+
"PermissionedMulticallHandler_CCTP_USDH": {
|
|
923
|
+
"address": "0x9EE4300b6af03392bE493fa769DE33bb07242bfb",
|
|
924
|
+
"block_number": 33792552,
|
|
925
|
+
"transaction_hash": "0x2608d5b2b75ef17422b375b1a2d0e80e7f338b92b55f8fdbccf8ae71ef7710ef"
|
|
926
|
+
},
|
|
927
|
+
"DonationBox_CCTP_USDH": {
|
|
928
|
+
"address": "0x35B7D6e007f499c806F6d6742d7285D285e17F29",
|
|
929
|
+
"block_number": 33792552,
|
|
930
|
+
"transaction_hash": "0xe9958c68d14ed788f240cf981ed6bd1d1410b844b522c0fab5d0ed4acb2b1128"
|
|
931
|
+
},
|
|
932
|
+
"SponsoredCCTPDstPeriphery_CCTP_USDH": {
|
|
933
|
+
"address": "0x74dfB6Ab65419Fd2022614Fa8BA45e9f50a3aE59",
|
|
934
|
+
"block_number": 33792552,
|
|
935
|
+
"transaction_hash": "0xb6d72530b3ca9ed94868b38c5477c83d69d575a7fe175e4c6cb649aeb9724acd"
|
|
931
936
|
},
|
|
932
937
|
"SponsoredCCTPSrcPeriphery": {
|
|
933
938
|
"address": "0xF4E32c4aC479f0B007BC005Ec0F481A2C78Ba1B4",
|
|
@@ -1257,20 +1262,25 @@
|
|
|
1257
1262
|
"block_number": 46258138,
|
|
1258
1263
|
"transaction_hash": "0x3267da18ba0bb69bad4f9dac7b1932ed00e16aa87b5a7f31cccefddafad248ec"
|
|
1259
1264
|
},
|
|
1260
|
-
"
|
|
1261
|
-
"address": "
|
|
1262
|
-
"block_number":
|
|
1263
|
-
"transaction_hash": "
|
|
1265
|
+
"PermissionedMulticallHandler_CCTP_USDC": {
|
|
1266
|
+
"address": "0xB6CAAfD8Ecf18385fFc7c020327E111a1D40A2D4",
|
|
1267
|
+
"block_number": 44959757,
|
|
1268
|
+
"transaction_hash": "0x0e3e581e4970cb3b9a193f8fddf7a63cbcc4c4f7b980139a6f685fbbfec1d459"
|
|
1264
1269
|
},
|
|
1265
|
-
"
|
|
1266
|
-
"address": "
|
|
1267
|
-
"block_number":
|
|
1268
|
-
"transaction_hash": "
|
|
1270
|
+
"DonationBox_CCTP_USDC": {
|
|
1271
|
+
"address": "0x3ff139d8d5519555aA13b0eBd357B0Ba810f06Df",
|
|
1272
|
+
"block_number": 44959758,
|
|
1273
|
+
"transaction_hash": "0x019b8a736e60768ec4410e4e38c8ae4385e23e72c0cdcc9f305269d1208948c5"
|
|
1274
|
+
},
|
|
1275
|
+
"SponsoredCCTPDstPeriphery_CCTP_USDC": {
|
|
1276
|
+
"address": "0x8dEDA155E446F5d90579C3DCe560e5b00e93F773",
|
|
1277
|
+
"block_number": 44959760,
|
|
1278
|
+
"transaction_hash": "0x052db9819150099889e890e641781eedcb3f7e016f87d72bea2984ce6554d350"
|
|
1269
1279
|
},
|
|
1270
1280
|
"SponsoredCCTPSrcPeriphery": {
|
|
1271
|
-
"address": "
|
|
1272
|
-
"block_number":
|
|
1273
|
-
"transaction_hash": "
|
|
1281
|
+
"address": "0xa30968D3468316D957B9115EAad3C1c8E450116d",
|
|
1282
|
+
"block_number": 42117817,
|
|
1283
|
+
"transaction_hash": "0x5758dcd77fd40bd8c7b4ae728de47bf0ef44e5669ee8c1987817bffc3a27a567"
|
|
1274
1284
|
},
|
|
1275
1285
|
"TransferProxy": {
|
|
1276
1286
|
"address": "0x03743372098Aa51E1fCe537D51025F08b55C4144",
|
|
@@ -1438,20 +1448,10 @@
|
|
|
1438
1448
|
"block_number": 464907406,
|
|
1439
1449
|
"transaction_hash": "0x8cde1166841d14e5ccc2d87ca76d6bc0dd96c2c06255156c0a59b073563b2eee"
|
|
1440
1450
|
},
|
|
1441
|
-
"PermissionedMulticallHandler": {
|
|
1442
|
-
"address": "0x97b29771Ae82c1eaeD97b7D4Ad4676Ee27F1a325",
|
|
1443
|
-
"block_number": 466621341,
|
|
1444
|
-
"transaction_hash": "0xaa243e37e719d75c6ce6a902312f90959e43d10b187cac4e414ada89551ec654"
|
|
1445
|
-
},
|
|
1446
|
-
"SponsoredCCTPDstPeriphery": {
|
|
1447
|
-
"address": "0xc384694df2Be9c381d596DEd22f2A69D3aBA07d3",
|
|
1448
|
-
"block_number": 466621348,
|
|
1449
|
-
"transaction_hash": "0x957cf4f161a72290724dbd1c0ef11180b27233c27b1c8522a73ed9fbde3bbc46"
|
|
1450
|
-
},
|
|
1451
1451
|
"SponsoredCCTPSrcPeriphery": {
|
|
1452
|
-
"address": "
|
|
1453
|
-
"block_number":
|
|
1454
|
-
"transaction_hash": "
|
|
1452
|
+
"address": "0xc9c54d789ebc18169d942E781C75bb4e3D19a27b",
|
|
1453
|
+
"block_number": 431818720,
|
|
1454
|
+
"transaction_hash": "0xf5a3b7a8b76f8e57496454a4601115fe93bca9898b8a456b306f3c752e7d1b0c"
|
|
1455
1455
|
},
|
|
1456
1456
|
"SponsoredOFTSrcPeriphery": {
|
|
1457
1457
|
"address": "0x39E4a5a7dED068831ea8D1c1012CEa07a811F624",
|
|
@@ -1525,20 +1525,10 @@
|
|
|
1525
1525
|
"block_number": 45807415,
|
|
1526
1526
|
"transaction_hash": "0xf1e9919bbbc4cabaad6e7357a122ef3f8e91aba170a88db804a6b506bfecb236"
|
|
1527
1527
|
},
|
|
1528
|
-
"PermissionedMulticallHandler": {
|
|
1529
|
-
"address": "0xDAC391869D4b1a0B658626A6F4bc90484667B617",
|
|
1530
|
-
"block_number": 46323662,
|
|
1531
|
-
"transaction_hash": "0x6ba3c3d7ade3153cb67efccf2ca4851fe99bdacbbd22f1b121a33b5d32f258b4"
|
|
1532
|
-
},
|
|
1533
|
-
"SponsoredCCTPDstPeriphery": {
|
|
1534
|
-
"address": "0x087B70E43BF01359678E7b927bbAC76D175F3293",
|
|
1535
|
-
"block_number": 46323662,
|
|
1536
|
-
"transaction_hash": "0x81a811dcf325afbde602c0febe43049a84355d2a7039f072714b440f4c915a16"
|
|
1537
|
-
},
|
|
1538
1528
|
"SponsoredCCTPSrcPeriphery": {
|
|
1539
|
-
"address": "
|
|
1540
|
-
"block_number":
|
|
1541
|
-
"transaction_hash": "
|
|
1529
|
+
"address": "0x1771c470d41b8c39338450C380bf2C080a2CEdD8",
|
|
1530
|
+
"block_number": 37528460,
|
|
1531
|
+
"transaction_hash": "0xaac7b7a84b7a801e6306dd2e8e127ddca94e57d27a2a731207e5f6427ee9bdba"
|
|
1542
1532
|
},
|
|
1543
1533
|
"SponsoredOFTSrcPeriphery": {
|
|
1544
1534
|
"address": "0xFE9D541c92E4e90437C7152A00244886dE37a658",
|
|
@@ -1602,20 +1592,10 @@
|
|
|
1602
1592
|
"block_number": 30719985,
|
|
1603
1593
|
"transaction_hash": "0x3b35745fa6f0cf7f9d3edac1904f6afe1ee3e9b1e31048ff781eb0c0fa0e20d5"
|
|
1604
1594
|
},
|
|
1605
|
-
"PermissionedMulticallHandler": {
|
|
1606
|
-
"address": "0x57322327b4F532cF401a21EB87fa975641cba0e6",
|
|
1607
|
-
"block_number": 30780149,
|
|
1608
|
-
"transaction_hash": "0x4d70314f04e41eb589e90a34b10175081d609c7099c0c40b558c162cce6bc24c"
|
|
1609
|
-
},
|
|
1610
|
-
"SponsoredCCTPDstPeriphery": {
|
|
1611
|
-
"address": "0x6BD167bff542Ab595F0296333d70202aE09CC334",
|
|
1612
|
-
"block_number": 30780151,
|
|
1613
|
-
"transaction_hash": "0xf6b28903c9eb0c924b7012fe689a2f0380c0bef60ada6a9f7031346c1ba664b4"
|
|
1614
|
-
},
|
|
1615
1595
|
"SponsoredCCTPSrcPeriphery": {
|
|
1616
|
-
"address": "
|
|
1617
|
-
"block_number":
|
|
1618
|
-
"transaction_hash": "
|
|
1596
|
+
"address": "0xe3E88958d181AB43bf3902f8F00AF57cf5D44E8c",
|
|
1597
|
+
"block_number": 28853879,
|
|
1598
|
+
"transaction_hash": "0xccae9feadf0f925498fe85cde9f78f8c475abc14cc2a17e6eef66fb93a4903d0"
|
|
1619
1599
|
},
|
|
1620
1600
|
"WithdrawImplementation": {
|
|
1621
1601
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
@@ -1982,8 +1982,8 @@
|
|
|
1982
1982
|
"this will be set higher to reimburse the recipient for waiting for the slow fill.",
|
|
1983
1983
|
"- _root_bundle_id: Unique ID of root bundle containing slow relay root that this leaf is contained in.",
|
|
1984
1984
|
"- proof: Inclusion proof for this leaf in slow relay root in root bundle.",
|
|
1985
|
-
"Note: slow_fill_leaf, _root_bundle_id, and proof are optional parameters
|
|
1986
|
-
"the caller must load them via the instruction_params account.",
|
|
1985
|
+
"Note: slow_fill_leaf, _root_bundle_id, and proof are optional parameters, but their presence must be consistent.",
|
|
1986
|
+
"If None for these parameters is passed, the caller must load them via the instruction_params account.",
|
|
1987
1987
|
"Note: When verifying the slow fill leaf, the relay data is hashed using AnchorSerialize::serialize that encodes",
|
|
1988
1988
|
"output token amounts to little-endian format while input token amount preserves its big-endian encoding as it",
|
|
1989
1989
|
"is passed as [u8; 32] array."
|
|
@@ -2366,8 +2366,8 @@
|
|
|
2366
2366
|
"- repayment_chain_id: Chain of SpokePool where relayer wants to be refunded after the challenge window has",
|
|
2367
2367
|
"passed. Will receive input_amount of the equivalent token to input_token on the repayment chain.",
|
|
2368
2368
|
"- repayment_address: The address of the recipient on the repayment chain that they want to be refunded to.",
|
|
2369
|
-
"Note: relay_data, repayment_chain_id, and repayment_address are optional parameters
|
|
2370
|
-
"is passed, the caller must load them via the instruction_params account."
|
|
2369
|
+
"Note: relay_data, repayment_chain_id, and repayment_address are optional parameters, but their presence must be",
|
|
2370
|
+
"consistent. If None for these is passed, the caller must load them via the instruction_params account."
|
|
2371
2371
|
],
|
|
2372
2372
|
"discriminator": [
|
|
2373
2373
|
100,
|
|
@@ -4612,6 +4612,11 @@
|
|
|
4612
4612
|
"code": 6017,
|
|
4613
4613
|
"name": "InvalidDelegatePda",
|
|
4614
4614
|
"msg": "Invalid delegate PDA!"
|
|
4615
|
+
},
|
|
4616
|
+
{
|
|
4617
|
+
"code": 6018,
|
|
4618
|
+
"name": "InconsistentOptionalParameters",
|
|
4619
|
+
"msg": "Inconsistent optional parameters!"
|
|
4615
4620
|
}
|
|
4616
4621
|
],
|
|
4617
4622
|
"types": [
|
|
@@ -1988,8 +1988,8 @@ export type SvmSpoke = {
|
|
|
1988
1988
|
"this will be set higher to reimburse the recipient for waiting for the slow fill.",
|
|
1989
1989
|
"- _root_bundle_id: Unique ID of root bundle containing slow relay root that this leaf is contained in.",
|
|
1990
1990
|
"- proof: Inclusion proof for this leaf in slow relay root in root bundle.",
|
|
1991
|
-
"Note: slow_fill_leaf, _root_bundle_id, and proof are optional parameters
|
|
1992
|
-
"the caller must load them via the instruction_params account.",
|
|
1991
|
+
"Note: slow_fill_leaf, _root_bundle_id, and proof are optional parameters, but their presence must be consistent.",
|
|
1992
|
+
"If None for these parameters is passed, the caller must load them via the instruction_params account.",
|
|
1993
1993
|
"Note: When verifying the slow fill leaf, the relay data is hashed using AnchorSerialize::serialize that encodes",
|
|
1994
1994
|
"output token amounts to little-endian format while input token amount preserves its big-endian encoding as it",
|
|
1995
1995
|
"is passed as [u8; 32] array."
|
|
@@ -2372,8 +2372,8 @@ export type SvmSpoke = {
|
|
|
2372
2372
|
"- repayment_chain_id: Chain of SpokePool where relayer wants to be refunded after the challenge window has",
|
|
2373
2373
|
"passed. Will receive input_amount of the equivalent token to input_token on the repayment chain.",
|
|
2374
2374
|
"- repayment_address: The address of the recipient on the repayment chain that they want to be refunded to.",
|
|
2375
|
-
"Note: relay_data, repayment_chain_id, and repayment_address are optional parameters
|
|
2376
|
-
"is passed, the caller must load them via the instruction_params account."
|
|
2375
|
+
"Note: relay_data, repayment_chain_id, and repayment_address are optional parameters, but their presence must be",
|
|
2376
|
+
"consistent. If None for these is passed, the caller must load them via the instruction_params account."
|
|
2377
2377
|
];
|
|
2378
2378
|
"discriminator": [
|
|
2379
2379
|
100,
|
|
@@ -4618,6 +4618,11 @@ export type SvmSpoke = {
|
|
|
4618
4618
|
"code": 6017;
|
|
4619
4619
|
"name": "invalidDelegatePda";
|
|
4620
4620
|
"msg": "Invalid delegate PDA!";
|
|
4621
|
+
},
|
|
4622
|
+
{
|
|
4623
|
+
"code": 6018;
|
|
4624
|
+
"name": "inconsistentOptionalParameters";
|
|
4625
|
+
"msg": "Inconsistent optional parameters!";
|
|
4621
4626
|
}
|
|
4622
4627
|
];
|
|
4623
4628
|
"types": [
|
|
@@ -42,7 +42,9 @@ export declare const SVM_SPOKE_ERROR__INVALID_PRODUCTION_SEED = 6015;
|
|
|
42
42
|
export declare const SVM_SPOKE_ERROR__INVALID_A_T_A_CREATION_ACCOUNTS = 6016;
|
|
43
43
|
/** InvalidDelegatePda: Invalid delegate PDA! */
|
|
44
44
|
export declare const SVM_SPOKE_ERROR__INVALID_DELEGATE_PDA = 6017;
|
|
45
|
-
|
|
45
|
+
/** InconsistentOptionalParameters: Inconsistent optional parameters! */
|
|
46
|
+
export declare const SVM_SPOKE_ERROR__INCONSISTENT_OPTIONAL_PARAMETERS = 6018;
|
|
47
|
+
export type SvmSpokeError = typeof SVM_SPOKE_ERROR__CANNOT_SET_CURRENT_TIME | typeof SVM_SPOKE_ERROR__CAN_ONLY_CLOSE_FILL_STATUS_PDA_IF_FILL_DEADLINE_PASSED | typeof SVM_SPOKE_ERROR__EXCEEDED_PENDING_BRIDGE_AMOUNT | typeof SVM_SPOKE_ERROR__INCONSISTENT_OPTIONAL_PARAMETERS | typeof SVM_SPOKE_ERROR__INVALID_A_T_A_CREATION_ACCOUNTS | typeof SVM_SPOKE_ERROR__INVALID_CLAIM_INITIALIZER | typeof SVM_SPOKE_ERROR__INVALID_DELEGATE_PDA | typeof SVM_SPOKE_ERROR__INVALID_MINT | typeof SVM_SPOKE_ERROR__INVALID_PRODUCTION_SEED | typeof SVM_SPOKE_ERROR__INVALID_REFUND | typeof SVM_SPOKE_ERROR__INVALID_REFUND_TOKEN_ACCOUNT | typeof SVM_SPOKE_ERROR__INVALID_RELAY_HASH | typeof SVM_SPOKE_ERROR__INVALID_REMOTE_DOMAIN | typeof SVM_SPOKE_ERROR__INVALID_REMOTE_SENDER | typeof SVM_SPOKE_ERROR__NON_ZERO_REFUND_CLAIM | typeof SVM_SPOKE_ERROR__NOT_OWNER | typeof SVM_SPOKE_ERROR__NOT_RELAYER | typeof SVM_SPOKE_ERROR__PARAMS_WRITE_OVERFLOW | typeof SVM_SPOKE_ERROR__ZERO_REFUND_CLAIM;
|
|
46
48
|
export declare function getSvmSpokeErrorMessage(code: SvmSpokeError): string;
|
|
47
49
|
export declare function isSvmSpokeError<TProgramErrorCode extends SvmSpokeError>(error: unknown, transactionMessage: {
|
|
48
50
|
instructions: Record<number, {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @see https://github.com/codama-idl/codama
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.SVM_SPOKE_ERROR__INVALID_DELEGATE_PDA = exports.SVM_SPOKE_ERROR__INVALID_A_T_A_CREATION_ACCOUNTS = exports.SVM_SPOKE_ERROR__INVALID_PRODUCTION_SEED = exports.SVM_SPOKE_ERROR__INVALID_REFUND_TOKEN_ACCOUNT = exports.SVM_SPOKE_ERROR__INVALID_CLAIM_INITIALIZER = exports.SVM_SPOKE_ERROR__NON_ZERO_REFUND_CLAIM = exports.SVM_SPOKE_ERROR__ZERO_REFUND_CLAIM = exports.SVM_SPOKE_ERROR__INVALID_REFUND = exports.SVM_SPOKE_ERROR__PARAMS_WRITE_OVERFLOW = exports.SVM_SPOKE_ERROR__EXCEEDED_PENDING_BRIDGE_AMOUNT = exports.SVM_SPOKE_ERROR__INVALID_MINT = exports.SVM_SPOKE_ERROR__INVALID_REMOTE_SENDER = exports.SVM_SPOKE_ERROR__INVALID_REMOTE_DOMAIN = exports.SVM_SPOKE_ERROR__CANNOT_SET_CURRENT_TIME = exports.SVM_SPOKE_ERROR__NOT_RELAYER = exports.SVM_SPOKE_ERROR__CAN_ONLY_CLOSE_FILL_STATUS_PDA_IF_FILL_DEADLINE_PASSED = exports.SVM_SPOKE_ERROR__INVALID_RELAY_HASH = exports.SVM_SPOKE_ERROR__NOT_OWNER = void 0;
|
|
10
|
+
exports.SVM_SPOKE_ERROR__INCONSISTENT_OPTIONAL_PARAMETERS = exports.SVM_SPOKE_ERROR__INVALID_DELEGATE_PDA = exports.SVM_SPOKE_ERROR__INVALID_A_T_A_CREATION_ACCOUNTS = exports.SVM_SPOKE_ERROR__INVALID_PRODUCTION_SEED = exports.SVM_SPOKE_ERROR__INVALID_REFUND_TOKEN_ACCOUNT = exports.SVM_SPOKE_ERROR__INVALID_CLAIM_INITIALIZER = exports.SVM_SPOKE_ERROR__NON_ZERO_REFUND_CLAIM = exports.SVM_SPOKE_ERROR__ZERO_REFUND_CLAIM = exports.SVM_SPOKE_ERROR__INVALID_REFUND = exports.SVM_SPOKE_ERROR__PARAMS_WRITE_OVERFLOW = exports.SVM_SPOKE_ERROR__EXCEEDED_PENDING_BRIDGE_AMOUNT = exports.SVM_SPOKE_ERROR__INVALID_MINT = exports.SVM_SPOKE_ERROR__INVALID_REMOTE_SENDER = exports.SVM_SPOKE_ERROR__INVALID_REMOTE_DOMAIN = exports.SVM_SPOKE_ERROR__CANNOT_SET_CURRENT_TIME = exports.SVM_SPOKE_ERROR__NOT_RELAYER = exports.SVM_SPOKE_ERROR__CAN_ONLY_CLOSE_FILL_STATUS_PDA_IF_FILL_DEADLINE_PASSED = exports.SVM_SPOKE_ERROR__INVALID_RELAY_HASH = exports.SVM_SPOKE_ERROR__NOT_OWNER = void 0;
|
|
11
11
|
exports.getSvmSpokeErrorMessage = getSvmSpokeErrorMessage;
|
|
12
12
|
exports.isSvmSpokeError = isSvmSpokeError;
|
|
13
13
|
const kit_1 = require("@solana/kit");
|
|
@@ -48,12 +48,15 @@ exports.SVM_SPOKE_ERROR__INVALID_PRODUCTION_SEED = 0x177f; // 6015
|
|
|
48
48
|
exports.SVM_SPOKE_ERROR__INVALID_A_T_A_CREATION_ACCOUNTS = 0x1780; // 6016
|
|
49
49
|
/** InvalidDelegatePda: Invalid delegate PDA! */
|
|
50
50
|
exports.SVM_SPOKE_ERROR__INVALID_DELEGATE_PDA = 0x1781; // 6017
|
|
51
|
+
/** InconsistentOptionalParameters: Inconsistent optional parameters! */
|
|
52
|
+
exports.SVM_SPOKE_ERROR__INCONSISTENT_OPTIONAL_PARAMETERS = 0x1782; // 6018
|
|
51
53
|
let svmSpokeErrorMessages;
|
|
52
54
|
if (process.env.NODE_ENV !== 'production') {
|
|
53
55
|
svmSpokeErrorMessages = {
|
|
54
56
|
[exports.SVM_SPOKE_ERROR__CANNOT_SET_CURRENT_TIME]: `Cannot set time if not in test mode!`,
|
|
55
57
|
[exports.SVM_SPOKE_ERROR__CAN_ONLY_CLOSE_FILL_STATUS_PDA_IF_FILL_DEADLINE_PASSED]: `The fill deadline has not passed!`,
|
|
56
58
|
[exports.SVM_SPOKE_ERROR__EXCEEDED_PENDING_BRIDGE_AMOUNT]: `Exceeded pending bridge amount to HubPool!`,
|
|
59
|
+
[exports.SVM_SPOKE_ERROR__INCONSISTENT_OPTIONAL_PARAMETERS]: `Inconsistent optional parameters!`,
|
|
57
60
|
[exports.SVM_SPOKE_ERROR__INVALID_A_T_A_CREATION_ACCOUNTS]: `Invalid remaining accounts for ATA creation!`,
|
|
58
61
|
[exports.SVM_SPOKE_ERROR__INVALID_CLAIM_INITIALIZER]: `Invalid claim initializer!`,
|
|
59
62
|
[exports.SVM_SPOKE_ERROR__INVALID_DELEGATE_PDA]: `Invalid delegate PDA!`,
|
package/dist/src/types/svm.d.ts
CHANGED
|
@@ -120,3 +120,47 @@ export interface EventType {
|
|
|
120
120
|
* Supported Networks
|
|
121
121
|
*/
|
|
122
122
|
export type SupportedNetworks = "mainnet" | "devnet";
|
|
123
|
+
/**
|
|
124
|
+
* Fill instruction accounts
|
|
125
|
+
*/
|
|
126
|
+
export type FillAccounts = {
|
|
127
|
+
signer: PublicKey;
|
|
128
|
+
instructionParams: PublicKey;
|
|
129
|
+
state: PublicKey;
|
|
130
|
+
delegate: PublicKey;
|
|
131
|
+
mint: PublicKey;
|
|
132
|
+
relayerTokenAccount: PublicKey;
|
|
133
|
+
recipientTokenAccount: PublicKey;
|
|
134
|
+
fillStatus: PublicKey;
|
|
135
|
+
tokenProgram: PublicKey;
|
|
136
|
+
associatedTokenProgram: PublicKey;
|
|
137
|
+
systemProgram: PublicKey;
|
|
138
|
+
program: PublicKey;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Request Slow Fill Accounts
|
|
142
|
+
*/
|
|
143
|
+
export type RequestSlowFillAccounts = {
|
|
144
|
+
signer: PublicKey;
|
|
145
|
+
instructionParams: PublicKey;
|
|
146
|
+
state: PublicKey;
|
|
147
|
+
fillStatus: PublicKey;
|
|
148
|
+
systemProgram: PublicKey;
|
|
149
|
+
program: PublicKey;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Execute Slow Relay Leaf Accounts
|
|
153
|
+
*/
|
|
154
|
+
export type ExecuteSlowRelayLeafAccounts = {
|
|
155
|
+
signer: PublicKey;
|
|
156
|
+
instructionParams: PublicKey;
|
|
157
|
+
state: PublicKey;
|
|
158
|
+
rootBundle: PublicKey;
|
|
159
|
+
fillStatus: PublicKey;
|
|
160
|
+
mint: PublicKey;
|
|
161
|
+
recipientTokenAccount: PublicKey;
|
|
162
|
+
vault: PublicKey;
|
|
163
|
+
tokenProgram: PublicKey;
|
|
164
|
+
systemProgram: PublicKey;
|
|
165
|
+
program: PublicKey;
|
|
166
|
+
};
|
|
@@ -1988,8 +1988,8 @@ export type SvmSpoke = {
|
|
|
1988
1988
|
"this will be set higher to reimburse the recipient for waiting for the slow fill.",
|
|
1989
1989
|
"- _root_bundle_id: Unique ID of root bundle containing slow relay root that this leaf is contained in.",
|
|
1990
1990
|
"- proof: Inclusion proof for this leaf in slow relay root in root bundle.",
|
|
1991
|
-
"Note: slow_fill_leaf, _root_bundle_id, and proof are optional parameters
|
|
1992
|
-
"the caller must load them via the instruction_params account.",
|
|
1991
|
+
"Note: slow_fill_leaf, _root_bundle_id, and proof are optional parameters, but their presence must be consistent.",
|
|
1992
|
+
"If None for these parameters is passed, the caller must load them via the instruction_params account.",
|
|
1993
1993
|
"Note: When verifying the slow fill leaf, the relay data is hashed using AnchorSerialize::serialize that encodes",
|
|
1994
1994
|
"output token amounts to little-endian format while input token amount preserves its big-endian encoding as it",
|
|
1995
1995
|
"is passed as [u8; 32] array."
|
|
@@ -2372,8 +2372,8 @@ export type SvmSpoke = {
|
|
|
2372
2372
|
"- repayment_chain_id: Chain of SpokePool where relayer wants to be refunded after the challenge window has",
|
|
2373
2373
|
"passed. Will receive input_amount of the equivalent token to input_token on the repayment chain.",
|
|
2374
2374
|
"- repayment_address: The address of the recipient on the repayment chain that they want to be refunded to.",
|
|
2375
|
-
"Note: relay_data, repayment_chain_id, and repayment_address are optional parameters
|
|
2376
|
-
"is passed, the caller must load them via the instruction_params account."
|
|
2375
|
+
"Note: relay_data, repayment_chain_id, and repayment_address are optional parameters, but their presence must be",
|
|
2376
|
+
"consistent. If None for these is passed, the caller must load them via the instruction_params account."
|
|
2377
2377
|
];
|
|
2378
2378
|
"discriminator": [
|
|
2379
2379
|
100,
|
|
@@ -4618,6 +4618,11 @@ export type SvmSpoke = {
|
|
|
4618
4618
|
"code": 6017;
|
|
4619
4619
|
"name": "invalidDelegatePda";
|
|
4620
4620
|
"msg": "Invalid delegate PDA!";
|
|
4621
|
+
},
|
|
4622
|
+
{
|
|
4623
|
+
"code": 6018;
|
|
4624
|
+
"name": "inconsistentOptionalParameters";
|
|
4625
|
+
"msg": "Inconsistent optional parameters!";
|
|
4621
4626
|
}
|
|
4622
4627
|
];
|
|
4623
4628
|
"types": [
|