@yodlpay/tokenlists 0.8.37 → 0.8.39
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/abis-ts/YodlRouterV0.8.abi.d.ts +114 -0
- package/dist/index.d.ts +114 -0
- package/dist/tokenlists.cjs.development.js +114 -0
- package/dist/tokenlists.cjs.development.js.map +1 -1
- package/dist/tokenlists.cjs.production.min.js +1 -1
- package/dist/tokenlists.cjs.production.min.js.map +1 -1
- package/dist/tokenlists.esm.js +114 -0
- package/dist/tokenlists.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -22,6 +22,10 @@ export declare const yodlRouterAbiV08: readonly [{
|
|
|
22
22
|
}];
|
|
23
23
|
readonly name: "ECDSAInvalidSignatureS";
|
|
24
24
|
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
28
|
+
readonly type: "error";
|
|
25
29
|
}, {
|
|
26
30
|
readonly anonymous: false;
|
|
27
31
|
readonly inputs: readonly [{
|
|
@@ -658,6 +662,116 @@ export declare const yodlRouterAbiV08: readonly [{
|
|
|
658
662
|
}];
|
|
659
663
|
readonly stateMutability: "payable";
|
|
660
664
|
readonly type: "function";
|
|
665
|
+
}, {
|
|
666
|
+
readonly inputs: readonly [{
|
|
667
|
+
readonly components: readonly [{
|
|
668
|
+
readonly internalType: "address";
|
|
669
|
+
readonly name: "sender";
|
|
670
|
+
readonly type: "address";
|
|
671
|
+
}, {
|
|
672
|
+
readonly internalType: "address";
|
|
673
|
+
readonly name: "receiver";
|
|
674
|
+
readonly type: "address";
|
|
675
|
+
}, {
|
|
676
|
+
readonly internalType: "uint256";
|
|
677
|
+
readonly name: "amountIn";
|
|
678
|
+
readonly type: "uint256";
|
|
679
|
+
}, {
|
|
680
|
+
readonly internalType: "uint256";
|
|
681
|
+
readonly name: "amountOut";
|
|
682
|
+
readonly type: "uint256";
|
|
683
|
+
}, {
|
|
684
|
+
readonly internalType: "bytes32";
|
|
685
|
+
readonly name: "memo";
|
|
686
|
+
readonly type: "bytes32";
|
|
687
|
+
}, {
|
|
688
|
+
readonly internalType: "bytes";
|
|
689
|
+
readonly name: "path";
|
|
690
|
+
readonly type: "bytes";
|
|
691
|
+
}, {
|
|
692
|
+
readonly components: readonly [{
|
|
693
|
+
readonly internalType: "address";
|
|
694
|
+
readonly name: "feedAddress";
|
|
695
|
+
readonly type: "address";
|
|
696
|
+
}, {
|
|
697
|
+
readonly internalType: "int8";
|
|
698
|
+
readonly name: "feedType";
|
|
699
|
+
readonly type: "int8";
|
|
700
|
+
}, {
|
|
701
|
+
readonly internalType: "string";
|
|
702
|
+
readonly name: "currency";
|
|
703
|
+
readonly type: "string";
|
|
704
|
+
}, {
|
|
705
|
+
readonly internalType: "uint256";
|
|
706
|
+
readonly name: "amount";
|
|
707
|
+
readonly type: "uint256";
|
|
708
|
+
}, {
|
|
709
|
+
readonly internalType: "uint256";
|
|
710
|
+
readonly name: "deadline";
|
|
711
|
+
readonly type: "uint256";
|
|
712
|
+
}, {
|
|
713
|
+
readonly internalType: "bytes";
|
|
714
|
+
readonly name: "signature";
|
|
715
|
+
readonly type: "bytes";
|
|
716
|
+
}];
|
|
717
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
718
|
+
readonly name: "priceFeeds";
|
|
719
|
+
readonly type: "tuple[2]";
|
|
720
|
+
}, {
|
|
721
|
+
readonly internalType: "address";
|
|
722
|
+
readonly name: "extraFeeReceiver";
|
|
723
|
+
readonly type: "address";
|
|
724
|
+
}, {
|
|
725
|
+
readonly internalType: "uint256";
|
|
726
|
+
readonly name: "extraFeeBps";
|
|
727
|
+
readonly type: "uint256";
|
|
728
|
+
}, {
|
|
729
|
+
readonly internalType: "enum YodlUniswapRouter.SwapType";
|
|
730
|
+
readonly name: "swapType";
|
|
731
|
+
readonly type: "uint8";
|
|
732
|
+
}, {
|
|
733
|
+
readonly internalType: "uint256";
|
|
734
|
+
readonly name: "yd";
|
|
735
|
+
readonly type: "uint256";
|
|
736
|
+
}, {
|
|
737
|
+
readonly components: readonly [{
|
|
738
|
+
readonly internalType: "address";
|
|
739
|
+
readonly name: "guardAddress";
|
|
740
|
+
readonly type: "address";
|
|
741
|
+
}, {
|
|
742
|
+
readonly internalType: "bytes[]";
|
|
743
|
+
readonly name: "payload";
|
|
744
|
+
readonly type: "bytes[]";
|
|
745
|
+
}];
|
|
746
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
747
|
+
readonly name: "guards";
|
|
748
|
+
readonly type: "tuple[]";
|
|
749
|
+
}, {
|
|
750
|
+
readonly components: readonly [{
|
|
751
|
+
readonly internalType: "address";
|
|
752
|
+
readonly name: "webhookAddress";
|
|
753
|
+
readonly type: "address";
|
|
754
|
+
}, {
|
|
755
|
+
readonly internalType: "bytes[]";
|
|
756
|
+
readonly name: "payload";
|
|
757
|
+
readonly type: "bytes[]";
|
|
758
|
+
}];
|
|
759
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
760
|
+
readonly name: "webhooks";
|
|
761
|
+
readonly type: "tuple[]";
|
|
762
|
+
}];
|
|
763
|
+
readonly internalType: "struct YodlUniswapRouter.YodlUniswapParams";
|
|
764
|
+
readonly name: "params";
|
|
765
|
+
readonly type: "tuple";
|
|
766
|
+
}];
|
|
767
|
+
readonly name: "yodlWithPancake";
|
|
768
|
+
readonly outputs: readonly [{
|
|
769
|
+
readonly internalType: "uint256";
|
|
770
|
+
readonly name: "";
|
|
771
|
+
readonly type: "uint256";
|
|
772
|
+
}];
|
|
773
|
+
readonly stateMutability: "payable";
|
|
774
|
+
readonly type: "function";
|
|
661
775
|
}, {
|
|
662
776
|
readonly inputs: readonly [{
|
|
663
777
|
readonly components: readonly [{
|
package/dist/index.d.ts
CHANGED
|
@@ -3632,6 +3632,10 @@ export declare function getRouterAbi(version: AbiVersion): readonly [{
|
|
|
3632
3632
|
}];
|
|
3633
3633
|
readonly name: "ECDSAInvalidSignatureS";
|
|
3634
3634
|
readonly type: "error";
|
|
3635
|
+
}, {
|
|
3636
|
+
readonly inputs: readonly [];
|
|
3637
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
3638
|
+
readonly type: "error";
|
|
3635
3639
|
}, {
|
|
3636
3640
|
readonly anonymous: false;
|
|
3637
3641
|
readonly inputs: readonly [{
|
|
@@ -4268,6 +4272,116 @@ export declare function getRouterAbi(version: AbiVersion): readonly [{
|
|
|
4268
4272
|
}];
|
|
4269
4273
|
readonly stateMutability: "payable";
|
|
4270
4274
|
readonly type: "function";
|
|
4275
|
+
}, {
|
|
4276
|
+
readonly inputs: readonly [{
|
|
4277
|
+
readonly components: readonly [{
|
|
4278
|
+
readonly internalType: "address";
|
|
4279
|
+
readonly name: "sender";
|
|
4280
|
+
readonly type: "address";
|
|
4281
|
+
}, {
|
|
4282
|
+
readonly internalType: "address";
|
|
4283
|
+
readonly name: "receiver";
|
|
4284
|
+
readonly type: "address";
|
|
4285
|
+
}, {
|
|
4286
|
+
readonly internalType: "uint256";
|
|
4287
|
+
readonly name: "amountIn";
|
|
4288
|
+
readonly type: "uint256";
|
|
4289
|
+
}, {
|
|
4290
|
+
readonly internalType: "uint256";
|
|
4291
|
+
readonly name: "amountOut";
|
|
4292
|
+
readonly type: "uint256";
|
|
4293
|
+
}, {
|
|
4294
|
+
readonly internalType: "bytes32";
|
|
4295
|
+
readonly name: "memo";
|
|
4296
|
+
readonly type: "bytes32";
|
|
4297
|
+
}, {
|
|
4298
|
+
readonly internalType: "bytes";
|
|
4299
|
+
readonly name: "path";
|
|
4300
|
+
readonly type: "bytes";
|
|
4301
|
+
}, {
|
|
4302
|
+
readonly components: readonly [{
|
|
4303
|
+
readonly internalType: "address";
|
|
4304
|
+
readonly name: "feedAddress";
|
|
4305
|
+
readonly type: "address";
|
|
4306
|
+
}, {
|
|
4307
|
+
readonly internalType: "int8";
|
|
4308
|
+
readonly name: "feedType";
|
|
4309
|
+
readonly type: "int8";
|
|
4310
|
+
}, {
|
|
4311
|
+
readonly internalType: "string";
|
|
4312
|
+
readonly name: "currency";
|
|
4313
|
+
readonly type: "string";
|
|
4314
|
+
}, {
|
|
4315
|
+
readonly internalType: "uint256";
|
|
4316
|
+
readonly name: "amount";
|
|
4317
|
+
readonly type: "uint256";
|
|
4318
|
+
}, {
|
|
4319
|
+
readonly internalType: "uint256";
|
|
4320
|
+
readonly name: "deadline";
|
|
4321
|
+
readonly type: "uint256";
|
|
4322
|
+
}, {
|
|
4323
|
+
readonly internalType: "bytes";
|
|
4324
|
+
readonly name: "signature";
|
|
4325
|
+
readonly type: "bytes";
|
|
4326
|
+
}];
|
|
4327
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4328
|
+
readonly name: "priceFeeds";
|
|
4329
|
+
readonly type: "tuple[2]";
|
|
4330
|
+
}, {
|
|
4331
|
+
readonly internalType: "address";
|
|
4332
|
+
readonly name: "extraFeeReceiver";
|
|
4333
|
+
readonly type: "address";
|
|
4334
|
+
}, {
|
|
4335
|
+
readonly internalType: "uint256";
|
|
4336
|
+
readonly name: "extraFeeBps";
|
|
4337
|
+
readonly type: "uint256";
|
|
4338
|
+
}, {
|
|
4339
|
+
readonly internalType: "enum YodlUniswapRouter.SwapType";
|
|
4340
|
+
readonly name: "swapType";
|
|
4341
|
+
readonly type: "uint8";
|
|
4342
|
+
}, {
|
|
4343
|
+
readonly internalType: "uint256";
|
|
4344
|
+
readonly name: "yd";
|
|
4345
|
+
readonly type: "uint256";
|
|
4346
|
+
}, {
|
|
4347
|
+
readonly components: readonly [{
|
|
4348
|
+
readonly internalType: "address";
|
|
4349
|
+
readonly name: "guardAddress";
|
|
4350
|
+
readonly type: "address";
|
|
4351
|
+
}, {
|
|
4352
|
+
readonly internalType: "bytes[]";
|
|
4353
|
+
readonly name: "payload";
|
|
4354
|
+
readonly type: "bytes[]";
|
|
4355
|
+
}];
|
|
4356
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
4357
|
+
readonly name: "guards";
|
|
4358
|
+
readonly type: "tuple[]";
|
|
4359
|
+
}, {
|
|
4360
|
+
readonly components: readonly [{
|
|
4361
|
+
readonly internalType: "address";
|
|
4362
|
+
readonly name: "webhookAddress";
|
|
4363
|
+
readonly type: "address";
|
|
4364
|
+
}, {
|
|
4365
|
+
readonly internalType: "bytes[]";
|
|
4366
|
+
readonly name: "payload";
|
|
4367
|
+
readonly type: "bytes[]";
|
|
4368
|
+
}];
|
|
4369
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
4370
|
+
readonly name: "webhooks";
|
|
4371
|
+
readonly type: "tuple[]";
|
|
4372
|
+
}];
|
|
4373
|
+
readonly internalType: "struct YodlUniswapRouter.YodlUniswapParams";
|
|
4374
|
+
readonly name: "params";
|
|
4375
|
+
readonly type: "tuple";
|
|
4376
|
+
}];
|
|
4377
|
+
readonly name: "yodlWithPancake";
|
|
4378
|
+
readonly outputs: readonly [{
|
|
4379
|
+
readonly internalType: "uint256";
|
|
4380
|
+
readonly name: "";
|
|
4381
|
+
readonly type: "uint256";
|
|
4382
|
+
}];
|
|
4383
|
+
readonly stateMutability: "payable";
|
|
4384
|
+
readonly type: "function";
|
|
4271
4385
|
}, {
|
|
4272
4386
|
readonly inputs: readonly [{
|
|
4273
4387
|
readonly components: readonly [{
|
|
@@ -4148,6 +4148,10 @@ var yodlRouterAbiV08 = [{
|
|
|
4148
4148
|
}],
|
|
4149
4149
|
name: 'ECDSAInvalidSignatureS',
|
|
4150
4150
|
type: 'error'
|
|
4151
|
+
}, {
|
|
4152
|
+
inputs: [],
|
|
4153
|
+
name: 'ReentrancyGuardReentrantCall',
|
|
4154
|
+
type: 'error'
|
|
4151
4155
|
}, {
|
|
4152
4156
|
anonymous: false,
|
|
4153
4157
|
inputs: [{
|
|
@@ -4784,6 +4788,116 @@ var yodlRouterAbiV08 = [{
|
|
|
4784
4788
|
}],
|
|
4785
4789
|
stateMutability: 'payable',
|
|
4786
4790
|
type: 'function'
|
|
4791
|
+
}, {
|
|
4792
|
+
inputs: [{
|
|
4793
|
+
components: [{
|
|
4794
|
+
internalType: 'address',
|
|
4795
|
+
name: 'sender',
|
|
4796
|
+
type: 'address'
|
|
4797
|
+
}, {
|
|
4798
|
+
internalType: 'address',
|
|
4799
|
+
name: 'receiver',
|
|
4800
|
+
type: 'address'
|
|
4801
|
+
}, {
|
|
4802
|
+
internalType: 'uint256',
|
|
4803
|
+
name: 'amountIn',
|
|
4804
|
+
type: 'uint256'
|
|
4805
|
+
}, {
|
|
4806
|
+
internalType: 'uint256',
|
|
4807
|
+
name: 'amountOut',
|
|
4808
|
+
type: 'uint256'
|
|
4809
|
+
}, {
|
|
4810
|
+
internalType: 'bytes32',
|
|
4811
|
+
name: 'memo',
|
|
4812
|
+
type: 'bytes32'
|
|
4813
|
+
}, {
|
|
4814
|
+
internalType: 'bytes',
|
|
4815
|
+
name: 'path',
|
|
4816
|
+
type: 'bytes'
|
|
4817
|
+
}, {
|
|
4818
|
+
components: [{
|
|
4819
|
+
internalType: 'address',
|
|
4820
|
+
name: 'feedAddress',
|
|
4821
|
+
type: 'address'
|
|
4822
|
+
}, {
|
|
4823
|
+
internalType: 'int8',
|
|
4824
|
+
name: 'feedType',
|
|
4825
|
+
type: 'int8'
|
|
4826
|
+
}, {
|
|
4827
|
+
internalType: 'string',
|
|
4828
|
+
name: 'currency',
|
|
4829
|
+
type: 'string'
|
|
4830
|
+
}, {
|
|
4831
|
+
internalType: 'uint256',
|
|
4832
|
+
name: 'amount',
|
|
4833
|
+
type: 'uint256'
|
|
4834
|
+
}, {
|
|
4835
|
+
internalType: 'uint256',
|
|
4836
|
+
name: 'deadline',
|
|
4837
|
+
type: 'uint256'
|
|
4838
|
+
}, {
|
|
4839
|
+
internalType: 'bytes',
|
|
4840
|
+
name: 'signature',
|
|
4841
|
+
type: 'bytes'
|
|
4842
|
+
}],
|
|
4843
|
+
internalType: 'struct AbstractYodlRouter.PriceFeed[2]',
|
|
4844
|
+
name: 'priceFeeds',
|
|
4845
|
+
type: 'tuple[2]'
|
|
4846
|
+
}, {
|
|
4847
|
+
internalType: 'address',
|
|
4848
|
+
name: 'extraFeeReceiver',
|
|
4849
|
+
type: 'address'
|
|
4850
|
+
}, {
|
|
4851
|
+
internalType: 'uint256',
|
|
4852
|
+
name: 'extraFeeBps',
|
|
4853
|
+
type: 'uint256'
|
|
4854
|
+
}, {
|
|
4855
|
+
internalType: 'enum YodlUniswapRouter.SwapType',
|
|
4856
|
+
name: 'swapType',
|
|
4857
|
+
type: 'uint8'
|
|
4858
|
+
}, {
|
|
4859
|
+
internalType: 'uint256',
|
|
4860
|
+
name: 'yd',
|
|
4861
|
+
type: 'uint256'
|
|
4862
|
+
}, {
|
|
4863
|
+
components: [{
|
|
4864
|
+
internalType: 'address',
|
|
4865
|
+
name: 'guardAddress',
|
|
4866
|
+
type: 'address'
|
|
4867
|
+
}, {
|
|
4868
|
+
internalType: 'bytes[]',
|
|
4869
|
+
name: 'payload',
|
|
4870
|
+
type: 'bytes[]'
|
|
4871
|
+
}],
|
|
4872
|
+
internalType: 'struct AbstractYodlRouter.Guard[]',
|
|
4873
|
+
name: 'guards',
|
|
4874
|
+
type: 'tuple[]'
|
|
4875
|
+
}, {
|
|
4876
|
+
components: [{
|
|
4877
|
+
internalType: 'address',
|
|
4878
|
+
name: 'webhookAddress',
|
|
4879
|
+
type: 'address'
|
|
4880
|
+
}, {
|
|
4881
|
+
internalType: 'bytes[]',
|
|
4882
|
+
name: 'payload',
|
|
4883
|
+
type: 'bytes[]'
|
|
4884
|
+
}],
|
|
4885
|
+
internalType: 'struct AbstractYodlRouter.Webhook[]',
|
|
4886
|
+
name: 'webhooks',
|
|
4887
|
+
type: 'tuple[]'
|
|
4888
|
+
}],
|
|
4889
|
+
internalType: 'struct YodlUniswapRouter.YodlUniswapParams',
|
|
4890
|
+
name: 'params',
|
|
4891
|
+
type: 'tuple'
|
|
4892
|
+
}],
|
|
4893
|
+
name: 'yodlWithPancake',
|
|
4894
|
+
outputs: [{
|
|
4895
|
+
internalType: 'uint256',
|
|
4896
|
+
name: '',
|
|
4897
|
+
type: 'uint256'
|
|
4898
|
+
}],
|
|
4899
|
+
stateMutability: 'payable',
|
|
4900
|
+
type: 'function'
|
|
4787
4901
|
}, {
|
|
4788
4902
|
inputs: [{
|
|
4789
4903
|
components: [{
|