@across-protocol/contracts 5.0.12-beta.1 → 5.0.13-alpha.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 +187 -132
- package/dist/src/svm/assets/idl/svm_spoke.json +4 -9
- package/dist/src/svm/assets/svm_spoke.d.ts +4 -9
- package/dist/src/svm/clients/SvmSpoke/errors/svmSpoke.d.ts +1 -3
- package/dist/src/svm/clients/SvmSpoke/errors/svmSpoke.js +1 -4
- package/dist/src/types/svm.d.ts +0 -44
- package/dist/target/types/svm_spoke.d.ts +4 -9
- package/package.json +1 -1
|
@@ -195,10 +195,15 @@
|
|
|
195
195
|
"block_number": 24745925,
|
|
196
196
|
"transaction_hash": "0xb46c184af2359773c6714d0bcfa4969690f0b703fa134ad313e291bd15961289"
|
|
197
197
|
},
|
|
198
|
-
"
|
|
199
|
-
"address": "
|
|
200
|
-
"block_number":
|
|
201
|
-
"transaction_hash": "
|
|
198
|
+
"PermissionedMulticallHandler": {
|
|
199
|
+
"address": "0xE3cC4f145d3535336A78FdEB3e77309731e12E8b",
|
|
200
|
+
"block_number": 25231328,
|
|
201
|
+
"transaction_hash": "0x009dc456b677fcecf008107e57bebb76ca9b5dba3404bf37f725d1d08801b0df"
|
|
202
|
+
},
|
|
203
|
+
"DstOFTHandler": {
|
|
204
|
+
"address": "0xD59D844287A6F808865eA697653588c9Ee42Dc1d",
|
|
205
|
+
"block_number": 25231329,
|
|
206
|
+
"transaction_hash": "0x387fd87026a68def73450bc6aa51d0befa8f551832a3ac8faeea870f4e7220c5"
|
|
202
207
|
},
|
|
203
208
|
"OP_Adapter_57073": {
|
|
204
209
|
"address": "0x545E43B6eC2f9a44CAa531298699Ff05958670B5",
|
|
@@ -210,35 +215,25 @@
|
|
|
210
215
|
"block_number": 19084679,
|
|
211
216
|
"transaction_hash": "0xa2a7b2c6812fb8ae34539fb04cd5f2a9112da1c7f6ffce0ddcf1fee7e43acf48"
|
|
212
217
|
},
|
|
213
|
-
"PermissionedMulticallHandler": {
|
|
214
|
-
"address": "0x64a43393866DBA0044879979fAa7AD3d000622e9",
|
|
215
|
-
"block_number": 24021499,
|
|
216
|
-
"transaction_hash": "0x70b3edf99db66aac34338c3686cd708ddfc2b503c2f707f51ced67dc50e5022f"
|
|
217
|
-
},
|
|
218
218
|
"Safe": {
|
|
219
219
|
"address": "0x4c45F70B1d9a7A6D1984daccAd74D0E973B73F01",
|
|
220
220
|
"block_number": 25138380,
|
|
221
221
|
"transaction_hash": "0x135450e78b12f576b5d294d2fe26000eb1bb0bbf9ba755f5e8cd41d9587ac0f9"
|
|
222
222
|
},
|
|
223
|
-
"
|
|
224
|
-
"address": "
|
|
225
|
-
"block_number":
|
|
226
|
-
"transaction_hash": "
|
|
227
|
-
},
|
|
228
|
-
"SponsoredCCTPDstPeriphery_CCTP_USDC": {
|
|
229
|
-
"address": "0x214C19FBcdFb683F2c726B4BBAf24AB483bFaDf3",
|
|
230
|
-
"block_number": 25050837,
|
|
231
|
-
"transaction_hash": "0xd3a1f51d6917a22db3fafe940a9ce0b72986974eee1861c0706d46a49ba408e2"
|
|
223
|
+
"SponsoredCCTPDstPeriphery": {
|
|
224
|
+
"address": "0xbefb16c7452d35ebc9C61B200c6Fd02D37600A1e",
|
|
225
|
+
"block_number": 25174139,
|
|
226
|
+
"transaction_hash": "0x04cb6f7887e82fd70a67daaaad97e567d7c5c9d82cb0cecb9030ae2be289ee4a"
|
|
232
227
|
},
|
|
233
228
|
"SponsoredCCTPSrcPeriphery": {
|
|
234
|
-
"address": "
|
|
235
|
-
"block_number":
|
|
236
|
-
"transaction_hash": "
|
|
229
|
+
"address": "0x78c10059037e245425fA28CF101cDB8C45ccA76C",
|
|
230
|
+
"block_number": 25173626,
|
|
231
|
+
"transaction_hash": "0xb92847cadca1af1dbb199c918628bf78d8386e9ff57836e8d39225e68009d976"
|
|
237
232
|
},
|
|
238
233
|
"SponsoredOFTSrcPeriphery": {
|
|
239
|
-
"address": "
|
|
240
|
-
"block_number":
|
|
241
|
-
"transaction_hash": "
|
|
234
|
+
"address": "0x13CfBB9D894e98f40f978B184EB7BB1fe6C2F564",
|
|
235
|
+
"block_number": 25231042,
|
|
236
|
+
"transaction_hash": "0xd6a9b695dbf3edaf4b5695442e6dd3353009f79555ed216b6c2f696819722d9a"
|
|
242
237
|
},
|
|
243
238
|
"TransferProxy": {
|
|
244
239
|
"address": "0x03743372098Aa51E1fCe537D51025F08b55C4144",
|
|
@@ -319,10 +314,20 @@
|
|
|
319
314
|
"block_number": 151852638,
|
|
320
315
|
"transaction_hash": "0xc56c8cff88f814d4fc41149007b3b867cd8672ba7541d4153bd7e5dfbbacfb44"
|
|
321
316
|
},
|
|
317
|
+
"PermissionedMulticallHandler": {
|
|
318
|
+
"address": "0x641119c49Ac149DadaEC95D4fA8FFbe1eaB448fc",
|
|
319
|
+
"block_number": 152070131,
|
|
320
|
+
"transaction_hash": "0xf296c864b8c38fd55de6116371264e488c22cedbf70d17596782fe7437322eb5"
|
|
321
|
+
},
|
|
322
|
+
"SponsoredCCTPDstPeriphery": {
|
|
323
|
+
"address": "0x7caAe751f8eAfEC5646A730d86c6Ae2d47a31Ca6",
|
|
324
|
+
"block_number": 152070134,
|
|
325
|
+
"transaction_hash": "0xa6eae1e6fa1febf359d475b5ba807d4fa1e6fbbf121fe4d06fcb26d0f75280e5"
|
|
326
|
+
},
|
|
322
327
|
"SponsoredCCTPSrcPeriphery": {
|
|
323
|
-
"address": "
|
|
324
|
-
"block_number":
|
|
325
|
-
"transaction_hash": "
|
|
328
|
+
"address": "0x31812A9403dc4b9dA4AFf1ba5FEf84844D2b0CB2",
|
|
329
|
+
"block_number": 152069997,
|
|
330
|
+
"transaction_hash": "0x967db197b3cea8e54a0ed8289a110d60540da822bf654a694e833d11de066fdc"
|
|
326
331
|
},
|
|
327
332
|
"TransferProxy": {
|
|
328
333
|
"address": "0x03743372098Aa51E1fCe537D51025F08b55C4144",
|
|
@@ -448,14 +453,14 @@
|
|
|
448
453
|
"transaction_hash": "0x52e78f777ab18c2b0211ee814a5b9c317b348f88c7af157b0e12df7535e4f8bd"
|
|
449
454
|
},
|
|
450
455
|
"SponsoredCCTPSrcPeriphery": {
|
|
451
|
-
"address": "
|
|
452
|
-
"block_number":
|
|
453
|
-
"transaction_hash": "
|
|
456
|
+
"address": "0x232e7f2F8967b3F2e37649eBE1d89C79E4770e20",
|
|
457
|
+
"block_number": 48991025,
|
|
458
|
+
"transaction_hash": "0x96c9931eca4866ec6f9bc50435b1c96da72df6bd560dd465b2532b3af8fbd79f"
|
|
454
459
|
},
|
|
455
460
|
"SponsoredOFTSrcPeriphery": {
|
|
456
|
-
"address": "
|
|
457
|
-
"block_number":
|
|
458
|
-
"transaction_hash": "
|
|
461
|
+
"address": "0x9d7B6Ea64E9fAEBEf98170210548A777605EDE87",
|
|
462
|
+
"block_number": 49671859,
|
|
463
|
+
"transaction_hash": "0x932160507f38cffe8089ee8071df7a147ec0d6a8bd512f587cd145b3f0fc1356"
|
|
459
464
|
},
|
|
460
465
|
"WithdrawImplementation": {
|
|
461
466
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
@@ -538,20 +543,35 @@
|
|
|
538
543
|
"block_number": 84729684,
|
|
539
544
|
"transaction_hash": "0xdcc74125b85cb1a7e34e6bfe318cc565b7f5423e1fe1b187dcd331fd80565a83"
|
|
540
545
|
},
|
|
546
|
+
"PermissionedMulticallHandler": {
|
|
547
|
+
"address": "0x43e1c2a2720BaA4a090aCeC63dBe757BeE81C2FA",
|
|
548
|
+
"block_number": 87819354,
|
|
549
|
+
"transaction_hash": "0x1b0abaa6c2341efdd2c682bb913615cf34d2b46f09bd4982303fd29084cb8976"
|
|
550
|
+
},
|
|
551
|
+
"DstOFTHandler": {
|
|
552
|
+
"address": "0xC7e181D8aC22E25183c12e3693d26FBf62Da903A",
|
|
553
|
+
"block_number": 87819356,
|
|
554
|
+
"transaction_hash": "0x1fbd9c798bb0da5d52a152a539b1eaf1dc011e038660bc25fe295947cbe9a2ba"
|
|
555
|
+
},
|
|
541
556
|
"Safe": {
|
|
542
557
|
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
543
558
|
"block_number": 87180073,
|
|
544
559
|
"transaction_hash": "0xecd589bda3e78dcba4ad5bcb838e49889248ee07c09b3d2296259a62dcdd06f2"
|
|
545
560
|
},
|
|
561
|
+
"SponsoredCCTPDstPeriphery": {
|
|
562
|
+
"address": "0x02a00425f619C5e2B25e3d138Fe80a71201B007E",
|
|
563
|
+
"block_number": 87429984,
|
|
564
|
+
"transaction_hash": "0xb06fb5eced2f762203130ce68220c8337728e0925acddb67317c6bd85852645d"
|
|
565
|
+
},
|
|
546
566
|
"SponsoredCCTPSrcPeriphery": {
|
|
547
|
-
"address": "
|
|
548
|
-
"block_number":
|
|
549
|
-
"transaction_hash": "
|
|
567
|
+
"address": "0xFbad5ba2e9CCFcf4618e9Ab51b03F94E8a9B4456",
|
|
568
|
+
"block_number": 87429938,
|
|
569
|
+
"transaction_hash": "0x02851af3e6f8dfd32a6ede753c85a0d81476e448e39e0045bdc61f7552b4bdee"
|
|
550
570
|
},
|
|
551
571
|
"SponsoredOFTSrcPeriphery": {
|
|
552
|
-
"address": "
|
|
553
|
-
"block_number":
|
|
554
|
-
"transaction_hash": "
|
|
572
|
+
"address": "0x30b2cABf5ce54466ce5bC573d10E8328B6D538B4",
|
|
573
|
+
"block_number": 87817599,
|
|
574
|
+
"transaction_hash": "0x42657c44d9adefa823e92b361f7f3b2e1f86be8d2c5805584622ab88d372da62"
|
|
555
575
|
},
|
|
556
576
|
"TransferProxy": {
|
|
557
577
|
"address": "0x03743372098Aa51E1fCe537D51025F08b55C4144",
|
|
@@ -615,20 +635,35 @@
|
|
|
615
635
|
"block_number": 64241716,
|
|
616
636
|
"transaction_hash": "0x40c560c46d8a4fdbd5947512cc9b6c5f322abac96231bf635b2f4c1768621f52"
|
|
617
637
|
},
|
|
638
|
+
"PermissionedMulticallHandler": {
|
|
639
|
+
"address": "0x7245E9A6fd2E7494eDD74A61e947fA26d202400C",
|
|
640
|
+
"block_number": 78704214,
|
|
641
|
+
"transaction_hash": "0x7ddf97c70a95b4e38e7bce9e47142215138578dfd3cad3598d8770489477a483"
|
|
642
|
+
},
|
|
643
|
+
"DstOFTHandler": {
|
|
644
|
+
"address": "0xD43463Fadd73373bE260b67F5825274F4403dAF0",
|
|
645
|
+
"block_number": 78704220,
|
|
646
|
+
"transaction_hash": "0x859536339a7ac4c2d51cd4b31333e8fd705d3024b7b5ad8e104de8fbfae124c5"
|
|
647
|
+
},
|
|
618
648
|
"Safe": {
|
|
619
649
|
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
620
650
|
"block_number": 67900920,
|
|
621
651
|
"transaction_hash": "0x600cbf25870f7204c57ae5b3f3e7b8df0feeb00ec3e578fefb4f67280c9cfe77"
|
|
622
652
|
},
|
|
653
|
+
"SponsoredCCTPDstPeriphery": {
|
|
654
|
+
"address": "0x647aFB7d935Ff0aaE4F0DdEfE0499d13AdE69178",
|
|
655
|
+
"block_number": 77181730,
|
|
656
|
+
"transaction_hash": "0x002c7363c99f96850e3ddb77e027c1a76fa84383cde9065d1838733016947df6"
|
|
657
|
+
},
|
|
623
658
|
"SponsoredCCTPSrcPeriphery": {
|
|
624
|
-
"address": "
|
|
625
|
-
"block_number":
|
|
626
|
-
"transaction_hash": "
|
|
659
|
+
"address": "0x6185A81Ac9e74d15c9d50101308E4A35780154a3",
|
|
660
|
+
"block_number": 77181490,
|
|
661
|
+
"transaction_hash": "0x7b26f3b009c8e113de5a162445d93ef1f51d35a8a082908d6a6b63a6391b4125"
|
|
627
662
|
},
|
|
628
663
|
"SponsoredOFTSrcPeriphery": {
|
|
629
|
-
"address": "
|
|
630
|
-
"block_number":
|
|
631
|
-
"transaction_hash": "
|
|
664
|
+
"address": "0x6805C0A5D73884fDc30F83Cd949F431Ba60fE17B",
|
|
665
|
+
"block_number": 78680546,
|
|
666
|
+
"transaction_hash": "0xebbb5a64636e0547b7055fdcf60542d177f9ed06fea4b162b8c2c1ef0ef630e9"
|
|
632
667
|
},
|
|
633
668
|
"WithdrawImplementation": {
|
|
634
669
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
@@ -800,10 +835,20 @@
|
|
|
800
835
|
"block_number": 29984927,
|
|
801
836
|
"transaction_hash": "0xfca2ae3fcca621ae80560c43b4bc7172b03a4e13aaa9aaf54472909c396e29f8"
|
|
802
837
|
},
|
|
838
|
+
"PermissionedMulticallHandler": {
|
|
839
|
+
"address": "0x5c3Dd98981EB4c8f0835F3d5634Ba6Dd5E725575",
|
|
840
|
+
"block_number": 30202745,
|
|
841
|
+
"transaction_hash": "0x5b738add0d5cfccb481e7d18760fa500e5bb920cd55b89ecb7491c36675edb03"
|
|
842
|
+
},
|
|
843
|
+
"SponsoredCCTPDstPeriphery": {
|
|
844
|
+
"address": "0x219044ECb0Eb0b3f0D8A614A9633A89f0b5f81f8",
|
|
845
|
+
"block_number": 30202748,
|
|
846
|
+
"transaction_hash": "0xf7f79d4327e80ca0ab540c45fb808c3801ee48634a1625c496d47e0554f3be07"
|
|
847
|
+
},
|
|
803
848
|
"SponsoredCCTPSrcPeriphery": {
|
|
804
|
-
"address": "
|
|
805
|
-
"block_number":
|
|
806
|
-
"transaction_hash": "
|
|
849
|
+
"address": "0xB61b85FE68948701B46C4D1302F70532c363193d",
|
|
850
|
+
"block_number": 30202655,
|
|
851
|
+
"transaction_hash": "0x1100394191e6dc44a95c8d47769d9b3fbb2f96658ba604fd7fe8058e29e66154"
|
|
807
852
|
},
|
|
808
853
|
"WithdrawImplementation": {
|
|
809
854
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
@@ -874,25 +919,15 @@
|
|
|
874
919
|
"block_number": 31071129,
|
|
875
920
|
"transaction_hash": "0xd78f71ca11de6d28fe02006adf91b55f05efe0ffb1e0b2f51cb450cdf5ade5c0"
|
|
876
921
|
},
|
|
877
|
-
"
|
|
878
|
-
"address": "
|
|
879
|
-
"block_number":
|
|
880
|
-
"transaction_hash": "
|
|
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"
|
|
922
|
+
"PermissionedMulticallHandler": {
|
|
923
|
+
"address": "0x1E5224900B7508D10e28C4627DC4285E50535B1b",
|
|
924
|
+
"block_number": 36793590,
|
|
925
|
+
"transaction_hash": "0xf02918aee3ffbf0e230d29190d7a1006fcd82268182281db01c5da7be42c43a5"
|
|
891
926
|
},
|
|
892
|
-
"
|
|
893
|
-
"address": "
|
|
894
|
-
"block_number":
|
|
895
|
-
"transaction_hash": "
|
|
927
|
+
"DstOFTHandler": {
|
|
928
|
+
"address": "0x1fE11B217cD3E268D45e402fF7a74D789d6038e5",
|
|
929
|
+
"block_number": 36793651,
|
|
930
|
+
"transaction_hash": "0x7b50949787f60356400d124915ccfc4fd479ca9cda45c89f49d21379ad8c75e1"
|
|
896
931
|
},
|
|
897
932
|
"HyperliquidDepositHandler": {
|
|
898
933
|
"address": "0xbFB53E9C8acCe6D6aC54885A8e33A7Aec95427D5",
|
|
@@ -904,35 +939,10 @@
|
|
|
904
939
|
"block_number": 32382094,
|
|
905
940
|
"transaction_hash": "0x188d49f786ebe99a6dbeb7c845d525064431a1eb615d0bea275d8da8a32953b1"
|
|
906
941
|
},
|
|
907
|
-
"
|
|
908
|
-
"address": "
|
|
909
|
-
"block_number":
|
|
910
|
-
"transaction_hash": "
|
|
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"
|
|
942
|
+
"SponsoredCCTPDstPeriphery": {
|
|
943
|
+
"address": "0x05BC0022549F302926954Ec938b4d0550a89C294",
|
|
944
|
+
"block_number": 35615373,
|
|
945
|
+
"transaction_hash": "0x463d6f2f62c3de1a7d717cd5a7aebb010d89d70e5041771825fb56987b44e786"
|
|
936
946
|
},
|
|
937
947
|
"SponsoredCCTPSrcPeriphery": {
|
|
938
948
|
"address": "0xF4E32c4aC479f0B007BC005Ec0F481A2C78Ba1B4",
|
|
@@ -940,9 +950,9 @@
|
|
|
940
950
|
"transaction_hash": "0xef3bcc6d1bb0adc5a2b88c6dbe64a2492f72ac7d27a4aa6e42e5ace34df1f531"
|
|
941
951
|
},
|
|
942
952
|
"SponsoredOFTSrcPeriphery": {
|
|
943
|
-
"address": "
|
|
944
|
-
"block_number":
|
|
945
|
-
"transaction_hash": "
|
|
953
|
+
"address": "0xf74d94dBb6df577820448a6e0908B601855BCa37",
|
|
954
|
+
"block_number": 36768275,
|
|
955
|
+
"transaction_hash": "0x9498863468c02ecbce6f9dde943fdc5647a30566311ada9dc8ec041e54d1d956"
|
|
946
956
|
},
|
|
947
957
|
"TransferProxy": {
|
|
948
958
|
"address": "0x8b2C0BFaBD6DaD8cc700dde3F168D3c81CF0eEfF",
|
|
@@ -1187,15 +1197,25 @@
|
|
|
1187
1197
|
"block_number": 12012601,
|
|
1188
1198
|
"transaction_hash": "0x24e5a21ee467e4b39435f8bfc5591237aab4ac8dac096777502411837511de70"
|
|
1189
1199
|
},
|
|
1200
|
+
"PermissionedMulticallHandler": {
|
|
1201
|
+
"address": "0x8bBd8dA892f793A271af4D74C7B8895019f4ea77",
|
|
1202
|
+
"block_number": 17651466,
|
|
1203
|
+
"transaction_hash": "0xf118cce0176cbc5bdf7c1690e8e520c0f55ddb914567be1d63c14a755d3f02f3"
|
|
1204
|
+
},
|
|
1205
|
+
"DstOFTHandler": {
|
|
1206
|
+
"address": "0xDAC391869D4b1a0B658626A6F4bc90484667B617",
|
|
1207
|
+
"block_number": 17651467,
|
|
1208
|
+
"transaction_hash": "0x7acdd84944b9f50f238703bb78bf3016c2952e42b1a717f43538f00c88add3f5"
|
|
1209
|
+
},
|
|
1190
1210
|
"Safe": {
|
|
1191
1211
|
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
1192
1212
|
"block_number": 16508591,
|
|
1193
1213
|
"transaction_hash": "0xd096a074d15cb298194d1cb8b0122be31e408f701311d1acf00bac3d9eb3df94"
|
|
1194
1214
|
},
|
|
1195
1215
|
"SponsoredOFTSrcPeriphery": {
|
|
1196
|
-
"address": "
|
|
1197
|
-
"block_number":
|
|
1198
|
-
"transaction_hash": "
|
|
1216
|
+
"address": "0x700Cb4917E21178CE5B617D6cAf976513682Dd40",
|
|
1217
|
+
"block_number": 17624472,
|
|
1218
|
+
"transaction_hash": "0x79440927464cf1d84b410e57840c7c94007cb3aefc33f54e1289f270f0c40c77"
|
|
1199
1219
|
},
|
|
1200
1220
|
"WithdrawImplementation": {
|
|
1201
1221
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
@@ -1262,25 +1282,20 @@
|
|
|
1262
1282
|
"block_number": 46258138,
|
|
1263
1283
|
"transaction_hash": "0x3267da18ba0bb69bad4f9dac7b1932ed00e16aa87b5a7f31cccefddafad248ec"
|
|
1264
1284
|
},
|
|
1265
|
-
"
|
|
1266
|
-
"address": "
|
|
1267
|
-
"block_number":
|
|
1268
|
-
"transaction_hash": "
|
|
1269
|
-
},
|
|
1270
|
-
"DonationBox_CCTP_USDC": {
|
|
1271
|
-
"address": "0x3ff139d8d5519555aA13b0eBd357B0Ba810f06Df",
|
|
1272
|
-
"block_number": 44959758,
|
|
1273
|
-
"transaction_hash": "0x019b8a736e60768ec4410e4e38c8ae4385e23e72c0cdcc9f305269d1208948c5"
|
|
1285
|
+
"PermissionedMulticallHandler": {
|
|
1286
|
+
"address": "0xdE461AFeDc4578b97e44869C198c34046191439A",
|
|
1287
|
+
"block_number": 46467909,
|
|
1288
|
+
"transaction_hash": "0xe9c8ab8347d6120223685361b021a030656b52a05843c97f2e015fa84b014681"
|
|
1274
1289
|
},
|
|
1275
|
-
"
|
|
1276
|
-
"address": "
|
|
1277
|
-
"block_number":
|
|
1278
|
-
"transaction_hash": "
|
|
1290
|
+
"SponsoredCCTPDstPeriphery": {
|
|
1291
|
+
"address": "0xa80E055C308d2C71Ff6242E35Df247635AE0b297",
|
|
1292
|
+
"block_number": 46467911,
|
|
1293
|
+
"transaction_hash": "0xd0c3a66a19b65bceee0d50e71a7b05efa2e1d2b540ab794a89527547be934734"
|
|
1279
1294
|
},
|
|
1280
1295
|
"SponsoredCCTPSrcPeriphery": {
|
|
1281
|
-
"address": "
|
|
1282
|
-
"block_number":
|
|
1283
|
-
"transaction_hash": "
|
|
1296
|
+
"address": "0xAc3182921BEF20dd9d7926d86d8d38255918d8e7",
|
|
1297
|
+
"block_number": 46468167,
|
|
1298
|
+
"transaction_hash": "0xb07e6dbb5066c3e5de9cdf274c178f5f996e750a67db29383d60da0f09e1103f"
|
|
1284
1299
|
},
|
|
1285
1300
|
"TransferProxy": {
|
|
1286
1301
|
"address": "0x03743372098Aa51E1fCe537D51025F08b55C4144",
|
|
@@ -1443,20 +1458,35 @@
|
|
|
1443
1458
|
"block_number": 446049597,
|
|
1444
1459
|
"transaction_hash": "0xd229b1a48cf5a207b9c1b670299d311d83fd98d6b768e6c4a67bbeef36097dc4"
|
|
1445
1460
|
},
|
|
1461
|
+
"PermissionedMulticallHandler": {
|
|
1462
|
+
"address": "0x9E61a37F5Ce1b9ed47a278efFd512BF6553a766a",
|
|
1463
|
+
"block_number": 469352325,
|
|
1464
|
+
"transaction_hash": "0x5344061bb734fbb4d7dde09a4058f88c0e7a7d521d11782b32c608933974f1fe"
|
|
1465
|
+
},
|
|
1466
|
+
"DstOFTHandler": {
|
|
1467
|
+
"address": "0x61e07fD5512c29bC344Af7453e779352Db2E5216",
|
|
1468
|
+
"block_number": 469352332,
|
|
1469
|
+
"transaction_hash": "0x3feb60320664c6073e0880722b7cf4f18dc5a9ee0c87b8cc4f8b0f4a161bc248"
|
|
1470
|
+
},
|
|
1446
1471
|
"Safe": {
|
|
1447
1472
|
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
1448
1473
|
"block_number": 464907406,
|
|
1449
1474
|
"transaction_hash": "0x8cde1166841d14e5ccc2d87ca76d6bc0dd96c2c06255156c0a59b073563b2eee"
|
|
1450
1475
|
},
|
|
1476
|
+
"SponsoredCCTPDstPeriphery": {
|
|
1477
|
+
"address": "0xc384694df2Be9c381d596DEd22f2A69D3aBA07d3",
|
|
1478
|
+
"block_number": 466621348,
|
|
1479
|
+
"transaction_hash": "0x957cf4f161a72290724dbd1c0ef11180b27233c27b1c8522a73ed9fbde3bbc46"
|
|
1480
|
+
},
|
|
1451
1481
|
"SponsoredCCTPSrcPeriphery": {
|
|
1452
|
-
"address": "
|
|
1453
|
-
"block_number":
|
|
1454
|
-
"transaction_hash": "
|
|
1482
|
+
"address": "0xB6755fF26397556d79341CD22FeA2F0697CD7704",
|
|
1483
|
+
"block_number": 466620408,
|
|
1484
|
+
"transaction_hash": "0xe77cf105acb909935a27a7b14f538de39258dc4b90e1d721d5fb337a79bee511"
|
|
1455
1485
|
},
|
|
1456
1486
|
"SponsoredOFTSrcPeriphery": {
|
|
1457
|
-
"address": "
|
|
1458
|
-
"block_number":
|
|
1459
|
-
"transaction_hash": "
|
|
1487
|
+
"address": "0x12954e33EaE4f5797e4736d8c2aDA4bD70Cd9826",
|
|
1488
|
+
"block_number": 469338563,
|
|
1489
|
+
"transaction_hash": "0x0c11901f9c27287ec7c80191cb9014c1edcd8a09c891c44d3b9d704cf05bd11b"
|
|
1460
1490
|
},
|
|
1461
1491
|
"TransferProxy": {
|
|
1462
1492
|
"address": "0x03743372098Aa51E1fCe537D51025F08b55C4144",
|
|
@@ -1520,20 +1550,35 @@
|
|
|
1520
1550
|
"block_number": 41151282,
|
|
1521
1551
|
"transaction_hash": "0x4e6ab9a1f45ae5c19dde939a00c5dede6032cb3d823a3ae61317eaf1212dafa5"
|
|
1522
1552
|
},
|
|
1553
|
+
"PermissionedMulticallHandler": {
|
|
1554
|
+
"address": "0x02B8733763dD76f73b8573e668ecA3343a7D65e7",
|
|
1555
|
+
"block_number": 46950338,
|
|
1556
|
+
"transaction_hash": "0xe9a98aa80eabdcb860a87a59048808ba6a4a3e047ec99a2b993576692c7bb3b4"
|
|
1557
|
+
},
|
|
1558
|
+
"DstOFTHandler": {
|
|
1559
|
+
"address": "0xD0c27170C13577f47796412356303834e10C056f",
|
|
1560
|
+
"block_number": 46950340,
|
|
1561
|
+
"transaction_hash": "0x2b4812e349e6c478a205fd219857fd2e671bd9b00a9e6126a2f448b845fd9f81"
|
|
1562
|
+
},
|
|
1523
1563
|
"Safe": {
|
|
1524
1564
|
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
1525
1565
|
"block_number": 45807415,
|
|
1526
1566
|
"transaction_hash": "0xf1e9919bbbc4cabaad6e7357a122ef3f8e91aba170a88db804a6b506bfecb236"
|
|
1527
1567
|
},
|
|
1568
|
+
"SponsoredCCTPDstPeriphery": {
|
|
1569
|
+
"address": "0x087B70E43BF01359678E7b927bbAC76D175F3293",
|
|
1570
|
+
"block_number": 46323662,
|
|
1571
|
+
"transaction_hash": "0x9c08e15808fd63896ac88b97dcf4dc80255ea0cae0c93d8e404e7276b5ee4698"
|
|
1572
|
+
},
|
|
1528
1573
|
"SponsoredCCTPSrcPeriphery": {
|
|
1529
|
-
"address": "
|
|
1530
|
-
"block_number":
|
|
1531
|
-
"transaction_hash": "
|
|
1574
|
+
"address": "0x8bBd8dA892f793A271af4D74C7B8895019f4ea77",
|
|
1575
|
+
"block_number": 46323259,
|
|
1576
|
+
"transaction_hash": "0x174c2cdd7f2c650af75de44ee19ceed28993fcec5101d10d233f2079530b19c9"
|
|
1532
1577
|
},
|
|
1533
1578
|
"SponsoredOFTSrcPeriphery": {
|
|
1534
|
-
"address": "
|
|
1535
|
-
"block_number":
|
|
1536
|
-
"transaction_hash": "
|
|
1579
|
+
"address": "0xE58480CA74f1A819faFd777BEDED4E2D5629943d",
|
|
1580
|
+
"block_number": 46923259,
|
|
1581
|
+
"transaction_hash": "0xafbcf9de3e1eafec9cbed553858d0e293c18aaf53a1fde7a789a09b9c20d5b19"
|
|
1537
1582
|
},
|
|
1538
1583
|
"WithdrawImplementation": {
|
|
1539
1584
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
@@ -1592,10 +1637,20 @@
|
|
|
1592
1637
|
"block_number": 30719985,
|
|
1593
1638
|
"transaction_hash": "0x3b35745fa6f0cf7f9d3edac1904f6afe1ee3e9b1e31048ff781eb0c0fa0e20d5"
|
|
1594
1639
|
},
|
|
1640
|
+
"PermissionedMulticallHandler": {
|
|
1641
|
+
"address": "0x57322327b4F532cF401a21EB87fa975641cba0e6",
|
|
1642
|
+
"block_number": 30780149,
|
|
1643
|
+
"transaction_hash": "0x4d70314f04e41eb589e90a34b10175081d609c7099c0c40b558c162cce6bc24c"
|
|
1644
|
+
},
|
|
1645
|
+
"SponsoredCCTPDstPeriphery": {
|
|
1646
|
+
"address": "0x6BD167bff542Ab595F0296333d70202aE09CC334",
|
|
1647
|
+
"block_number": 30780151,
|
|
1648
|
+
"transaction_hash": "0xf6b28903c9eb0c924b7012fe689a2f0380c0bef60ada6a9f7031346c1ba664b4"
|
|
1649
|
+
},
|
|
1595
1650
|
"SponsoredCCTPSrcPeriphery": {
|
|
1596
|
-
"address": "
|
|
1597
|
-
"block_number":
|
|
1598
|
-
"transaction_hash": "
|
|
1651
|
+
"address": "0x0188Efd7ebA935fB6fe452C13BB08B9959079026",
|
|
1652
|
+
"block_number": 30780138,
|
|
1653
|
+
"transaction_hash": "0x5fb70ae337117da47074c5a1e6f4dd45e0f9fe3dda9d8dda9d760a24f745055e"
|
|
1599
1654
|
},
|
|
1600
1655
|
"WithdrawImplementation": {
|
|
1601
1656
|
"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
|
-
"
|
|
1985
|
+
"Note: slow_fill_leaf, _root_bundle_id, and proof are optional parameters. If None for any of these is passed,",
|
|
1986
|
+
"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
|
-
"
|
|
2369
|
+
"Note: relay_data, repayment_chain_id, and repayment_address are optional parameters. If None for any of these",
|
|
2370
|
+
"is passed, the caller must load them via the instruction_params account."
|
|
2371
2371
|
],
|
|
2372
2372
|
"discriminator": [
|
|
2373
2373
|
100,
|
|
@@ -4612,11 +4612,6 @@
|
|
|
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!"
|
|
4620
4615
|
}
|
|
4621
4616
|
],
|
|
4622
4617
|
"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
|
-
"
|
|
1991
|
+
"Note: slow_fill_leaf, _root_bundle_id, and proof are optional parameters. If None for any of these is passed,",
|
|
1992
|
+
"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
|
-
"
|
|
2375
|
+
"Note: relay_data, repayment_chain_id, and repayment_address are optional parameters. If None for any of these",
|
|
2376
|
+
"is passed, the caller must load them via the instruction_params account."
|
|
2377
2377
|
];
|
|
2378
2378
|
"discriminator": [
|
|
2379
2379
|
100,
|
|
@@ -4618,11 +4618,6 @@ 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!";
|
|
4626
4621
|
}
|
|
4627
4622
|
];
|
|
4628
4623
|
"types": [
|
|
@@ -42,9 +42,7 @@ 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
|
-
|
|
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;
|
|
45
|
+
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__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;
|
|
48
46
|
export declare function getSvmSpokeErrorMessage(code: SvmSpokeError): string;
|
|
49
47
|
export declare function isSvmSpokeError<TProgramErrorCode extends SvmSpokeError>(error: unknown, transactionMessage: {
|
|
50
48
|
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.
|
|
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;
|
|
11
11
|
exports.getSvmSpokeErrorMessage = getSvmSpokeErrorMessage;
|
|
12
12
|
exports.isSvmSpokeError = isSvmSpokeError;
|
|
13
13
|
const kit_1 = require("@solana/kit");
|
|
@@ -48,15 +48,12 @@ 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
|
|
53
51
|
let svmSpokeErrorMessages;
|
|
54
52
|
if (process.env.NODE_ENV !== 'production') {
|
|
55
53
|
svmSpokeErrorMessages = {
|
|
56
54
|
[exports.SVM_SPOKE_ERROR__CANNOT_SET_CURRENT_TIME]: `Cannot set time if not in test mode!`,
|
|
57
55
|
[exports.SVM_SPOKE_ERROR__CAN_ONLY_CLOSE_FILL_STATUS_PDA_IF_FILL_DEADLINE_PASSED]: `The fill deadline has not passed!`,
|
|
58
56
|
[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!`,
|
|
60
57
|
[exports.SVM_SPOKE_ERROR__INVALID_A_T_A_CREATION_ACCOUNTS]: `Invalid remaining accounts for ATA creation!`,
|
|
61
58
|
[exports.SVM_SPOKE_ERROR__INVALID_CLAIM_INITIALIZER]: `Invalid claim initializer!`,
|
|
62
59
|
[exports.SVM_SPOKE_ERROR__INVALID_DELEGATE_PDA]: `Invalid delegate PDA!`,
|
package/dist/src/types/svm.d.ts
CHANGED
|
@@ -120,47 +120,3 @@ 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
|
-
"
|
|
1991
|
+
"Note: slow_fill_leaf, _root_bundle_id, and proof are optional parameters. If None for any of these is passed,",
|
|
1992
|
+
"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
|
-
"
|
|
2375
|
+
"Note: relay_data, repayment_chain_id, and repayment_address are optional parameters. If None for any of these",
|
|
2376
|
+
"is passed, the caller must load them via the instruction_params account."
|
|
2377
2377
|
];
|
|
2378
2378
|
"discriminator": [
|
|
2379
2379
|
100,
|
|
@@ -4618,11 +4618,6 @@ 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!";
|
|
4626
4621
|
}
|
|
4627
4622
|
];
|
|
4628
4623
|
"types": [
|