@yodlpay/tokenlists 0.8.40 → 0.9.0-alpha.10
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.9.abi.d.ts +513 -389
- package/dist/chainlist-v1.json +6 -6
- package/dist/index.d.ts +513 -389
- package/dist/tokenlist-featured.json +1 -0
- package/dist/tokenlist-generated.json +1 -1
- package/dist/tokenlists.cjs.development.js +752 -617
- 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 +752 -617
- package/dist/tokenlists.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4594,982 +4594,1106 @@ export declare function getRouterAbi(version: AbiVersion): readonly [{
|
|
|
4594
4594
|
readonly stateMutability: "payable";
|
|
4595
4595
|
readonly type: "receive";
|
|
4596
4596
|
}] | readonly [{
|
|
4597
|
-
readonly inputs: readonly [];
|
|
4598
|
-
readonly stateMutability: "nonpayable";
|
|
4599
4597
|
readonly type: "constructor";
|
|
4600
|
-
}, {
|
|
4601
4598
|
readonly inputs: readonly [];
|
|
4602
|
-
readonly
|
|
4603
|
-
readonly type: "error";
|
|
4604
|
-
}, {
|
|
4605
|
-
readonly inputs: readonly [{
|
|
4606
|
-
readonly internalType: "uint256";
|
|
4607
|
-
readonly name: "length";
|
|
4608
|
-
readonly type: "uint256";
|
|
4609
|
-
}];
|
|
4610
|
-
readonly name: "ECDSAInvalidSignatureLength";
|
|
4611
|
-
readonly type: "error";
|
|
4599
|
+
readonly stateMutability: "nonpayable";
|
|
4612
4600
|
}, {
|
|
4613
|
-
readonly
|
|
4614
|
-
|
|
4615
|
-
readonly name: "s";
|
|
4616
|
-
readonly type: "bytes32";
|
|
4617
|
-
}];
|
|
4618
|
-
readonly name: "ECDSAInvalidSignatureS";
|
|
4619
|
-
readonly type: "error";
|
|
4601
|
+
readonly type: "receive";
|
|
4602
|
+
readonly stateMutability: "payable";
|
|
4620
4603
|
}, {
|
|
4604
|
+
readonly type: "function";
|
|
4605
|
+
readonly name: "CHAINLINK_FEED";
|
|
4621
4606
|
readonly inputs: readonly [];
|
|
4622
|
-
readonly
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
readonly inputs: readonly [{
|
|
4627
|
-
readonly indexed: true;
|
|
4628
|
-
readonly internalType: "address";
|
|
4629
|
-
readonly name: "priceFeed0";
|
|
4630
|
-
readonly type: "address";
|
|
4631
|
-
}, {
|
|
4632
|
-
readonly indexed: true;
|
|
4633
|
-
readonly internalType: "address";
|
|
4634
|
-
readonly name: "priceFeed1";
|
|
4635
|
-
readonly type: "address";
|
|
4636
|
-
}, {
|
|
4637
|
-
readonly indexed: false;
|
|
4638
|
-
readonly internalType: "int256";
|
|
4639
|
-
readonly name: "exchangeRate0";
|
|
4640
|
-
readonly type: "int256";
|
|
4641
|
-
}, {
|
|
4642
|
-
readonly indexed: false;
|
|
4643
|
-
readonly internalType: "int256";
|
|
4644
|
-
readonly name: "exchangeRate1";
|
|
4645
|
-
readonly type: "int256";
|
|
4646
|
-
}];
|
|
4647
|
-
readonly name: "Convert";
|
|
4648
|
-
readonly type: "event";
|
|
4649
|
-
}, {
|
|
4650
|
-
readonly anonymous: false;
|
|
4651
|
-
readonly inputs: readonly [{
|
|
4652
|
-
readonly indexed: true;
|
|
4653
|
-
readonly internalType: "string";
|
|
4654
|
-
readonly name: "currency0";
|
|
4655
|
-
readonly type: "string";
|
|
4656
|
-
}, {
|
|
4657
|
-
readonly indexed: true;
|
|
4658
|
-
readonly internalType: "address";
|
|
4659
|
-
readonly name: "priceFeed1";
|
|
4660
|
-
readonly type: "address";
|
|
4661
|
-
}, {
|
|
4662
|
-
readonly indexed: false;
|
|
4663
|
-
readonly internalType: "int256";
|
|
4664
|
-
readonly name: "exchangeRate0";
|
|
4665
|
-
readonly type: "int256";
|
|
4666
|
-
}, {
|
|
4667
|
-
readonly indexed: false;
|
|
4668
|
-
readonly internalType: "int256";
|
|
4669
|
-
readonly name: "exchangeRate1";
|
|
4670
|
-
readonly type: "int256";
|
|
4671
|
-
}];
|
|
4672
|
-
readonly name: "ConvertWithExternalRate";
|
|
4673
|
-
readonly type: "event";
|
|
4674
|
-
}, {
|
|
4675
|
-
readonly anonymous: false;
|
|
4676
|
-
readonly inputs: readonly [{
|
|
4677
|
-
readonly indexed: true;
|
|
4678
|
-
readonly internalType: "address";
|
|
4679
|
-
readonly name: "sender";
|
|
4680
|
-
readonly type: "address";
|
|
4681
|
-
}, {
|
|
4682
|
-
readonly indexed: true;
|
|
4683
|
-
readonly internalType: "address";
|
|
4684
|
-
readonly name: "receiver";
|
|
4685
|
-
readonly type: "address";
|
|
4686
|
-
}, {
|
|
4687
|
-
readonly indexed: false;
|
|
4688
|
-
readonly internalType: "address";
|
|
4689
|
-
readonly name: "token";
|
|
4690
|
-
readonly type: "address";
|
|
4691
|
-
}, {
|
|
4692
|
-
readonly indexed: false;
|
|
4693
|
-
readonly internalType: "uint256";
|
|
4694
|
-
readonly name: "amount";
|
|
4695
|
-
readonly type: "uint256";
|
|
4696
|
-
}, {
|
|
4697
|
-
readonly indexed: false;
|
|
4698
|
-
readonly internalType: "uint256";
|
|
4699
|
-
readonly name: "fees";
|
|
4700
|
-
readonly type: "uint256";
|
|
4701
|
-
}, {
|
|
4702
|
-
readonly indexed: false;
|
|
4703
|
-
readonly internalType: "bytes32";
|
|
4704
|
-
readonly name: "memo";
|
|
4705
|
-
readonly type: "bytes32";
|
|
4706
|
-
}];
|
|
4707
|
-
readonly name: "Yodl";
|
|
4708
|
-
readonly type: "event";
|
|
4709
|
-
}, {
|
|
4710
|
-
readonly anonymous: false;
|
|
4711
|
-
readonly inputs: readonly [{
|
|
4712
|
-
readonly indexed: true;
|
|
4713
|
-
readonly internalType: "address";
|
|
4714
|
-
readonly name: "sender";
|
|
4715
|
-
readonly type: "address";
|
|
4716
|
-
}, {
|
|
4717
|
-
readonly indexed: true;
|
|
4718
|
-
readonly internalType: "address";
|
|
4719
|
-
readonly name: "receiver";
|
|
4720
|
-
readonly type: "address";
|
|
4721
|
-
}, {
|
|
4722
|
-
readonly indexed: true;
|
|
4723
|
-
readonly internalType: "uint256";
|
|
4724
|
-
readonly name: "amount";
|
|
4725
|
-
readonly type: "uint256";
|
|
4607
|
+
readonly outputs: readonly [{
|
|
4608
|
+
readonly name: "";
|
|
4609
|
+
readonly type: "int8";
|
|
4610
|
+
readonly internalType: "int8";
|
|
4726
4611
|
}];
|
|
4727
|
-
readonly
|
|
4728
|
-
readonly type: "event";
|
|
4612
|
+
readonly stateMutability: "view";
|
|
4729
4613
|
}, {
|
|
4614
|
+
readonly type: "function";
|
|
4615
|
+
readonly name: "EXTERNAL_FEED";
|
|
4730
4616
|
readonly inputs: readonly [];
|
|
4731
|
-
readonly name: "CHAINLINK_FEED";
|
|
4732
4617
|
readonly outputs: readonly [{
|
|
4733
|
-
readonly internalType: "int8";
|
|
4734
4618
|
readonly name: "";
|
|
4735
4619
|
readonly type: "int8";
|
|
4620
|
+
readonly internalType: "int8";
|
|
4736
4621
|
}];
|
|
4737
4622
|
readonly stateMutability: "view";
|
|
4738
|
-
readonly type: "function";
|
|
4739
4623
|
}, {
|
|
4624
|
+
readonly type: "function";
|
|
4625
|
+
readonly name: "MAX_CONVENIENCE_FEE_BPS";
|
|
4740
4626
|
readonly inputs: readonly [];
|
|
4741
|
-
readonly name: "EXTERNAL_FEED";
|
|
4742
4627
|
readonly outputs: readonly [{
|
|
4743
|
-
readonly internalType: "int8";
|
|
4744
4628
|
readonly name: "";
|
|
4745
|
-
readonly type: "
|
|
4629
|
+
readonly type: "uint256";
|
|
4630
|
+
readonly internalType: "uint256";
|
|
4746
4631
|
}];
|
|
4747
4632
|
readonly stateMutability: "view";
|
|
4748
|
-
readonly type: "function";
|
|
4749
4633
|
}, {
|
|
4750
|
-
readonly
|
|
4634
|
+
readonly type: "function";
|
|
4751
4635
|
readonly name: "MAX_EXTRA_FEE_BPS";
|
|
4636
|
+
readonly inputs: readonly [];
|
|
4752
4637
|
readonly outputs: readonly [{
|
|
4753
|
-
readonly internalType: "uint256";
|
|
4754
4638
|
readonly name: "";
|
|
4755
4639
|
readonly type: "uint256";
|
|
4640
|
+
readonly internalType: "uint256";
|
|
4756
4641
|
}];
|
|
4757
4642
|
readonly stateMutability: "view";
|
|
4758
|
-
readonly type: "function";
|
|
4759
4643
|
}, {
|
|
4760
|
-
readonly
|
|
4644
|
+
readonly type: "function";
|
|
4761
4645
|
readonly name: "NATIVE_TOKEN";
|
|
4646
|
+
readonly inputs: readonly [];
|
|
4762
4647
|
readonly outputs: readonly [{
|
|
4763
|
-
readonly internalType: "address";
|
|
4764
4648
|
readonly name: "";
|
|
4765
4649
|
readonly type: "address";
|
|
4650
|
+
readonly internalType: "address";
|
|
4766
4651
|
}];
|
|
4767
4652
|
readonly stateMutability: "view";
|
|
4768
|
-
readonly type: "function";
|
|
4769
4653
|
}, {
|
|
4770
|
-
readonly
|
|
4654
|
+
readonly type: "function";
|
|
4771
4655
|
readonly name: "NULL_FEED";
|
|
4656
|
+
readonly inputs: readonly [];
|
|
4772
4657
|
readonly outputs: readonly [{
|
|
4773
|
-
readonly internalType: "int8";
|
|
4774
4658
|
readonly name: "";
|
|
4775
4659
|
readonly type: "int8";
|
|
4660
|
+
readonly internalType: "int8";
|
|
4776
4661
|
}];
|
|
4777
4662
|
readonly stateMutability: "view";
|
|
4778
|
-
readonly type: "function";
|
|
4779
4663
|
}, {
|
|
4780
|
-
readonly
|
|
4664
|
+
readonly type: "function";
|
|
4781
4665
|
readonly name: "RATE_VERIFIER";
|
|
4666
|
+
readonly inputs: readonly [];
|
|
4782
4667
|
readonly outputs: readonly [{
|
|
4783
|
-
readonly internalType: "address";
|
|
4784
4668
|
readonly name: "";
|
|
4785
4669
|
readonly type: "address";
|
|
4670
|
+
readonly internalType: "address";
|
|
4786
4671
|
}];
|
|
4787
4672
|
readonly stateMutability: "view";
|
|
4788
|
-
readonly type: "function";
|
|
4789
4673
|
}, {
|
|
4790
|
-
readonly
|
|
4674
|
+
readonly type: "function";
|
|
4791
4675
|
readonly name: "acrossSpokePool";
|
|
4676
|
+
readonly inputs: readonly [];
|
|
4792
4677
|
readonly outputs: readonly [{
|
|
4793
|
-
readonly internalType: "contract V3SpokePoolInterface";
|
|
4794
4678
|
readonly name: "";
|
|
4795
4679
|
readonly type: "address";
|
|
4680
|
+
readonly internalType: "contract V3SpokePoolInterface";
|
|
4796
4681
|
}];
|
|
4797
4682
|
readonly stateMutability: "view";
|
|
4798
|
-
readonly type: "function";
|
|
4799
4683
|
}, {
|
|
4684
|
+
readonly type: "function";
|
|
4685
|
+
readonly name: "calculateFee";
|
|
4800
4686
|
readonly inputs: readonly [{
|
|
4801
|
-
readonly internalType: "uint256";
|
|
4802
4687
|
readonly name: "amount";
|
|
4803
4688
|
readonly type: "uint256";
|
|
4804
|
-
}, {
|
|
4805
4689
|
readonly internalType: "uint256";
|
|
4690
|
+
}, {
|
|
4806
4691
|
readonly name: "feeBps";
|
|
4807
4692
|
readonly type: "uint256";
|
|
4693
|
+
readonly internalType: "uint256";
|
|
4808
4694
|
}];
|
|
4809
|
-
readonly name: "calculateFee";
|
|
4810
4695
|
readonly outputs: readonly [{
|
|
4811
|
-
readonly internalType: "uint256";
|
|
4812
4696
|
readonly name: "";
|
|
4813
4697
|
readonly type: "uint256";
|
|
4698
|
+
readonly internalType: "uint256";
|
|
4814
4699
|
}];
|
|
4815
4700
|
readonly stateMutability: "pure";
|
|
4816
|
-
readonly type: "function";
|
|
4817
4701
|
}, {
|
|
4818
|
-
readonly
|
|
4702
|
+
readonly type: "function";
|
|
4819
4703
|
readonly name: "curveRouter";
|
|
4704
|
+
readonly inputs: readonly [];
|
|
4820
4705
|
readonly outputs: readonly [{
|
|
4821
|
-
readonly internalType: "contract ICurveRouterNG";
|
|
4822
4706
|
readonly name: "";
|
|
4823
4707
|
readonly type: "address";
|
|
4708
|
+
readonly internalType: "contract ICurveRouterNG";
|
|
4824
4709
|
}];
|
|
4825
4710
|
readonly stateMutability: "view";
|
|
4826
|
-
readonly type: "function";
|
|
4827
4711
|
}, {
|
|
4712
|
+
readonly type: "function";
|
|
4713
|
+
readonly name: "emitConversionEvent";
|
|
4828
4714
|
readonly inputs: readonly [{
|
|
4715
|
+
readonly name: "priceFeeds";
|
|
4716
|
+
readonly type: "tuple[2]";
|
|
4717
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4829
4718
|
readonly components: readonly [{
|
|
4830
|
-
readonly internalType: "address";
|
|
4831
4719
|
readonly name: "feedAddress";
|
|
4832
4720
|
readonly type: "address";
|
|
4721
|
+
readonly internalType: "address";
|
|
4833
4722
|
}, {
|
|
4834
|
-
readonly internalType: "int8";
|
|
4835
4723
|
readonly name: "feedType";
|
|
4836
4724
|
readonly type: "int8";
|
|
4725
|
+
readonly internalType: "int8";
|
|
4837
4726
|
}, {
|
|
4838
|
-
readonly internalType: "string";
|
|
4839
4727
|
readonly name: "currency";
|
|
4840
4728
|
readonly type: "string";
|
|
4729
|
+
readonly internalType: "string";
|
|
4841
4730
|
}, {
|
|
4842
|
-
readonly internalType: "uint256";
|
|
4843
4731
|
readonly name: "amount";
|
|
4844
4732
|
readonly type: "uint256";
|
|
4845
|
-
}, {
|
|
4846
4733
|
readonly internalType: "uint256";
|
|
4734
|
+
}, {
|
|
4847
4735
|
readonly name: "deadline";
|
|
4848
4736
|
readonly type: "uint256";
|
|
4737
|
+
readonly internalType: "uint256";
|
|
4849
4738
|
}, {
|
|
4850
|
-
readonly internalType: "bytes";
|
|
4851
4739
|
readonly name: "signature";
|
|
4852
4740
|
readonly type: "bytes";
|
|
4741
|
+
readonly internalType: "bytes";
|
|
4853
4742
|
}];
|
|
4854
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4855
|
-
readonly name: "priceFeeds";
|
|
4856
|
-
readonly type: "tuple[2]";
|
|
4857
4743
|
}, {
|
|
4858
|
-
readonly internalType: "int256[2]";
|
|
4859
4744
|
readonly name: "prices";
|
|
4860
4745
|
readonly type: "int256[2]";
|
|
4746
|
+
readonly internalType: "int256[2]";
|
|
4861
4747
|
}];
|
|
4862
|
-
readonly name: "emitConversionEvent";
|
|
4863
4748
|
readonly outputs: readonly [];
|
|
4864
4749
|
readonly stateMutability: "nonpayable";
|
|
4865
|
-
readonly type: "function";
|
|
4866
4750
|
}, {
|
|
4751
|
+
readonly type: "function";
|
|
4752
|
+
readonly name: "exchangeRate";
|
|
4867
4753
|
readonly inputs: readonly [{
|
|
4754
|
+
readonly name: "priceFeeds";
|
|
4755
|
+
readonly type: "tuple[2]";
|
|
4756
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4868
4757
|
readonly components: readonly [{
|
|
4869
|
-
readonly internalType: "address";
|
|
4870
4758
|
readonly name: "feedAddress";
|
|
4871
4759
|
readonly type: "address";
|
|
4760
|
+
readonly internalType: "address";
|
|
4872
4761
|
}, {
|
|
4873
|
-
readonly internalType: "int8";
|
|
4874
4762
|
readonly name: "feedType";
|
|
4875
4763
|
readonly type: "int8";
|
|
4764
|
+
readonly internalType: "int8";
|
|
4876
4765
|
}, {
|
|
4877
|
-
readonly internalType: "string";
|
|
4878
4766
|
readonly name: "currency";
|
|
4879
4767
|
readonly type: "string";
|
|
4768
|
+
readonly internalType: "string";
|
|
4880
4769
|
}, {
|
|
4881
|
-
readonly internalType: "uint256";
|
|
4882
4770
|
readonly name: "amount";
|
|
4883
4771
|
readonly type: "uint256";
|
|
4884
|
-
}, {
|
|
4885
4772
|
readonly internalType: "uint256";
|
|
4773
|
+
}, {
|
|
4886
4774
|
readonly name: "deadline";
|
|
4887
4775
|
readonly type: "uint256";
|
|
4776
|
+
readonly internalType: "uint256";
|
|
4888
4777
|
}, {
|
|
4889
|
-
readonly internalType: "bytes";
|
|
4890
4778
|
readonly name: "signature";
|
|
4891
4779
|
readonly type: "bytes";
|
|
4780
|
+
readonly internalType: "bytes";
|
|
4892
4781
|
}];
|
|
4893
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
4894
|
-
readonly name: "priceFeeds";
|
|
4895
|
-
readonly type: "tuple[2]";
|
|
4896
4782
|
}, {
|
|
4897
|
-
readonly internalType: "uint256";
|
|
4898
4783
|
readonly name: "amount";
|
|
4899
4784
|
readonly type: "uint256";
|
|
4785
|
+
readonly internalType: "uint256";
|
|
4900
4786
|
}];
|
|
4901
|
-
readonly name: "exchangeRate";
|
|
4902
4787
|
readonly outputs: readonly [{
|
|
4903
|
-
readonly internalType: "uint256";
|
|
4904
4788
|
readonly name: "converted";
|
|
4905
4789
|
readonly type: "uint256";
|
|
4790
|
+
readonly internalType: "uint256";
|
|
4906
4791
|
}, {
|
|
4907
|
-
readonly internalType: "address[2]";
|
|
4908
4792
|
readonly name: "priceFeedsUsed";
|
|
4909
4793
|
readonly type: "address[2]";
|
|
4794
|
+
readonly internalType: "address[2]";
|
|
4910
4795
|
}, {
|
|
4911
|
-
readonly internalType: "int256[2]";
|
|
4912
4796
|
readonly name: "prices";
|
|
4913
4797
|
readonly type: "int256[2]";
|
|
4798
|
+
readonly internalType: "int256[2]";
|
|
4914
4799
|
}];
|
|
4915
4800
|
readonly stateMutability: "view";
|
|
4916
|
-
readonly type: "function";
|
|
4917
4801
|
}, {
|
|
4802
|
+
readonly type: "function";
|
|
4803
|
+
readonly name: "sweep";
|
|
4918
4804
|
readonly inputs: readonly [{
|
|
4919
|
-
readonly internalType: "address";
|
|
4920
4805
|
readonly name: "token";
|
|
4921
4806
|
readonly type: "address";
|
|
4807
|
+
readonly internalType: "address";
|
|
4922
4808
|
}];
|
|
4923
|
-
readonly name: "sweep";
|
|
4924
4809
|
readonly outputs: readonly [];
|
|
4925
4810
|
readonly stateMutability: "nonpayable";
|
|
4926
|
-
readonly type: "function";
|
|
4927
4811
|
}, {
|
|
4928
|
-
readonly
|
|
4812
|
+
readonly type: "function";
|
|
4929
4813
|
readonly name: "uniswapRouter";
|
|
4814
|
+
readonly inputs: readonly [];
|
|
4930
4815
|
readonly outputs: readonly [{
|
|
4931
|
-
readonly internalType: "contract ISwapRouter02";
|
|
4932
4816
|
readonly name: "";
|
|
4933
4817
|
readonly type: "address";
|
|
4818
|
+
readonly internalType: "contract ISwapRouter02";
|
|
4934
4819
|
}];
|
|
4935
4820
|
readonly stateMutability: "view";
|
|
4936
|
-
readonly type: "function";
|
|
4937
4821
|
}, {
|
|
4822
|
+
readonly type: "function";
|
|
4823
|
+
readonly name: "verifyRateSignature";
|
|
4938
4824
|
readonly inputs: readonly [{
|
|
4825
|
+
readonly name: "priceFeed";
|
|
4826
|
+
readonly type: "tuple";
|
|
4827
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed";
|
|
4939
4828
|
readonly components: readonly [{
|
|
4940
|
-
readonly internalType: "address";
|
|
4941
4829
|
readonly name: "feedAddress";
|
|
4942
4830
|
readonly type: "address";
|
|
4831
|
+
readonly internalType: "address";
|
|
4943
4832
|
}, {
|
|
4944
|
-
readonly internalType: "int8";
|
|
4945
4833
|
readonly name: "feedType";
|
|
4946
4834
|
readonly type: "int8";
|
|
4835
|
+
readonly internalType: "int8";
|
|
4947
4836
|
}, {
|
|
4948
|
-
readonly internalType: "string";
|
|
4949
4837
|
readonly name: "currency";
|
|
4950
4838
|
readonly type: "string";
|
|
4839
|
+
readonly internalType: "string";
|
|
4951
4840
|
}, {
|
|
4952
|
-
readonly internalType: "uint256";
|
|
4953
4841
|
readonly name: "amount";
|
|
4954
4842
|
readonly type: "uint256";
|
|
4955
|
-
}, {
|
|
4956
4843
|
readonly internalType: "uint256";
|
|
4844
|
+
}, {
|
|
4957
4845
|
readonly name: "deadline";
|
|
4958
4846
|
readonly type: "uint256";
|
|
4847
|
+
readonly internalType: "uint256";
|
|
4959
4848
|
}, {
|
|
4960
|
-
readonly internalType: "bytes";
|
|
4961
4849
|
readonly name: "signature";
|
|
4962
4850
|
readonly type: "bytes";
|
|
4851
|
+
readonly internalType: "bytes";
|
|
4963
4852
|
}];
|
|
4964
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed";
|
|
4965
|
-
readonly name: "priceFeed";
|
|
4966
|
-
readonly type: "tuple";
|
|
4967
4853
|
}];
|
|
4968
|
-
readonly name: "verifyRateSignature";
|
|
4969
4854
|
readonly outputs: readonly [{
|
|
4970
|
-
readonly internalType: "bool";
|
|
4971
4855
|
readonly name: "";
|
|
4972
4856
|
readonly type: "bool";
|
|
4857
|
+
readonly internalType: "bool";
|
|
4973
4858
|
}];
|
|
4974
4859
|
readonly stateMutability: "view";
|
|
4975
|
-
readonly type: "function";
|
|
4976
4860
|
}, {
|
|
4977
|
-
readonly
|
|
4861
|
+
readonly type: "function";
|
|
4978
4862
|
readonly name: "version";
|
|
4863
|
+
readonly inputs: readonly [];
|
|
4979
4864
|
readonly outputs: readonly [{
|
|
4980
|
-
readonly internalType: "string";
|
|
4981
4865
|
readonly name: "";
|
|
4982
4866
|
readonly type: "string";
|
|
4867
|
+
readonly internalType: "string";
|
|
4983
4868
|
}];
|
|
4984
4869
|
readonly stateMutability: "view";
|
|
4985
|
-
readonly type: "function";
|
|
4986
4870
|
}, {
|
|
4987
|
-
readonly
|
|
4871
|
+
readonly type: "function";
|
|
4988
4872
|
readonly name: "wrappedNativeToken";
|
|
4873
|
+
readonly inputs: readonly [];
|
|
4989
4874
|
readonly outputs: readonly [{
|
|
4990
|
-
readonly internalType: "contract IWETH9";
|
|
4991
4875
|
readonly name: "";
|
|
4992
4876
|
readonly type: "address";
|
|
4877
|
+
readonly internalType: "contract IWETH9";
|
|
4993
4878
|
}];
|
|
4994
4879
|
readonly stateMutability: "view";
|
|
4995
|
-
readonly type: "function";
|
|
4996
4880
|
}, {
|
|
4997
|
-
readonly
|
|
4881
|
+
readonly type: "function";
|
|
4998
4882
|
readonly name: "yodlFeeBps";
|
|
4883
|
+
readonly inputs: readonly [];
|
|
4999
4884
|
readonly outputs: readonly [{
|
|
5000
|
-
readonly internalType: "uint256";
|
|
5001
4885
|
readonly name: "";
|
|
5002
4886
|
readonly type: "uint256";
|
|
4887
|
+
readonly internalType: "uint256";
|
|
5003
4888
|
}];
|
|
5004
4889
|
readonly stateMutability: "view";
|
|
5005
|
-
readonly type: "function";
|
|
5006
4890
|
}, {
|
|
5007
|
-
readonly
|
|
4891
|
+
readonly type: "function";
|
|
5008
4892
|
readonly name: "yodlFeeTreasury";
|
|
4893
|
+
readonly inputs: readonly [];
|
|
5009
4894
|
readonly outputs: readonly [{
|
|
5010
|
-
readonly internalType: "address";
|
|
5011
4895
|
readonly name: "";
|
|
5012
4896
|
readonly type: "address";
|
|
4897
|
+
readonly internalType: "address";
|
|
5013
4898
|
}];
|
|
5014
4899
|
readonly stateMutability: "view";
|
|
5015
|
-
readonly type: "function";
|
|
5016
4900
|
}, {
|
|
4901
|
+
readonly type: "function";
|
|
4902
|
+
readonly name: "yodlWithAcross";
|
|
5017
4903
|
readonly inputs: readonly [{
|
|
4904
|
+
readonly name: "params";
|
|
4905
|
+
readonly type: "tuple";
|
|
4906
|
+
readonly internalType: "struct YodlAcrossRouter.YodlAcrossParams";
|
|
5018
4907
|
readonly components: readonly [{
|
|
5019
|
-
readonly internalType: "bytes32";
|
|
5020
4908
|
readonly name: "memo";
|
|
5021
4909
|
readonly type: "bytes32";
|
|
4910
|
+
readonly internalType: "bytes32";
|
|
5022
4911
|
}, {
|
|
5023
|
-
readonly internalType: "uint256";
|
|
5024
4912
|
readonly name: "amount";
|
|
5025
4913
|
readonly type: "uint256";
|
|
4914
|
+
readonly internalType: "uint256";
|
|
5026
4915
|
}, {
|
|
4916
|
+
readonly name: "priceFeeds";
|
|
4917
|
+
readonly type: "tuple[2]";
|
|
4918
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5027
4919
|
readonly components: readonly [{
|
|
5028
|
-
readonly internalType: "address";
|
|
5029
4920
|
readonly name: "feedAddress";
|
|
5030
4921
|
readonly type: "address";
|
|
4922
|
+
readonly internalType: "address";
|
|
5031
4923
|
}, {
|
|
5032
|
-
readonly internalType: "int8";
|
|
5033
4924
|
readonly name: "feedType";
|
|
5034
4925
|
readonly type: "int8";
|
|
4926
|
+
readonly internalType: "int8";
|
|
5035
4927
|
}, {
|
|
5036
|
-
readonly internalType: "string";
|
|
5037
4928
|
readonly name: "currency";
|
|
5038
4929
|
readonly type: "string";
|
|
4930
|
+
readonly internalType: "string";
|
|
5039
4931
|
}, {
|
|
5040
|
-
readonly internalType: "uint256";
|
|
5041
4932
|
readonly name: "amount";
|
|
5042
4933
|
readonly type: "uint256";
|
|
5043
|
-
}, {
|
|
5044
4934
|
readonly internalType: "uint256";
|
|
4935
|
+
}, {
|
|
5045
4936
|
readonly name: "deadline";
|
|
5046
4937
|
readonly type: "uint256";
|
|
4938
|
+
readonly internalType: "uint256";
|
|
5047
4939
|
}, {
|
|
5048
|
-
readonly internalType: "bytes";
|
|
5049
4940
|
readonly name: "signature";
|
|
5050
4941
|
readonly type: "bytes";
|
|
4942
|
+
readonly internalType: "bytes";
|
|
5051
4943
|
}];
|
|
5052
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5053
|
-
readonly name: "priceFeeds";
|
|
5054
|
-
readonly type: "tuple[2]";
|
|
5055
4944
|
}, {
|
|
5056
|
-
readonly internalType: "address";
|
|
5057
4945
|
readonly name: "token";
|
|
5058
4946
|
readonly type: "address";
|
|
5059
|
-
}, {
|
|
5060
4947
|
readonly internalType: "address";
|
|
4948
|
+
}, {
|
|
5061
4949
|
readonly name: "receiver";
|
|
5062
4950
|
readonly type: "address";
|
|
5063
|
-
}, {
|
|
5064
4951
|
readonly internalType: "address";
|
|
4952
|
+
}, {
|
|
5065
4953
|
readonly name: "extraFeeReceiver";
|
|
5066
4954
|
readonly type: "address";
|
|
4955
|
+
readonly internalType: "address";
|
|
5067
4956
|
}, {
|
|
5068
|
-
readonly internalType: "uint256";
|
|
5069
4957
|
readonly name: "extraFeeBps";
|
|
5070
4958
|
readonly type: "uint256";
|
|
5071
|
-
}, {
|
|
5072
4959
|
readonly internalType: "uint256";
|
|
4960
|
+
}, {
|
|
5073
4961
|
readonly name: "yd";
|
|
5074
4962
|
readonly type: "uint256";
|
|
4963
|
+
readonly internalType: "uint256";
|
|
5075
4964
|
}, {
|
|
4965
|
+
readonly name: "guards";
|
|
4966
|
+
readonly type: "tuple[]";
|
|
4967
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5076
4968
|
readonly components: readonly [{
|
|
5077
|
-
readonly internalType: "address";
|
|
5078
4969
|
readonly name: "guardAddress";
|
|
5079
4970
|
readonly type: "address";
|
|
4971
|
+
readonly internalType: "address";
|
|
5080
4972
|
}, {
|
|
5081
|
-
readonly internalType: "bytes[]";
|
|
5082
4973
|
readonly name: "payload";
|
|
5083
4974
|
readonly type: "bytes[]";
|
|
4975
|
+
readonly internalType: "bytes[]";
|
|
5084
4976
|
}];
|
|
5085
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5086
|
-
readonly name: "guards";
|
|
5087
|
-
readonly type: "tuple[]";
|
|
5088
4977
|
}, {
|
|
4978
|
+
readonly name: "webhooks";
|
|
4979
|
+
readonly type: "tuple[]";
|
|
4980
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5089
4981
|
readonly components: readonly [{
|
|
5090
|
-
readonly internalType: "address";
|
|
5091
4982
|
readonly name: "webhookAddress";
|
|
5092
4983
|
readonly type: "address";
|
|
4984
|
+
readonly internalType: "address";
|
|
5093
4985
|
}, {
|
|
5094
|
-
readonly internalType: "bytes[]";
|
|
5095
4986
|
readonly name: "payload";
|
|
5096
4987
|
readonly type: "bytes[]";
|
|
4988
|
+
readonly internalType: "bytes[]";
|
|
5097
4989
|
}];
|
|
5098
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5099
|
-
readonly name: "webhooks";
|
|
5100
|
-
readonly type: "tuple[]";
|
|
5101
4990
|
}, {
|
|
5102
|
-
readonly internalType: "address";
|
|
5103
4991
|
readonly name: "outputToken";
|
|
5104
4992
|
readonly type: "address";
|
|
4993
|
+
readonly internalType: "address";
|
|
5105
4994
|
}, {
|
|
5106
|
-
readonly internalType: "uint256";
|
|
5107
4995
|
readonly name: "outputAmount";
|
|
5108
4996
|
readonly type: "uint256";
|
|
5109
|
-
}, {
|
|
5110
4997
|
readonly internalType: "uint256";
|
|
4998
|
+
}, {
|
|
5111
4999
|
readonly name: "destinationChainId";
|
|
5112
5000
|
readonly type: "uint256";
|
|
5001
|
+
readonly internalType: "uint256";
|
|
5113
5002
|
}, {
|
|
5114
|
-
readonly internalType: "address";
|
|
5115
5003
|
readonly name: "exclusiveRelayer";
|
|
5116
5004
|
readonly type: "address";
|
|
5005
|
+
readonly internalType: "address";
|
|
5117
5006
|
}, {
|
|
5118
|
-
readonly internalType: "uint32";
|
|
5119
5007
|
readonly name: "quoteTimestamp";
|
|
5120
5008
|
readonly type: "uint32";
|
|
5121
|
-
}, {
|
|
5122
5009
|
readonly internalType: "uint32";
|
|
5010
|
+
}, {
|
|
5123
5011
|
readonly name: "fillDeadline";
|
|
5124
5012
|
readonly type: "uint32";
|
|
5125
|
-
}, {
|
|
5126
5013
|
readonly internalType: "uint32";
|
|
5014
|
+
}, {
|
|
5127
5015
|
readonly name: "exclusivityDeadline";
|
|
5128
5016
|
readonly type: "uint32";
|
|
5017
|
+
readonly internalType: "uint32";
|
|
5129
5018
|
}, {
|
|
5130
|
-
readonly internalType: "bytes";
|
|
5131
5019
|
readonly name: "message";
|
|
5132
5020
|
readonly type: "bytes";
|
|
5021
|
+
readonly internalType: "bytes";
|
|
5133
5022
|
}];
|
|
5134
|
-
readonly internalType: "struct YodlAcrossRouter.YodlAcrossParams";
|
|
5135
|
-
readonly name: "params";
|
|
5136
|
-
readonly type: "tuple";
|
|
5137
5023
|
}];
|
|
5138
|
-
readonly name: "yodlWithAcross";
|
|
5139
5024
|
readonly outputs: readonly [{
|
|
5140
|
-
readonly internalType: "uint256";
|
|
5141
5025
|
readonly name: "";
|
|
5142
5026
|
readonly type: "uint256";
|
|
5027
|
+
readonly internalType: "uint256";
|
|
5143
5028
|
}];
|
|
5144
5029
|
readonly stateMutability: "payable";
|
|
5145
|
-
readonly type: "function";
|
|
5146
5030
|
}, {
|
|
5031
|
+
readonly type: "function";
|
|
5032
|
+
readonly name: "yodlWithCurve";
|
|
5147
5033
|
readonly inputs: readonly [{
|
|
5034
|
+
readonly name: "params";
|
|
5035
|
+
readonly type: "tuple";
|
|
5036
|
+
readonly internalType: "struct YodlCurveRouter.YodlCurveParams";
|
|
5148
5037
|
readonly components: readonly [{
|
|
5149
|
-
readonly internalType: "address";
|
|
5150
5038
|
readonly name: "sender";
|
|
5151
5039
|
readonly type: "address";
|
|
5152
|
-
}, {
|
|
5153
5040
|
readonly internalType: "address";
|
|
5041
|
+
}, {
|
|
5154
5042
|
readonly name: "receiver";
|
|
5155
5043
|
readonly type: "address";
|
|
5044
|
+
readonly internalType: "address";
|
|
5156
5045
|
}, {
|
|
5157
|
-
readonly internalType: "uint256";
|
|
5158
5046
|
readonly name: "amountIn";
|
|
5159
5047
|
readonly type: "uint256";
|
|
5160
|
-
}, {
|
|
5161
5048
|
readonly internalType: "uint256";
|
|
5049
|
+
}, {
|
|
5162
5050
|
readonly name: "amountOut";
|
|
5163
5051
|
readonly type: "uint256";
|
|
5052
|
+
readonly internalType: "uint256";
|
|
5164
5053
|
}, {
|
|
5165
|
-
readonly internalType: "bytes32";
|
|
5166
5054
|
readonly name: "memo";
|
|
5167
5055
|
readonly type: "bytes32";
|
|
5056
|
+
readonly internalType: "bytes32";
|
|
5168
5057
|
}, {
|
|
5169
|
-
readonly internalType: "address[11]";
|
|
5170
5058
|
readonly name: "route";
|
|
5171
5059
|
readonly type: "address[11]";
|
|
5060
|
+
readonly internalType: "address[11]";
|
|
5172
5061
|
}, {
|
|
5173
|
-
readonly internalType: "uint256[5][5]";
|
|
5174
5062
|
readonly name: "swapParams";
|
|
5175
5063
|
readonly type: "uint256[5][5]";
|
|
5064
|
+
readonly internalType: "uint256[5][5]";
|
|
5176
5065
|
}, {
|
|
5177
|
-
readonly internalType: "address[5]";
|
|
5178
5066
|
readonly name: "pools";
|
|
5179
5067
|
readonly type: "address[5]";
|
|
5068
|
+
readonly internalType: "address[5]";
|
|
5180
5069
|
}, {
|
|
5070
|
+
readonly name: "priceFeeds";
|
|
5071
|
+
readonly type: "tuple[2]";
|
|
5072
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5181
5073
|
readonly components: readonly [{
|
|
5182
|
-
readonly internalType: "address";
|
|
5183
5074
|
readonly name: "feedAddress";
|
|
5184
5075
|
readonly type: "address";
|
|
5076
|
+
readonly internalType: "address";
|
|
5185
5077
|
}, {
|
|
5186
|
-
readonly internalType: "int8";
|
|
5187
5078
|
readonly name: "feedType";
|
|
5188
5079
|
readonly type: "int8";
|
|
5080
|
+
readonly internalType: "int8";
|
|
5189
5081
|
}, {
|
|
5190
|
-
readonly internalType: "string";
|
|
5191
5082
|
readonly name: "currency";
|
|
5192
5083
|
readonly type: "string";
|
|
5084
|
+
readonly internalType: "string";
|
|
5193
5085
|
}, {
|
|
5194
|
-
readonly internalType: "uint256";
|
|
5195
5086
|
readonly name: "amount";
|
|
5196
5087
|
readonly type: "uint256";
|
|
5197
|
-
}, {
|
|
5198
5088
|
readonly internalType: "uint256";
|
|
5089
|
+
}, {
|
|
5199
5090
|
readonly name: "deadline";
|
|
5200
5091
|
readonly type: "uint256";
|
|
5092
|
+
readonly internalType: "uint256";
|
|
5201
5093
|
}, {
|
|
5202
|
-
readonly internalType: "bytes";
|
|
5203
5094
|
readonly name: "signature";
|
|
5204
5095
|
readonly type: "bytes";
|
|
5096
|
+
readonly internalType: "bytes";
|
|
5205
5097
|
}];
|
|
5206
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5207
|
-
readonly name: "priceFeeds";
|
|
5208
|
-
readonly type: "tuple[2]";
|
|
5209
5098
|
}, {
|
|
5210
|
-
readonly internalType: "address";
|
|
5211
5099
|
readonly name: "extraFeeReceiver";
|
|
5212
5100
|
readonly type: "address";
|
|
5101
|
+
readonly internalType: "address";
|
|
5213
5102
|
}, {
|
|
5214
|
-
readonly internalType: "uint256";
|
|
5215
5103
|
readonly name: "extraFeeBps";
|
|
5216
5104
|
readonly type: "uint256";
|
|
5217
|
-
}, {
|
|
5218
5105
|
readonly internalType: "uint256";
|
|
5106
|
+
}, {
|
|
5219
5107
|
readonly name: "yd";
|
|
5220
5108
|
readonly type: "uint256";
|
|
5109
|
+
readonly internalType: "uint256";
|
|
5221
5110
|
}, {
|
|
5111
|
+
readonly name: "guards";
|
|
5112
|
+
readonly type: "tuple[]";
|
|
5113
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5222
5114
|
readonly components: readonly [{
|
|
5223
|
-
readonly internalType: "address";
|
|
5224
5115
|
readonly name: "guardAddress";
|
|
5225
5116
|
readonly type: "address";
|
|
5117
|
+
readonly internalType: "address";
|
|
5226
5118
|
}, {
|
|
5227
|
-
readonly internalType: "bytes[]";
|
|
5228
5119
|
readonly name: "payload";
|
|
5229
5120
|
readonly type: "bytes[]";
|
|
5121
|
+
readonly internalType: "bytes[]";
|
|
5230
5122
|
}];
|
|
5231
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5232
|
-
readonly name: "guards";
|
|
5233
|
-
readonly type: "tuple[]";
|
|
5234
5123
|
}, {
|
|
5124
|
+
readonly name: "webhooks";
|
|
5125
|
+
readonly type: "tuple[]";
|
|
5126
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5235
5127
|
readonly components: readonly [{
|
|
5236
|
-
readonly internalType: "address";
|
|
5237
5128
|
readonly name: "webhookAddress";
|
|
5238
5129
|
readonly type: "address";
|
|
5130
|
+
readonly internalType: "address";
|
|
5239
5131
|
}, {
|
|
5240
|
-
readonly internalType: "bytes[]";
|
|
5241
5132
|
readonly name: "payload";
|
|
5242
5133
|
readonly type: "bytes[]";
|
|
5134
|
+
readonly internalType: "bytes[]";
|
|
5243
5135
|
}];
|
|
5244
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5245
|
-
readonly name: "webhooks";
|
|
5246
|
-
readonly type: "tuple[]";
|
|
5247
5136
|
}];
|
|
5248
|
-
readonly internalType: "struct YodlCurveRouter.YodlCurveParams";
|
|
5249
|
-
readonly name: "params";
|
|
5250
|
-
readonly type: "tuple";
|
|
5251
5137
|
}];
|
|
5252
|
-
readonly name: "yodlWithCurve";
|
|
5253
5138
|
readonly outputs: readonly [{
|
|
5254
|
-
readonly internalType: "uint256";
|
|
5255
5139
|
readonly name: "";
|
|
5256
5140
|
readonly type: "uint256";
|
|
5141
|
+
readonly internalType: "uint256";
|
|
5257
5142
|
}];
|
|
5258
5143
|
readonly stateMutability: "payable";
|
|
5259
|
-
readonly type: "function";
|
|
5260
5144
|
}, {
|
|
5145
|
+
readonly type: "function";
|
|
5146
|
+
readonly name: "yodlWithExternal";
|
|
5261
5147
|
readonly inputs: readonly [{
|
|
5148
|
+
readonly name: "params";
|
|
5149
|
+
readonly type: "tuple";
|
|
5150
|
+
readonly internalType: "struct YodlExternalFundingRouter.YodlExternalFundingParams";
|
|
5262
5151
|
readonly components: readonly [{
|
|
5263
|
-
readonly internalType: "bytes32";
|
|
5264
5152
|
readonly name: "memo";
|
|
5265
5153
|
readonly type: "bytes32";
|
|
5154
|
+
readonly internalType: "bytes32";
|
|
5266
5155
|
}, {
|
|
5156
|
+
readonly name: "outAmountGross";
|
|
5157
|
+
readonly type: "uint256";
|
|
5267
5158
|
readonly internalType: "uint256";
|
|
5268
|
-
|
|
5159
|
+
}, {
|
|
5160
|
+
readonly name: "invoiceAmount";
|
|
5269
5161
|
readonly type: "uint256";
|
|
5162
|
+
readonly internalType: "uint256";
|
|
5270
5163
|
}, {
|
|
5164
|
+
readonly name: "priceFeeds";
|
|
5165
|
+
readonly type: "tuple[2]";
|
|
5166
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5271
5167
|
readonly components: readonly [{
|
|
5272
|
-
readonly internalType: "address";
|
|
5273
5168
|
readonly name: "feedAddress";
|
|
5274
5169
|
readonly type: "address";
|
|
5170
|
+
readonly internalType: "address";
|
|
5275
5171
|
}, {
|
|
5276
|
-
readonly internalType: "int8";
|
|
5277
5172
|
readonly name: "feedType";
|
|
5278
5173
|
readonly type: "int8";
|
|
5174
|
+
readonly internalType: "int8";
|
|
5279
5175
|
}, {
|
|
5280
|
-
readonly internalType: "string";
|
|
5281
5176
|
readonly name: "currency";
|
|
5282
5177
|
readonly type: "string";
|
|
5178
|
+
readonly internalType: "string";
|
|
5283
5179
|
}, {
|
|
5284
|
-
readonly internalType: "uint256";
|
|
5285
5180
|
readonly name: "amount";
|
|
5286
5181
|
readonly type: "uint256";
|
|
5287
|
-
}, {
|
|
5288
5182
|
readonly internalType: "uint256";
|
|
5183
|
+
}, {
|
|
5289
5184
|
readonly name: "deadline";
|
|
5290
5185
|
readonly type: "uint256";
|
|
5186
|
+
readonly internalType: "uint256";
|
|
5291
5187
|
}, {
|
|
5292
|
-
readonly internalType: "bytes";
|
|
5293
5188
|
readonly name: "signature";
|
|
5294
5189
|
readonly type: "bytes";
|
|
5190
|
+
readonly internalType: "bytes";
|
|
5295
5191
|
}];
|
|
5296
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5297
|
-
readonly name: "priceFeeds";
|
|
5298
|
-
readonly type: "tuple[2]";
|
|
5299
5192
|
}, {
|
|
5300
|
-
readonly internalType: "address";
|
|
5301
5193
|
readonly name: "token";
|
|
5302
5194
|
readonly type: "address";
|
|
5303
|
-
}, {
|
|
5304
5195
|
readonly internalType: "address";
|
|
5196
|
+
}, {
|
|
5305
5197
|
readonly name: "receiver";
|
|
5306
5198
|
readonly type: "address";
|
|
5307
|
-
}, {
|
|
5308
5199
|
readonly internalType: "address";
|
|
5200
|
+
}, {
|
|
5309
5201
|
readonly name: "extraFeeReceiver";
|
|
5310
5202
|
readonly type: "address";
|
|
5203
|
+
readonly internalType: "address";
|
|
5311
5204
|
}, {
|
|
5312
|
-
readonly internalType: "uint256";
|
|
5313
5205
|
readonly name: "extraFeeBps";
|
|
5314
5206
|
readonly type: "uint256";
|
|
5315
|
-
}, {
|
|
5316
5207
|
readonly internalType: "uint256";
|
|
5208
|
+
}, {
|
|
5317
5209
|
readonly name: "yd";
|
|
5318
5210
|
readonly type: "uint256";
|
|
5211
|
+
readonly internalType: "uint256";
|
|
5319
5212
|
}, {
|
|
5213
|
+
readonly name: "guards";
|
|
5214
|
+
readonly type: "tuple[]";
|
|
5215
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5320
5216
|
readonly components: readonly [{
|
|
5321
|
-
readonly internalType: "address";
|
|
5322
5217
|
readonly name: "guardAddress";
|
|
5323
5218
|
readonly type: "address";
|
|
5219
|
+
readonly internalType: "address";
|
|
5324
5220
|
}, {
|
|
5325
|
-
readonly internalType: "bytes[]";
|
|
5326
5221
|
readonly name: "payload";
|
|
5327
5222
|
readonly type: "bytes[]";
|
|
5223
|
+
readonly internalType: "bytes[]";
|
|
5328
5224
|
}];
|
|
5329
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5330
|
-
readonly name: "guards";
|
|
5331
|
-
readonly type: "tuple[]";
|
|
5332
5225
|
}, {
|
|
5226
|
+
readonly name: "webhooks";
|
|
5227
|
+
readonly type: "tuple[]";
|
|
5228
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5333
5229
|
readonly components: readonly [{
|
|
5334
|
-
readonly internalType: "address";
|
|
5335
5230
|
readonly name: "webhookAddress";
|
|
5336
5231
|
readonly type: "address";
|
|
5232
|
+
readonly internalType: "address";
|
|
5337
5233
|
}, {
|
|
5338
|
-
readonly internalType: "bytes[]";
|
|
5339
5234
|
readonly name: "payload";
|
|
5340
5235
|
readonly type: "bytes[]";
|
|
5236
|
+
readonly internalType: "bytes[]";
|
|
5341
5237
|
}];
|
|
5342
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5343
|
-
readonly name: "webhooks";
|
|
5344
|
-
readonly type: "tuple[]";
|
|
5345
5238
|
}, {
|
|
5346
|
-
readonly internalType: "uint256";
|
|
5347
5239
|
readonly name: "convenienceFeeBps";
|
|
5348
5240
|
readonly type: "uint256";
|
|
5241
|
+
readonly internalType: "uint256";
|
|
5349
5242
|
}];
|
|
5350
|
-
|
|
5243
|
+
}];
|
|
5244
|
+
readonly outputs: readonly [{
|
|
5245
|
+
readonly name: "";
|
|
5246
|
+
readonly type: "uint256";
|
|
5247
|
+
readonly internalType: "uint256";
|
|
5248
|
+
}];
|
|
5249
|
+
readonly stateMutability: "payable";
|
|
5250
|
+
}, {
|
|
5251
|
+
readonly type: "function";
|
|
5252
|
+
readonly name: "yodlWithPancake";
|
|
5253
|
+
readonly inputs: readonly [{
|
|
5351
5254
|
readonly name: "params";
|
|
5352
5255
|
readonly type: "tuple";
|
|
5256
|
+
readonly internalType: "struct YodlUniswapRouter.YodlUniswapParams";
|
|
5257
|
+
readonly components: readonly [{
|
|
5258
|
+
readonly name: "sender";
|
|
5259
|
+
readonly type: "address";
|
|
5260
|
+
readonly internalType: "address";
|
|
5261
|
+
}, {
|
|
5262
|
+
readonly name: "receiver";
|
|
5263
|
+
readonly type: "address";
|
|
5264
|
+
readonly internalType: "address";
|
|
5265
|
+
}, {
|
|
5266
|
+
readonly name: "amountIn";
|
|
5267
|
+
readonly type: "uint256";
|
|
5268
|
+
readonly internalType: "uint256";
|
|
5269
|
+
}, {
|
|
5270
|
+
readonly name: "amountOut";
|
|
5271
|
+
readonly type: "uint256";
|
|
5272
|
+
readonly internalType: "uint256";
|
|
5273
|
+
}, {
|
|
5274
|
+
readonly name: "memo";
|
|
5275
|
+
readonly type: "bytes32";
|
|
5276
|
+
readonly internalType: "bytes32";
|
|
5277
|
+
}, {
|
|
5278
|
+
readonly name: "path";
|
|
5279
|
+
readonly type: "bytes";
|
|
5280
|
+
readonly internalType: "bytes";
|
|
5281
|
+
}, {
|
|
5282
|
+
readonly name: "priceFeeds";
|
|
5283
|
+
readonly type: "tuple[2]";
|
|
5284
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5285
|
+
readonly components: readonly [{
|
|
5286
|
+
readonly name: "feedAddress";
|
|
5287
|
+
readonly type: "address";
|
|
5288
|
+
readonly internalType: "address";
|
|
5289
|
+
}, {
|
|
5290
|
+
readonly name: "feedType";
|
|
5291
|
+
readonly type: "int8";
|
|
5292
|
+
readonly internalType: "int8";
|
|
5293
|
+
}, {
|
|
5294
|
+
readonly name: "currency";
|
|
5295
|
+
readonly type: "string";
|
|
5296
|
+
readonly internalType: "string";
|
|
5297
|
+
}, {
|
|
5298
|
+
readonly name: "amount";
|
|
5299
|
+
readonly type: "uint256";
|
|
5300
|
+
readonly internalType: "uint256";
|
|
5301
|
+
}, {
|
|
5302
|
+
readonly name: "deadline";
|
|
5303
|
+
readonly type: "uint256";
|
|
5304
|
+
readonly internalType: "uint256";
|
|
5305
|
+
}, {
|
|
5306
|
+
readonly name: "signature";
|
|
5307
|
+
readonly type: "bytes";
|
|
5308
|
+
readonly internalType: "bytes";
|
|
5309
|
+
}];
|
|
5310
|
+
}, {
|
|
5311
|
+
readonly name: "extraFeeReceiver";
|
|
5312
|
+
readonly type: "address";
|
|
5313
|
+
readonly internalType: "address";
|
|
5314
|
+
}, {
|
|
5315
|
+
readonly name: "extraFeeBps";
|
|
5316
|
+
readonly type: "uint256";
|
|
5317
|
+
readonly internalType: "uint256";
|
|
5318
|
+
}, {
|
|
5319
|
+
readonly name: "swapType";
|
|
5320
|
+
readonly type: "uint8";
|
|
5321
|
+
readonly internalType: "enum YodlUniswapRouter.SwapType";
|
|
5322
|
+
}, {
|
|
5323
|
+
readonly name: "yd";
|
|
5324
|
+
readonly type: "uint256";
|
|
5325
|
+
readonly internalType: "uint256";
|
|
5326
|
+
}, {
|
|
5327
|
+
readonly name: "guards";
|
|
5328
|
+
readonly type: "tuple[]";
|
|
5329
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5330
|
+
readonly components: readonly [{
|
|
5331
|
+
readonly name: "guardAddress";
|
|
5332
|
+
readonly type: "address";
|
|
5333
|
+
readonly internalType: "address";
|
|
5334
|
+
}, {
|
|
5335
|
+
readonly name: "payload";
|
|
5336
|
+
readonly type: "bytes[]";
|
|
5337
|
+
readonly internalType: "bytes[]";
|
|
5338
|
+
}];
|
|
5339
|
+
}, {
|
|
5340
|
+
readonly name: "webhooks";
|
|
5341
|
+
readonly type: "tuple[]";
|
|
5342
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5343
|
+
readonly components: readonly [{
|
|
5344
|
+
readonly name: "webhookAddress";
|
|
5345
|
+
readonly type: "address";
|
|
5346
|
+
readonly internalType: "address";
|
|
5347
|
+
}, {
|
|
5348
|
+
readonly name: "payload";
|
|
5349
|
+
readonly type: "bytes[]";
|
|
5350
|
+
readonly internalType: "bytes[]";
|
|
5351
|
+
}];
|
|
5352
|
+
}];
|
|
5353
5353
|
}];
|
|
5354
|
-
readonly name: "yodlWithSwappedToken";
|
|
5355
5354
|
readonly outputs: readonly [{
|
|
5356
|
-
readonly internalType: "uint256";
|
|
5357
5355
|
readonly name: "";
|
|
5358
5356
|
readonly type: "uint256";
|
|
5357
|
+
readonly internalType: "uint256";
|
|
5359
5358
|
}];
|
|
5360
5359
|
readonly stateMutability: "payable";
|
|
5361
|
-
readonly type: "function";
|
|
5362
5360
|
}, {
|
|
5361
|
+
readonly type: "function";
|
|
5362
|
+
readonly name: "yodlWithToken";
|
|
5363
5363
|
readonly inputs: readonly [{
|
|
5364
|
+
readonly name: "params";
|
|
5365
|
+
readonly type: "tuple";
|
|
5366
|
+
readonly internalType: "struct YodlTransferRouter.YodlTransferParams";
|
|
5364
5367
|
readonly components: readonly [{
|
|
5365
|
-
readonly internalType: "bytes32";
|
|
5366
5368
|
readonly name: "memo";
|
|
5367
5369
|
readonly type: "bytes32";
|
|
5370
|
+
readonly internalType: "bytes32";
|
|
5368
5371
|
}, {
|
|
5369
|
-
readonly internalType: "uint256";
|
|
5370
5372
|
readonly name: "amount";
|
|
5371
5373
|
readonly type: "uint256";
|
|
5374
|
+
readonly internalType: "uint256";
|
|
5372
5375
|
}, {
|
|
5376
|
+
readonly name: "priceFeeds";
|
|
5377
|
+
readonly type: "tuple[2]";
|
|
5378
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5373
5379
|
readonly components: readonly [{
|
|
5374
|
-
readonly internalType: "address";
|
|
5375
5380
|
readonly name: "feedAddress";
|
|
5376
5381
|
readonly type: "address";
|
|
5382
|
+
readonly internalType: "address";
|
|
5377
5383
|
}, {
|
|
5378
|
-
readonly internalType: "int8";
|
|
5379
5384
|
readonly name: "feedType";
|
|
5380
5385
|
readonly type: "int8";
|
|
5386
|
+
readonly internalType: "int8";
|
|
5381
5387
|
}, {
|
|
5382
|
-
readonly internalType: "string";
|
|
5383
5388
|
readonly name: "currency";
|
|
5384
5389
|
readonly type: "string";
|
|
5390
|
+
readonly internalType: "string";
|
|
5385
5391
|
}, {
|
|
5386
|
-
readonly internalType: "uint256";
|
|
5387
5392
|
readonly name: "amount";
|
|
5388
5393
|
readonly type: "uint256";
|
|
5389
|
-
}, {
|
|
5390
5394
|
readonly internalType: "uint256";
|
|
5395
|
+
}, {
|
|
5391
5396
|
readonly name: "deadline";
|
|
5392
5397
|
readonly type: "uint256";
|
|
5398
|
+
readonly internalType: "uint256";
|
|
5393
5399
|
}, {
|
|
5394
|
-
readonly internalType: "bytes";
|
|
5395
5400
|
readonly name: "signature";
|
|
5396
5401
|
readonly type: "bytes";
|
|
5402
|
+
readonly internalType: "bytes";
|
|
5397
5403
|
}];
|
|
5398
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5399
|
-
readonly name: "priceFeeds";
|
|
5400
|
-
readonly type: "tuple[2]";
|
|
5401
5404
|
}, {
|
|
5402
|
-
readonly internalType: "address";
|
|
5403
5405
|
readonly name: "token";
|
|
5404
5406
|
readonly type: "address";
|
|
5405
|
-
}, {
|
|
5406
5407
|
readonly internalType: "address";
|
|
5408
|
+
}, {
|
|
5407
5409
|
readonly name: "receiver";
|
|
5408
5410
|
readonly type: "address";
|
|
5409
|
-
}, {
|
|
5410
5411
|
readonly internalType: "address";
|
|
5412
|
+
}, {
|
|
5411
5413
|
readonly name: "extraFeeReceiver";
|
|
5412
5414
|
readonly type: "address";
|
|
5415
|
+
readonly internalType: "address";
|
|
5413
5416
|
}, {
|
|
5414
|
-
readonly internalType: "uint256";
|
|
5415
5417
|
readonly name: "extraFeeBps";
|
|
5416
5418
|
readonly type: "uint256";
|
|
5417
|
-
}, {
|
|
5418
5419
|
readonly internalType: "uint256";
|
|
5420
|
+
}, {
|
|
5419
5421
|
readonly name: "yd";
|
|
5420
5422
|
readonly type: "uint256";
|
|
5423
|
+
readonly internalType: "uint256";
|
|
5421
5424
|
}, {
|
|
5425
|
+
readonly name: "guards";
|
|
5426
|
+
readonly type: "tuple[]";
|
|
5427
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5422
5428
|
readonly components: readonly [{
|
|
5423
|
-
readonly internalType: "address";
|
|
5424
5429
|
readonly name: "guardAddress";
|
|
5425
5430
|
readonly type: "address";
|
|
5431
|
+
readonly internalType: "address";
|
|
5426
5432
|
}, {
|
|
5427
|
-
readonly internalType: "bytes[]";
|
|
5428
5433
|
readonly name: "payload";
|
|
5429
5434
|
readonly type: "bytes[]";
|
|
5435
|
+
readonly internalType: "bytes[]";
|
|
5430
5436
|
}];
|
|
5431
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5432
|
-
readonly name: "guards";
|
|
5433
|
-
readonly type: "tuple[]";
|
|
5434
5437
|
}, {
|
|
5438
|
+
readonly name: "webhooks";
|
|
5439
|
+
readonly type: "tuple[]";
|
|
5440
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5435
5441
|
readonly components: readonly [{
|
|
5436
|
-
readonly internalType: "address";
|
|
5437
5442
|
readonly name: "webhookAddress";
|
|
5438
5443
|
readonly type: "address";
|
|
5444
|
+
readonly internalType: "address";
|
|
5439
5445
|
}, {
|
|
5440
|
-
readonly internalType: "bytes[]";
|
|
5441
5446
|
readonly name: "payload";
|
|
5442
5447
|
readonly type: "bytes[]";
|
|
5448
|
+
readonly internalType: "bytes[]";
|
|
5443
5449
|
}];
|
|
5444
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5445
|
-
readonly name: "webhooks";
|
|
5446
|
-
readonly type: "tuple[]";
|
|
5447
5450
|
}];
|
|
5448
|
-
readonly internalType: "struct YodlTransferRouter.YodlTransferParams";
|
|
5449
|
-
readonly name: "params";
|
|
5450
|
-
readonly type: "tuple";
|
|
5451
5451
|
}];
|
|
5452
|
-
readonly name: "yodlWithToken";
|
|
5453
5452
|
readonly outputs: readonly [{
|
|
5454
|
-
readonly internalType: "uint256";
|
|
5455
5453
|
readonly name: "";
|
|
5456
5454
|
readonly type: "uint256";
|
|
5455
|
+
readonly internalType: "uint256";
|
|
5457
5456
|
}];
|
|
5458
5457
|
readonly stateMutability: "payable";
|
|
5459
|
-
readonly type: "function";
|
|
5460
5458
|
}, {
|
|
5459
|
+
readonly type: "function";
|
|
5460
|
+
readonly name: "yodlWithUniswap";
|
|
5461
5461
|
readonly inputs: readonly [{
|
|
5462
|
+
readonly name: "params";
|
|
5463
|
+
readonly type: "tuple";
|
|
5464
|
+
readonly internalType: "struct YodlUniswapRouter.YodlUniswapParams";
|
|
5462
5465
|
readonly components: readonly [{
|
|
5463
|
-
readonly internalType: "address";
|
|
5464
5466
|
readonly name: "sender";
|
|
5465
5467
|
readonly type: "address";
|
|
5466
|
-
}, {
|
|
5467
5468
|
readonly internalType: "address";
|
|
5469
|
+
}, {
|
|
5468
5470
|
readonly name: "receiver";
|
|
5469
5471
|
readonly type: "address";
|
|
5472
|
+
readonly internalType: "address";
|
|
5470
5473
|
}, {
|
|
5471
|
-
readonly internalType: "uint256";
|
|
5472
5474
|
readonly name: "amountIn";
|
|
5473
5475
|
readonly type: "uint256";
|
|
5474
|
-
}, {
|
|
5475
5476
|
readonly internalType: "uint256";
|
|
5477
|
+
}, {
|
|
5476
5478
|
readonly name: "amountOut";
|
|
5477
5479
|
readonly type: "uint256";
|
|
5480
|
+
readonly internalType: "uint256";
|
|
5478
5481
|
}, {
|
|
5479
|
-
readonly internalType: "bytes32";
|
|
5480
5482
|
readonly name: "memo";
|
|
5481
5483
|
readonly type: "bytes32";
|
|
5484
|
+
readonly internalType: "bytes32";
|
|
5482
5485
|
}, {
|
|
5483
|
-
readonly internalType: "bytes";
|
|
5484
5486
|
readonly name: "path";
|
|
5485
5487
|
readonly type: "bytes";
|
|
5488
|
+
readonly internalType: "bytes";
|
|
5486
5489
|
}, {
|
|
5490
|
+
readonly name: "priceFeeds";
|
|
5491
|
+
readonly type: "tuple[2]";
|
|
5492
|
+
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5487
5493
|
readonly components: readonly [{
|
|
5488
|
-
readonly internalType: "address";
|
|
5489
5494
|
readonly name: "feedAddress";
|
|
5490
5495
|
readonly type: "address";
|
|
5496
|
+
readonly internalType: "address";
|
|
5491
5497
|
}, {
|
|
5492
|
-
readonly internalType: "int8";
|
|
5493
5498
|
readonly name: "feedType";
|
|
5494
5499
|
readonly type: "int8";
|
|
5500
|
+
readonly internalType: "int8";
|
|
5495
5501
|
}, {
|
|
5496
|
-
readonly internalType: "string";
|
|
5497
5502
|
readonly name: "currency";
|
|
5498
5503
|
readonly type: "string";
|
|
5504
|
+
readonly internalType: "string";
|
|
5499
5505
|
}, {
|
|
5500
|
-
readonly internalType: "uint256";
|
|
5501
5506
|
readonly name: "amount";
|
|
5502
5507
|
readonly type: "uint256";
|
|
5503
|
-
}, {
|
|
5504
5508
|
readonly internalType: "uint256";
|
|
5509
|
+
}, {
|
|
5505
5510
|
readonly name: "deadline";
|
|
5506
5511
|
readonly type: "uint256";
|
|
5512
|
+
readonly internalType: "uint256";
|
|
5507
5513
|
}, {
|
|
5508
|
-
readonly internalType: "bytes";
|
|
5509
5514
|
readonly name: "signature";
|
|
5510
5515
|
readonly type: "bytes";
|
|
5516
|
+
readonly internalType: "bytes";
|
|
5511
5517
|
}];
|
|
5512
|
-
readonly internalType: "struct AbstractYodlRouter.PriceFeed[2]";
|
|
5513
|
-
readonly name: "priceFeeds";
|
|
5514
|
-
readonly type: "tuple[2]";
|
|
5515
5518
|
}, {
|
|
5516
|
-
readonly internalType: "address";
|
|
5517
5519
|
readonly name: "extraFeeReceiver";
|
|
5518
5520
|
readonly type: "address";
|
|
5521
|
+
readonly internalType: "address";
|
|
5519
5522
|
}, {
|
|
5520
|
-
readonly internalType: "uint256";
|
|
5521
5523
|
readonly name: "extraFeeBps";
|
|
5522
5524
|
readonly type: "uint256";
|
|
5525
|
+
readonly internalType: "uint256";
|
|
5523
5526
|
}, {
|
|
5524
|
-
readonly internalType: "enum YodlUniswapRouter.SwapType";
|
|
5525
5527
|
readonly name: "swapType";
|
|
5526
5528
|
readonly type: "uint8";
|
|
5529
|
+
readonly internalType: "enum YodlUniswapRouter.SwapType";
|
|
5527
5530
|
}, {
|
|
5528
|
-
readonly internalType: "uint256";
|
|
5529
5531
|
readonly name: "yd";
|
|
5530
5532
|
readonly type: "uint256";
|
|
5533
|
+
readonly internalType: "uint256";
|
|
5531
5534
|
}, {
|
|
5535
|
+
readonly name: "guards";
|
|
5536
|
+
readonly type: "tuple[]";
|
|
5537
|
+
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5532
5538
|
readonly components: readonly [{
|
|
5533
|
-
readonly internalType: "address";
|
|
5534
5539
|
readonly name: "guardAddress";
|
|
5535
5540
|
readonly type: "address";
|
|
5541
|
+
readonly internalType: "address";
|
|
5536
5542
|
}, {
|
|
5537
|
-
readonly internalType: "bytes[]";
|
|
5538
5543
|
readonly name: "payload";
|
|
5539
5544
|
readonly type: "bytes[]";
|
|
5545
|
+
readonly internalType: "bytes[]";
|
|
5540
5546
|
}];
|
|
5541
|
-
readonly internalType: "struct AbstractYodlRouter.Guard[]";
|
|
5542
|
-
readonly name: "guards";
|
|
5543
|
-
readonly type: "tuple[]";
|
|
5544
5547
|
}, {
|
|
5548
|
+
readonly name: "webhooks";
|
|
5549
|
+
readonly type: "tuple[]";
|
|
5550
|
+
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5545
5551
|
readonly components: readonly [{
|
|
5546
|
-
readonly internalType: "address";
|
|
5547
5552
|
readonly name: "webhookAddress";
|
|
5548
5553
|
readonly type: "address";
|
|
5554
|
+
readonly internalType: "address";
|
|
5549
5555
|
}, {
|
|
5550
|
-
readonly internalType: "bytes[]";
|
|
5551
5556
|
readonly name: "payload";
|
|
5552
5557
|
readonly type: "bytes[]";
|
|
5558
|
+
readonly internalType: "bytes[]";
|
|
5553
5559
|
}];
|
|
5554
|
-
readonly internalType: "struct AbstractYodlRouter.Webhook[]";
|
|
5555
|
-
readonly name: "webhooks";
|
|
5556
|
-
readonly type: "tuple[]";
|
|
5557
5560
|
}];
|
|
5558
|
-
readonly internalType: "struct YodlUniswapRouter.YodlUniswapParams";
|
|
5559
|
-
readonly name: "params";
|
|
5560
|
-
readonly type: "tuple";
|
|
5561
5561
|
}];
|
|
5562
|
-
readonly name: "yodlWithUniswap";
|
|
5563
5562
|
readonly outputs: readonly [{
|
|
5564
|
-
readonly internalType: "uint256";
|
|
5565
5563
|
readonly name: "";
|
|
5566
5564
|
readonly type: "uint256";
|
|
5565
|
+
readonly internalType: "uint256";
|
|
5567
5566
|
}];
|
|
5568
5567
|
readonly stateMutability: "payable";
|
|
5569
|
-
readonly type: "function";
|
|
5570
5568
|
}, {
|
|
5571
|
-
readonly
|
|
5572
|
-
readonly
|
|
5569
|
+
readonly type: "event";
|
|
5570
|
+
readonly name: "Convert";
|
|
5571
|
+
readonly inputs: readonly [{
|
|
5572
|
+
readonly name: "priceFeed0";
|
|
5573
|
+
readonly type: "address";
|
|
5574
|
+
readonly indexed: true;
|
|
5575
|
+
readonly internalType: "address";
|
|
5576
|
+
}, {
|
|
5577
|
+
readonly name: "priceFeed1";
|
|
5578
|
+
readonly type: "address";
|
|
5579
|
+
readonly indexed: true;
|
|
5580
|
+
readonly internalType: "address";
|
|
5581
|
+
}, {
|
|
5582
|
+
readonly name: "exchangeRate0";
|
|
5583
|
+
readonly type: "int256";
|
|
5584
|
+
readonly indexed: false;
|
|
5585
|
+
readonly internalType: "int256";
|
|
5586
|
+
}, {
|
|
5587
|
+
readonly name: "exchangeRate1";
|
|
5588
|
+
readonly type: "int256";
|
|
5589
|
+
readonly indexed: false;
|
|
5590
|
+
readonly internalType: "int256";
|
|
5591
|
+
}];
|
|
5592
|
+
readonly anonymous: false;
|
|
5593
|
+
}, {
|
|
5594
|
+
readonly type: "event";
|
|
5595
|
+
readonly name: "ConvertWithExternalRate";
|
|
5596
|
+
readonly inputs: readonly [{
|
|
5597
|
+
readonly name: "currency0";
|
|
5598
|
+
readonly type: "string";
|
|
5599
|
+
readonly indexed: true;
|
|
5600
|
+
readonly internalType: "string";
|
|
5601
|
+
}, {
|
|
5602
|
+
readonly name: "priceFeed1";
|
|
5603
|
+
readonly type: "address";
|
|
5604
|
+
readonly indexed: true;
|
|
5605
|
+
readonly internalType: "address";
|
|
5606
|
+
}, {
|
|
5607
|
+
readonly name: "exchangeRate0";
|
|
5608
|
+
readonly type: "int256";
|
|
5609
|
+
readonly indexed: false;
|
|
5610
|
+
readonly internalType: "int256";
|
|
5611
|
+
}, {
|
|
5612
|
+
readonly name: "exchangeRate1";
|
|
5613
|
+
readonly type: "int256";
|
|
5614
|
+
readonly indexed: false;
|
|
5615
|
+
readonly internalType: "int256";
|
|
5616
|
+
}];
|
|
5617
|
+
readonly anonymous: false;
|
|
5618
|
+
}, {
|
|
5619
|
+
readonly type: "event";
|
|
5620
|
+
readonly name: "Yodl";
|
|
5621
|
+
readonly inputs: readonly [{
|
|
5622
|
+
readonly name: "sender";
|
|
5623
|
+
readonly type: "address";
|
|
5624
|
+
readonly indexed: true;
|
|
5625
|
+
readonly internalType: "address";
|
|
5626
|
+
}, {
|
|
5627
|
+
readonly name: "receiver";
|
|
5628
|
+
readonly type: "address";
|
|
5629
|
+
readonly indexed: true;
|
|
5630
|
+
readonly internalType: "address";
|
|
5631
|
+
}, {
|
|
5632
|
+
readonly name: "token";
|
|
5633
|
+
readonly type: "address";
|
|
5634
|
+
readonly indexed: false;
|
|
5635
|
+
readonly internalType: "address";
|
|
5636
|
+
}, {
|
|
5637
|
+
readonly name: "amount";
|
|
5638
|
+
readonly type: "uint256";
|
|
5639
|
+
readonly indexed: false;
|
|
5640
|
+
readonly internalType: "uint256";
|
|
5641
|
+
}, {
|
|
5642
|
+
readonly name: "fees";
|
|
5643
|
+
readonly type: "uint256";
|
|
5644
|
+
readonly indexed: false;
|
|
5645
|
+
readonly internalType: "uint256";
|
|
5646
|
+
}, {
|
|
5647
|
+
readonly name: "memo";
|
|
5648
|
+
readonly type: "bytes32";
|
|
5649
|
+
readonly indexed: false;
|
|
5650
|
+
readonly internalType: "bytes32";
|
|
5651
|
+
}];
|
|
5652
|
+
readonly anonymous: false;
|
|
5653
|
+
}, {
|
|
5654
|
+
readonly type: "event";
|
|
5655
|
+
readonly name: "YodlNativeTokenTransfer";
|
|
5656
|
+
readonly inputs: readonly [{
|
|
5657
|
+
readonly name: "sender";
|
|
5658
|
+
readonly type: "address";
|
|
5659
|
+
readonly indexed: true;
|
|
5660
|
+
readonly internalType: "address";
|
|
5661
|
+
}, {
|
|
5662
|
+
readonly name: "receiver";
|
|
5663
|
+
readonly type: "address";
|
|
5664
|
+
readonly indexed: true;
|
|
5665
|
+
readonly internalType: "address";
|
|
5666
|
+
}, {
|
|
5667
|
+
readonly name: "amount";
|
|
5668
|
+
readonly type: "uint256";
|
|
5669
|
+
readonly indexed: true;
|
|
5670
|
+
readonly internalType: "uint256";
|
|
5671
|
+
}];
|
|
5672
|
+
readonly anonymous: false;
|
|
5673
|
+
}, {
|
|
5674
|
+
readonly type: "error";
|
|
5675
|
+
readonly name: "ECDSAInvalidSignature";
|
|
5676
|
+
readonly inputs: readonly [];
|
|
5677
|
+
}, {
|
|
5678
|
+
readonly type: "error";
|
|
5679
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
5680
|
+
readonly inputs: readonly [{
|
|
5681
|
+
readonly name: "length";
|
|
5682
|
+
readonly type: "uint256";
|
|
5683
|
+
readonly internalType: "uint256";
|
|
5684
|
+
}];
|
|
5685
|
+
}, {
|
|
5686
|
+
readonly type: "error";
|
|
5687
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
5688
|
+
readonly inputs: readonly [{
|
|
5689
|
+
readonly name: "s";
|
|
5690
|
+
readonly type: "bytes32";
|
|
5691
|
+
readonly internalType: "bytes32";
|
|
5692
|
+
}];
|
|
5693
|
+
}, {
|
|
5694
|
+
readonly type: "error";
|
|
5695
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
5696
|
+
readonly inputs: readonly [];
|
|
5573
5697
|
}];
|
|
5574
5698
|
export declare function getShortNames(): string[];
|
|
5575
5699
|
export declare function getNativeToken(chainId: number): string;
|