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