@gmx-io/sdk 2.2.0 → 2.2.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/build/cjs/src/abis/TransitStation.js +2222 -0
- package/build/cjs/src/abis/index.js +2 -0
- package/build/cjs/src/clients/v2/index.js +54 -27
- package/build/cjs/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +32 -0
- package/build/cjs/src/codegen/prebuilt/hashedMarketConfigKeys.json +272 -0
- package/build/cjs/src/codegen/prebuilt/hashedMarketValuesKeys.json +60 -0
- package/build/cjs/src/configs/markets.js +28 -0
- package/build/cjs/src/configs/tokens.js +9 -0
- package/build/cjs/src/utils/paxos/__tests__/api.spec.js +128 -0
- package/build/cjs/src/utils/paxos/api.js +129 -0
- package/build/cjs/src/utils/paxos/types.js +2 -0
- package/build/cjs/src/utils/usdgBoostApr/api.js +7 -0
- package/build/cjs/src/utils/usdgBoostApr/types.js +2 -0
- package/build/cjs/src/utils/whitelists/api.js +9 -0
- package/build/cjs/src/utils/whitelists/types.js +2 -0
- package/build/esm/src/abis/TransitStation.js +2220 -0
- package/build/esm/src/abis/index.js +2 -0
- package/build/esm/src/clients/v2/index.js +27 -0
- package/build/esm/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +32 -0
- package/build/esm/src/codegen/prebuilt/hashedMarketConfigKeys.json +272 -0
- package/build/esm/src/codegen/prebuilt/hashedMarketValuesKeys.json +60 -0
- package/build/esm/src/configs/markets.js +28 -0
- package/build/esm/src/configs/tokens.js +9 -0
- package/build/esm/src/utils/paxos/__tests__/api.spec.js +126 -0
- package/build/esm/src/utils/paxos/api.js +120 -0
- package/build/esm/src/utils/paxos/types.js +1 -0
- package/build/esm/src/utils/usdgBoostApr/api.js +3 -0
- package/build/esm/src/utils/usdgBoostApr/types.js +1 -0
- package/build/esm/src/utils/whitelists/api.js +5 -0
- package/build/esm/src/utils/whitelists/types.js +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/types/src/abis/TransitStation.d.ts +1710 -0
- package/build/types/src/abis/index.d.ts +1709 -0
- package/build/types/src/clients/v2/index.d.ts +20 -0
- package/build/types/src/codegen/prebuilt/index.d.ts +364 -0
- package/build/types/src/utils/paxos/__tests__/api.spec.d.ts +1 -0
- package/build/types/src/utils/paxos/api.d.ts +24 -0
- package/build/types/src/utils/paxos/types.d.ts +139 -0
- package/build/types/src/utils/trade/types.d.ts +2 -0
- package/build/types/src/utils/usdgBoostApr/api.d.ts +5 -0
- package/build/types/src/utils/usdgBoostApr/types.d.ts +19 -0
- package/build/types/src/utils/whitelists/api.d.ts +7 -0
- package/build/types/src/utils/whitelists/types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -31712,6 +31712,1715 @@ export declare const abis: {
|
|
|
31712
31712
|
readonly stateMutability: "nonpayable";
|
|
31713
31713
|
readonly type: "function";
|
|
31714
31714
|
}];
|
|
31715
|
+
TransitStation: readonly [{
|
|
31716
|
+
readonly type: "constructor";
|
|
31717
|
+
readonly inputs: readonly [{
|
|
31718
|
+
readonly name: "_owner";
|
|
31719
|
+
readonly type: "address";
|
|
31720
|
+
readonly internalType: "address";
|
|
31721
|
+
}, {
|
|
31722
|
+
readonly name: "_authority";
|
|
31723
|
+
readonly type: "address";
|
|
31724
|
+
readonly internalType: "contract Authority";
|
|
31725
|
+
}, {
|
|
31726
|
+
readonly name: "_endpoint";
|
|
31727
|
+
readonly type: "address";
|
|
31728
|
+
readonly internalType: "address";
|
|
31729
|
+
}, {
|
|
31730
|
+
readonly name: "_protocolFeeRecipient";
|
|
31731
|
+
readonly type: "address";
|
|
31732
|
+
readonly internalType: "address";
|
|
31733
|
+
}, {
|
|
31734
|
+
readonly name: "_quoteSigner";
|
|
31735
|
+
readonly type: "address";
|
|
31736
|
+
readonly internalType: "address";
|
|
31737
|
+
}, {
|
|
31738
|
+
readonly name: "_offerReceiver";
|
|
31739
|
+
readonly type: "address";
|
|
31740
|
+
readonly internalType: "address";
|
|
31741
|
+
}, {
|
|
31742
|
+
readonly name: "_wantAssetSource";
|
|
31743
|
+
readonly type: "address";
|
|
31744
|
+
readonly internalType: "address";
|
|
31745
|
+
}];
|
|
31746
|
+
readonly stateMutability: "nonpayable";
|
|
31747
|
+
}, {
|
|
31748
|
+
readonly name: "AmountExceedsDue";
|
|
31749
|
+
readonly type: "error";
|
|
31750
|
+
readonly inputs: readonly [{
|
|
31751
|
+
readonly name: "uuid";
|
|
31752
|
+
readonly type: "bytes32";
|
|
31753
|
+
readonly internalType: "bytes32";
|
|
31754
|
+
}, {
|
|
31755
|
+
readonly name: "requested";
|
|
31756
|
+
readonly type: "uint256";
|
|
31757
|
+
readonly internalType: "uint256";
|
|
31758
|
+
}, {
|
|
31759
|
+
readonly name: "due";
|
|
31760
|
+
readonly type: "uint256";
|
|
31761
|
+
readonly internalType: "uint256";
|
|
31762
|
+
}];
|
|
31763
|
+
}, {
|
|
31764
|
+
readonly name: "CallFailed";
|
|
31765
|
+
readonly type: "error";
|
|
31766
|
+
readonly inputs: readonly [];
|
|
31767
|
+
}, {
|
|
31768
|
+
readonly name: "DuplicatePushAttempt";
|
|
31769
|
+
readonly type: "error";
|
|
31770
|
+
readonly inputs: readonly [];
|
|
31771
|
+
}, {
|
|
31772
|
+
readonly name: "ECDSAInvalidSignature";
|
|
31773
|
+
readonly type: "error";
|
|
31774
|
+
readonly inputs: readonly [];
|
|
31775
|
+
}, {
|
|
31776
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
31777
|
+
readonly type: "error";
|
|
31778
|
+
readonly inputs: readonly [{
|
|
31779
|
+
readonly name: "length";
|
|
31780
|
+
readonly type: "uint256";
|
|
31781
|
+
readonly internalType: "uint256";
|
|
31782
|
+
}];
|
|
31783
|
+
}, {
|
|
31784
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
31785
|
+
readonly type: "error";
|
|
31786
|
+
readonly inputs: readonly [{
|
|
31787
|
+
readonly name: "s";
|
|
31788
|
+
readonly type: "bytes32";
|
|
31789
|
+
readonly internalType: "bytes32";
|
|
31790
|
+
}];
|
|
31791
|
+
}, {
|
|
31792
|
+
readonly name: "EnforcedPause";
|
|
31793
|
+
readonly type: "error";
|
|
31794
|
+
readonly inputs: readonly [];
|
|
31795
|
+
}, {
|
|
31796
|
+
readonly name: "ExpectedPause";
|
|
31797
|
+
readonly type: "error";
|
|
31798
|
+
readonly inputs: readonly [];
|
|
31799
|
+
}, {
|
|
31800
|
+
readonly name: "FeesExceedOrEqualOffer";
|
|
31801
|
+
readonly type: "error";
|
|
31802
|
+
readonly inputs: readonly [{
|
|
31803
|
+
readonly name: "protocolFee";
|
|
31804
|
+
readonly type: "uint256";
|
|
31805
|
+
readonly internalType: "uint256";
|
|
31806
|
+
}, {
|
|
31807
|
+
readonly name: "integratorFee";
|
|
31808
|
+
readonly type: "uint256";
|
|
31809
|
+
readonly internalType: "uint256";
|
|
31810
|
+
}, {
|
|
31811
|
+
readonly name: "offerAmount";
|
|
31812
|
+
readonly type: "uint256";
|
|
31813
|
+
readonly internalType: "uint256";
|
|
31814
|
+
}];
|
|
31815
|
+
}, {
|
|
31816
|
+
readonly name: "GasLimitNotSet";
|
|
31817
|
+
readonly type: "error";
|
|
31818
|
+
readonly inputs: readonly [{
|
|
31819
|
+
readonly name: "eid";
|
|
31820
|
+
readonly type: "uint32";
|
|
31821
|
+
readonly internalType: "uint32";
|
|
31822
|
+
}];
|
|
31823
|
+
}, {
|
|
31824
|
+
readonly name: "IntegratorFeeTooHigh";
|
|
31825
|
+
readonly type: "error";
|
|
31826
|
+
readonly inputs: readonly [{
|
|
31827
|
+
readonly name: "integratorFee";
|
|
31828
|
+
readonly type: "uint256";
|
|
31829
|
+
readonly internalType: "uint256";
|
|
31830
|
+
}, {
|
|
31831
|
+
readonly name: "maxIntegratorFee";
|
|
31832
|
+
readonly type: "uint256";
|
|
31833
|
+
readonly internalType: "uint256";
|
|
31834
|
+
}];
|
|
31835
|
+
}, {
|
|
31836
|
+
readonly name: "InvalidDelegate";
|
|
31837
|
+
readonly type: "error";
|
|
31838
|
+
readonly inputs: readonly [];
|
|
31839
|
+
}, {
|
|
31840
|
+
readonly name: "InvalidEndpointCall";
|
|
31841
|
+
readonly type: "error";
|
|
31842
|
+
readonly inputs: readonly [];
|
|
31843
|
+
}, {
|
|
31844
|
+
readonly name: "InvalidOptionType";
|
|
31845
|
+
readonly type: "error";
|
|
31846
|
+
readonly inputs: readonly [{
|
|
31847
|
+
readonly name: "optionType";
|
|
31848
|
+
readonly type: "uint16";
|
|
31849
|
+
readonly internalType: "uint16";
|
|
31850
|
+
}];
|
|
31851
|
+
}, {
|
|
31852
|
+
readonly name: "InvalidSigner";
|
|
31853
|
+
readonly type: "error";
|
|
31854
|
+
readonly inputs: readonly [{
|
|
31855
|
+
readonly name: "recoveredSigner";
|
|
31856
|
+
readonly type: "address";
|
|
31857
|
+
readonly internalType: "address";
|
|
31858
|
+
}];
|
|
31859
|
+
}, {
|
|
31860
|
+
readonly name: "LengthMismatch";
|
|
31861
|
+
readonly type: "error";
|
|
31862
|
+
readonly inputs: readonly [{
|
|
31863
|
+
readonly name: "lengthA";
|
|
31864
|
+
readonly type: "uint256";
|
|
31865
|
+
readonly internalType: "uint256";
|
|
31866
|
+
}, {
|
|
31867
|
+
readonly name: "lengthB";
|
|
31868
|
+
readonly type: "uint256";
|
|
31869
|
+
readonly internalType: "uint256";
|
|
31870
|
+
}];
|
|
31871
|
+
}, {
|
|
31872
|
+
readonly name: "LzTokenUnavailable";
|
|
31873
|
+
readonly type: "error";
|
|
31874
|
+
readonly inputs: readonly [];
|
|
31875
|
+
}, {
|
|
31876
|
+
readonly name: "NoCode";
|
|
31877
|
+
readonly type: "error";
|
|
31878
|
+
readonly inputs: readonly [{
|
|
31879
|
+
readonly name: "target";
|
|
31880
|
+
readonly type: "address";
|
|
31881
|
+
readonly internalType: "address";
|
|
31882
|
+
}];
|
|
31883
|
+
}, {
|
|
31884
|
+
readonly name: "NoPeer";
|
|
31885
|
+
readonly type: "error";
|
|
31886
|
+
readonly inputs: readonly [{
|
|
31887
|
+
readonly name: "eid";
|
|
31888
|
+
readonly type: "uint32";
|
|
31889
|
+
readonly internalType: "uint32";
|
|
31890
|
+
}];
|
|
31891
|
+
}, {
|
|
31892
|
+
readonly name: "NotEnoughNative";
|
|
31893
|
+
readonly type: "error";
|
|
31894
|
+
readonly inputs: readonly [{
|
|
31895
|
+
readonly name: "msgValue";
|
|
31896
|
+
readonly type: "uint256";
|
|
31897
|
+
readonly internalType: "uint256";
|
|
31898
|
+
}];
|
|
31899
|
+
}, {
|
|
31900
|
+
readonly name: "OnlyEndpoint";
|
|
31901
|
+
readonly type: "error";
|
|
31902
|
+
readonly inputs: readonly [{
|
|
31903
|
+
readonly name: "addr";
|
|
31904
|
+
readonly type: "address";
|
|
31905
|
+
readonly internalType: "address";
|
|
31906
|
+
}];
|
|
31907
|
+
}, {
|
|
31908
|
+
readonly name: "OnlyPeer";
|
|
31909
|
+
readonly type: "error";
|
|
31910
|
+
readonly inputs: readonly [{
|
|
31911
|
+
readonly name: "eid";
|
|
31912
|
+
readonly type: "uint32";
|
|
31913
|
+
readonly internalType: "uint32";
|
|
31914
|
+
}, {
|
|
31915
|
+
readonly name: "sender";
|
|
31916
|
+
readonly type: "bytes32";
|
|
31917
|
+
readonly internalType: "bytes32";
|
|
31918
|
+
}];
|
|
31919
|
+
}, {
|
|
31920
|
+
readonly name: "OrderNotFound";
|
|
31921
|
+
readonly type: "error";
|
|
31922
|
+
readonly inputs: readonly [{
|
|
31923
|
+
readonly name: "uuid";
|
|
31924
|
+
readonly type: "bytes32";
|
|
31925
|
+
readonly internalType: "bytes32";
|
|
31926
|
+
}];
|
|
31927
|
+
}, {
|
|
31928
|
+
readonly name: "PermitFailedAndAllowanceTooLow";
|
|
31929
|
+
readonly type: "error";
|
|
31930
|
+
readonly inputs: readonly [];
|
|
31931
|
+
}, {
|
|
31932
|
+
readonly name: "ProtocolFeeTooHigh";
|
|
31933
|
+
readonly type: "error";
|
|
31934
|
+
readonly inputs: readonly [{
|
|
31935
|
+
readonly name: "protocolFee";
|
|
31936
|
+
readonly type: "uint256";
|
|
31937
|
+
readonly internalType: "uint256";
|
|
31938
|
+
}, {
|
|
31939
|
+
readonly name: "maxProtocolFee";
|
|
31940
|
+
readonly type: "uint256";
|
|
31941
|
+
readonly internalType: "uint256";
|
|
31942
|
+
}];
|
|
31943
|
+
}, {
|
|
31944
|
+
readonly name: "QuoteExpired";
|
|
31945
|
+
readonly type: "error";
|
|
31946
|
+
readonly inputs: readonly [{
|
|
31947
|
+
readonly name: "deadline";
|
|
31948
|
+
readonly type: "uint256";
|
|
31949
|
+
readonly internalType: "uint256";
|
|
31950
|
+
}];
|
|
31951
|
+
}, {
|
|
31952
|
+
readonly name: "ResidualApproval";
|
|
31953
|
+
readonly type: "error";
|
|
31954
|
+
readonly inputs: readonly [{
|
|
31955
|
+
readonly name: "token";
|
|
31956
|
+
readonly type: "address";
|
|
31957
|
+
readonly internalType: "address";
|
|
31958
|
+
}, {
|
|
31959
|
+
readonly name: "wantAssetSource";
|
|
31960
|
+
readonly type: "address";
|
|
31961
|
+
readonly internalType: "address";
|
|
31962
|
+
}, {
|
|
31963
|
+
readonly name: "remaining";
|
|
31964
|
+
readonly type: "uint256";
|
|
31965
|
+
readonly internalType: "uint256";
|
|
31966
|
+
}];
|
|
31967
|
+
}, {
|
|
31968
|
+
readonly name: "RouteNotApproved";
|
|
31969
|
+
readonly type: "error";
|
|
31970
|
+
readonly inputs: readonly [{
|
|
31971
|
+
readonly name: "route";
|
|
31972
|
+
readonly type: "tuple";
|
|
31973
|
+
readonly components: readonly [{
|
|
31974
|
+
readonly name: "destEID";
|
|
31975
|
+
readonly type: "uint32";
|
|
31976
|
+
readonly internalType: "uint32";
|
|
31977
|
+
}, {
|
|
31978
|
+
readonly name: "offerAsset";
|
|
31979
|
+
readonly type: "address";
|
|
31980
|
+
readonly internalType: "address";
|
|
31981
|
+
}, {
|
|
31982
|
+
readonly name: "wantAsset";
|
|
31983
|
+
readonly type: "address";
|
|
31984
|
+
readonly internalType: "address";
|
|
31985
|
+
}];
|
|
31986
|
+
readonly internalType: "struct TransitStation.Route";
|
|
31987
|
+
}];
|
|
31988
|
+
}, {
|
|
31989
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
31990
|
+
readonly type: "error";
|
|
31991
|
+
readonly inputs: readonly [{
|
|
31992
|
+
readonly name: "bits";
|
|
31993
|
+
readonly type: "uint8";
|
|
31994
|
+
readonly internalType: "uint8";
|
|
31995
|
+
}, {
|
|
31996
|
+
readonly name: "value";
|
|
31997
|
+
readonly type: "uint256";
|
|
31998
|
+
readonly internalType: "uint256";
|
|
31999
|
+
}];
|
|
32000
|
+
}, {
|
|
32001
|
+
readonly name: "SafeERC20FailedOperation";
|
|
32002
|
+
readonly type: "error";
|
|
32003
|
+
readonly inputs: readonly [{
|
|
32004
|
+
readonly name: "token";
|
|
32005
|
+
readonly type: "address";
|
|
32006
|
+
readonly internalType: "address";
|
|
32007
|
+
}];
|
|
32008
|
+
}, {
|
|
32009
|
+
readonly name: "SameChainOrdersRequireNoValue";
|
|
32010
|
+
readonly type: "error";
|
|
32011
|
+
readonly inputs: readonly [];
|
|
32012
|
+
}, {
|
|
32013
|
+
readonly name: "SignatureAlreadyUsed";
|
|
32014
|
+
readonly type: "error";
|
|
32015
|
+
readonly inputs: readonly [{
|
|
32016
|
+
readonly name: "digest";
|
|
32017
|
+
readonly type: "bytes32";
|
|
32018
|
+
readonly internalType: "bytes32";
|
|
32019
|
+
}];
|
|
32020
|
+
}, {
|
|
32021
|
+
readonly name: "WantAssetMismatch";
|
|
32022
|
+
readonly type: "error";
|
|
32023
|
+
readonly inputs: readonly [{
|
|
32024
|
+
readonly name: "uuid";
|
|
32025
|
+
readonly type: "bytes32";
|
|
32026
|
+
readonly internalType: "bytes32";
|
|
32027
|
+
}, {
|
|
32028
|
+
readonly name: "orderWantAsset";
|
|
32029
|
+
readonly type: "address";
|
|
32030
|
+
readonly internalType: "address";
|
|
32031
|
+
}, {
|
|
32032
|
+
readonly name: "batchWantAsset";
|
|
32033
|
+
readonly type: "address";
|
|
32034
|
+
readonly internalType: "address";
|
|
32035
|
+
}];
|
|
32036
|
+
}, {
|
|
32037
|
+
readonly name: "ZeroAddress";
|
|
32038
|
+
readonly type: "error";
|
|
32039
|
+
readonly inputs: readonly [];
|
|
32040
|
+
}, {
|
|
32041
|
+
readonly name: "AuthorityUpdated";
|
|
32042
|
+
readonly type: "event";
|
|
32043
|
+
readonly inputs: readonly [{
|
|
32044
|
+
readonly name: "user";
|
|
32045
|
+
readonly type: "address";
|
|
32046
|
+
readonly indexed: true;
|
|
32047
|
+
readonly internalType: "address";
|
|
32048
|
+
}, {
|
|
32049
|
+
readonly name: "newAuthority";
|
|
32050
|
+
readonly type: "address";
|
|
32051
|
+
readonly indexed: true;
|
|
32052
|
+
readonly internalType: "contract Authority";
|
|
32053
|
+
}];
|
|
32054
|
+
readonly anonymous: false;
|
|
32055
|
+
}, {
|
|
32056
|
+
readonly name: "ETHRecovered";
|
|
32057
|
+
readonly type: "event";
|
|
32058
|
+
readonly inputs: readonly [{
|
|
32059
|
+
readonly name: "amount";
|
|
32060
|
+
readonly type: "uint256";
|
|
32061
|
+
readonly indexed: false;
|
|
32062
|
+
readonly internalType: "uint256";
|
|
32063
|
+
}];
|
|
32064
|
+
readonly anonymous: false;
|
|
32065
|
+
}, {
|
|
32066
|
+
readonly name: "MessageGasLimitSet";
|
|
32067
|
+
readonly type: "event";
|
|
32068
|
+
readonly inputs: readonly [{
|
|
32069
|
+
readonly name: "eid";
|
|
32070
|
+
readonly type: "uint32";
|
|
32071
|
+
readonly indexed: true;
|
|
32072
|
+
readonly internalType: "uint32";
|
|
32073
|
+
}, {
|
|
32074
|
+
readonly name: "gasLimit";
|
|
32075
|
+
readonly type: "uint64";
|
|
32076
|
+
readonly indexed: false;
|
|
32077
|
+
readonly internalType: "uint64";
|
|
32078
|
+
}];
|
|
32079
|
+
readonly anonymous: false;
|
|
32080
|
+
}, {
|
|
32081
|
+
readonly name: "OfferReceiverSet";
|
|
32082
|
+
readonly type: "event";
|
|
32083
|
+
readonly inputs: readonly [{
|
|
32084
|
+
readonly name: "offerReceiver";
|
|
32085
|
+
readonly type: "address";
|
|
32086
|
+
readonly indexed: true;
|
|
32087
|
+
readonly internalType: "address";
|
|
32088
|
+
}];
|
|
32089
|
+
readonly anonymous: false;
|
|
32090
|
+
}, {
|
|
32091
|
+
readonly name: "OrderBridgeReceived";
|
|
32092
|
+
readonly type: "event";
|
|
32093
|
+
readonly inputs: readonly [{
|
|
32094
|
+
readonly name: "uuid";
|
|
32095
|
+
readonly type: "bytes32";
|
|
32096
|
+
readonly indexed: true;
|
|
32097
|
+
readonly internalType: "bytes32";
|
|
32098
|
+
}, {
|
|
32099
|
+
readonly name: "srcEID";
|
|
32100
|
+
readonly type: "uint32";
|
|
32101
|
+
readonly indexed: true;
|
|
32102
|
+
readonly internalType: "uint32";
|
|
32103
|
+
}, {
|
|
32104
|
+
readonly name: "guid";
|
|
32105
|
+
readonly type: "bytes32";
|
|
32106
|
+
readonly indexed: false;
|
|
32107
|
+
readonly internalType: "bytes32";
|
|
32108
|
+
}, {
|
|
32109
|
+
readonly name: "order";
|
|
32110
|
+
readonly type: "tuple";
|
|
32111
|
+
readonly indexed: false;
|
|
32112
|
+
readonly components: readonly [{
|
|
32113
|
+
readonly name: "terms";
|
|
32114
|
+
readonly type: "tuple";
|
|
32115
|
+
readonly components: readonly [{
|
|
32116
|
+
readonly name: "uuid";
|
|
32117
|
+
readonly type: "bytes32";
|
|
32118
|
+
readonly internalType: "bytes32";
|
|
32119
|
+
}, {
|
|
32120
|
+
readonly name: "wantAsset";
|
|
32121
|
+
readonly type: "address";
|
|
32122
|
+
readonly internalType: "address";
|
|
32123
|
+
}, {
|
|
32124
|
+
readonly name: "receiver";
|
|
32125
|
+
readonly type: "address";
|
|
32126
|
+
readonly internalType: "address";
|
|
32127
|
+
}, {
|
|
32128
|
+
readonly name: "offerAsset";
|
|
32129
|
+
readonly type: "address";
|
|
32130
|
+
readonly internalType: "address";
|
|
32131
|
+
}, {
|
|
32132
|
+
readonly name: "offerAmountNormalized18AfterFees";
|
|
32133
|
+
readonly type: "uint256";
|
|
32134
|
+
readonly internalType: "uint256";
|
|
32135
|
+
}];
|
|
32136
|
+
readonly internalType: "struct TransitStation.OrderTerms";
|
|
32137
|
+
}, {
|
|
32138
|
+
readonly name: "amountDue";
|
|
32139
|
+
readonly type: "uint256";
|
|
32140
|
+
readonly internalType: "uint256";
|
|
32141
|
+
}, {
|
|
32142
|
+
readonly name: "queuedAt";
|
|
32143
|
+
readonly type: "uint64";
|
|
32144
|
+
readonly internalType: "uint64";
|
|
32145
|
+
}];
|
|
32146
|
+
readonly internalType: "struct TransitStation.Order";
|
|
32147
|
+
}];
|
|
32148
|
+
readonly anonymous: false;
|
|
32149
|
+
}, {
|
|
32150
|
+
readonly name: "OrderBridged";
|
|
32151
|
+
readonly type: "event";
|
|
32152
|
+
readonly inputs: readonly [{
|
|
32153
|
+
readonly name: "uuid";
|
|
32154
|
+
readonly type: "bytes32";
|
|
32155
|
+
readonly indexed: true;
|
|
32156
|
+
readonly internalType: "bytes32";
|
|
32157
|
+
}, {
|
|
32158
|
+
readonly name: "destEID";
|
|
32159
|
+
readonly type: "uint32";
|
|
32160
|
+
readonly indexed: true;
|
|
32161
|
+
readonly internalType: "uint32";
|
|
32162
|
+
}, {
|
|
32163
|
+
readonly name: "guid";
|
|
32164
|
+
readonly type: "bytes32";
|
|
32165
|
+
readonly indexed: false;
|
|
32166
|
+
readonly internalType: "bytes32";
|
|
32167
|
+
}, {
|
|
32168
|
+
readonly name: "terms";
|
|
32169
|
+
readonly type: "tuple";
|
|
32170
|
+
readonly indexed: false;
|
|
32171
|
+
readonly components: readonly [{
|
|
32172
|
+
readonly name: "uuid";
|
|
32173
|
+
readonly type: "bytes32";
|
|
32174
|
+
readonly internalType: "bytes32";
|
|
32175
|
+
}, {
|
|
32176
|
+
readonly name: "wantAsset";
|
|
32177
|
+
readonly type: "address";
|
|
32178
|
+
readonly internalType: "address";
|
|
32179
|
+
}, {
|
|
32180
|
+
readonly name: "receiver";
|
|
32181
|
+
readonly type: "address";
|
|
32182
|
+
readonly internalType: "address";
|
|
32183
|
+
}, {
|
|
32184
|
+
readonly name: "offerAsset";
|
|
32185
|
+
readonly type: "address";
|
|
32186
|
+
readonly internalType: "address";
|
|
32187
|
+
}, {
|
|
32188
|
+
readonly name: "offerAmountNormalized18AfterFees";
|
|
32189
|
+
readonly type: "uint256";
|
|
32190
|
+
readonly internalType: "uint256";
|
|
32191
|
+
}];
|
|
32192
|
+
readonly internalType: "struct TransitStation.OrderTerms";
|
|
32193
|
+
}];
|
|
32194
|
+
readonly anonymous: false;
|
|
32195
|
+
}, {
|
|
32196
|
+
readonly name: "OrderExecuted";
|
|
32197
|
+
readonly type: "event";
|
|
32198
|
+
readonly inputs: readonly [{
|
|
32199
|
+
readonly name: "uuid";
|
|
32200
|
+
readonly type: "bytes32";
|
|
32201
|
+
readonly indexed: true;
|
|
32202
|
+
readonly internalType: "bytes32";
|
|
32203
|
+
}, {
|
|
32204
|
+
readonly name: "amount";
|
|
32205
|
+
readonly type: "uint256";
|
|
32206
|
+
readonly indexed: false;
|
|
32207
|
+
readonly internalType: "uint256";
|
|
32208
|
+
}, {
|
|
32209
|
+
readonly name: "remaining";
|
|
32210
|
+
readonly type: "uint256";
|
|
32211
|
+
readonly indexed: false;
|
|
32212
|
+
readonly internalType: "uint256";
|
|
32213
|
+
}];
|
|
32214
|
+
readonly anonymous: false;
|
|
32215
|
+
}, {
|
|
32216
|
+
readonly name: "OrderForceRemoved";
|
|
32217
|
+
readonly type: "event";
|
|
32218
|
+
readonly inputs: readonly [{
|
|
32219
|
+
readonly name: "uuid";
|
|
32220
|
+
readonly type: "bytes32";
|
|
32221
|
+
readonly indexed: true;
|
|
32222
|
+
readonly internalType: "bytes32";
|
|
32223
|
+
}, {
|
|
32224
|
+
readonly name: "order";
|
|
32225
|
+
readonly type: "tuple";
|
|
32226
|
+
readonly indexed: false;
|
|
32227
|
+
readonly components: readonly [{
|
|
32228
|
+
readonly name: "terms";
|
|
32229
|
+
readonly type: "tuple";
|
|
32230
|
+
readonly components: readonly [{
|
|
32231
|
+
readonly name: "uuid";
|
|
32232
|
+
readonly type: "bytes32";
|
|
32233
|
+
readonly internalType: "bytes32";
|
|
32234
|
+
}, {
|
|
32235
|
+
readonly name: "wantAsset";
|
|
32236
|
+
readonly type: "address";
|
|
32237
|
+
readonly internalType: "address";
|
|
32238
|
+
}, {
|
|
32239
|
+
readonly name: "receiver";
|
|
32240
|
+
readonly type: "address";
|
|
32241
|
+
readonly internalType: "address";
|
|
32242
|
+
}, {
|
|
32243
|
+
readonly name: "offerAsset";
|
|
32244
|
+
readonly type: "address";
|
|
32245
|
+
readonly internalType: "address";
|
|
32246
|
+
}, {
|
|
32247
|
+
readonly name: "offerAmountNormalized18AfterFees";
|
|
32248
|
+
readonly type: "uint256";
|
|
32249
|
+
readonly internalType: "uint256";
|
|
32250
|
+
}];
|
|
32251
|
+
readonly internalType: "struct TransitStation.OrderTerms";
|
|
32252
|
+
}, {
|
|
32253
|
+
readonly name: "amountDue";
|
|
32254
|
+
readonly type: "uint256";
|
|
32255
|
+
readonly internalType: "uint256";
|
|
32256
|
+
}, {
|
|
32257
|
+
readonly name: "queuedAt";
|
|
32258
|
+
readonly type: "uint64";
|
|
32259
|
+
readonly internalType: "uint64";
|
|
32260
|
+
}];
|
|
32261
|
+
readonly internalType: "struct TransitStation.Order";
|
|
32262
|
+
}];
|
|
32263
|
+
readonly anonymous: false;
|
|
32264
|
+
}, {
|
|
32265
|
+
readonly name: "OrderReceived";
|
|
32266
|
+
readonly type: "event";
|
|
32267
|
+
readonly inputs: readonly [{
|
|
32268
|
+
readonly name: "uuid";
|
|
32269
|
+
readonly type: "bytes32";
|
|
32270
|
+
readonly indexed: true;
|
|
32271
|
+
readonly internalType: "bytes32";
|
|
32272
|
+
}, {
|
|
32273
|
+
readonly name: "order";
|
|
32274
|
+
readonly type: "tuple";
|
|
32275
|
+
readonly indexed: false;
|
|
32276
|
+
readonly components: readonly [{
|
|
32277
|
+
readonly name: "terms";
|
|
32278
|
+
readonly type: "tuple";
|
|
32279
|
+
readonly components: readonly [{
|
|
32280
|
+
readonly name: "uuid";
|
|
32281
|
+
readonly type: "bytes32";
|
|
32282
|
+
readonly internalType: "bytes32";
|
|
32283
|
+
}, {
|
|
32284
|
+
readonly name: "wantAsset";
|
|
32285
|
+
readonly type: "address";
|
|
32286
|
+
readonly internalType: "address";
|
|
32287
|
+
}, {
|
|
32288
|
+
readonly name: "receiver";
|
|
32289
|
+
readonly type: "address";
|
|
32290
|
+
readonly internalType: "address";
|
|
32291
|
+
}, {
|
|
32292
|
+
readonly name: "offerAsset";
|
|
32293
|
+
readonly type: "address";
|
|
32294
|
+
readonly internalType: "address";
|
|
32295
|
+
}, {
|
|
32296
|
+
readonly name: "offerAmountNormalized18AfterFees";
|
|
32297
|
+
readonly type: "uint256";
|
|
32298
|
+
readonly internalType: "uint256";
|
|
32299
|
+
}];
|
|
32300
|
+
readonly internalType: "struct TransitStation.OrderTerms";
|
|
32301
|
+
}, {
|
|
32302
|
+
readonly name: "amountDue";
|
|
32303
|
+
readonly type: "uint256";
|
|
32304
|
+
readonly internalType: "uint256";
|
|
32305
|
+
}, {
|
|
32306
|
+
readonly name: "queuedAt";
|
|
32307
|
+
readonly type: "uint64";
|
|
32308
|
+
readonly internalType: "uint64";
|
|
32309
|
+
}];
|
|
32310
|
+
readonly internalType: "struct TransitStation.Order";
|
|
32311
|
+
}];
|
|
32312
|
+
readonly anonymous: false;
|
|
32313
|
+
}, {
|
|
32314
|
+
readonly name: "OrderSubmitted";
|
|
32315
|
+
readonly type: "event";
|
|
32316
|
+
readonly inputs: readonly [{
|
|
32317
|
+
readonly name: "uuid";
|
|
32318
|
+
readonly type: "bytes32";
|
|
32319
|
+
readonly indexed: true;
|
|
32320
|
+
readonly internalType: "bytes32";
|
|
32321
|
+
}, {
|
|
32322
|
+
readonly name: "sourceEID";
|
|
32323
|
+
readonly type: "uint32";
|
|
32324
|
+
readonly indexed: false;
|
|
32325
|
+
readonly internalType: "uint32";
|
|
32326
|
+
}, {
|
|
32327
|
+
readonly name: "quote";
|
|
32328
|
+
readonly type: "tuple";
|
|
32329
|
+
readonly indexed: false;
|
|
32330
|
+
readonly components: readonly [{
|
|
32331
|
+
readonly name: "route";
|
|
32332
|
+
readonly type: "tuple";
|
|
32333
|
+
readonly components: readonly [{
|
|
32334
|
+
readonly name: "destEID";
|
|
32335
|
+
readonly type: "uint32";
|
|
32336
|
+
readonly internalType: "uint32";
|
|
32337
|
+
}, {
|
|
32338
|
+
readonly name: "offerAsset";
|
|
32339
|
+
readonly type: "address";
|
|
32340
|
+
readonly internalType: "address";
|
|
32341
|
+
}, {
|
|
32342
|
+
readonly name: "wantAsset";
|
|
32343
|
+
readonly type: "address";
|
|
32344
|
+
readonly internalType: "address";
|
|
32345
|
+
}];
|
|
32346
|
+
readonly internalType: "struct TransitStation.Route";
|
|
32347
|
+
}, {
|
|
32348
|
+
readonly name: "offerAmount";
|
|
32349
|
+
readonly type: "uint256";
|
|
32350
|
+
readonly internalType: "uint256";
|
|
32351
|
+
}, {
|
|
32352
|
+
readonly name: "receiver";
|
|
32353
|
+
readonly type: "address";
|
|
32354
|
+
readonly internalType: "address";
|
|
32355
|
+
}, {
|
|
32356
|
+
readonly name: "protocolFee";
|
|
32357
|
+
readonly type: "uint256";
|
|
32358
|
+
readonly internalType: "uint256";
|
|
32359
|
+
}, {
|
|
32360
|
+
readonly name: "integratorFee";
|
|
32361
|
+
readonly type: "uint256";
|
|
32362
|
+
readonly internalType: "uint256";
|
|
32363
|
+
}, {
|
|
32364
|
+
readonly name: "integratorFeeReceiver";
|
|
32365
|
+
readonly type: "address";
|
|
32366
|
+
readonly internalType: "address";
|
|
32367
|
+
}, {
|
|
32368
|
+
readonly name: "distributorCode";
|
|
32369
|
+
readonly type: "bytes32";
|
|
32370
|
+
readonly internalType: "bytes32";
|
|
32371
|
+
}, {
|
|
32372
|
+
readonly name: "deadline";
|
|
32373
|
+
readonly type: "uint256";
|
|
32374
|
+
readonly internalType: "uint256";
|
|
32375
|
+
}, {
|
|
32376
|
+
readonly name: "salt";
|
|
32377
|
+
readonly type: "bytes32";
|
|
32378
|
+
readonly internalType: "bytes32";
|
|
32379
|
+
}];
|
|
32380
|
+
readonly internalType: "struct TransitStation.Quote";
|
|
32381
|
+
}, {
|
|
32382
|
+
readonly name: "user";
|
|
32383
|
+
readonly type: "address";
|
|
32384
|
+
readonly indexed: true;
|
|
32385
|
+
readonly internalType: "address";
|
|
32386
|
+
}, {
|
|
32387
|
+
readonly name: "distributorCode";
|
|
32388
|
+
readonly type: "bytes32";
|
|
32389
|
+
readonly indexed: true;
|
|
32390
|
+
readonly internalType: "bytes32";
|
|
32391
|
+
}];
|
|
32392
|
+
readonly anonymous: false;
|
|
32393
|
+
}, {
|
|
32394
|
+
readonly name: "OwnershipTransferred";
|
|
32395
|
+
readonly type: "event";
|
|
32396
|
+
readonly inputs: readonly [{
|
|
32397
|
+
readonly name: "user";
|
|
32398
|
+
readonly type: "address";
|
|
32399
|
+
readonly indexed: true;
|
|
32400
|
+
readonly internalType: "address";
|
|
32401
|
+
}, {
|
|
32402
|
+
readonly name: "newOwner";
|
|
32403
|
+
readonly type: "address";
|
|
32404
|
+
readonly indexed: true;
|
|
32405
|
+
readonly internalType: "address";
|
|
32406
|
+
}];
|
|
32407
|
+
readonly anonymous: false;
|
|
32408
|
+
}, {
|
|
32409
|
+
readonly name: "Paused";
|
|
32410
|
+
readonly type: "event";
|
|
32411
|
+
readonly inputs: readonly [{
|
|
32412
|
+
readonly name: "account";
|
|
32413
|
+
readonly type: "address";
|
|
32414
|
+
readonly indexed: false;
|
|
32415
|
+
readonly internalType: "address";
|
|
32416
|
+
}];
|
|
32417
|
+
readonly anonymous: false;
|
|
32418
|
+
}, {
|
|
32419
|
+
readonly name: "PeerSet";
|
|
32420
|
+
readonly type: "event";
|
|
32421
|
+
readonly inputs: readonly [{
|
|
32422
|
+
readonly name: "eid";
|
|
32423
|
+
readonly type: "uint32";
|
|
32424
|
+
readonly indexed: false;
|
|
32425
|
+
readonly internalType: "uint32";
|
|
32426
|
+
}, {
|
|
32427
|
+
readonly name: "peer";
|
|
32428
|
+
readonly type: "bytes32";
|
|
32429
|
+
readonly indexed: false;
|
|
32430
|
+
readonly internalType: "bytes32";
|
|
32431
|
+
}];
|
|
32432
|
+
readonly anonymous: false;
|
|
32433
|
+
}, {
|
|
32434
|
+
readonly name: "ProtocolFeeRecipientSet";
|
|
32435
|
+
readonly type: "event";
|
|
32436
|
+
readonly inputs: readonly [{
|
|
32437
|
+
readonly name: "recipient";
|
|
32438
|
+
readonly type: "address";
|
|
32439
|
+
readonly indexed: true;
|
|
32440
|
+
readonly internalType: "address";
|
|
32441
|
+
}];
|
|
32442
|
+
readonly anonymous: false;
|
|
32443
|
+
}, {
|
|
32444
|
+
readonly name: "QuoteSignerSet";
|
|
32445
|
+
readonly type: "event";
|
|
32446
|
+
readonly inputs: readonly [{
|
|
32447
|
+
readonly name: "signer";
|
|
32448
|
+
readonly type: "address";
|
|
32449
|
+
readonly indexed: true;
|
|
32450
|
+
readonly internalType: "address";
|
|
32451
|
+
}];
|
|
32452
|
+
readonly anonymous: false;
|
|
32453
|
+
}, {
|
|
32454
|
+
readonly name: "RouteApprovalSet";
|
|
32455
|
+
readonly type: "event";
|
|
32456
|
+
readonly inputs: readonly [{
|
|
32457
|
+
readonly name: "route";
|
|
32458
|
+
readonly type: "tuple";
|
|
32459
|
+
readonly indexed: false;
|
|
32460
|
+
readonly components: readonly [{
|
|
32461
|
+
readonly name: "destEID";
|
|
32462
|
+
readonly type: "uint32";
|
|
32463
|
+
readonly internalType: "uint32";
|
|
32464
|
+
}, {
|
|
32465
|
+
readonly name: "offerAsset";
|
|
32466
|
+
readonly type: "address";
|
|
32467
|
+
readonly internalType: "address";
|
|
32468
|
+
}, {
|
|
32469
|
+
readonly name: "wantAsset";
|
|
32470
|
+
readonly type: "address";
|
|
32471
|
+
readonly internalType: "address";
|
|
32472
|
+
}];
|
|
32473
|
+
readonly internalType: "struct TransitStation.Route";
|
|
32474
|
+
}, {
|
|
32475
|
+
readonly name: "approved";
|
|
32476
|
+
readonly type: "bool";
|
|
32477
|
+
readonly indexed: true;
|
|
32478
|
+
readonly internalType: "bool";
|
|
32479
|
+
}];
|
|
32480
|
+
readonly anonymous: false;
|
|
32481
|
+
}, {
|
|
32482
|
+
readonly name: "TokensRecovered";
|
|
32483
|
+
readonly type: "event";
|
|
32484
|
+
readonly inputs: readonly [{
|
|
32485
|
+
readonly name: "token";
|
|
32486
|
+
readonly type: "address";
|
|
32487
|
+
readonly indexed: false;
|
|
32488
|
+
readonly internalType: "contract ERC20";
|
|
32489
|
+
}, {
|
|
32490
|
+
readonly name: "amount";
|
|
32491
|
+
readonly type: "uint256";
|
|
32492
|
+
readonly indexed: false;
|
|
32493
|
+
readonly internalType: "uint256";
|
|
32494
|
+
}];
|
|
32495
|
+
readonly anonymous: false;
|
|
32496
|
+
}, {
|
|
32497
|
+
readonly name: "UUIDForceSetUsed";
|
|
32498
|
+
readonly type: "event";
|
|
32499
|
+
readonly inputs: readonly [{
|
|
32500
|
+
readonly name: "uuid";
|
|
32501
|
+
readonly type: "bytes32";
|
|
32502
|
+
readonly indexed: true;
|
|
32503
|
+
readonly internalType: "bytes32";
|
|
32504
|
+
}];
|
|
32505
|
+
readonly anonymous: false;
|
|
32506
|
+
}, {
|
|
32507
|
+
readonly name: "Unpaused";
|
|
32508
|
+
readonly type: "event";
|
|
32509
|
+
readonly inputs: readonly [{
|
|
32510
|
+
readonly name: "account";
|
|
32511
|
+
readonly type: "address";
|
|
32512
|
+
readonly indexed: false;
|
|
32513
|
+
readonly internalType: "address";
|
|
32514
|
+
}];
|
|
32515
|
+
readonly anonymous: false;
|
|
32516
|
+
}, {
|
|
32517
|
+
readonly name: "WantAssetSourceSet";
|
|
32518
|
+
readonly type: "event";
|
|
32519
|
+
readonly inputs: readonly [{
|
|
32520
|
+
readonly name: "wantAssetSource";
|
|
32521
|
+
readonly type: "address";
|
|
32522
|
+
readonly indexed: true;
|
|
32523
|
+
readonly internalType: "address";
|
|
32524
|
+
}];
|
|
32525
|
+
readonly anonymous: false;
|
|
32526
|
+
}, {
|
|
32527
|
+
readonly name: "MAX_INTEGRATOR_FEE_BPS";
|
|
32528
|
+
readonly type: "function";
|
|
32529
|
+
readonly inputs: readonly [];
|
|
32530
|
+
readonly outputs: readonly [{
|
|
32531
|
+
readonly name: "";
|
|
32532
|
+
readonly type: "uint256";
|
|
32533
|
+
readonly internalType: "uint256";
|
|
32534
|
+
}];
|
|
32535
|
+
readonly stateMutability: "view";
|
|
32536
|
+
}, {
|
|
32537
|
+
readonly name: "MAX_PROTOCOL_FEE_BPS";
|
|
32538
|
+
readonly type: "function";
|
|
32539
|
+
readonly inputs: readonly [];
|
|
32540
|
+
readonly outputs: readonly [{
|
|
32541
|
+
readonly name: "";
|
|
32542
|
+
readonly type: "uint256";
|
|
32543
|
+
readonly internalType: "uint256";
|
|
32544
|
+
}];
|
|
32545
|
+
readonly stateMutability: "view";
|
|
32546
|
+
}, {
|
|
32547
|
+
readonly name: "ONE_HUNDRED_PERCENT";
|
|
32548
|
+
readonly type: "function";
|
|
32549
|
+
readonly inputs: readonly [];
|
|
32550
|
+
readonly outputs: readonly [{
|
|
32551
|
+
readonly name: "";
|
|
32552
|
+
readonly type: "uint256";
|
|
32553
|
+
readonly internalType: "uint256";
|
|
32554
|
+
}];
|
|
32555
|
+
readonly stateMutability: "view";
|
|
32556
|
+
}, {
|
|
32557
|
+
readonly name: "allowInitializePath";
|
|
32558
|
+
readonly type: "function";
|
|
32559
|
+
readonly inputs: readonly [{
|
|
32560
|
+
readonly name: "origin";
|
|
32561
|
+
readonly type: "tuple";
|
|
32562
|
+
readonly components: readonly [{
|
|
32563
|
+
readonly name: "srcEid";
|
|
32564
|
+
readonly type: "uint32";
|
|
32565
|
+
readonly internalType: "uint32";
|
|
32566
|
+
}, {
|
|
32567
|
+
readonly name: "sender";
|
|
32568
|
+
readonly type: "bytes32";
|
|
32569
|
+
readonly internalType: "bytes32";
|
|
32570
|
+
}, {
|
|
32571
|
+
readonly name: "nonce";
|
|
32572
|
+
readonly type: "uint64";
|
|
32573
|
+
readonly internalType: "uint64";
|
|
32574
|
+
}];
|
|
32575
|
+
readonly internalType: "struct Origin";
|
|
32576
|
+
}];
|
|
32577
|
+
readonly outputs: readonly [{
|
|
32578
|
+
readonly name: "";
|
|
32579
|
+
readonly type: "bool";
|
|
32580
|
+
readonly internalType: "bool";
|
|
32581
|
+
}];
|
|
32582
|
+
readonly stateMutability: "view";
|
|
32583
|
+
}, {
|
|
32584
|
+
readonly name: "approvedRoutes";
|
|
32585
|
+
readonly type: "function";
|
|
32586
|
+
readonly inputs: readonly [{
|
|
32587
|
+
readonly name: "destEID";
|
|
32588
|
+
readonly type: "uint32";
|
|
32589
|
+
readonly internalType: "uint32";
|
|
32590
|
+
}, {
|
|
32591
|
+
readonly name: "offerAsset";
|
|
32592
|
+
readonly type: "address";
|
|
32593
|
+
readonly internalType: "address";
|
|
32594
|
+
}, {
|
|
32595
|
+
readonly name: "";
|
|
32596
|
+
readonly type: "address";
|
|
32597
|
+
readonly internalType: "address";
|
|
32598
|
+
}];
|
|
32599
|
+
readonly outputs: readonly [{
|
|
32600
|
+
readonly name: "";
|
|
32601
|
+
readonly type: "bool";
|
|
32602
|
+
readonly internalType: "bool";
|
|
32603
|
+
}];
|
|
32604
|
+
readonly stateMutability: "view";
|
|
32605
|
+
}, {
|
|
32606
|
+
readonly name: "authority";
|
|
32607
|
+
readonly type: "function";
|
|
32608
|
+
readonly inputs: readonly [];
|
|
32609
|
+
readonly outputs: readonly [{
|
|
32610
|
+
readonly name: "";
|
|
32611
|
+
readonly type: "address";
|
|
32612
|
+
readonly internalType: "contract Authority";
|
|
32613
|
+
}];
|
|
32614
|
+
readonly stateMutability: "view";
|
|
32615
|
+
}, {
|
|
32616
|
+
readonly name: "endpoint";
|
|
32617
|
+
readonly type: "function";
|
|
32618
|
+
readonly inputs: readonly [];
|
|
32619
|
+
readonly outputs: readonly [{
|
|
32620
|
+
readonly name: "";
|
|
32621
|
+
readonly type: "address";
|
|
32622
|
+
readonly internalType: "contract ILayerZeroEndpointV2";
|
|
32623
|
+
}];
|
|
32624
|
+
readonly stateMutability: "view";
|
|
32625
|
+
}, {
|
|
32626
|
+
readonly name: "executePendingOrders";
|
|
32627
|
+
readonly type: "function";
|
|
32628
|
+
readonly inputs: readonly [{
|
|
32629
|
+
readonly name: "batches";
|
|
32630
|
+
readonly type: "tuple[]";
|
|
32631
|
+
readonly components: readonly [{
|
|
32632
|
+
readonly name: "wantAsset";
|
|
32633
|
+
readonly type: "address";
|
|
32634
|
+
readonly internalType: "address";
|
|
32635
|
+
}, {
|
|
32636
|
+
readonly name: "uuids";
|
|
32637
|
+
readonly type: "bytes32[]";
|
|
32638
|
+
readonly internalType: "bytes32[]";
|
|
32639
|
+
}, {
|
|
32640
|
+
readonly name: "amounts";
|
|
32641
|
+
readonly type: "uint256[]";
|
|
32642
|
+
readonly internalType: "uint256[]";
|
|
32643
|
+
}];
|
|
32644
|
+
readonly internalType: "struct TransitStation.FillBatch[]";
|
|
32645
|
+
}];
|
|
32646
|
+
readonly outputs: readonly [];
|
|
32647
|
+
readonly stateMutability: "nonpayable";
|
|
32648
|
+
}, {
|
|
32649
|
+
readonly name: "forceRemovePendingOrder";
|
|
32650
|
+
readonly type: "function";
|
|
32651
|
+
readonly inputs: readonly [{
|
|
32652
|
+
readonly name: "uuid";
|
|
32653
|
+
readonly type: "bytes32";
|
|
32654
|
+
readonly internalType: "bytes32";
|
|
32655
|
+
}];
|
|
32656
|
+
readonly outputs: readonly [];
|
|
32657
|
+
readonly stateMutability: "nonpayable";
|
|
32658
|
+
}, {
|
|
32659
|
+
readonly name: "forceSetUsedDigestTrue";
|
|
32660
|
+
readonly type: "function";
|
|
32661
|
+
readonly inputs: readonly [{
|
|
32662
|
+
readonly name: "uuid";
|
|
32663
|
+
readonly type: "bytes32";
|
|
32664
|
+
readonly internalType: "bytes32";
|
|
32665
|
+
}];
|
|
32666
|
+
readonly outputs: readonly [];
|
|
32667
|
+
readonly stateMutability: "nonpayable";
|
|
32668
|
+
}, {
|
|
32669
|
+
readonly name: "getPendingOrderIds";
|
|
32670
|
+
readonly type: "function";
|
|
32671
|
+
readonly inputs: readonly [];
|
|
32672
|
+
readonly outputs: readonly [{
|
|
32673
|
+
readonly name: "";
|
|
32674
|
+
readonly type: "bytes32[]";
|
|
32675
|
+
readonly internalType: "bytes32[]";
|
|
32676
|
+
}];
|
|
32677
|
+
readonly stateMutability: "view";
|
|
32678
|
+
}, {
|
|
32679
|
+
readonly name: "getPendingOrders";
|
|
32680
|
+
readonly type: "function";
|
|
32681
|
+
readonly inputs: readonly [];
|
|
32682
|
+
readonly outputs: readonly [{
|
|
32683
|
+
readonly name: "orders";
|
|
32684
|
+
readonly type: "tuple[]";
|
|
32685
|
+
readonly components: readonly [{
|
|
32686
|
+
readonly name: "terms";
|
|
32687
|
+
readonly type: "tuple";
|
|
32688
|
+
readonly components: readonly [{
|
|
32689
|
+
readonly name: "uuid";
|
|
32690
|
+
readonly type: "bytes32";
|
|
32691
|
+
readonly internalType: "bytes32";
|
|
32692
|
+
}, {
|
|
32693
|
+
readonly name: "wantAsset";
|
|
32694
|
+
readonly type: "address";
|
|
32695
|
+
readonly internalType: "address";
|
|
32696
|
+
}, {
|
|
32697
|
+
readonly name: "receiver";
|
|
32698
|
+
readonly type: "address";
|
|
32699
|
+
readonly internalType: "address";
|
|
32700
|
+
}, {
|
|
32701
|
+
readonly name: "offerAsset";
|
|
32702
|
+
readonly type: "address";
|
|
32703
|
+
readonly internalType: "address";
|
|
32704
|
+
}, {
|
|
32705
|
+
readonly name: "offerAmountNormalized18AfterFees";
|
|
32706
|
+
readonly type: "uint256";
|
|
32707
|
+
readonly internalType: "uint256";
|
|
32708
|
+
}];
|
|
32709
|
+
readonly internalType: "struct TransitStation.OrderTerms";
|
|
32710
|
+
}, {
|
|
32711
|
+
readonly name: "amountDue";
|
|
32712
|
+
readonly type: "uint256";
|
|
32713
|
+
readonly internalType: "uint256";
|
|
32714
|
+
}, {
|
|
32715
|
+
readonly name: "queuedAt";
|
|
32716
|
+
readonly type: "uint64";
|
|
32717
|
+
readonly internalType: "uint64";
|
|
32718
|
+
}];
|
|
32719
|
+
readonly internalType: "struct TransitStation.Order[]";
|
|
32720
|
+
}];
|
|
32721
|
+
readonly stateMutability: "view";
|
|
32722
|
+
}, {
|
|
32723
|
+
readonly name: "hashQuote";
|
|
32724
|
+
readonly type: "function";
|
|
32725
|
+
readonly inputs: readonly [{
|
|
32726
|
+
readonly name: "quote";
|
|
32727
|
+
readonly type: "tuple";
|
|
32728
|
+
readonly components: readonly [{
|
|
32729
|
+
readonly name: "route";
|
|
32730
|
+
readonly type: "tuple";
|
|
32731
|
+
readonly components: readonly [{
|
|
32732
|
+
readonly name: "destEID";
|
|
32733
|
+
readonly type: "uint32";
|
|
32734
|
+
readonly internalType: "uint32";
|
|
32735
|
+
}, {
|
|
32736
|
+
readonly name: "offerAsset";
|
|
32737
|
+
readonly type: "address";
|
|
32738
|
+
readonly internalType: "address";
|
|
32739
|
+
}, {
|
|
32740
|
+
readonly name: "wantAsset";
|
|
32741
|
+
readonly type: "address";
|
|
32742
|
+
readonly internalType: "address";
|
|
32743
|
+
}];
|
|
32744
|
+
readonly internalType: "struct TransitStation.Route";
|
|
32745
|
+
}, {
|
|
32746
|
+
readonly name: "offerAmount";
|
|
32747
|
+
readonly type: "uint256";
|
|
32748
|
+
readonly internalType: "uint256";
|
|
32749
|
+
}, {
|
|
32750
|
+
readonly name: "receiver";
|
|
32751
|
+
readonly type: "address";
|
|
32752
|
+
readonly internalType: "address";
|
|
32753
|
+
}, {
|
|
32754
|
+
readonly name: "protocolFee";
|
|
32755
|
+
readonly type: "uint256";
|
|
32756
|
+
readonly internalType: "uint256";
|
|
32757
|
+
}, {
|
|
32758
|
+
readonly name: "integratorFee";
|
|
32759
|
+
readonly type: "uint256";
|
|
32760
|
+
readonly internalType: "uint256";
|
|
32761
|
+
}, {
|
|
32762
|
+
readonly name: "integratorFeeReceiver";
|
|
32763
|
+
readonly type: "address";
|
|
32764
|
+
readonly internalType: "address";
|
|
32765
|
+
}, {
|
|
32766
|
+
readonly name: "distributorCode";
|
|
32767
|
+
readonly type: "bytes32";
|
|
32768
|
+
readonly internalType: "bytes32";
|
|
32769
|
+
}, {
|
|
32770
|
+
readonly name: "deadline";
|
|
32771
|
+
readonly type: "uint256";
|
|
32772
|
+
readonly internalType: "uint256";
|
|
32773
|
+
}, {
|
|
32774
|
+
readonly name: "salt";
|
|
32775
|
+
readonly type: "bytes32";
|
|
32776
|
+
readonly internalType: "bytes32";
|
|
32777
|
+
}];
|
|
32778
|
+
readonly internalType: "struct TransitStation.Quote";
|
|
32779
|
+
}];
|
|
32780
|
+
readonly outputs: readonly [{
|
|
32781
|
+
readonly name: "";
|
|
32782
|
+
readonly type: "bytes32";
|
|
32783
|
+
readonly internalType: "bytes32";
|
|
32784
|
+
}];
|
|
32785
|
+
readonly stateMutability: "pure";
|
|
32786
|
+
}, {
|
|
32787
|
+
readonly name: "isComposeMsgSender";
|
|
32788
|
+
readonly type: "function";
|
|
32789
|
+
readonly inputs: readonly [{
|
|
32790
|
+
readonly name: "";
|
|
32791
|
+
readonly type: "tuple";
|
|
32792
|
+
readonly components: readonly [{
|
|
32793
|
+
readonly name: "srcEid";
|
|
32794
|
+
readonly type: "uint32";
|
|
32795
|
+
readonly internalType: "uint32";
|
|
32796
|
+
}, {
|
|
32797
|
+
readonly name: "sender";
|
|
32798
|
+
readonly type: "bytes32";
|
|
32799
|
+
readonly internalType: "bytes32";
|
|
32800
|
+
}, {
|
|
32801
|
+
readonly name: "nonce";
|
|
32802
|
+
readonly type: "uint64";
|
|
32803
|
+
readonly internalType: "uint64";
|
|
32804
|
+
}];
|
|
32805
|
+
readonly internalType: "struct Origin";
|
|
32806
|
+
}, {
|
|
32807
|
+
readonly name: "";
|
|
32808
|
+
readonly type: "bytes";
|
|
32809
|
+
readonly internalType: "bytes";
|
|
32810
|
+
}, {
|
|
32811
|
+
readonly name: "_sender";
|
|
32812
|
+
readonly type: "address";
|
|
32813
|
+
readonly internalType: "address";
|
|
32814
|
+
}];
|
|
32815
|
+
readonly outputs: readonly [{
|
|
32816
|
+
readonly name: "";
|
|
32817
|
+
readonly type: "bool";
|
|
32818
|
+
readonly internalType: "bool";
|
|
32819
|
+
}];
|
|
32820
|
+
readonly stateMutability: "view";
|
|
32821
|
+
}, {
|
|
32822
|
+
readonly name: "lzReceive";
|
|
32823
|
+
readonly type: "function";
|
|
32824
|
+
readonly inputs: readonly [{
|
|
32825
|
+
readonly name: "_origin";
|
|
32826
|
+
readonly type: "tuple";
|
|
32827
|
+
readonly components: readonly [{
|
|
32828
|
+
readonly name: "srcEid";
|
|
32829
|
+
readonly type: "uint32";
|
|
32830
|
+
readonly internalType: "uint32";
|
|
32831
|
+
}, {
|
|
32832
|
+
readonly name: "sender";
|
|
32833
|
+
readonly type: "bytes32";
|
|
32834
|
+
readonly internalType: "bytes32";
|
|
32835
|
+
}, {
|
|
32836
|
+
readonly name: "nonce";
|
|
32837
|
+
readonly type: "uint64";
|
|
32838
|
+
readonly internalType: "uint64";
|
|
32839
|
+
}];
|
|
32840
|
+
readonly internalType: "struct Origin";
|
|
32841
|
+
}, {
|
|
32842
|
+
readonly name: "_guid";
|
|
32843
|
+
readonly type: "bytes32";
|
|
32844
|
+
readonly internalType: "bytes32";
|
|
32845
|
+
}, {
|
|
32846
|
+
readonly name: "_message";
|
|
32847
|
+
readonly type: "bytes";
|
|
32848
|
+
readonly internalType: "bytes";
|
|
32849
|
+
}, {
|
|
32850
|
+
readonly name: "_executor";
|
|
32851
|
+
readonly type: "address";
|
|
32852
|
+
readonly internalType: "address";
|
|
32853
|
+
}, {
|
|
32854
|
+
readonly name: "_extraData";
|
|
32855
|
+
readonly type: "bytes";
|
|
32856
|
+
readonly internalType: "bytes";
|
|
32857
|
+
}];
|
|
32858
|
+
readonly outputs: readonly [];
|
|
32859
|
+
readonly stateMutability: "payable";
|
|
32860
|
+
}, {
|
|
32861
|
+
readonly name: "messageGasLimit";
|
|
32862
|
+
readonly type: "function";
|
|
32863
|
+
readonly inputs: readonly [{
|
|
32864
|
+
readonly name: "";
|
|
32865
|
+
readonly type: "uint32";
|
|
32866
|
+
readonly internalType: "uint32";
|
|
32867
|
+
}];
|
|
32868
|
+
readonly outputs: readonly [{
|
|
32869
|
+
readonly name: "";
|
|
32870
|
+
readonly type: "uint64";
|
|
32871
|
+
readonly internalType: "uint64";
|
|
32872
|
+
}];
|
|
32873
|
+
readonly stateMutability: "view";
|
|
32874
|
+
}, {
|
|
32875
|
+
readonly name: "nextNonce";
|
|
32876
|
+
readonly type: "function";
|
|
32877
|
+
readonly inputs: readonly [{
|
|
32878
|
+
readonly name: "";
|
|
32879
|
+
readonly type: "uint32";
|
|
32880
|
+
readonly internalType: "uint32";
|
|
32881
|
+
}, {
|
|
32882
|
+
readonly name: "";
|
|
32883
|
+
readonly type: "bytes32";
|
|
32884
|
+
readonly internalType: "bytes32";
|
|
32885
|
+
}];
|
|
32886
|
+
readonly outputs: readonly [{
|
|
32887
|
+
readonly name: "nonce";
|
|
32888
|
+
readonly type: "uint64";
|
|
32889
|
+
readonly internalType: "uint64";
|
|
32890
|
+
}];
|
|
32891
|
+
readonly stateMutability: "view";
|
|
32892
|
+
}, {
|
|
32893
|
+
readonly name: "oAppVersion";
|
|
32894
|
+
readonly type: "function";
|
|
32895
|
+
readonly inputs: readonly [];
|
|
32896
|
+
readonly outputs: readonly [{
|
|
32897
|
+
readonly name: "senderVersion";
|
|
32898
|
+
readonly type: "uint64";
|
|
32899
|
+
readonly internalType: "uint64";
|
|
32900
|
+
}, {
|
|
32901
|
+
readonly name: "receiverVersion";
|
|
32902
|
+
readonly type: "uint64";
|
|
32903
|
+
readonly internalType: "uint64";
|
|
32904
|
+
}];
|
|
32905
|
+
readonly stateMutability: "pure";
|
|
32906
|
+
}, {
|
|
32907
|
+
readonly name: "offerReceiver";
|
|
32908
|
+
readonly type: "function";
|
|
32909
|
+
readonly inputs: readonly [];
|
|
32910
|
+
readonly outputs: readonly [{
|
|
32911
|
+
readonly name: "";
|
|
32912
|
+
readonly type: "address";
|
|
32913
|
+
readonly internalType: "address";
|
|
32914
|
+
}];
|
|
32915
|
+
readonly stateMutability: "view";
|
|
32916
|
+
}, {
|
|
32917
|
+
readonly name: "owner";
|
|
32918
|
+
readonly type: "function";
|
|
32919
|
+
readonly inputs: readonly [];
|
|
32920
|
+
readonly outputs: readonly [{
|
|
32921
|
+
readonly name: "";
|
|
32922
|
+
readonly type: "address";
|
|
32923
|
+
readonly internalType: "address";
|
|
32924
|
+
}];
|
|
32925
|
+
readonly stateMutability: "view";
|
|
32926
|
+
}, {
|
|
32927
|
+
readonly name: "pause";
|
|
32928
|
+
readonly type: "function";
|
|
32929
|
+
readonly inputs: readonly [];
|
|
32930
|
+
readonly outputs: readonly [];
|
|
32931
|
+
readonly stateMutability: "nonpayable";
|
|
32932
|
+
}, {
|
|
32933
|
+
readonly name: "paused";
|
|
32934
|
+
readonly type: "function";
|
|
32935
|
+
readonly inputs: readonly [];
|
|
32936
|
+
readonly outputs: readonly [{
|
|
32937
|
+
readonly name: "";
|
|
32938
|
+
readonly type: "bool";
|
|
32939
|
+
readonly internalType: "bool";
|
|
32940
|
+
}];
|
|
32941
|
+
readonly stateMutability: "view";
|
|
32942
|
+
}, {
|
|
32943
|
+
readonly name: "peers";
|
|
32944
|
+
readonly type: "function";
|
|
32945
|
+
readonly inputs: readonly [{
|
|
32946
|
+
readonly name: "eid";
|
|
32947
|
+
readonly type: "uint32";
|
|
32948
|
+
readonly internalType: "uint32";
|
|
32949
|
+
}];
|
|
32950
|
+
readonly outputs: readonly [{
|
|
32951
|
+
readonly name: "peer";
|
|
32952
|
+
readonly type: "bytes32";
|
|
32953
|
+
readonly internalType: "bytes32";
|
|
32954
|
+
}];
|
|
32955
|
+
readonly stateMutability: "view";
|
|
32956
|
+
}, {
|
|
32957
|
+
readonly name: "pendingOrderCount";
|
|
32958
|
+
readonly type: "function";
|
|
32959
|
+
readonly inputs: readonly [];
|
|
32960
|
+
readonly outputs: readonly [{
|
|
32961
|
+
readonly name: "";
|
|
32962
|
+
readonly type: "uint256";
|
|
32963
|
+
readonly internalType: "uint256";
|
|
32964
|
+
}];
|
|
32965
|
+
readonly stateMutability: "view";
|
|
32966
|
+
}, {
|
|
32967
|
+
readonly name: "pendingOrderIdsContains";
|
|
32968
|
+
readonly type: "function";
|
|
32969
|
+
readonly inputs: readonly [{
|
|
32970
|
+
readonly name: "uuid";
|
|
32971
|
+
readonly type: "bytes32";
|
|
32972
|
+
readonly internalType: "bytes32";
|
|
32973
|
+
}];
|
|
32974
|
+
readonly outputs: readonly [{
|
|
32975
|
+
readonly name: "";
|
|
32976
|
+
readonly type: "bool";
|
|
32977
|
+
readonly internalType: "bool";
|
|
32978
|
+
}];
|
|
32979
|
+
readonly stateMutability: "view";
|
|
32980
|
+
}, {
|
|
32981
|
+
readonly name: "pendingOrders";
|
|
32982
|
+
readonly type: "function";
|
|
32983
|
+
readonly inputs: readonly [{
|
|
32984
|
+
readonly name: "";
|
|
32985
|
+
readonly type: "bytes32";
|
|
32986
|
+
readonly internalType: "bytes32";
|
|
32987
|
+
}];
|
|
32988
|
+
readonly outputs: readonly [{
|
|
32989
|
+
readonly name: "terms";
|
|
32990
|
+
readonly type: "tuple";
|
|
32991
|
+
readonly components: readonly [{
|
|
32992
|
+
readonly name: "uuid";
|
|
32993
|
+
readonly type: "bytes32";
|
|
32994
|
+
readonly internalType: "bytes32";
|
|
32995
|
+
}, {
|
|
32996
|
+
readonly name: "wantAsset";
|
|
32997
|
+
readonly type: "address";
|
|
32998
|
+
readonly internalType: "address";
|
|
32999
|
+
}, {
|
|
33000
|
+
readonly name: "receiver";
|
|
33001
|
+
readonly type: "address";
|
|
33002
|
+
readonly internalType: "address";
|
|
33003
|
+
}, {
|
|
33004
|
+
readonly name: "offerAsset";
|
|
33005
|
+
readonly type: "address";
|
|
33006
|
+
readonly internalType: "address";
|
|
33007
|
+
}, {
|
|
33008
|
+
readonly name: "offerAmountNormalized18AfterFees";
|
|
33009
|
+
readonly type: "uint256";
|
|
33010
|
+
readonly internalType: "uint256";
|
|
33011
|
+
}];
|
|
33012
|
+
readonly internalType: "struct TransitStation.OrderTerms";
|
|
33013
|
+
}, {
|
|
33014
|
+
readonly name: "amountDue";
|
|
33015
|
+
readonly type: "uint256";
|
|
33016
|
+
readonly internalType: "uint256";
|
|
33017
|
+
}, {
|
|
33018
|
+
readonly name: "queuedAt";
|
|
33019
|
+
readonly type: "uint64";
|
|
33020
|
+
readonly internalType: "uint64";
|
|
33021
|
+
}];
|
|
33022
|
+
readonly stateMutability: "view";
|
|
33023
|
+
}, {
|
|
33024
|
+
readonly name: "protocolFeeRecipient";
|
|
33025
|
+
readonly type: "function";
|
|
33026
|
+
readonly inputs: readonly [];
|
|
33027
|
+
readonly outputs: readonly [{
|
|
33028
|
+
readonly name: "";
|
|
33029
|
+
readonly type: "address";
|
|
33030
|
+
readonly internalType: "address";
|
|
33031
|
+
}];
|
|
33032
|
+
readonly stateMutability: "view";
|
|
33033
|
+
}, {
|
|
33034
|
+
readonly name: "quoteSend";
|
|
33035
|
+
readonly type: "function";
|
|
33036
|
+
readonly inputs: readonly [{
|
|
33037
|
+
readonly name: "destEID";
|
|
33038
|
+
readonly type: "uint32";
|
|
33039
|
+
readonly internalType: "uint32";
|
|
33040
|
+
}, {
|
|
33041
|
+
readonly name: "terms";
|
|
33042
|
+
readonly type: "tuple";
|
|
33043
|
+
readonly components: readonly [{
|
|
33044
|
+
readonly name: "uuid";
|
|
33045
|
+
readonly type: "bytes32";
|
|
33046
|
+
readonly internalType: "bytes32";
|
|
33047
|
+
}, {
|
|
33048
|
+
readonly name: "wantAsset";
|
|
33049
|
+
readonly type: "address";
|
|
33050
|
+
readonly internalType: "address";
|
|
33051
|
+
}, {
|
|
33052
|
+
readonly name: "receiver";
|
|
33053
|
+
readonly type: "address";
|
|
33054
|
+
readonly internalType: "address";
|
|
33055
|
+
}, {
|
|
33056
|
+
readonly name: "offerAsset";
|
|
33057
|
+
readonly type: "address";
|
|
33058
|
+
readonly internalType: "address";
|
|
33059
|
+
}, {
|
|
33060
|
+
readonly name: "offerAmountNormalized18AfterFees";
|
|
33061
|
+
readonly type: "uint256";
|
|
33062
|
+
readonly internalType: "uint256";
|
|
33063
|
+
}];
|
|
33064
|
+
readonly internalType: "struct TransitStation.OrderTerms";
|
|
33065
|
+
}];
|
|
33066
|
+
readonly outputs: readonly [{
|
|
33067
|
+
readonly name: "";
|
|
33068
|
+
readonly type: "uint256";
|
|
33069
|
+
readonly internalType: "uint256";
|
|
33070
|
+
}];
|
|
33071
|
+
readonly stateMutability: "view";
|
|
33072
|
+
}, {
|
|
33073
|
+
readonly name: "quoteSigner";
|
|
33074
|
+
readonly type: "function";
|
|
33075
|
+
readonly inputs: readonly [];
|
|
33076
|
+
readonly outputs: readonly [{
|
|
33077
|
+
readonly name: "";
|
|
33078
|
+
readonly type: "address";
|
|
33079
|
+
readonly internalType: "address";
|
|
33080
|
+
}];
|
|
33081
|
+
readonly stateMutability: "view";
|
|
33082
|
+
}, {
|
|
33083
|
+
readonly name: "recoverETH";
|
|
33084
|
+
readonly type: "function";
|
|
33085
|
+
readonly inputs: readonly [{
|
|
33086
|
+
readonly name: "amount";
|
|
33087
|
+
readonly type: "uint256";
|
|
33088
|
+
readonly internalType: "uint256";
|
|
33089
|
+
}];
|
|
33090
|
+
readonly outputs: readonly [];
|
|
33091
|
+
readonly stateMutability: "nonpayable";
|
|
33092
|
+
}, {
|
|
33093
|
+
readonly name: "recoverTokens";
|
|
33094
|
+
readonly type: "function";
|
|
33095
|
+
readonly inputs: readonly [{
|
|
33096
|
+
readonly name: "token";
|
|
33097
|
+
readonly type: "address";
|
|
33098
|
+
readonly internalType: "contract ERC20";
|
|
33099
|
+
}, {
|
|
33100
|
+
readonly name: "amount";
|
|
33101
|
+
readonly type: "uint256";
|
|
33102
|
+
readonly internalType: "uint256";
|
|
33103
|
+
}];
|
|
33104
|
+
readonly outputs: readonly [];
|
|
33105
|
+
readonly stateMutability: "nonpayable";
|
|
33106
|
+
}, {
|
|
33107
|
+
readonly name: "setAuthority";
|
|
33108
|
+
readonly type: "function";
|
|
33109
|
+
readonly inputs: readonly [{
|
|
33110
|
+
readonly name: "newAuthority";
|
|
33111
|
+
readonly type: "address";
|
|
33112
|
+
readonly internalType: "contract Authority";
|
|
33113
|
+
}];
|
|
33114
|
+
readonly outputs: readonly [];
|
|
33115
|
+
readonly stateMutability: "nonpayable";
|
|
33116
|
+
}, {
|
|
33117
|
+
readonly name: "setDelegate";
|
|
33118
|
+
readonly type: "function";
|
|
33119
|
+
readonly inputs: readonly [{
|
|
33120
|
+
readonly name: "_delegate";
|
|
33121
|
+
readonly type: "address";
|
|
33122
|
+
readonly internalType: "address";
|
|
33123
|
+
}];
|
|
33124
|
+
readonly outputs: readonly [];
|
|
33125
|
+
readonly stateMutability: "nonpayable";
|
|
33126
|
+
}, {
|
|
33127
|
+
readonly name: "setMessageGasLimit";
|
|
33128
|
+
readonly type: "function";
|
|
33129
|
+
readonly inputs: readonly [{
|
|
33130
|
+
readonly name: "eid";
|
|
33131
|
+
readonly type: "uint32";
|
|
33132
|
+
readonly internalType: "uint32";
|
|
33133
|
+
}, {
|
|
33134
|
+
readonly name: "gasLimit";
|
|
33135
|
+
readonly type: "uint64";
|
|
33136
|
+
readonly internalType: "uint64";
|
|
33137
|
+
}];
|
|
33138
|
+
readonly outputs: readonly [];
|
|
33139
|
+
readonly stateMutability: "nonpayable";
|
|
33140
|
+
}, {
|
|
33141
|
+
readonly name: "setOfferReceiver";
|
|
33142
|
+
readonly type: "function";
|
|
33143
|
+
readonly inputs: readonly [{
|
|
33144
|
+
readonly name: "newOfferReceiver";
|
|
33145
|
+
readonly type: "address";
|
|
33146
|
+
readonly internalType: "address";
|
|
33147
|
+
}];
|
|
33148
|
+
readonly outputs: readonly [];
|
|
33149
|
+
readonly stateMutability: "nonpayable";
|
|
33150
|
+
}, {
|
|
33151
|
+
readonly name: "setPeer";
|
|
33152
|
+
readonly type: "function";
|
|
33153
|
+
readonly inputs: readonly [{
|
|
33154
|
+
readonly name: "_eid";
|
|
33155
|
+
readonly type: "uint32";
|
|
33156
|
+
readonly internalType: "uint32";
|
|
33157
|
+
}, {
|
|
33158
|
+
readonly name: "_peer";
|
|
33159
|
+
readonly type: "bytes32";
|
|
33160
|
+
readonly internalType: "bytes32";
|
|
33161
|
+
}];
|
|
33162
|
+
readonly outputs: readonly [];
|
|
33163
|
+
readonly stateMutability: "nonpayable";
|
|
33164
|
+
}, {
|
|
33165
|
+
readonly name: "setProtocolFeeRecipient";
|
|
33166
|
+
readonly type: "function";
|
|
33167
|
+
readonly inputs: readonly [{
|
|
33168
|
+
readonly name: "recipient";
|
|
33169
|
+
readonly type: "address";
|
|
33170
|
+
readonly internalType: "address";
|
|
33171
|
+
}];
|
|
33172
|
+
readonly outputs: readonly [];
|
|
33173
|
+
readonly stateMutability: "nonpayable";
|
|
33174
|
+
}, {
|
|
33175
|
+
readonly name: "setQuoteSigner";
|
|
33176
|
+
readonly type: "function";
|
|
33177
|
+
readonly inputs: readonly [{
|
|
33178
|
+
readonly name: "signer";
|
|
33179
|
+
readonly type: "address";
|
|
33180
|
+
readonly internalType: "address";
|
|
33181
|
+
}];
|
|
33182
|
+
readonly outputs: readonly [];
|
|
33183
|
+
readonly stateMutability: "nonpayable";
|
|
33184
|
+
}, {
|
|
33185
|
+
readonly name: "setRouteApprovals";
|
|
33186
|
+
readonly type: "function";
|
|
33187
|
+
readonly inputs: readonly [{
|
|
33188
|
+
readonly name: "routes";
|
|
33189
|
+
readonly type: "tuple[]";
|
|
33190
|
+
readonly components: readonly [{
|
|
33191
|
+
readonly name: "destEID";
|
|
33192
|
+
readonly type: "uint32";
|
|
33193
|
+
readonly internalType: "uint32";
|
|
33194
|
+
}, {
|
|
33195
|
+
readonly name: "offerAsset";
|
|
33196
|
+
readonly type: "address";
|
|
33197
|
+
readonly internalType: "address";
|
|
33198
|
+
}, {
|
|
33199
|
+
readonly name: "wantAsset";
|
|
33200
|
+
readonly type: "address";
|
|
33201
|
+
readonly internalType: "address";
|
|
33202
|
+
}];
|
|
33203
|
+
readonly internalType: "struct TransitStation.Route[]";
|
|
33204
|
+
}, {
|
|
33205
|
+
readonly name: "approved";
|
|
33206
|
+
readonly type: "bool[]";
|
|
33207
|
+
readonly internalType: "bool[]";
|
|
33208
|
+
}];
|
|
33209
|
+
readonly outputs: readonly [];
|
|
33210
|
+
readonly stateMutability: "nonpayable";
|
|
33211
|
+
}, {
|
|
33212
|
+
readonly name: "setWantAssetSource";
|
|
33213
|
+
readonly type: "function";
|
|
33214
|
+
readonly inputs: readonly [{
|
|
33215
|
+
readonly name: "newWantAssetSource";
|
|
33216
|
+
readonly type: "address";
|
|
33217
|
+
readonly internalType: "address";
|
|
33218
|
+
}];
|
|
33219
|
+
readonly outputs: readonly [];
|
|
33220
|
+
readonly stateMutability: "nonpayable";
|
|
33221
|
+
}, {
|
|
33222
|
+
readonly name: "submitOrder";
|
|
33223
|
+
readonly type: "function";
|
|
33224
|
+
readonly inputs: readonly [{
|
|
33225
|
+
readonly name: "quote";
|
|
33226
|
+
readonly type: "tuple";
|
|
33227
|
+
readonly components: readonly [{
|
|
33228
|
+
readonly name: "route";
|
|
33229
|
+
readonly type: "tuple";
|
|
33230
|
+
readonly components: readonly [{
|
|
33231
|
+
readonly name: "destEID";
|
|
33232
|
+
readonly type: "uint32";
|
|
33233
|
+
readonly internalType: "uint32";
|
|
33234
|
+
}, {
|
|
33235
|
+
readonly name: "offerAsset";
|
|
33236
|
+
readonly type: "address";
|
|
33237
|
+
readonly internalType: "address";
|
|
33238
|
+
}, {
|
|
33239
|
+
readonly name: "wantAsset";
|
|
33240
|
+
readonly type: "address";
|
|
33241
|
+
readonly internalType: "address";
|
|
33242
|
+
}];
|
|
33243
|
+
readonly internalType: "struct TransitStation.Route";
|
|
33244
|
+
}, {
|
|
33245
|
+
readonly name: "offerAmount";
|
|
33246
|
+
readonly type: "uint256";
|
|
33247
|
+
readonly internalType: "uint256";
|
|
33248
|
+
}, {
|
|
33249
|
+
readonly name: "receiver";
|
|
33250
|
+
readonly type: "address";
|
|
33251
|
+
readonly internalType: "address";
|
|
33252
|
+
}, {
|
|
33253
|
+
readonly name: "protocolFee";
|
|
33254
|
+
readonly type: "uint256";
|
|
33255
|
+
readonly internalType: "uint256";
|
|
33256
|
+
}, {
|
|
33257
|
+
readonly name: "integratorFee";
|
|
33258
|
+
readonly type: "uint256";
|
|
33259
|
+
readonly internalType: "uint256";
|
|
33260
|
+
}, {
|
|
33261
|
+
readonly name: "integratorFeeReceiver";
|
|
33262
|
+
readonly type: "address";
|
|
33263
|
+
readonly internalType: "address";
|
|
33264
|
+
}, {
|
|
33265
|
+
readonly name: "distributorCode";
|
|
33266
|
+
readonly type: "bytes32";
|
|
33267
|
+
readonly internalType: "bytes32";
|
|
33268
|
+
}, {
|
|
33269
|
+
readonly name: "deadline";
|
|
33270
|
+
readonly type: "uint256";
|
|
33271
|
+
readonly internalType: "uint256";
|
|
33272
|
+
}, {
|
|
33273
|
+
readonly name: "salt";
|
|
33274
|
+
readonly type: "bytes32";
|
|
33275
|
+
readonly internalType: "bytes32";
|
|
33276
|
+
}];
|
|
33277
|
+
readonly internalType: "struct TransitStation.Quote";
|
|
33278
|
+
}, {
|
|
33279
|
+
readonly name: "signature";
|
|
33280
|
+
readonly type: "bytes";
|
|
33281
|
+
readonly internalType: "bytes";
|
|
33282
|
+
}];
|
|
33283
|
+
readonly outputs: readonly [{
|
|
33284
|
+
readonly name: "uuid";
|
|
33285
|
+
readonly type: "bytes32";
|
|
33286
|
+
readonly internalType: "bytes32";
|
|
33287
|
+
}];
|
|
33288
|
+
readonly stateMutability: "payable";
|
|
33289
|
+
}, {
|
|
33290
|
+
readonly name: "submitOrderWithPermit";
|
|
33291
|
+
readonly type: "function";
|
|
33292
|
+
readonly inputs: readonly [{
|
|
33293
|
+
readonly name: "quote";
|
|
33294
|
+
readonly type: "tuple";
|
|
33295
|
+
readonly components: readonly [{
|
|
33296
|
+
readonly name: "route";
|
|
33297
|
+
readonly type: "tuple";
|
|
33298
|
+
readonly components: readonly [{
|
|
33299
|
+
readonly name: "destEID";
|
|
33300
|
+
readonly type: "uint32";
|
|
33301
|
+
readonly internalType: "uint32";
|
|
33302
|
+
}, {
|
|
33303
|
+
readonly name: "offerAsset";
|
|
33304
|
+
readonly type: "address";
|
|
33305
|
+
readonly internalType: "address";
|
|
33306
|
+
}, {
|
|
33307
|
+
readonly name: "wantAsset";
|
|
33308
|
+
readonly type: "address";
|
|
33309
|
+
readonly internalType: "address";
|
|
33310
|
+
}];
|
|
33311
|
+
readonly internalType: "struct TransitStation.Route";
|
|
33312
|
+
}, {
|
|
33313
|
+
readonly name: "offerAmount";
|
|
33314
|
+
readonly type: "uint256";
|
|
33315
|
+
readonly internalType: "uint256";
|
|
33316
|
+
}, {
|
|
33317
|
+
readonly name: "receiver";
|
|
33318
|
+
readonly type: "address";
|
|
33319
|
+
readonly internalType: "address";
|
|
33320
|
+
}, {
|
|
33321
|
+
readonly name: "protocolFee";
|
|
33322
|
+
readonly type: "uint256";
|
|
33323
|
+
readonly internalType: "uint256";
|
|
33324
|
+
}, {
|
|
33325
|
+
readonly name: "integratorFee";
|
|
33326
|
+
readonly type: "uint256";
|
|
33327
|
+
readonly internalType: "uint256";
|
|
33328
|
+
}, {
|
|
33329
|
+
readonly name: "integratorFeeReceiver";
|
|
33330
|
+
readonly type: "address";
|
|
33331
|
+
readonly internalType: "address";
|
|
33332
|
+
}, {
|
|
33333
|
+
readonly name: "distributorCode";
|
|
33334
|
+
readonly type: "bytes32";
|
|
33335
|
+
readonly internalType: "bytes32";
|
|
33336
|
+
}, {
|
|
33337
|
+
readonly name: "deadline";
|
|
33338
|
+
readonly type: "uint256";
|
|
33339
|
+
readonly internalType: "uint256";
|
|
33340
|
+
}, {
|
|
33341
|
+
readonly name: "salt";
|
|
33342
|
+
readonly type: "bytes32";
|
|
33343
|
+
readonly internalType: "bytes32";
|
|
33344
|
+
}];
|
|
33345
|
+
readonly internalType: "struct TransitStation.Quote";
|
|
33346
|
+
}, {
|
|
33347
|
+
readonly name: "signature";
|
|
33348
|
+
readonly type: "bytes";
|
|
33349
|
+
readonly internalType: "bytes";
|
|
33350
|
+
}, {
|
|
33351
|
+
readonly name: "permitDeadline";
|
|
33352
|
+
readonly type: "uint256";
|
|
33353
|
+
readonly internalType: "uint256";
|
|
33354
|
+
}, {
|
|
33355
|
+
readonly name: "v";
|
|
33356
|
+
readonly type: "uint8";
|
|
33357
|
+
readonly internalType: "uint8";
|
|
33358
|
+
}, {
|
|
33359
|
+
readonly name: "r";
|
|
33360
|
+
readonly type: "bytes32";
|
|
33361
|
+
readonly internalType: "bytes32";
|
|
33362
|
+
}, {
|
|
33363
|
+
readonly name: "s";
|
|
33364
|
+
readonly type: "bytes32";
|
|
33365
|
+
readonly internalType: "bytes32";
|
|
33366
|
+
}];
|
|
33367
|
+
readonly outputs: readonly [{
|
|
33368
|
+
readonly name: "uuid";
|
|
33369
|
+
readonly type: "bytes32";
|
|
33370
|
+
readonly internalType: "bytes32";
|
|
33371
|
+
}];
|
|
33372
|
+
readonly stateMutability: "payable";
|
|
33373
|
+
}, {
|
|
33374
|
+
readonly name: "thisChainEID";
|
|
33375
|
+
readonly type: "function";
|
|
33376
|
+
readonly inputs: readonly [];
|
|
33377
|
+
readonly outputs: readonly [{
|
|
33378
|
+
readonly name: "";
|
|
33379
|
+
readonly type: "uint32";
|
|
33380
|
+
readonly internalType: "uint32";
|
|
33381
|
+
}];
|
|
33382
|
+
readonly stateMutability: "view";
|
|
33383
|
+
}, {
|
|
33384
|
+
readonly name: "transferOwnership";
|
|
33385
|
+
readonly type: "function";
|
|
33386
|
+
readonly inputs: readonly [{
|
|
33387
|
+
readonly name: "newOwner";
|
|
33388
|
+
readonly type: "address";
|
|
33389
|
+
readonly internalType: "address";
|
|
33390
|
+
}];
|
|
33391
|
+
readonly outputs: readonly [];
|
|
33392
|
+
readonly stateMutability: "nonpayable";
|
|
33393
|
+
}, {
|
|
33394
|
+
readonly name: "unpause";
|
|
33395
|
+
readonly type: "function";
|
|
33396
|
+
readonly inputs: readonly [];
|
|
33397
|
+
readonly outputs: readonly [];
|
|
33398
|
+
readonly stateMutability: "nonpayable";
|
|
33399
|
+
}, {
|
|
33400
|
+
readonly name: "usedDigests";
|
|
33401
|
+
readonly type: "function";
|
|
33402
|
+
readonly inputs: readonly [{
|
|
33403
|
+
readonly name: "";
|
|
33404
|
+
readonly type: "bytes32";
|
|
33405
|
+
readonly internalType: "bytes32";
|
|
33406
|
+
}];
|
|
33407
|
+
readonly outputs: readonly [{
|
|
33408
|
+
readonly name: "";
|
|
33409
|
+
readonly type: "bool";
|
|
33410
|
+
readonly internalType: "bool";
|
|
33411
|
+
}];
|
|
33412
|
+
readonly stateMutability: "view";
|
|
33413
|
+
}, {
|
|
33414
|
+
readonly name: "wantAssetSource";
|
|
33415
|
+
readonly type: "function";
|
|
33416
|
+
readonly inputs: readonly [];
|
|
33417
|
+
readonly outputs: readonly [{
|
|
33418
|
+
readonly name: "";
|
|
33419
|
+
readonly type: "address";
|
|
33420
|
+
readonly internalType: "address";
|
|
33421
|
+
}];
|
|
33422
|
+
readonly stateMutability: "view";
|
|
33423
|
+
}];
|
|
31715
33424
|
Reader: readonly [{
|
|
31716
33425
|
readonly inputs: readonly [];
|
|
31717
33426
|
readonly name: "BASIS_POINTS_DIVISOR";
|