@ledgerhq/cryptoassets 6.11.0 → 6.14.0
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/data/bep20.js +4 -0
- package/data/erc20-signatures.js +1 -1
- package/data/erc20.js +23 -5
- package/data/exchange/erc20.js +17 -0
- package/data/polygon-erc20.js +216 -0
- package/data/spl.js +1353 -0
- package/ethereum.json +3536 -72
- package/lib/currencies.d.ts.map +1 -1
- package/lib/currencies.js +30 -0
- package/lib/currencies.js.map +1 -1
- package/lib/tokens.d.ts.map +1 -1
- package/lib/tokens.js +24 -0
- package/lib/tokens.js.map +1 -1
- package/lib-es/currencies.d.ts.map +1 -1
- package/lib-es/currencies.js +30 -0
- package/lib-es/currencies.js.map +1 -1
- package/lib-es/tokens.d.ts.map +1 -1
- package/lib-es/tokens.js +24 -0
- package/lib-es/tokens.js.map +1 -1
- package/package.json +2 -2
- package/src/__snapshots__/currencies.test.ts.snap +2 -0
- package/src/currencies.ts +30 -0
- package/src/tokens.ts +30 -0
package/ethereum.json
CHANGED
|
@@ -15849,52 +15849,3543 @@
|
|
|
15849
15849
|
}
|
|
15850
15850
|
]
|
|
15851
15851
|
},
|
|
15852
|
+
"0x7be8076f4ea4a4ad08075c2508e481d6c946d12b": {
|
|
15853
|
+
"0xa8a41c70": {
|
|
15854
|
+
"plugin": "OpenSea",
|
|
15855
|
+
"serialized_data": "074f70656e5365617be8076f4ea4a4ad08075c2508e481d6c946d12ba8a41c70",
|
|
15856
|
+
"signature": "3045022100bf0a1ee1d0d86b9093f33a9b513d080ed69636321afd9300d1eb93a38831d8db02207f4b341153cfa8e88ad51a2dcb415f5205890e936d37099557cd3ef48ad425a3",
|
|
15857
|
+
"erc20OfInterest": [
|
|
15858
|
+
"addrs.6",
|
|
15859
|
+
"addrs.4"
|
|
15860
|
+
]
|
|
15861
|
+
},
|
|
15862
|
+
"0xab834bab": {
|
|
15863
|
+
"plugin": "OpenSea",
|
|
15864
|
+
"serialized_data": "074f70656e5365617be8076f4ea4a4ad08075c2508e481d6c946d12bab834bab",
|
|
15865
|
+
"signature": "3045022100fbb0cb0e97d16280a09c854d67f70e028b1d9926b6e0eafc0a56b6c57ac77cdc0220683832b627915ec75ea0372c962675f2f8b1d8ce5d57da34a3bca93861a6485c",
|
|
15866
|
+
"erc20OfInterest": [
|
|
15867
|
+
"addrs.6",
|
|
15868
|
+
"addrs.4"
|
|
15869
|
+
]
|
|
15870
|
+
},
|
|
15871
|
+
"abi": [
|
|
15872
|
+
{
|
|
15873
|
+
"constant": true,
|
|
15874
|
+
"inputs": [],
|
|
15875
|
+
"name": "name",
|
|
15876
|
+
"outputs": [
|
|
15877
|
+
{
|
|
15878
|
+
"name": "",
|
|
15879
|
+
"type": "string"
|
|
15880
|
+
}
|
|
15881
|
+
],
|
|
15882
|
+
"payable": false,
|
|
15883
|
+
"stateMutability": "view",
|
|
15884
|
+
"type": "function"
|
|
15885
|
+
},
|
|
15886
|
+
{
|
|
15887
|
+
"constant": true,
|
|
15888
|
+
"inputs": [],
|
|
15889
|
+
"name": "tokenTransferProxy",
|
|
15890
|
+
"outputs": [
|
|
15891
|
+
{
|
|
15892
|
+
"name": "",
|
|
15893
|
+
"type": "address"
|
|
15894
|
+
}
|
|
15895
|
+
],
|
|
15896
|
+
"payable": false,
|
|
15897
|
+
"stateMutability": "view",
|
|
15898
|
+
"type": "function"
|
|
15899
|
+
},
|
|
15900
|
+
{
|
|
15901
|
+
"constant": true,
|
|
15902
|
+
"inputs": [
|
|
15903
|
+
{
|
|
15904
|
+
"name": "target",
|
|
15905
|
+
"type": "address"
|
|
15906
|
+
},
|
|
15907
|
+
{
|
|
15908
|
+
"name": "calldata",
|
|
15909
|
+
"type": "bytes"
|
|
15910
|
+
},
|
|
15911
|
+
{
|
|
15912
|
+
"name": "extradata",
|
|
15913
|
+
"type": "bytes"
|
|
15914
|
+
}
|
|
15915
|
+
],
|
|
15916
|
+
"name": "staticCall",
|
|
15917
|
+
"outputs": [
|
|
15918
|
+
{
|
|
15919
|
+
"name": "result",
|
|
15920
|
+
"type": "bool"
|
|
15921
|
+
}
|
|
15922
|
+
],
|
|
15923
|
+
"payable": false,
|
|
15924
|
+
"stateMutability": "view",
|
|
15925
|
+
"type": "function"
|
|
15926
|
+
},
|
|
15927
|
+
{
|
|
15928
|
+
"constant": false,
|
|
15929
|
+
"inputs": [
|
|
15930
|
+
{
|
|
15931
|
+
"name": "newMinimumMakerProtocolFee",
|
|
15932
|
+
"type": "uint256"
|
|
15933
|
+
}
|
|
15934
|
+
],
|
|
15935
|
+
"name": "changeMinimumMakerProtocolFee",
|
|
15936
|
+
"outputs": [],
|
|
15937
|
+
"payable": false,
|
|
15938
|
+
"stateMutability": "nonpayable",
|
|
15939
|
+
"type": "function"
|
|
15940
|
+
},
|
|
15941
|
+
{
|
|
15942
|
+
"constant": false,
|
|
15943
|
+
"inputs": [
|
|
15944
|
+
{
|
|
15945
|
+
"name": "newMinimumTakerProtocolFee",
|
|
15946
|
+
"type": "uint256"
|
|
15947
|
+
}
|
|
15948
|
+
],
|
|
15949
|
+
"name": "changeMinimumTakerProtocolFee",
|
|
15950
|
+
"outputs": [],
|
|
15951
|
+
"payable": false,
|
|
15952
|
+
"stateMutability": "nonpayable",
|
|
15953
|
+
"type": "function"
|
|
15954
|
+
},
|
|
15955
|
+
{
|
|
15956
|
+
"constant": true,
|
|
15957
|
+
"inputs": [
|
|
15958
|
+
{
|
|
15959
|
+
"name": "array",
|
|
15960
|
+
"type": "bytes"
|
|
15961
|
+
},
|
|
15962
|
+
{
|
|
15963
|
+
"name": "desired",
|
|
15964
|
+
"type": "bytes"
|
|
15965
|
+
},
|
|
15966
|
+
{
|
|
15967
|
+
"name": "mask",
|
|
15968
|
+
"type": "bytes"
|
|
15969
|
+
}
|
|
15970
|
+
],
|
|
15971
|
+
"name": "guardedArrayReplace",
|
|
15972
|
+
"outputs": [
|
|
15973
|
+
{
|
|
15974
|
+
"name": "",
|
|
15975
|
+
"type": "bytes"
|
|
15976
|
+
}
|
|
15977
|
+
],
|
|
15978
|
+
"payable": false,
|
|
15979
|
+
"stateMutability": "pure",
|
|
15980
|
+
"type": "function"
|
|
15981
|
+
},
|
|
15982
|
+
{
|
|
15983
|
+
"constant": true,
|
|
15984
|
+
"inputs": [],
|
|
15985
|
+
"name": "minimumTakerProtocolFee",
|
|
15986
|
+
"outputs": [
|
|
15987
|
+
{
|
|
15988
|
+
"name": "",
|
|
15989
|
+
"type": "uint256"
|
|
15990
|
+
}
|
|
15991
|
+
],
|
|
15992
|
+
"payable": false,
|
|
15993
|
+
"stateMutability": "view",
|
|
15994
|
+
"type": "function"
|
|
15995
|
+
},
|
|
15996
|
+
{
|
|
15997
|
+
"constant": true,
|
|
15998
|
+
"inputs": [],
|
|
15999
|
+
"name": "codename",
|
|
16000
|
+
"outputs": [
|
|
16001
|
+
{
|
|
16002
|
+
"name": "",
|
|
16003
|
+
"type": "string"
|
|
16004
|
+
}
|
|
16005
|
+
],
|
|
16006
|
+
"payable": false,
|
|
16007
|
+
"stateMutability": "view",
|
|
16008
|
+
"type": "function"
|
|
16009
|
+
},
|
|
16010
|
+
{
|
|
16011
|
+
"constant": true,
|
|
16012
|
+
"inputs": [
|
|
16013
|
+
{
|
|
16014
|
+
"name": "addr",
|
|
16015
|
+
"type": "address"
|
|
16016
|
+
}
|
|
16017
|
+
],
|
|
16018
|
+
"name": "testCopyAddress",
|
|
16019
|
+
"outputs": [
|
|
16020
|
+
{
|
|
16021
|
+
"name": "",
|
|
16022
|
+
"type": "bytes"
|
|
16023
|
+
}
|
|
16024
|
+
],
|
|
16025
|
+
"payable": false,
|
|
16026
|
+
"stateMutability": "pure",
|
|
16027
|
+
"type": "function"
|
|
16028
|
+
},
|
|
16029
|
+
{
|
|
16030
|
+
"constant": true,
|
|
16031
|
+
"inputs": [
|
|
16032
|
+
{
|
|
16033
|
+
"name": "arrToCopy",
|
|
16034
|
+
"type": "bytes"
|
|
16035
|
+
}
|
|
16036
|
+
],
|
|
16037
|
+
"name": "testCopy",
|
|
16038
|
+
"outputs": [
|
|
16039
|
+
{
|
|
16040
|
+
"name": "",
|
|
16041
|
+
"type": "bytes"
|
|
16042
|
+
}
|
|
16043
|
+
],
|
|
16044
|
+
"payable": false,
|
|
16045
|
+
"stateMutability": "pure",
|
|
16046
|
+
"type": "function"
|
|
16047
|
+
},
|
|
16048
|
+
{
|
|
16049
|
+
"constant": true,
|
|
16050
|
+
"inputs": [
|
|
16051
|
+
{
|
|
16052
|
+
"name": "addrs",
|
|
16053
|
+
"type": "address[7]"
|
|
16054
|
+
},
|
|
16055
|
+
{
|
|
16056
|
+
"name": "uints",
|
|
16057
|
+
"type": "uint256[9]"
|
|
16058
|
+
},
|
|
16059
|
+
{
|
|
16060
|
+
"name": "feeMethod",
|
|
16061
|
+
"type": "uint8"
|
|
16062
|
+
},
|
|
16063
|
+
{
|
|
16064
|
+
"name": "side",
|
|
16065
|
+
"type": "uint8"
|
|
16066
|
+
},
|
|
16067
|
+
{
|
|
16068
|
+
"name": "saleKind",
|
|
16069
|
+
"type": "uint8"
|
|
16070
|
+
},
|
|
16071
|
+
{
|
|
16072
|
+
"name": "howToCall",
|
|
16073
|
+
"type": "uint8"
|
|
16074
|
+
},
|
|
16075
|
+
{
|
|
16076
|
+
"name": "calldata",
|
|
16077
|
+
"type": "bytes"
|
|
16078
|
+
},
|
|
16079
|
+
{
|
|
16080
|
+
"name": "replacementPattern",
|
|
16081
|
+
"type": "bytes"
|
|
16082
|
+
},
|
|
16083
|
+
{
|
|
16084
|
+
"name": "staticExtradata",
|
|
16085
|
+
"type": "bytes"
|
|
16086
|
+
}
|
|
16087
|
+
],
|
|
16088
|
+
"name": "calculateCurrentPrice_",
|
|
16089
|
+
"outputs": [
|
|
16090
|
+
{
|
|
16091
|
+
"name": "",
|
|
16092
|
+
"type": "uint256"
|
|
16093
|
+
}
|
|
16094
|
+
],
|
|
16095
|
+
"payable": false,
|
|
16096
|
+
"stateMutability": "view",
|
|
16097
|
+
"type": "function"
|
|
16098
|
+
},
|
|
16099
|
+
{
|
|
16100
|
+
"constant": false,
|
|
16101
|
+
"inputs": [
|
|
16102
|
+
{
|
|
16103
|
+
"name": "newProtocolFeeRecipient",
|
|
16104
|
+
"type": "address"
|
|
16105
|
+
}
|
|
16106
|
+
],
|
|
16107
|
+
"name": "changeProtocolFeeRecipient",
|
|
16108
|
+
"outputs": [],
|
|
16109
|
+
"payable": false,
|
|
16110
|
+
"stateMutability": "nonpayable",
|
|
16111
|
+
"type": "function"
|
|
16112
|
+
},
|
|
16113
|
+
{
|
|
16114
|
+
"constant": true,
|
|
16115
|
+
"inputs": [],
|
|
16116
|
+
"name": "version",
|
|
16117
|
+
"outputs": [
|
|
16118
|
+
{
|
|
16119
|
+
"name": "",
|
|
16120
|
+
"type": "string"
|
|
16121
|
+
}
|
|
16122
|
+
],
|
|
16123
|
+
"payable": false,
|
|
16124
|
+
"stateMutability": "view",
|
|
16125
|
+
"type": "function"
|
|
16126
|
+
},
|
|
16127
|
+
{
|
|
16128
|
+
"constant": true,
|
|
16129
|
+
"inputs": [
|
|
16130
|
+
{
|
|
16131
|
+
"name": "buyCalldata",
|
|
16132
|
+
"type": "bytes"
|
|
16133
|
+
},
|
|
16134
|
+
{
|
|
16135
|
+
"name": "buyReplacementPattern",
|
|
16136
|
+
"type": "bytes"
|
|
16137
|
+
},
|
|
16138
|
+
{
|
|
16139
|
+
"name": "sellCalldata",
|
|
16140
|
+
"type": "bytes"
|
|
16141
|
+
},
|
|
16142
|
+
{
|
|
16143
|
+
"name": "sellReplacementPattern",
|
|
16144
|
+
"type": "bytes"
|
|
16145
|
+
}
|
|
16146
|
+
],
|
|
16147
|
+
"name": "orderCalldataCanMatch",
|
|
16148
|
+
"outputs": [
|
|
16149
|
+
{
|
|
16150
|
+
"name": "",
|
|
16151
|
+
"type": "bool"
|
|
16152
|
+
}
|
|
16153
|
+
],
|
|
16154
|
+
"payable": false,
|
|
16155
|
+
"stateMutability": "pure",
|
|
16156
|
+
"type": "function"
|
|
16157
|
+
},
|
|
16158
|
+
{
|
|
16159
|
+
"constant": true,
|
|
16160
|
+
"inputs": [
|
|
16161
|
+
{
|
|
16162
|
+
"name": "addrs",
|
|
16163
|
+
"type": "address[7]"
|
|
16164
|
+
},
|
|
16165
|
+
{
|
|
16166
|
+
"name": "uints",
|
|
16167
|
+
"type": "uint256[9]"
|
|
16168
|
+
},
|
|
16169
|
+
{
|
|
16170
|
+
"name": "feeMethod",
|
|
16171
|
+
"type": "uint8"
|
|
16172
|
+
},
|
|
16173
|
+
{
|
|
16174
|
+
"name": "side",
|
|
16175
|
+
"type": "uint8"
|
|
16176
|
+
},
|
|
16177
|
+
{
|
|
16178
|
+
"name": "saleKind",
|
|
16179
|
+
"type": "uint8"
|
|
16180
|
+
},
|
|
16181
|
+
{
|
|
16182
|
+
"name": "howToCall",
|
|
16183
|
+
"type": "uint8"
|
|
16184
|
+
},
|
|
16185
|
+
{
|
|
16186
|
+
"name": "calldata",
|
|
16187
|
+
"type": "bytes"
|
|
16188
|
+
},
|
|
16189
|
+
{
|
|
16190
|
+
"name": "replacementPattern",
|
|
16191
|
+
"type": "bytes"
|
|
16192
|
+
},
|
|
16193
|
+
{
|
|
16194
|
+
"name": "staticExtradata",
|
|
16195
|
+
"type": "bytes"
|
|
16196
|
+
},
|
|
16197
|
+
{
|
|
16198
|
+
"name": "v",
|
|
16199
|
+
"type": "uint8"
|
|
16200
|
+
},
|
|
16201
|
+
{
|
|
16202
|
+
"name": "r",
|
|
16203
|
+
"type": "bytes32"
|
|
16204
|
+
},
|
|
16205
|
+
{
|
|
16206
|
+
"name": "s",
|
|
16207
|
+
"type": "bytes32"
|
|
16208
|
+
}
|
|
16209
|
+
],
|
|
16210
|
+
"name": "validateOrder_",
|
|
16211
|
+
"outputs": [
|
|
16212
|
+
{
|
|
16213
|
+
"name": "",
|
|
16214
|
+
"type": "bool"
|
|
16215
|
+
}
|
|
16216
|
+
],
|
|
16217
|
+
"payable": false,
|
|
16218
|
+
"stateMutability": "view",
|
|
16219
|
+
"type": "function"
|
|
16220
|
+
},
|
|
16221
|
+
{
|
|
16222
|
+
"constant": true,
|
|
16223
|
+
"inputs": [
|
|
16224
|
+
{
|
|
16225
|
+
"name": "side",
|
|
16226
|
+
"type": "uint8"
|
|
16227
|
+
},
|
|
16228
|
+
{
|
|
16229
|
+
"name": "saleKind",
|
|
16230
|
+
"type": "uint8"
|
|
16231
|
+
},
|
|
16232
|
+
{
|
|
16233
|
+
"name": "basePrice",
|
|
16234
|
+
"type": "uint256"
|
|
16235
|
+
},
|
|
16236
|
+
{
|
|
16237
|
+
"name": "extra",
|
|
16238
|
+
"type": "uint256"
|
|
16239
|
+
},
|
|
16240
|
+
{
|
|
16241
|
+
"name": "listingTime",
|
|
16242
|
+
"type": "uint256"
|
|
16243
|
+
},
|
|
16244
|
+
{
|
|
16245
|
+
"name": "expirationTime",
|
|
16246
|
+
"type": "uint256"
|
|
16247
|
+
}
|
|
16248
|
+
],
|
|
16249
|
+
"name": "calculateFinalPrice",
|
|
16250
|
+
"outputs": [
|
|
16251
|
+
{
|
|
16252
|
+
"name": "",
|
|
16253
|
+
"type": "uint256"
|
|
16254
|
+
}
|
|
16255
|
+
],
|
|
16256
|
+
"payable": false,
|
|
16257
|
+
"stateMutability": "view",
|
|
16258
|
+
"type": "function"
|
|
16259
|
+
},
|
|
16260
|
+
{
|
|
16261
|
+
"constant": true,
|
|
16262
|
+
"inputs": [],
|
|
16263
|
+
"name": "protocolFeeRecipient",
|
|
16264
|
+
"outputs": [
|
|
16265
|
+
{
|
|
16266
|
+
"name": "",
|
|
16267
|
+
"type": "address"
|
|
16268
|
+
}
|
|
16269
|
+
],
|
|
16270
|
+
"payable": false,
|
|
16271
|
+
"stateMutability": "view",
|
|
16272
|
+
"type": "function"
|
|
16273
|
+
},
|
|
16274
|
+
{
|
|
16275
|
+
"constant": false,
|
|
16276
|
+
"inputs": [],
|
|
16277
|
+
"name": "renounceOwnership",
|
|
16278
|
+
"outputs": [],
|
|
16279
|
+
"payable": false,
|
|
16280
|
+
"stateMutability": "nonpayable",
|
|
16281
|
+
"type": "function"
|
|
16282
|
+
},
|
|
16283
|
+
{
|
|
16284
|
+
"constant": true,
|
|
16285
|
+
"inputs": [
|
|
16286
|
+
{
|
|
16287
|
+
"name": "addrs",
|
|
16288
|
+
"type": "address[7]"
|
|
16289
|
+
},
|
|
16290
|
+
{
|
|
16291
|
+
"name": "uints",
|
|
16292
|
+
"type": "uint256[9]"
|
|
16293
|
+
},
|
|
16294
|
+
{
|
|
16295
|
+
"name": "feeMethod",
|
|
16296
|
+
"type": "uint8"
|
|
16297
|
+
},
|
|
16298
|
+
{
|
|
16299
|
+
"name": "side",
|
|
16300
|
+
"type": "uint8"
|
|
16301
|
+
},
|
|
16302
|
+
{
|
|
16303
|
+
"name": "saleKind",
|
|
16304
|
+
"type": "uint8"
|
|
16305
|
+
},
|
|
16306
|
+
{
|
|
16307
|
+
"name": "howToCall",
|
|
16308
|
+
"type": "uint8"
|
|
16309
|
+
},
|
|
16310
|
+
{
|
|
16311
|
+
"name": "calldata",
|
|
16312
|
+
"type": "bytes"
|
|
16313
|
+
},
|
|
16314
|
+
{
|
|
16315
|
+
"name": "replacementPattern",
|
|
16316
|
+
"type": "bytes"
|
|
16317
|
+
},
|
|
16318
|
+
{
|
|
16319
|
+
"name": "staticExtradata",
|
|
16320
|
+
"type": "bytes"
|
|
16321
|
+
}
|
|
16322
|
+
],
|
|
16323
|
+
"name": "hashOrder_",
|
|
16324
|
+
"outputs": [
|
|
16325
|
+
{
|
|
16326
|
+
"name": "",
|
|
16327
|
+
"type": "bytes32"
|
|
16328
|
+
}
|
|
16329
|
+
],
|
|
16330
|
+
"payable": false,
|
|
16331
|
+
"stateMutability": "pure",
|
|
16332
|
+
"type": "function"
|
|
16333
|
+
},
|
|
16334
|
+
{
|
|
16335
|
+
"constant": true,
|
|
16336
|
+
"inputs": [
|
|
16337
|
+
{
|
|
16338
|
+
"name": "addrs",
|
|
16339
|
+
"type": "address[14]"
|
|
16340
|
+
},
|
|
16341
|
+
{
|
|
16342
|
+
"name": "uints",
|
|
16343
|
+
"type": "uint256[18]"
|
|
16344
|
+
},
|
|
16345
|
+
{
|
|
16346
|
+
"name": "feeMethodsSidesKindsHowToCalls",
|
|
16347
|
+
"type": "uint8[8]"
|
|
16348
|
+
},
|
|
16349
|
+
{
|
|
16350
|
+
"name": "calldataBuy",
|
|
16351
|
+
"type": "bytes"
|
|
16352
|
+
},
|
|
16353
|
+
{
|
|
16354
|
+
"name": "calldataSell",
|
|
16355
|
+
"type": "bytes"
|
|
16356
|
+
},
|
|
16357
|
+
{
|
|
16358
|
+
"name": "replacementPatternBuy",
|
|
16359
|
+
"type": "bytes"
|
|
16360
|
+
},
|
|
16361
|
+
{
|
|
16362
|
+
"name": "replacementPatternSell",
|
|
16363
|
+
"type": "bytes"
|
|
16364
|
+
},
|
|
16365
|
+
{
|
|
16366
|
+
"name": "staticExtradataBuy",
|
|
16367
|
+
"type": "bytes"
|
|
16368
|
+
},
|
|
16369
|
+
{
|
|
16370
|
+
"name": "staticExtradataSell",
|
|
16371
|
+
"type": "bytes"
|
|
16372
|
+
}
|
|
16373
|
+
],
|
|
16374
|
+
"name": "ordersCanMatch_",
|
|
16375
|
+
"outputs": [
|
|
16376
|
+
{
|
|
16377
|
+
"name": "",
|
|
16378
|
+
"type": "bool"
|
|
16379
|
+
}
|
|
16380
|
+
],
|
|
16381
|
+
"payable": false,
|
|
16382
|
+
"stateMutability": "view",
|
|
16383
|
+
"type": "function"
|
|
16384
|
+
},
|
|
16385
|
+
{
|
|
16386
|
+
"constant": false,
|
|
16387
|
+
"inputs": [
|
|
16388
|
+
{
|
|
16389
|
+
"name": "addrs",
|
|
16390
|
+
"type": "address[7]"
|
|
16391
|
+
},
|
|
16392
|
+
{
|
|
16393
|
+
"name": "uints",
|
|
16394
|
+
"type": "uint256[9]"
|
|
16395
|
+
},
|
|
16396
|
+
{
|
|
16397
|
+
"name": "feeMethod",
|
|
16398
|
+
"type": "uint8"
|
|
16399
|
+
},
|
|
16400
|
+
{
|
|
16401
|
+
"name": "side",
|
|
16402
|
+
"type": "uint8"
|
|
16403
|
+
},
|
|
16404
|
+
{
|
|
16405
|
+
"name": "saleKind",
|
|
16406
|
+
"type": "uint8"
|
|
16407
|
+
},
|
|
16408
|
+
{
|
|
16409
|
+
"name": "howToCall",
|
|
16410
|
+
"type": "uint8"
|
|
16411
|
+
},
|
|
16412
|
+
{
|
|
16413
|
+
"name": "calldata",
|
|
16414
|
+
"type": "bytes"
|
|
16415
|
+
},
|
|
16416
|
+
{
|
|
16417
|
+
"name": "replacementPattern",
|
|
16418
|
+
"type": "bytes"
|
|
16419
|
+
},
|
|
16420
|
+
{
|
|
16421
|
+
"name": "staticExtradata",
|
|
16422
|
+
"type": "bytes"
|
|
16423
|
+
},
|
|
16424
|
+
{
|
|
16425
|
+
"name": "orderbookInclusionDesired",
|
|
16426
|
+
"type": "bool"
|
|
16427
|
+
}
|
|
16428
|
+
],
|
|
16429
|
+
"name": "approveOrder_",
|
|
16430
|
+
"outputs": [],
|
|
16431
|
+
"payable": false,
|
|
16432
|
+
"stateMutability": "nonpayable",
|
|
16433
|
+
"type": "function"
|
|
16434
|
+
},
|
|
16435
|
+
{
|
|
16436
|
+
"constant": true,
|
|
16437
|
+
"inputs": [],
|
|
16438
|
+
"name": "registry",
|
|
16439
|
+
"outputs": [
|
|
16440
|
+
{
|
|
16441
|
+
"name": "",
|
|
16442
|
+
"type": "address"
|
|
16443
|
+
}
|
|
16444
|
+
],
|
|
16445
|
+
"payable": false,
|
|
16446
|
+
"stateMutability": "view",
|
|
16447
|
+
"type": "function"
|
|
16448
|
+
},
|
|
16449
|
+
{
|
|
16450
|
+
"constant": true,
|
|
16451
|
+
"inputs": [],
|
|
16452
|
+
"name": "minimumMakerProtocolFee",
|
|
16453
|
+
"outputs": [
|
|
16454
|
+
{
|
|
16455
|
+
"name": "",
|
|
16456
|
+
"type": "uint256"
|
|
16457
|
+
}
|
|
16458
|
+
],
|
|
16459
|
+
"payable": false,
|
|
16460
|
+
"stateMutability": "view",
|
|
16461
|
+
"type": "function"
|
|
16462
|
+
},
|
|
16463
|
+
{
|
|
16464
|
+
"constant": true,
|
|
16465
|
+
"inputs": [
|
|
16466
|
+
{
|
|
16467
|
+
"name": "addrs",
|
|
16468
|
+
"type": "address[7]"
|
|
16469
|
+
},
|
|
16470
|
+
{
|
|
16471
|
+
"name": "uints",
|
|
16472
|
+
"type": "uint256[9]"
|
|
16473
|
+
},
|
|
16474
|
+
{
|
|
16475
|
+
"name": "feeMethod",
|
|
16476
|
+
"type": "uint8"
|
|
16477
|
+
},
|
|
16478
|
+
{
|
|
16479
|
+
"name": "side",
|
|
16480
|
+
"type": "uint8"
|
|
16481
|
+
},
|
|
16482
|
+
{
|
|
16483
|
+
"name": "saleKind",
|
|
16484
|
+
"type": "uint8"
|
|
16485
|
+
},
|
|
16486
|
+
{
|
|
16487
|
+
"name": "howToCall",
|
|
16488
|
+
"type": "uint8"
|
|
16489
|
+
},
|
|
16490
|
+
{
|
|
16491
|
+
"name": "calldata",
|
|
16492
|
+
"type": "bytes"
|
|
16493
|
+
},
|
|
16494
|
+
{
|
|
16495
|
+
"name": "replacementPattern",
|
|
16496
|
+
"type": "bytes"
|
|
16497
|
+
},
|
|
16498
|
+
{
|
|
16499
|
+
"name": "staticExtradata",
|
|
16500
|
+
"type": "bytes"
|
|
16501
|
+
}
|
|
16502
|
+
],
|
|
16503
|
+
"name": "hashToSign_",
|
|
16504
|
+
"outputs": [
|
|
16505
|
+
{
|
|
16506
|
+
"name": "",
|
|
16507
|
+
"type": "bytes32"
|
|
16508
|
+
}
|
|
16509
|
+
],
|
|
16510
|
+
"payable": false,
|
|
16511
|
+
"stateMutability": "pure",
|
|
16512
|
+
"type": "function"
|
|
16513
|
+
},
|
|
16514
|
+
{
|
|
16515
|
+
"constant": true,
|
|
16516
|
+
"inputs": [
|
|
16517
|
+
{
|
|
16518
|
+
"name": "",
|
|
16519
|
+
"type": "bytes32"
|
|
16520
|
+
}
|
|
16521
|
+
],
|
|
16522
|
+
"name": "cancelledOrFinalized",
|
|
16523
|
+
"outputs": [
|
|
16524
|
+
{
|
|
16525
|
+
"name": "",
|
|
16526
|
+
"type": "bool"
|
|
16527
|
+
}
|
|
16528
|
+
],
|
|
16529
|
+
"payable": false,
|
|
16530
|
+
"stateMutability": "view",
|
|
16531
|
+
"type": "function"
|
|
16532
|
+
},
|
|
16533
|
+
{
|
|
16534
|
+
"constant": true,
|
|
16535
|
+
"inputs": [],
|
|
16536
|
+
"name": "owner",
|
|
16537
|
+
"outputs": [
|
|
16538
|
+
{
|
|
16539
|
+
"name": "",
|
|
16540
|
+
"type": "address"
|
|
16541
|
+
}
|
|
16542
|
+
],
|
|
16543
|
+
"payable": false,
|
|
16544
|
+
"stateMutability": "view",
|
|
16545
|
+
"type": "function"
|
|
16546
|
+
},
|
|
16547
|
+
{
|
|
16548
|
+
"constant": true,
|
|
16549
|
+
"inputs": [],
|
|
16550
|
+
"name": "exchangeToken",
|
|
16551
|
+
"outputs": [
|
|
16552
|
+
{
|
|
16553
|
+
"name": "",
|
|
16554
|
+
"type": "address"
|
|
16555
|
+
}
|
|
16556
|
+
],
|
|
16557
|
+
"payable": false,
|
|
16558
|
+
"stateMutability": "view",
|
|
16559
|
+
"type": "function"
|
|
16560
|
+
},
|
|
16561
|
+
{
|
|
16562
|
+
"constant": false,
|
|
16563
|
+
"inputs": [
|
|
16564
|
+
{
|
|
16565
|
+
"name": "addrs",
|
|
16566
|
+
"type": "address[7]"
|
|
16567
|
+
},
|
|
16568
|
+
{
|
|
16569
|
+
"name": "uints",
|
|
16570
|
+
"type": "uint256[9]"
|
|
16571
|
+
},
|
|
16572
|
+
{
|
|
16573
|
+
"name": "feeMethod",
|
|
16574
|
+
"type": "uint8"
|
|
16575
|
+
},
|
|
16576
|
+
{
|
|
16577
|
+
"name": "side",
|
|
16578
|
+
"type": "uint8"
|
|
16579
|
+
},
|
|
16580
|
+
{
|
|
16581
|
+
"name": "saleKind",
|
|
16582
|
+
"type": "uint8"
|
|
16583
|
+
},
|
|
16584
|
+
{
|
|
16585
|
+
"name": "howToCall",
|
|
16586
|
+
"type": "uint8"
|
|
16587
|
+
},
|
|
16588
|
+
{
|
|
16589
|
+
"name": "calldata",
|
|
16590
|
+
"type": "bytes"
|
|
16591
|
+
},
|
|
16592
|
+
{
|
|
16593
|
+
"name": "replacementPattern",
|
|
16594
|
+
"type": "bytes"
|
|
16595
|
+
},
|
|
16596
|
+
{
|
|
16597
|
+
"name": "staticExtradata",
|
|
16598
|
+
"type": "bytes"
|
|
16599
|
+
},
|
|
16600
|
+
{
|
|
16601
|
+
"name": "v",
|
|
16602
|
+
"type": "uint8"
|
|
16603
|
+
},
|
|
16604
|
+
{
|
|
16605
|
+
"name": "r",
|
|
16606
|
+
"type": "bytes32"
|
|
16607
|
+
},
|
|
16608
|
+
{
|
|
16609
|
+
"name": "s",
|
|
16610
|
+
"type": "bytes32"
|
|
16611
|
+
}
|
|
16612
|
+
],
|
|
16613
|
+
"name": "cancelOrder_",
|
|
16614
|
+
"outputs": [],
|
|
16615
|
+
"payable": false,
|
|
16616
|
+
"stateMutability": "nonpayable",
|
|
16617
|
+
"type": "function"
|
|
16618
|
+
},
|
|
16619
|
+
{
|
|
16620
|
+
"constant": false,
|
|
16621
|
+
"inputs": [
|
|
16622
|
+
{
|
|
16623
|
+
"name": "addrs",
|
|
16624
|
+
"type": "address[14]"
|
|
16625
|
+
},
|
|
16626
|
+
{
|
|
16627
|
+
"name": "uints",
|
|
16628
|
+
"type": "uint256[18]"
|
|
16629
|
+
},
|
|
16630
|
+
{
|
|
16631
|
+
"name": "feeMethodsSidesKindsHowToCalls",
|
|
16632
|
+
"type": "uint8[8]"
|
|
16633
|
+
},
|
|
16634
|
+
{
|
|
16635
|
+
"name": "calldataBuy",
|
|
16636
|
+
"type": "bytes"
|
|
16637
|
+
},
|
|
16638
|
+
{
|
|
16639
|
+
"name": "calldataSell",
|
|
16640
|
+
"type": "bytes"
|
|
16641
|
+
},
|
|
16642
|
+
{
|
|
16643
|
+
"name": "replacementPatternBuy",
|
|
16644
|
+
"type": "bytes"
|
|
16645
|
+
},
|
|
16646
|
+
{
|
|
16647
|
+
"name": "replacementPatternSell",
|
|
16648
|
+
"type": "bytes"
|
|
16649
|
+
},
|
|
16650
|
+
{
|
|
16651
|
+
"name": "staticExtradataBuy",
|
|
16652
|
+
"type": "bytes"
|
|
16653
|
+
},
|
|
16654
|
+
{
|
|
16655
|
+
"name": "staticExtradataSell",
|
|
16656
|
+
"type": "bytes"
|
|
16657
|
+
},
|
|
16658
|
+
{
|
|
16659
|
+
"name": "vs",
|
|
16660
|
+
"type": "uint8[2]"
|
|
16661
|
+
},
|
|
16662
|
+
{
|
|
16663
|
+
"name": "rssMetadata",
|
|
16664
|
+
"type": "bytes32[5]"
|
|
16665
|
+
}
|
|
16666
|
+
],
|
|
16667
|
+
"name": "atomicMatch_",
|
|
16668
|
+
"outputs": [],
|
|
16669
|
+
"payable": true,
|
|
16670
|
+
"stateMutability": "payable",
|
|
16671
|
+
"type": "function"
|
|
16672
|
+
},
|
|
16673
|
+
{
|
|
16674
|
+
"constant": true,
|
|
16675
|
+
"inputs": [
|
|
16676
|
+
{
|
|
16677
|
+
"name": "addrs",
|
|
16678
|
+
"type": "address[7]"
|
|
16679
|
+
},
|
|
16680
|
+
{
|
|
16681
|
+
"name": "uints",
|
|
16682
|
+
"type": "uint256[9]"
|
|
16683
|
+
},
|
|
16684
|
+
{
|
|
16685
|
+
"name": "feeMethod",
|
|
16686
|
+
"type": "uint8"
|
|
16687
|
+
},
|
|
16688
|
+
{
|
|
16689
|
+
"name": "side",
|
|
16690
|
+
"type": "uint8"
|
|
16691
|
+
},
|
|
16692
|
+
{
|
|
16693
|
+
"name": "saleKind",
|
|
16694
|
+
"type": "uint8"
|
|
16695
|
+
},
|
|
16696
|
+
{
|
|
16697
|
+
"name": "howToCall",
|
|
16698
|
+
"type": "uint8"
|
|
16699
|
+
},
|
|
16700
|
+
{
|
|
16701
|
+
"name": "calldata",
|
|
16702
|
+
"type": "bytes"
|
|
16703
|
+
},
|
|
16704
|
+
{
|
|
16705
|
+
"name": "replacementPattern",
|
|
16706
|
+
"type": "bytes"
|
|
16707
|
+
},
|
|
16708
|
+
{
|
|
16709
|
+
"name": "staticExtradata",
|
|
16710
|
+
"type": "bytes"
|
|
16711
|
+
}
|
|
16712
|
+
],
|
|
16713
|
+
"name": "validateOrderParameters_",
|
|
16714
|
+
"outputs": [
|
|
16715
|
+
{
|
|
16716
|
+
"name": "",
|
|
16717
|
+
"type": "bool"
|
|
16718
|
+
}
|
|
16719
|
+
],
|
|
16720
|
+
"payable": false,
|
|
16721
|
+
"stateMutability": "view",
|
|
16722
|
+
"type": "function"
|
|
16723
|
+
},
|
|
16724
|
+
{
|
|
16725
|
+
"constant": true,
|
|
16726
|
+
"inputs": [],
|
|
16727
|
+
"name": "INVERSE_BASIS_POINT",
|
|
16728
|
+
"outputs": [
|
|
16729
|
+
{
|
|
16730
|
+
"name": "",
|
|
16731
|
+
"type": "uint256"
|
|
16732
|
+
}
|
|
16733
|
+
],
|
|
16734
|
+
"payable": false,
|
|
16735
|
+
"stateMutability": "view",
|
|
16736
|
+
"type": "function"
|
|
16737
|
+
},
|
|
16738
|
+
{
|
|
16739
|
+
"constant": true,
|
|
16740
|
+
"inputs": [
|
|
16741
|
+
{
|
|
16742
|
+
"name": "addrs",
|
|
16743
|
+
"type": "address[14]"
|
|
16744
|
+
},
|
|
16745
|
+
{
|
|
16746
|
+
"name": "uints",
|
|
16747
|
+
"type": "uint256[18]"
|
|
16748
|
+
},
|
|
16749
|
+
{
|
|
16750
|
+
"name": "feeMethodsSidesKindsHowToCalls",
|
|
16751
|
+
"type": "uint8[8]"
|
|
16752
|
+
},
|
|
16753
|
+
{
|
|
16754
|
+
"name": "calldataBuy",
|
|
16755
|
+
"type": "bytes"
|
|
16756
|
+
},
|
|
16757
|
+
{
|
|
16758
|
+
"name": "calldataSell",
|
|
16759
|
+
"type": "bytes"
|
|
16760
|
+
},
|
|
16761
|
+
{
|
|
16762
|
+
"name": "replacementPatternBuy",
|
|
16763
|
+
"type": "bytes"
|
|
16764
|
+
},
|
|
16765
|
+
{
|
|
16766
|
+
"name": "replacementPatternSell",
|
|
16767
|
+
"type": "bytes"
|
|
16768
|
+
},
|
|
16769
|
+
{
|
|
16770
|
+
"name": "staticExtradataBuy",
|
|
16771
|
+
"type": "bytes"
|
|
16772
|
+
},
|
|
16773
|
+
{
|
|
16774
|
+
"name": "staticExtradataSell",
|
|
16775
|
+
"type": "bytes"
|
|
16776
|
+
}
|
|
16777
|
+
],
|
|
16778
|
+
"name": "calculateMatchPrice_",
|
|
16779
|
+
"outputs": [
|
|
16780
|
+
{
|
|
16781
|
+
"name": "",
|
|
16782
|
+
"type": "uint256"
|
|
16783
|
+
}
|
|
16784
|
+
],
|
|
16785
|
+
"payable": false,
|
|
16786
|
+
"stateMutability": "view",
|
|
16787
|
+
"type": "function"
|
|
16788
|
+
},
|
|
16789
|
+
{
|
|
16790
|
+
"constant": true,
|
|
16791
|
+
"inputs": [
|
|
16792
|
+
{
|
|
16793
|
+
"name": "",
|
|
16794
|
+
"type": "bytes32"
|
|
16795
|
+
}
|
|
16796
|
+
],
|
|
16797
|
+
"name": "approvedOrders",
|
|
16798
|
+
"outputs": [
|
|
16799
|
+
{
|
|
16800
|
+
"name": "",
|
|
16801
|
+
"type": "bool"
|
|
16802
|
+
}
|
|
16803
|
+
],
|
|
16804
|
+
"payable": false,
|
|
16805
|
+
"stateMutability": "view",
|
|
16806
|
+
"type": "function"
|
|
16807
|
+
},
|
|
16808
|
+
{
|
|
16809
|
+
"constant": false,
|
|
16810
|
+
"inputs": [
|
|
16811
|
+
{
|
|
16812
|
+
"name": "newOwner",
|
|
16813
|
+
"type": "address"
|
|
16814
|
+
}
|
|
16815
|
+
],
|
|
16816
|
+
"name": "transferOwnership",
|
|
16817
|
+
"outputs": [],
|
|
16818
|
+
"payable": false,
|
|
16819
|
+
"stateMutability": "nonpayable",
|
|
16820
|
+
"type": "function"
|
|
16821
|
+
},
|
|
16822
|
+
{
|
|
16823
|
+
"inputs": [
|
|
16824
|
+
{
|
|
16825
|
+
"name": "registryAddress",
|
|
16826
|
+
"type": "address"
|
|
16827
|
+
},
|
|
16828
|
+
{
|
|
16829
|
+
"name": "tokenTransferProxyAddress",
|
|
16830
|
+
"type": "address"
|
|
16831
|
+
},
|
|
16832
|
+
{
|
|
16833
|
+
"name": "tokenAddress",
|
|
16834
|
+
"type": "address"
|
|
16835
|
+
},
|
|
16836
|
+
{
|
|
16837
|
+
"name": "protocolFeeAddress",
|
|
16838
|
+
"type": "address"
|
|
16839
|
+
}
|
|
16840
|
+
],
|
|
16841
|
+
"payable": false,
|
|
16842
|
+
"stateMutability": "nonpayable",
|
|
16843
|
+
"type": "constructor"
|
|
16844
|
+
},
|
|
16845
|
+
{
|
|
16846
|
+
"anonymous": false,
|
|
16847
|
+
"inputs": [
|
|
16848
|
+
{
|
|
16849
|
+
"indexed": true,
|
|
16850
|
+
"name": "hash",
|
|
16851
|
+
"type": "bytes32"
|
|
16852
|
+
},
|
|
16853
|
+
{
|
|
16854
|
+
"indexed": false,
|
|
16855
|
+
"name": "exchange",
|
|
16856
|
+
"type": "address"
|
|
16857
|
+
},
|
|
16858
|
+
{
|
|
16859
|
+
"indexed": true,
|
|
16860
|
+
"name": "maker",
|
|
16861
|
+
"type": "address"
|
|
16862
|
+
},
|
|
16863
|
+
{
|
|
16864
|
+
"indexed": false,
|
|
16865
|
+
"name": "taker",
|
|
16866
|
+
"type": "address"
|
|
16867
|
+
},
|
|
16868
|
+
{
|
|
16869
|
+
"indexed": false,
|
|
16870
|
+
"name": "makerRelayerFee",
|
|
16871
|
+
"type": "uint256"
|
|
16872
|
+
},
|
|
16873
|
+
{
|
|
16874
|
+
"indexed": false,
|
|
16875
|
+
"name": "takerRelayerFee",
|
|
16876
|
+
"type": "uint256"
|
|
16877
|
+
},
|
|
16878
|
+
{
|
|
16879
|
+
"indexed": false,
|
|
16880
|
+
"name": "makerProtocolFee",
|
|
16881
|
+
"type": "uint256"
|
|
16882
|
+
},
|
|
16883
|
+
{
|
|
16884
|
+
"indexed": false,
|
|
16885
|
+
"name": "takerProtocolFee",
|
|
16886
|
+
"type": "uint256"
|
|
16887
|
+
},
|
|
16888
|
+
{
|
|
16889
|
+
"indexed": true,
|
|
16890
|
+
"name": "feeRecipient",
|
|
16891
|
+
"type": "address"
|
|
16892
|
+
},
|
|
16893
|
+
{
|
|
16894
|
+
"indexed": false,
|
|
16895
|
+
"name": "feeMethod",
|
|
16896
|
+
"type": "uint8"
|
|
16897
|
+
},
|
|
16898
|
+
{
|
|
16899
|
+
"indexed": false,
|
|
16900
|
+
"name": "side",
|
|
16901
|
+
"type": "uint8"
|
|
16902
|
+
},
|
|
16903
|
+
{
|
|
16904
|
+
"indexed": false,
|
|
16905
|
+
"name": "saleKind",
|
|
16906
|
+
"type": "uint8"
|
|
16907
|
+
},
|
|
16908
|
+
{
|
|
16909
|
+
"indexed": false,
|
|
16910
|
+
"name": "target",
|
|
16911
|
+
"type": "address"
|
|
16912
|
+
}
|
|
16913
|
+
],
|
|
16914
|
+
"name": "OrderApprovedPartOne",
|
|
16915
|
+
"type": "event"
|
|
16916
|
+
},
|
|
16917
|
+
{
|
|
16918
|
+
"anonymous": false,
|
|
16919
|
+
"inputs": [
|
|
16920
|
+
{
|
|
16921
|
+
"indexed": true,
|
|
16922
|
+
"name": "hash",
|
|
16923
|
+
"type": "bytes32"
|
|
16924
|
+
},
|
|
16925
|
+
{
|
|
16926
|
+
"indexed": false,
|
|
16927
|
+
"name": "howToCall",
|
|
16928
|
+
"type": "uint8"
|
|
16929
|
+
},
|
|
16930
|
+
{
|
|
16931
|
+
"indexed": false,
|
|
16932
|
+
"name": "calldata",
|
|
16933
|
+
"type": "bytes"
|
|
16934
|
+
},
|
|
16935
|
+
{
|
|
16936
|
+
"indexed": false,
|
|
16937
|
+
"name": "replacementPattern",
|
|
16938
|
+
"type": "bytes"
|
|
16939
|
+
},
|
|
16940
|
+
{
|
|
16941
|
+
"indexed": false,
|
|
16942
|
+
"name": "staticTarget",
|
|
16943
|
+
"type": "address"
|
|
16944
|
+
},
|
|
16945
|
+
{
|
|
16946
|
+
"indexed": false,
|
|
16947
|
+
"name": "staticExtradata",
|
|
16948
|
+
"type": "bytes"
|
|
16949
|
+
},
|
|
16950
|
+
{
|
|
16951
|
+
"indexed": false,
|
|
16952
|
+
"name": "paymentToken",
|
|
16953
|
+
"type": "address"
|
|
16954
|
+
},
|
|
16955
|
+
{
|
|
16956
|
+
"indexed": false,
|
|
16957
|
+
"name": "basePrice",
|
|
16958
|
+
"type": "uint256"
|
|
16959
|
+
},
|
|
16960
|
+
{
|
|
16961
|
+
"indexed": false,
|
|
16962
|
+
"name": "extra",
|
|
16963
|
+
"type": "uint256"
|
|
16964
|
+
},
|
|
16965
|
+
{
|
|
16966
|
+
"indexed": false,
|
|
16967
|
+
"name": "listingTime",
|
|
16968
|
+
"type": "uint256"
|
|
16969
|
+
},
|
|
16970
|
+
{
|
|
16971
|
+
"indexed": false,
|
|
16972
|
+
"name": "expirationTime",
|
|
16973
|
+
"type": "uint256"
|
|
16974
|
+
},
|
|
16975
|
+
{
|
|
16976
|
+
"indexed": false,
|
|
16977
|
+
"name": "salt",
|
|
16978
|
+
"type": "uint256"
|
|
16979
|
+
},
|
|
16980
|
+
{
|
|
16981
|
+
"indexed": false,
|
|
16982
|
+
"name": "orderbookInclusionDesired",
|
|
16983
|
+
"type": "bool"
|
|
16984
|
+
}
|
|
16985
|
+
],
|
|
16986
|
+
"name": "OrderApprovedPartTwo",
|
|
16987
|
+
"type": "event"
|
|
16988
|
+
},
|
|
16989
|
+
{
|
|
16990
|
+
"anonymous": false,
|
|
16991
|
+
"inputs": [
|
|
16992
|
+
{
|
|
16993
|
+
"indexed": true,
|
|
16994
|
+
"name": "hash",
|
|
16995
|
+
"type": "bytes32"
|
|
16996
|
+
}
|
|
16997
|
+
],
|
|
16998
|
+
"name": "OrderCancelled",
|
|
16999
|
+
"type": "event"
|
|
17000
|
+
},
|
|
17001
|
+
{
|
|
17002
|
+
"anonymous": false,
|
|
17003
|
+
"inputs": [
|
|
17004
|
+
{
|
|
17005
|
+
"indexed": false,
|
|
17006
|
+
"name": "buyHash",
|
|
17007
|
+
"type": "bytes32"
|
|
17008
|
+
},
|
|
17009
|
+
{
|
|
17010
|
+
"indexed": false,
|
|
17011
|
+
"name": "sellHash",
|
|
17012
|
+
"type": "bytes32"
|
|
17013
|
+
},
|
|
17014
|
+
{
|
|
17015
|
+
"indexed": true,
|
|
17016
|
+
"name": "maker",
|
|
17017
|
+
"type": "address"
|
|
17018
|
+
},
|
|
17019
|
+
{
|
|
17020
|
+
"indexed": true,
|
|
17021
|
+
"name": "taker",
|
|
17022
|
+
"type": "address"
|
|
17023
|
+
},
|
|
17024
|
+
{
|
|
17025
|
+
"indexed": false,
|
|
17026
|
+
"name": "price",
|
|
17027
|
+
"type": "uint256"
|
|
17028
|
+
},
|
|
17029
|
+
{
|
|
17030
|
+
"indexed": true,
|
|
17031
|
+
"name": "metadata",
|
|
17032
|
+
"type": "bytes32"
|
|
17033
|
+
}
|
|
17034
|
+
],
|
|
17035
|
+
"name": "OrdersMatched",
|
|
17036
|
+
"type": "event"
|
|
17037
|
+
},
|
|
17038
|
+
{
|
|
17039
|
+
"anonymous": false,
|
|
17040
|
+
"inputs": [
|
|
17041
|
+
{
|
|
17042
|
+
"indexed": true,
|
|
17043
|
+
"name": "previousOwner",
|
|
17044
|
+
"type": "address"
|
|
17045
|
+
}
|
|
17046
|
+
],
|
|
17047
|
+
"name": "OwnershipRenounced",
|
|
17048
|
+
"type": "event"
|
|
17049
|
+
},
|
|
17050
|
+
{
|
|
17051
|
+
"anonymous": false,
|
|
17052
|
+
"inputs": [
|
|
17053
|
+
{
|
|
17054
|
+
"indexed": true,
|
|
17055
|
+
"name": "previousOwner",
|
|
17056
|
+
"type": "address"
|
|
17057
|
+
},
|
|
17058
|
+
{
|
|
17059
|
+
"indexed": true,
|
|
17060
|
+
"name": "newOwner",
|
|
17061
|
+
"type": "address"
|
|
17062
|
+
}
|
|
17063
|
+
],
|
|
17064
|
+
"name": "OwnershipTransferred",
|
|
17065
|
+
"type": "event"
|
|
17066
|
+
}
|
|
17067
|
+
]
|
|
17068
|
+
},
|
|
17069
|
+
"0xa5409ec958c83c3f309868babaca7c86dcb077c1": {
|
|
17070
|
+
"0xddd81f82": {
|
|
17071
|
+
"plugin": "OpenSea",
|
|
17072
|
+
"serialized_data": "074f70656e536561a5409ec958c83c3f309868babaca7c86dcb077c1ddd81f82",
|
|
17073
|
+
"signature": "3045022100b71ee2a37bc610485ec7e94dab782e4454e9d2b8c0ac7197b7f2a635c63fd6cd02204f4bc49fde2f6e79d440833281305b037c8b13ca65e12229aefeae2bdfa07e99",
|
|
17074
|
+
"erc20OfInterest": []
|
|
17075
|
+
},
|
|
17076
|
+
"abi": [
|
|
17077
|
+
{
|
|
17078
|
+
"constant": true,
|
|
17079
|
+
"inputs": [],
|
|
17080
|
+
"name": "name",
|
|
17081
|
+
"outputs": [
|
|
17082
|
+
{
|
|
17083
|
+
"name": "",
|
|
17084
|
+
"type": "string"
|
|
17085
|
+
}
|
|
17086
|
+
],
|
|
17087
|
+
"payable": false,
|
|
17088
|
+
"stateMutability": "view",
|
|
17089
|
+
"type": "function"
|
|
17090
|
+
},
|
|
17091
|
+
{
|
|
17092
|
+
"constant": true,
|
|
17093
|
+
"inputs": [],
|
|
17094
|
+
"name": "initialAddressSet",
|
|
17095
|
+
"outputs": [
|
|
17096
|
+
{
|
|
17097
|
+
"name": "",
|
|
17098
|
+
"type": "bool"
|
|
17099
|
+
}
|
|
17100
|
+
],
|
|
17101
|
+
"payable": false,
|
|
17102
|
+
"stateMutability": "view",
|
|
17103
|
+
"type": "function"
|
|
17104
|
+
},
|
|
17105
|
+
{
|
|
17106
|
+
"constant": false,
|
|
17107
|
+
"inputs": [
|
|
17108
|
+
{
|
|
17109
|
+
"name": "addr",
|
|
17110
|
+
"type": "address"
|
|
17111
|
+
}
|
|
17112
|
+
],
|
|
17113
|
+
"name": "endGrantAuthentication",
|
|
17114
|
+
"outputs": [],
|
|
17115
|
+
"payable": false,
|
|
17116
|
+
"stateMutability": "nonpayable",
|
|
17117
|
+
"type": "function"
|
|
17118
|
+
},
|
|
17119
|
+
{
|
|
17120
|
+
"constant": false,
|
|
17121
|
+
"inputs": [
|
|
17122
|
+
{
|
|
17123
|
+
"name": "addr",
|
|
17124
|
+
"type": "address"
|
|
17125
|
+
}
|
|
17126
|
+
],
|
|
17127
|
+
"name": "revokeAuthentication",
|
|
17128
|
+
"outputs": [],
|
|
17129
|
+
"payable": false,
|
|
17130
|
+
"stateMutability": "nonpayable",
|
|
17131
|
+
"type": "function"
|
|
17132
|
+
},
|
|
17133
|
+
{
|
|
17134
|
+
"constant": true,
|
|
17135
|
+
"inputs": [
|
|
17136
|
+
{
|
|
17137
|
+
"name": "",
|
|
17138
|
+
"type": "address"
|
|
17139
|
+
}
|
|
17140
|
+
],
|
|
17141
|
+
"name": "pending",
|
|
17142
|
+
"outputs": [
|
|
17143
|
+
{
|
|
17144
|
+
"name": "",
|
|
17145
|
+
"type": "uint256"
|
|
17146
|
+
}
|
|
17147
|
+
],
|
|
17148
|
+
"payable": false,
|
|
17149
|
+
"stateMutability": "view",
|
|
17150
|
+
"type": "function"
|
|
17151
|
+
},
|
|
17152
|
+
{
|
|
17153
|
+
"constant": true,
|
|
17154
|
+
"inputs": [
|
|
17155
|
+
{
|
|
17156
|
+
"name": "",
|
|
17157
|
+
"type": "address"
|
|
17158
|
+
}
|
|
17159
|
+
],
|
|
17160
|
+
"name": "contracts",
|
|
17161
|
+
"outputs": [
|
|
17162
|
+
{
|
|
17163
|
+
"name": "",
|
|
17164
|
+
"type": "bool"
|
|
17165
|
+
}
|
|
17166
|
+
],
|
|
17167
|
+
"payable": false,
|
|
17168
|
+
"stateMutability": "view",
|
|
17169
|
+
"type": "function"
|
|
17170
|
+
},
|
|
17171
|
+
{
|
|
17172
|
+
"constant": false,
|
|
17173
|
+
"inputs": [],
|
|
17174
|
+
"name": "renounceOwnership",
|
|
17175
|
+
"outputs": [],
|
|
17176
|
+
"payable": false,
|
|
17177
|
+
"stateMutability": "nonpayable",
|
|
17178
|
+
"type": "function"
|
|
17179
|
+
},
|
|
17180
|
+
{
|
|
17181
|
+
"constant": true,
|
|
17182
|
+
"inputs": [],
|
|
17183
|
+
"name": "owner",
|
|
17184
|
+
"outputs": [
|
|
17185
|
+
{
|
|
17186
|
+
"name": "",
|
|
17187
|
+
"type": "address"
|
|
17188
|
+
}
|
|
17189
|
+
],
|
|
17190
|
+
"payable": false,
|
|
17191
|
+
"stateMutability": "view",
|
|
17192
|
+
"type": "function"
|
|
17193
|
+
},
|
|
17194
|
+
{
|
|
17195
|
+
"constant": true,
|
|
17196
|
+
"inputs": [],
|
|
17197
|
+
"name": "delegateProxyImplementation",
|
|
17198
|
+
"outputs": [
|
|
17199
|
+
{
|
|
17200
|
+
"name": "",
|
|
17201
|
+
"type": "address"
|
|
17202
|
+
}
|
|
17203
|
+
],
|
|
17204
|
+
"payable": false,
|
|
17205
|
+
"stateMutability": "view",
|
|
17206
|
+
"type": "function"
|
|
17207
|
+
},
|
|
17208
|
+
{
|
|
17209
|
+
"constant": true,
|
|
17210
|
+
"inputs": [
|
|
17211
|
+
{
|
|
17212
|
+
"name": "",
|
|
17213
|
+
"type": "address"
|
|
17214
|
+
}
|
|
17215
|
+
],
|
|
17216
|
+
"name": "proxies",
|
|
17217
|
+
"outputs": [
|
|
17218
|
+
{
|
|
17219
|
+
"name": "",
|
|
17220
|
+
"type": "address"
|
|
17221
|
+
}
|
|
17222
|
+
],
|
|
17223
|
+
"payable": false,
|
|
17224
|
+
"stateMutability": "view",
|
|
17225
|
+
"type": "function"
|
|
17226
|
+
},
|
|
17227
|
+
{
|
|
17228
|
+
"constant": false,
|
|
17229
|
+
"inputs": [
|
|
17230
|
+
{
|
|
17231
|
+
"name": "addr",
|
|
17232
|
+
"type": "address"
|
|
17233
|
+
}
|
|
17234
|
+
],
|
|
17235
|
+
"name": "startGrantAuthentication",
|
|
17236
|
+
"outputs": [],
|
|
17237
|
+
"payable": false,
|
|
17238
|
+
"stateMutability": "nonpayable",
|
|
17239
|
+
"type": "function"
|
|
17240
|
+
},
|
|
17241
|
+
{
|
|
17242
|
+
"constant": false,
|
|
17243
|
+
"inputs": [],
|
|
17244
|
+
"name": "registerProxy",
|
|
17245
|
+
"outputs": [
|
|
17246
|
+
{
|
|
17247
|
+
"name": "proxy",
|
|
17248
|
+
"type": "address"
|
|
17249
|
+
}
|
|
17250
|
+
],
|
|
17251
|
+
"payable": false,
|
|
17252
|
+
"stateMutability": "nonpayable",
|
|
17253
|
+
"type": "function"
|
|
17254
|
+
},
|
|
17255
|
+
{
|
|
17256
|
+
"constant": true,
|
|
17257
|
+
"inputs": [],
|
|
17258
|
+
"name": "DELAY_PERIOD",
|
|
17259
|
+
"outputs": [
|
|
17260
|
+
{
|
|
17261
|
+
"name": "",
|
|
17262
|
+
"type": "uint256"
|
|
17263
|
+
}
|
|
17264
|
+
],
|
|
17265
|
+
"payable": false,
|
|
17266
|
+
"stateMutability": "view",
|
|
17267
|
+
"type": "function"
|
|
17268
|
+
},
|
|
17269
|
+
{
|
|
17270
|
+
"constant": false,
|
|
17271
|
+
"inputs": [
|
|
17272
|
+
{
|
|
17273
|
+
"name": "authAddress",
|
|
17274
|
+
"type": "address"
|
|
17275
|
+
}
|
|
17276
|
+
],
|
|
17277
|
+
"name": "grantInitialAuthentication",
|
|
17278
|
+
"outputs": [],
|
|
17279
|
+
"payable": false,
|
|
17280
|
+
"stateMutability": "nonpayable",
|
|
17281
|
+
"type": "function"
|
|
17282
|
+
},
|
|
17283
|
+
{
|
|
17284
|
+
"constant": false,
|
|
17285
|
+
"inputs": [
|
|
17286
|
+
{
|
|
17287
|
+
"name": "newOwner",
|
|
17288
|
+
"type": "address"
|
|
17289
|
+
}
|
|
17290
|
+
],
|
|
17291
|
+
"name": "transferOwnership",
|
|
17292
|
+
"outputs": [],
|
|
17293
|
+
"payable": false,
|
|
17294
|
+
"stateMutability": "nonpayable",
|
|
17295
|
+
"type": "function"
|
|
17296
|
+
},
|
|
17297
|
+
{
|
|
17298
|
+
"inputs": [],
|
|
17299
|
+
"payable": false,
|
|
17300
|
+
"stateMutability": "nonpayable",
|
|
17301
|
+
"type": "constructor"
|
|
17302
|
+
},
|
|
17303
|
+
{
|
|
17304
|
+
"anonymous": false,
|
|
17305
|
+
"inputs": [
|
|
17306
|
+
{
|
|
17307
|
+
"indexed": true,
|
|
17308
|
+
"name": "previousOwner",
|
|
17309
|
+
"type": "address"
|
|
17310
|
+
}
|
|
17311
|
+
],
|
|
17312
|
+
"name": "OwnershipRenounced",
|
|
17313
|
+
"type": "event"
|
|
17314
|
+
},
|
|
17315
|
+
{
|
|
17316
|
+
"anonymous": false,
|
|
17317
|
+
"inputs": [
|
|
17318
|
+
{
|
|
17319
|
+
"indexed": true,
|
|
17320
|
+
"name": "previousOwner",
|
|
17321
|
+
"type": "address"
|
|
17322
|
+
},
|
|
17323
|
+
{
|
|
17324
|
+
"indexed": true,
|
|
17325
|
+
"name": "newOwner",
|
|
17326
|
+
"type": "address"
|
|
17327
|
+
}
|
|
17328
|
+
],
|
|
17329
|
+
"name": "OwnershipTransferred",
|
|
17330
|
+
"type": "event"
|
|
17331
|
+
}
|
|
17332
|
+
]
|
|
17333
|
+
},
|
|
17334
|
+
"0xdef171fe48cf0115b1d80b88dc8eab59176fee57": {
|
|
17335
|
+
"0x2298207a": {
|
|
17336
|
+
"plugin": "Paraswap",
|
|
17337
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee572298207a",
|
|
17338
|
+
"signature": "304402203072331f0caa61455b82ce06860a36261bcb039670174e7e46fe3967969fd385022063a52de1b8cea836ada187cc64f7ea619eae0d94efe25ce14d5857e04f34f81d",
|
|
17339
|
+
"erc20OfInterest": [
|
|
17340
|
+
"data.fromToken",
|
|
17341
|
+
"data.toToken"
|
|
17342
|
+
]
|
|
17343
|
+
},
|
|
17344
|
+
"0x46c67b6d": {
|
|
17345
|
+
"plugin": "Paraswap",
|
|
17346
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5746c67b6d",
|
|
17347
|
+
"signature": "3045022100c3768eeff9fad5194fd84ece3842d0e58c1b35a4c6fe373fa3723b4f3692f9d30220206e9a80b33b10ebf2bc90106dc0e699b41b621652bfd096fbdf4fdda55cf446",
|
|
17348
|
+
"erc20OfInterest": [
|
|
17349
|
+
"data.fromToken",
|
|
17350
|
+
"data.path.1.path.1.to"
|
|
17351
|
+
]
|
|
17352
|
+
},
|
|
17353
|
+
"0x54840d1a": {
|
|
17354
|
+
"plugin": "Paraswap",
|
|
17355
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5754840d1a",
|
|
17356
|
+
"signature": "3044022049869b8d73029254042a535d7632d6d0e2d5bcefe5f5ba3a77fb27bc7c93773902204b3ffa80289e73dd022b88d318a9a7fcc361643f09332e0f542d83283cb6b6a9",
|
|
17357
|
+
"erc20OfInterest": [
|
|
17358
|
+
"path.0"
|
|
17359
|
+
]
|
|
17360
|
+
},
|
|
17361
|
+
"0x54e3f31b": {
|
|
17362
|
+
"plugin": "Paraswap",
|
|
17363
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5754e3f31b",
|
|
17364
|
+
"signature": "3045022100ec8e69d23371437ce5b5f1d894b836c036748e2fabf52fb069c34a9d0ba8704a022013e761d81c26ece4cb0ea385813699b7e646354d3404ed55f4bf068db02dda9a",
|
|
17365
|
+
"erc20OfInterest": [
|
|
17366
|
+
"data.fromToken",
|
|
17367
|
+
"data.toToken"
|
|
17368
|
+
]
|
|
17369
|
+
},
|
|
17370
|
+
"0x64466805": {
|
|
17371
|
+
"plugin": "Paraswap",
|
|
17372
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5764466805",
|
|
17373
|
+
"signature": "304402207da61be0c5a79664222603ef9d616e208e2bcf3bf79864beecc40e360fc3b8a002200d4bd96a8b267babad3eab43bd986c12935c6c720d6aff6452287e5469c34453",
|
|
17374
|
+
"erc20OfInterest": [
|
|
17375
|
+
"fromToken",
|
|
17376
|
+
"toToken"
|
|
17377
|
+
]
|
|
17378
|
+
},
|
|
17379
|
+
"0x81033120": {
|
|
17380
|
+
"plugin": "Paraswap",
|
|
17381
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee5781033120",
|
|
17382
|
+
"signature": "304402206e6b46da310956e40330dfc1420845aebb1cb9240535e2af801b22dbb756ddbe0220682554d390ca3d42f61f85a0162e958f7113dc0965196675fae9576a3ff153a3",
|
|
17383
|
+
"erc20OfInterest": [
|
|
17384
|
+
"fromToken",
|
|
17385
|
+
"toToken"
|
|
17386
|
+
]
|
|
17387
|
+
},
|
|
17388
|
+
"0x935fb84b": {
|
|
17389
|
+
"plugin": "Paraswap",
|
|
17390
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee57935fb84b",
|
|
17391
|
+
"signature": "3045022100b6822ad1f3fb232db30701876e02b7dab518252db1ee4b7888a46d043e3f627302204a92d907fa07804e579ae53b450388ad7aea3267d5ad0e8713e2292d653a0dfd",
|
|
17392
|
+
"erc20OfInterest": [
|
|
17393
|
+
"path.1"
|
|
17394
|
+
]
|
|
17395
|
+
},
|
|
17396
|
+
"0xa94e78ef": {
|
|
17397
|
+
"plugin": "Paraswap",
|
|
17398
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee57a94e78ef",
|
|
17399
|
+
"signature": "304402201950cfc5a5d6123d9ab6fd95aea31a796ddc174530de3f747592e88296032d7402200b68a4f498f184f0a84def57ddf5b3c33c443889b64010ab2b4a29ff48703526",
|
|
17400
|
+
"erc20OfInterest": [
|
|
17401
|
+
"data.fromToken",
|
|
17402
|
+
"data.path.1.to"
|
|
17403
|
+
]
|
|
17404
|
+
},
|
|
17405
|
+
"0xc03786b0": {
|
|
17406
|
+
"plugin": "Paraswap",
|
|
17407
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee57c03786b0",
|
|
17408
|
+
"signature": "304402200829270c2edd00861b9ced8fd8ebbd306de1ba62b5aa14fee7a1a9437898bc7b022021d21929b18c01f656c2c37545f9015a8019c295924be6fb6848c68dbc618c8d",
|
|
17409
|
+
"erc20OfInterest": [
|
|
17410
|
+
"path.1"
|
|
17411
|
+
]
|
|
17412
|
+
},
|
|
17413
|
+
"0xf5661034": {
|
|
17414
|
+
"plugin": "Paraswap",
|
|
17415
|
+
"serialized_data": "085061726173776170def171fe48cf0115b1d80b88dc8eab59176fee57f5661034",
|
|
17416
|
+
"signature": "304402205d1070dc2d31be89aae05a0c855bdc8542773f84530d6f16ceabc1047a7ab18d022064ce2de5693578731603f91c9d633f8711f9b8dfee94f12f0677c3973fa24eae",
|
|
17417
|
+
"erc20OfInterest": [
|
|
17418
|
+
"path.0"
|
|
17419
|
+
]
|
|
17420
|
+
},
|
|
17421
|
+
"abi": [
|
|
17422
|
+
{
|
|
17423
|
+
"inputs": [
|
|
17424
|
+
{
|
|
17425
|
+
"internalType": "address payable",
|
|
17426
|
+
"name": "_feeWallet",
|
|
17427
|
+
"type": "address"
|
|
17428
|
+
}
|
|
17429
|
+
],
|
|
17430
|
+
"stateMutability": "nonpayable",
|
|
17431
|
+
"type": "constructor"
|
|
17432
|
+
},
|
|
17433
|
+
{
|
|
17434
|
+
"anonymous": false,
|
|
17435
|
+
"inputs": [
|
|
17436
|
+
{
|
|
17437
|
+
"indexed": true,
|
|
17438
|
+
"internalType": "address",
|
|
17439
|
+
"name": "adapter",
|
|
17440
|
+
"type": "address"
|
|
17441
|
+
}
|
|
17442
|
+
],
|
|
17443
|
+
"name": "AdapterInitialized",
|
|
17444
|
+
"type": "event"
|
|
17445
|
+
},
|
|
17446
|
+
{
|
|
17447
|
+
"anonymous": false,
|
|
17448
|
+
"inputs": [
|
|
17449
|
+
{
|
|
17450
|
+
"indexed": true,
|
|
17451
|
+
"internalType": "bytes32",
|
|
17452
|
+
"name": "role",
|
|
17453
|
+
"type": "bytes32"
|
|
17454
|
+
},
|
|
17455
|
+
{
|
|
17456
|
+
"indexed": true,
|
|
17457
|
+
"internalType": "bytes32",
|
|
17458
|
+
"name": "previousAdminRole",
|
|
17459
|
+
"type": "bytes32"
|
|
17460
|
+
},
|
|
17461
|
+
{
|
|
17462
|
+
"indexed": true,
|
|
17463
|
+
"internalType": "bytes32",
|
|
17464
|
+
"name": "newAdminRole",
|
|
17465
|
+
"type": "bytes32"
|
|
17466
|
+
}
|
|
17467
|
+
],
|
|
17468
|
+
"name": "RoleAdminChanged",
|
|
17469
|
+
"type": "event"
|
|
17470
|
+
},
|
|
17471
|
+
{
|
|
17472
|
+
"anonymous": false,
|
|
17473
|
+
"inputs": [
|
|
17474
|
+
{
|
|
17475
|
+
"indexed": true,
|
|
17476
|
+
"internalType": "bytes32",
|
|
17477
|
+
"name": "role",
|
|
17478
|
+
"type": "bytes32"
|
|
17479
|
+
},
|
|
17480
|
+
{
|
|
17481
|
+
"indexed": true,
|
|
17482
|
+
"internalType": "address",
|
|
17483
|
+
"name": "account",
|
|
17484
|
+
"type": "address"
|
|
17485
|
+
},
|
|
17486
|
+
{
|
|
17487
|
+
"indexed": true,
|
|
17488
|
+
"internalType": "address",
|
|
17489
|
+
"name": "sender",
|
|
17490
|
+
"type": "address"
|
|
17491
|
+
}
|
|
17492
|
+
],
|
|
17493
|
+
"name": "RoleGranted",
|
|
17494
|
+
"type": "event"
|
|
17495
|
+
},
|
|
17496
|
+
{
|
|
17497
|
+
"anonymous": false,
|
|
17498
|
+
"inputs": [
|
|
17499
|
+
{
|
|
17500
|
+
"indexed": true,
|
|
17501
|
+
"internalType": "bytes32",
|
|
17502
|
+
"name": "role",
|
|
17503
|
+
"type": "bytes32"
|
|
17504
|
+
},
|
|
17505
|
+
{
|
|
17506
|
+
"indexed": true,
|
|
17507
|
+
"internalType": "address",
|
|
17508
|
+
"name": "account",
|
|
17509
|
+
"type": "address"
|
|
17510
|
+
},
|
|
17511
|
+
{
|
|
17512
|
+
"indexed": true,
|
|
17513
|
+
"internalType": "address",
|
|
17514
|
+
"name": "sender",
|
|
17515
|
+
"type": "address"
|
|
17516
|
+
}
|
|
17517
|
+
],
|
|
17518
|
+
"name": "RoleRevoked",
|
|
17519
|
+
"type": "event"
|
|
17520
|
+
},
|
|
17521
|
+
{
|
|
17522
|
+
"anonymous": false,
|
|
17523
|
+
"inputs": [
|
|
17524
|
+
{
|
|
17525
|
+
"indexed": true,
|
|
17526
|
+
"internalType": "address",
|
|
17527
|
+
"name": "router",
|
|
17528
|
+
"type": "address"
|
|
17529
|
+
}
|
|
17530
|
+
],
|
|
17531
|
+
"name": "RouterInitialized",
|
|
17532
|
+
"type": "event"
|
|
17533
|
+
},
|
|
17534
|
+
{
|
|
17535
|
+
"stateMutability": "payable",
|
|
17536
|
+
"type": "fallback"
|
|
17537
|
+
},
|
|
17538
|
+
{
|
|
17539
|
+
"inputs": [],
|
|
17540
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
17541
|
+
"outputs": [
|
|
17542
|
+
{
|
|
17543
|
+
"internalType": "bytes32",
|
|
17544
|
+
"name": "",
|
|
17545
|
+
"type": "bytes32"
|
|
17546
|
+
}
|
|
17547
|
+
],
|
|
17548
|
+
"stateMutability": "view",
|
|
17549
|
+
"type": "function"
|
|
17550
|
+
},
|
|
17551
|
+
{
|
|
17552
|
+
"inputs": [],
|
|
17553
|
+
"name": "ROUTER_ROLE",
|
|
17554
|
+
"outputs": [
|
|
17555
|
+
{
|
|
17556
|
+
"internalType": "bytes32",
|
|
17557
|
+
"name": "",
|
|
17558
|
+
"type": "bytes32"
|
|
17559
|
+
}
|
|
17560
|
+
],
|
|
17561
|
+
"stateMutability": "view",
|
|
17562
|
+
"type": "function"
|
|
17563
|
+
},
|
|
17564
|
+
{
|
|
17565
|
+
"inputs": [],
|
|
17566
|
+
"name": "WHITELISTED_ROLE",
|
|
17567
|
+
"outputs": [
|
|
17568
|
+
{
|
|
17569
|
+
"internalType": "bytes32",
|
|
17570
|
+
"name": "",
|
|
17571
|
+
"type": "bytes32"
|
|
17572
|
+
}
|
|
17573
|
+
],
|
|
17574
|
+
"stateMutability": "view",
|
|
17575
|
+
"type": "function"
|
|
17576
|
+
},
|
|
17577
|
+
{
|
|
17578
|
+
"inputs": [
|
|
17579
|
+
{
|
|
17580
|
+
"internalType": "bytes32",
|
|
17581
|
+
"name": "key",
|
|
17582
|
+
"type": "bytes32"
|
|
17583
|
+
}
|
|
17584
|
+
],
|
|
17585
|
+
"name": "getAdapterData",
|
|
17586
|
+
"outputs": [
|
|
17587
|
+
{
|
|
17588
|
+
"internalType": "bytes",
|
|
17589
|
+
"name": "",
|
|
17590
|
+
"type": "bytes"
|
|
17591
|
+
}
|
|
17592
|
+
],
|
|
17593
|
+
"stateMutability": "view",
|
|
17594
|
+
"type": "function"
|
|
17595
|
+
},
|
|
17596
|
+
{
|
|
17597
|
+
"inputs": [],
|
|
17598
|
+
"name": "getFeeWallet",
|
|
17599
|
+
"outputs": [
|
|
17600
|
+
{
|
|
17601
|
+
"internalType": "address",
|
|
17602
|
+
"name": "",
|
|
17603
|
+
"type": "address"
|
|
17604
|
+
}
|
|
17605
|
+
],
|
|
17606
|
+
"stateMutability": "view",
|
|
17607
|
+
"type": "function"
|
|
17608
|
+
},
|
|
17609
|
+
{
|
|
17610
|
+
"inputs": [
|
|
17611
|
+
{
|
|
17612
|
+
"internalType": "bytes4",
|
|
17613
|
+
"name": "selector",
|
|
17614
|
+
"type": "bytes4"
|
|
17615
|
+
}
|
|
17616
|
+
],
|
|
17617
|
+
"name": "getImplementation",
|
|
17618
|
+
"outputs": [
|
|
17619
|
+
{
|
|
17620
|
+
"internalType": "address",
|
|
17621
|
+
"name": "",
|
|
17622
|
+
"type": "address"
|
|
17623
|
+
}
|
|
17624
|
+
],
|
|
17625
|
+
"stateMutability": "view",
|
|
17626
|
+
"type": "function"
|
|
17627
|
+
},
|
|
17628
|
+
{
|
|
17629
|
+
"inputs": [
|
|
17630
|
+
{
|
|
17631
|
+
"internalType": "address",
|
|
17632
|
+
"name": "partner",
|
|
17633
|
+
"type": "address"
|
|
17634
|
+
}
|
|
17635
|
+
],
|
|
17636
|
+
"name": "getPartnerFeeStructure",
|
|
17637
|
+
"outputs": [
|
|
17638
|
+
{
|
|
17639
|
+
"components": [
|
|
17640
|
+
{
|
|
17641
|
+
"internalType": "uint256",
|
|
17642
|
+
"name": "partnerShare",
|
|
17643
|
+
"type": "uint256"
|
|
17644
|
+
},
|
|
17645
|
+
{
|
|
17646
|
+
"internalType": "bool",
|
|
17647
|
+
"name": "noPositiveSlippage",
|
|
17648
|
+
"type": "bool"
|
|
17649
|
+
},
|
|
17650
|
+
{
|
|
17651
|
+
"internalType": "bool",
|
|
17652
|
+
"name": "positiveSlippageToUser",
|
|
17653
|
+
"type": "bool"
|
|
17654
|
+
},
|
|
17655
|
+
{
|
|
17656
|
+
"internalType": "uint16",
|
|
17657
|
+
"name": "feePercent",
|
|
17658
|
+
"type": "uint16"
|
|
17659
|
+
},
|
|
17660
|
+
{
|
|
17661
|
+
"internalType": "string",
|
|
17662
|
+
"name": "partnerId",
|
|
17663
|
+
"type": "string"
|
|
17664
|
+
},
|
|
17665
|
+
{
|
|
17666
|
+
"internalType": "bytes",
|
|
17667
|
+
"name": "data",
|
|
17668
|
+
"type": "bytes"
|
|
17669
|
+
}
|
|
17670
|
+
],
|
|
17671
|
+
"internalType": "struct AugustusStorage.FeeStructure",
|
|
17672
|
+
"name": "",
|
|
17673
|
+
"type": "tuple"
|
|
17674
|
+
}
|
|
17675
|
+
],
|
|
17676
|
+
"stateMutability": "view",
|
|
17677
|
+
"type": "function"
|
|
17678
|
+
},
|
|
17679
|
+
{
|
|
17680
|
+
"inputs": [
|
|
17681
|
+
{
|
|
17682
|
+
"internalType": "bytes32",
|
|
17683
|
+
"name": "role",
|
|
17684
|
+
"type": "bytes32"
|
|
17685
|
+
}
|
|
17686
|
+
],
|
|
17687
|
+
"name": "getRoleAdmin",
|
|
17688
|
+
"outputs": [
|
|
17689
|
+
{
|
|
17690
|
+
"internalType": "bytes32",
|
|
17691
|
+
"name": "",
|
|
17692
|
+
"type": "bytes32"
|
|
17693
|
+
}
|
|
17694
|
+
],
|
|
17695
|
+
"stateMutability": "view",
|
|
17696
|
+
"type": "function"
|
|
17697
|
+
},
|
|
17698
|
+
{
|
|
17699
|
+
"inputs": [
|
|
17700
|
+
{
|
|
17701
|
+
"internalType": "bytes32",
|
|
17702
|
+
"name": "role",
|
|
17703
|
+
"type": "bytes32"
|
|
17704
|
+
},
|
|
17705
|
+
{
|
|
17706
|
+
"internalType": "uint256",
|
|
17707
|
+
"name": "index",
|
|
17708
|
+
"type": "uint256"
|
|
17709
|
+
}
|
|
17710
|
+
],
|
|
17711
|
+
"name": "getRoleMember",
|
|
17712
|
+
"outputs": [
|
|
17713
|
+
{
|
|
17714
|
+
"internalType": "address",
|
|
17715
|
+
"name": "",
|
|
17716
|
+
"type": "address"
|
|
17717
|
+
}
|
|
17718
|
+
],
|
|
17719
|
+
"stateMutability": "view",
|
|
17720
|
+
"type": "function"
|
|
17721
|
+
},
|
|
17722
|
+
{
|
|
17723
|
+
"inputs": [
|
|
17724
|
+
{
|
|
17725
|
+
"internalType": "bytes32",
|
|
17726
|
+
"name": "role",
|
|
17727
|
+
"type": "bytes32"
|
|
17728
|
+
}
|
|
17729
|
+
],
|
|
17730
|
+
"name": "getRoleMemberCount",
|
|
17731
|
+
"outputs": [
|
|
17732
|
+
{
|
|
17733
|
+
"internalType": "uint256",
|
|
17734
|
+
"name": "",
|
|
17735
|
+
"type": "uint256"
|
|
17736
|
+
}
|
|
17737
|
+
],
|
|
17738
|
+
"stateMutability": "view",
|
|
17739
|
+
"type": "function"
|
|
17740
|
+
},
|
|
17741
|
+
{
|
|
17742
|
+
"inputs": [
|
|
17743
|
+
{
|
|
17744
|
+
"internalType": "bytes32",
|
|
17745
|
+
"name": "key",
|
|
17746
|
+
"type": "bytes32"
|
|
17747
|
+
}
|
|
17748
|
+
],
|
|
17749
|
+
"name": "getRouterData",
|
|
17750
|
+
"outputs": [
|
|
17751
|
+
{
|
|
17752
|
+
"internalType": "bytes",
|
|
17753
|
+
"name": "",
|
|
17754
|
+
"type": "bytes"
|
|
17755
|
+
}
|
|
17756
|
+
],
|
|
17757
|
+
"stateMutability": "view",
|
|
17758
|
+
"type": "function"
|
|
17759
|
+
},
|
|
17760
|
+
{
|
|
17761
|
+
"inputs": [],
|
|
17762
|
+
"name": "getTokenTransferProxy",
|
|
17763
|
+
"outputs": [
|
|
17764
|
+
{
|
|
17765
|
+
"internalType": "address",
|
|
17766
|
+
"name": "",
|
|
17767
|
+
"type": "address"
|
|
17768
|
+
}
|
|
17769
|
+
],
|
|
17770
|
+
"stateMutability": "view",
|
|
17771
|
+
"type": "function"
|
|
17772
|
+
},
|
|
17773
|
+
{
|
|
17774
|
+
"inputs": [],
|
|
17775
|
+
"name": "getVersion",
|
|
17776
|
+
"outputs": [
|
|
17777
|
+
{
|
|
17778
|
+
"internalType": "string",
|
|
17779
|
+
"name": "",
|
|
17780
|
+
"type": "string"
|
|
17781
|
+
}
|
|
17782
|
+
],
|
|
17783
|
+
"stateMutability": "pure",
|
|
17784
|
+
"type": "function"
|
|
17785
|
+
},
|
|
17786
|
+
{
|
|
17787
|
+
"inputs": [
|
|
17788
|
+
{
|
|
17789
|
+
"internalType": "bytes32",
|
|
17790
|
+
"name": "role",
|
|
17791
|
+
"type": "bytes32"
|
|
17792
|
+
},
|
|
17793
|
+
{
|
|
17794
|
+
"internalType": "address",
|
|
17795
|
+
"name": "account",
|
|
17796
|
+
"type": "address"
|
|
17797
|
+
}
|
|
17798
|
+
],
|
|
17799
|
+
"name": "grantRole",
|
|
17800
|
+
"outputs": [],
|
|
17801
|
+
"stateMutability": "nonpayable",
|
|
17802
|
+
"type": "function"
|
|
17803
|
+
},
|
|
17804
|
+
{
|
|
17805
|
+
"inputs": [
|
|
17806
|
+
{
|
|
17807
|
+
"internalType": "bytes32",
|
|
17808
|
+
"name": "role",
|
|
17809
|
+
"type": "bytes32"
|
|
17810
|
+
},
|
|
17811
|
+
{
|
|
17812
|
+
"internalType": "address",
|
|
17813
|
+
"name": "account",
|
|
17814
|
+
"type": "address"
|
|
17815
|
+
}
|
|
17816
|
+
],
|
|
17817
|
+
"name": "hasRole",
|
|
17818
|
+
"outputs": [
|
|
17819
|
+
{
|
|
17820
|
+
"internalType": "bool",
|
|
17821
|
+
"name": "",
|
|
17822
|
+
"type": "bool"
|
|
17823
|
+
}
|
|
17824
|
+
],
|
|
17825
|
+
"stateMutability": "view",
|
|
17826
|
+
"type": "function"
|
|
17827
|
+
},
|
|
17828
|
+
{
|
|
17829
|
+
"inputs": [
|
|
17830
|
+
{
|
|
17831
|
+
"internalType": "address",
|
|
17832
|
+
"name": "adapter",
|
|
17833
|
+
"type": "address"
|
|
17834
|
+
},
|
|
17835
|
+
{
|
|
17836
|
+
"internalType": "bytes",
|
|
17837
|
+
"name": "data",
|
|
17838
|
+
"type": "bytes"
|
|
17839
|
+
}
|
|
17840
|
+
],
|
|
17841
|
+
"name": "initializeAdapter",
|
|
17842
|
+
"outputs": [],
|
|
17843
|
+
"stateMutability": "nonpayable",
|
|
17844
|
+
"type": "function"
|
|
17845
|
+
},
|
|
17846
|
+
{
|
|
17847
|
+
"inputs": [
|
|
17848
|
+
{
|
|
17849
|
+
"internalType": "address",
|
|
17850
|
+
"name": "router",
|
|
17851
|
+
"type": "address"
|
|
17852
|
+
},
|
|
17853
|
+
{
|
|
17854
|
+
"internalType": "bytes",
|
|
17855
|
+
"name": "data",
|
|
17856
|
+
"type": "bytes"
|
|
17857
|
+
}
|
|
17858
|
+
],
|
|
17859
|
+
"name": "initializeRouter",
|
|
17860
|
+
"outputs": [],
|
|
17861
|
+
"stateMutability": "nonpayable",
|
|
17862
|
+
"type": "function"
|
|
17863
|
+
},
|
|
17864
|
+
{
|
|
17865
|
+
"inputs": [
|
|
17866
|
+
{
|
|
17867
|
+
"internalType": "bytes32",
|
|
17868
|
+
"name": "key",
|
|
17869
|
+
"type": "bytes32"
|
|
17870
|
+
}
|
|
17871
|
+
],
|
|
17872
|
+
"name": "isAdapterInitialized",
|
|
17873
|
+
"outputs": [
|
|
17874
|
+
{
|
|
17875
|
+
"internalType": "bool",
|
|
17876
|
+
"name": "",
|
|
17877
|
+
"type": "bool"
|
|
17878
|
+
}
|
|
17879
|
+
],
|
|
17880
|
+
"stateMutability": "view",
|
|
17881
|
+
"type": "function"
|
|
17882
|
+
},
|
|
17883
|
+
{
|
|
17884
|
+
"inputs": [
|
|
17885
|
+
{
|
|
17886
|
+
"internalType": "bytes32",
|
|
17887
|
+
"name": "key",
|
|
17888
|
+
"type": "bytes32"
|
|
17889
|
+
}
|
|
17890
|
+
],
|
|
17891
|
+
"name": "isRouterInitialized",
|
|
17892
|
+
"outputs": [
|
|
17893
|
+
{
|
|
17894
|
+
"internalType": "bool",
|
|
17895
|
+
"name": "",
|
|
17896
|
+
"type": "bool"
|
|
17897
|
+
}
|
|
17898
|
+
],
|
|
17899
|
+
"stateMutability": "view",
|
|
17900
|
+
"type": "function"
|
|
17901
|
+
},
|
|
17902
|
+
{
|
|
17903
|
+
"inputs": [
|
|
17904
|
+
{
|
|
17905
|
+
"internalType": "address",
|
|
17906
|
+
"name": "partner",
|
|
17907
|
+
"type": "address"
|
|
17908
|
+
},
|
|
17909
|
+
{
|
|
17910
|
+
"internalType": "uint256",
|
|
17911
|
+
"name": "_partnerShare",
|
|
17912
|
+
"type": "uint256"
|
|
17913
|
+
},
|
|
17914
|
+
{
|
|
17915
|
+
"internalType": "bool",
|
|
17916
|
+
"name": "_noPositiveSlippage",
|
|
17917
|
+
"type": "bool"
|
|
17918
|
+
},
|
|
17919
|
+
{
|
|
17920
|
+
"internalType": "bool",
|
|
17921
|
+
"name": "_positiveSlippageToUser",
|
|
17922
|
+
"type": "bool"
|
|
17923
|
+
},
|
|
17924
|
+
{
|
|
17925
|
+
"internalType": "uint16",
|
|
17926
|
+
"name": "_feePercent",
|
|
17927
|
+
"type": "uint16"
|
|
17928
|
+
},
|
|
17929
|
+
{
|
|
17930
|
+
"internalType": "string",
|
|
17931
|
+
"name": "partnerId",
|
|
17932
|
+
"type": "string"
|
|
17933
|
+
},
|
|
17934
|
+
{
|
|
17935
|
+
"internalType": "bytes",
|
|
17936
|
+
"name": "_data",
|
|
17937
|
+
"type": "bytes"
|
|
17938
|
+
}
|
|
17939
|
+
],
|
|
17940
|
+
"name": "registerPartner",
|
|
17941
|
+
"outputs": [],
|
|
17942
|
+
"stateMutability": "nonpayable",
|
|
17943
|
+
"type": "function"
|
|
17944
|
+
},
|
|
17945
|
+
{
|
|
17946
|
+
"inputs": [
|
|
17947
|
+
{
|
|
17948
|
+
"internalType": "bytes32",
|
|
17949
|
+
"name": "role",
|
|
17950
|
+
"type": "bytes32"
|
|
17951
|
+
},
|
|
17952
|
+
{
|
|
17953
|
+
"internalType": "address",
|
|
17954
|
+
"name": "account",
|
|
17955
|
+
"type": "address"
|
|
17956
|
+
}
|
|
17957
|
+
],
|
|
17958
|
+
"name": "renounceRole",
|
|
17959
|
+
"outputs": [],
|
|
17960
|
+
"stateMutability": "nonpayable",
|
|
17961
|
+
"type": "function"
|
|
17962
|
+
},
|
|
17963
|
+
{
|
|
17964
|
+
"inputs": [
|
|
17965
|
+
{
|
|
17966
|
+
"internalType": "bytes32",
|
|
17967
|
+
"name": "role",
|
|
17968
|
+
"type": "bytes32"
|
|
17969
|
+
},
|
|
17970
|
+
{
|
|
17971
|
+
"internalType": "address",
|
|
17972
|
+
"name": "account",
|
|
17973
|
+
"type": "address"
|
|
17974
|
+
}
|
|
17975
|
+
],
|
|
17976
|
+
"name": "revokeRole",
|
|
17977
|
+
"outputs": [],
|
|
17978
|
+
"stateMutability": "nonpayable",
|
|
17979
|
+
"type": "function"
|
|
17980
|
+
},
|
|
17981
|
+
{
|
|
17982
|
+
"inputs": [
|
|
17983
|
+
{
|
|
17984
|
+
"internalType": "address payable",
|
|
17985
|
+
"name": "_feeWallet",
|
|
17986
|
+
"type": "address"
|
|
17987
|
+
}
|
|
17988
|
+
],
|
|
17989
|
+
"name": "setFeeWallet",
|
|
17990
|
+
"outputs": [],
|
|
17991
|
+
"stateMutability": "nonpayable",
|
|
17992
|
+
"type": "function"
|
|
17993
|
+
},
|
|
17994
|
+
{
|
|
17995
|
+
"inputs": [
|
|
17996
|
+
{
|
|
17997
|
+
"internalType": "bytes4",
|
|
17998
|
+
"name": "selector",
|
|
17999
|
+
"type": "bytes4"
|
|
18000
|
+
},
|
|
18001
|
+
{
|
|
18002
|
+
"internalType": "address",
|
|
18003
|
+
"name": "implementation",
|
|
18004
|
+
"type": "address"
|
|
18005
|
+
}
|
|
18006
|
+
],
|
|
18007
|
+
"name": "setImplementation",
|
|
18008
|
+
"outputs": [],
|
|
18009
|
+
"stateMutability": "nonpayable",
|
|
18010
|
+
"type": "function"
|
|
18011
|
+
},
|
|
18012
|
+
{
|
|
18013
|
+
"inputs": [
|
|
18014
|
+
{
|
|
18015
|
+
"internalType": "address",
|
|
18016
|
+
"name": "token",
|
|
18017
|
+
"type": "address"
|
|
18018
|
+
},
|
|
18019
|
+
{
|
|
18020
|
+
"internalType": "address payable",
|
|
18021
|
+
"name": "destination",
|
|
18022
|
+
"type": "address"
|
|
18023
|
+
},
|
|
18024
|
+
{
|
|
18025
|
+
"internalType": "uint256",
|
|
18026
|
+
"name": "amount",
|
|
18027
|
+
"type": "uint256"
|
|
18028
|
+
}
|
|
18029
|
+
],
|
|
18030
|
+
"name": "transferTokens",
|
|
18031
|
+
"outputs": [],
|
|
18032
|
+
"stateMutability": "nonpayable",
|
|
18033
|
+
"type": "function"
|
|
18034
|
+
},
|
|
18035
|
+
{
|
|
18036
|
+
"stateMutability": "payable",
|
|
18037
|
+
"type": "receive"
|
|
18038
|
+
},
|
|
18039
|
+
{
|
|
18040
|
+
"anonymous": false,
|
|
18041
|
+
"inputs": [
|
|
18042
|
+
{
|
|
18043
|
+
"indexed": false,
|
|
18044
|
+
"internalType": "bytes16",
|
|
18045
|
+
"name": "uuid",
|
|
18046
|
+
"type": "bytes16"
|
|
18047
|
+
},
|
|
18048
|
+
{
|
|
18049
|
+
"indexed": false,
|
|
18050
|
+
"internalType": "address",
|
|
18051
|
+
"name": "initiator",
|
|
18052
|
+
"type": "address"
|
|
18053
|
+
},
|
|
18054
|
+
{
|
|
18055
|
+
"indexed": true,
|
|
18056
|
+
"internalType": "address",
|
|
18057
|
+
"name": "beneficiary",
|
|
18058
|
+
"type": "address"
|
|
18059
|
+
},
|
|
18060
|
+
{
|
|
18061
|
+
"indexed": true,
|
|
18062
|
+
"internalType": "address",
|
|
18063
|
+
"name": "srcToken",
|
|
18064
|
+
"type": "address"
|
|
18065
|
+
},
|
|
18066
|
+
{
|
|
18067
|
+
"indexed": true,
|
|
18068
|
+
"internalType": "address",
|
|
18069
|
+
"name": "destToken",
|
|
18070
|
+
"type": "address"
|
|
18071
|
+
},
|
|
18072
|
+
{
|
|
18073
|
+
"indexed": false,
|
|
18074
|
+
"internalType": "uint256",
|
|
18075
|
+
"name": "srcAmount",
|
|
18076
|
+
"type": "uint256"
|
|
18077
|
+
},
|
|
18078
|
+
{
|
|
18079
|
+
"indexed": false,
|
|
18080
|
+
"internalType": "uint256",
|
|
18081
|
+
"name": "receivedAmount",
|
|
18082
|
+
"type": "uint256"
|
|
18083
|
+
}
|
|
18084
|
+
],
|
|
18085
|
+
"name": "Bought",
|
|
18086
|
+
"type": "event"
|
|
18087
|
+
},
|
|
18088
|
+
{
|
|
18089
|
+
"anonymous": false,
|
|
18090
|
+
"inputs": [
|
|
18091
|
+
{
|
|
18092
|
+
"indexed": false,
|
|
18093
|
+
"internalType": "uint256",
|
|
18094
|
+
"name": "fee",
|
|
18095
|
+
"type": "uint256"
|
|
18096
|
+
},
|
|
18097
|
+
{
|
|
18098
|
+
"indexed": false,
|
|
18099
|
+
"internalType": "uint256",
|
|
18100
|
+
"name": "partnerShare",
|
|
18101
|
+
"type": "uint256"
|
|
18102
|
+
},
|
|
18103
|
+
{
|
|
18104
|
+
"indexed": false,
|
|
18105
|
+
"internalType": "uint256",
|
|
18106
|
+
"name": "paraswapShare",
|
|
18107
|
+
"type": "uint256"
|
|
18108
|
+
}
|
|
18109
|
+
],
|
|
18110
|
+
"name": "FeeTaken",
|
|
18111
|
+
"type": "event"
|
|
18112
|
+
},
|
|
18113
|
+
{
|
|
18114
|
+
"anonymous": false,
|
|
18115
|
+
"inputs": [
|
|
18116
|
+
{
|
|
18117
|
+
"indexed": false,
|
|
18118
|
+
"internalType": "bytes16",
|
|
18119
|
+
"name": "uuid",
|
|
18120
|
+
"type": "bytes16"
|
|
18121
|
+
},
|
|
18122
|
+
{
|
|
18123
|
+
"indexed": false,
|
|
18124
|
+
"internalType": "address",
|
|
18125
|
+
"name": "initiator",
|
|
18126
|
+
"type": "address"
|
|
18127
|
+
},
|
|
18128
|
+
{
|
|
18129
|
+
"indexed": true,
|
|
18130
|
+
"internalType": "address",
|
|
18131
|
+
"name": "beneficiary",
|
|
18132
|
+
"type": "address"
|
|
18133
|
+
},
|
|
18134
|
+
{
|
|
18135
|
+
"indexed": true,
|
|
18136
|
+
"internalType": "address",
|
|
18137
|
+
"name": "srcToken",
|
|
18138
|
+
"type": "address"
|
|
18139
|
+
},
|
|
18140
|
+
{
|
|
18141
|
+
"indexed": true,
|
|
18142
|
+
"internalType": "address",
|
|
18143
|
+
"name": "destToken",
|
|
18144
|
+
"type": "address"
|
|
18145
|
+
},
|
|
18146
|
+
{
|
|
18147
|
+
"indexed": false,
|
|
18148
|
+
"internalType": "uint256",
|
|
18149
|
+
"name": "srcAmount",
|
|
18150
|
+
"type": "uint256"
|
|
18151
|
+
},
|
|
18152
|
+
{
|
|
18153
|
+
"indexed": false,
|
|
18154
|
+
"internalType": "uint256",
|
|
18155
|
+
"name": "receivedAmount",
|
|
18156
|
+
"type": "uint256"
|
|
18157
|
+
},
|
|
18158
|
+
{
|
|
18159
|
+
"indexed": false,
|
|
18160
|
+
"internalType": "uint256",
|
|
18161
|
+
"name": "expectedAmount",
|
|
18162
|
+
"type": "uint256"
|
|
18163
|
+
}
|
|
18164
|
+
],
|
|
18165
|
+
"name": "Swapped",
|
|
18166
|
+
"type": "event"
|
|
18167
|
+
},
|
|
18168
|
+
{
|
|
18169
|
+
"inputs": [
|
|
18170
|
+
{
|
|
18171
|
+
"internalType": "uint256",
|
|
18172
|
+
"name": "amountInMax",
|
|
18173
|
+
"type": "uint256"
|
|
18174
|
+
},
|
|
18175
|
+
{
|
|
18176
|
+
"internalType": "uint256",
|
|
18177
|
+
"name": "amountOut",
|
|
18178
|
+
"type": "uint256"
|
|
18179
|
+
},
|
|
18180
|
+
{
|
|
18181
|
+
"internalType": "address[]",
|
|
18182
|
+
"name": "path",
|
|
18183
|
+
"type": "address[]"
|
|
18184
|
+
}
|
|
18185
|
+
],
|
|
18186
|
+
"name": "buyOnUniswap",
|
|
18187
|
+
"outputs": [],
|
|
18188
|
+
"stateMutability": "payable",
|
|
18189
|
+
"type": "function"
|
|
18190
|
+
},
|
|
18191
|
+
{
|
|
18192
|
+
"inputs": [
|
|
18193
|
+
{
|
|
18194
|
+
"internalType": "address",
|
|
18195
|
+
"name": "factory",
|
|
18196
|
+
"type": "address"
|
|
18197
|
+
},
|
|
18198
|
+
{
|
|
18199
|
+
"internalType": "bytes32",
|
|
18200
|
+
"name": "initCode",
|
|
18201
|
+
"type": "bytes32"
|
|
18202
|
+
},
|
|
18203
|
+
{
|
|
18204
|
+
"internalType": "uint256",
|
|
18205
|
+
"name": "amountInMax",
|
|
18206
|
+
"type": "uint256"
|
|
18207
|
+
},
|
|
18208
|
+
{
|
|
18209
|
+
"internalType": "uint256",
|
|
18210
|
+
"name": "amountOut",
|
|
18211
|
+
"type": "uint256"
|
|
18212
|
+
},
|
|
18213
|
+
{
|
|
18214
|
+
"internalType": "address[]",
|
|
18215
|
+
"name": "path",
|
|
18216
|
+
"type": "address[]"
|
|
18217
|
+
}
|
|
18218
|
+
],
|
|
18219
|
+
"name": "buyOnUniswapFork",
|
|
18220
|
+
"outputs": [],
|
|
18221
|
+
"stateMutability": "payable",
|
|
18222
|
+
"type": "function"
|
|
18223
|
+
},
|
|
18224
|
+
{
|
|
18225
|
+
"inputs": [
|
|
18226
|
+
{
|
|
18227
|
+
"internalType": "address",
|
|
18228
|
+
"name": "tokenIn",
|
|
18229
|
+
"type": "address"
|
|
18230
|
+
},
|
|
18231
|
+
{
|
|
18232
|
+
"internalType": "uint256",
|
|
18233
|
+
"name": "amountInMax",
|
|
18234
|
+
"type": "uint256"
|
|
18235
|
+
},
|
|
18236
|
+
{
|
|
18237
|
+
"internalType": "uint256",
|
|
18238
|
+
"name": "amountOut",
|
|
18239
|
+
"type": "uint256"
|
|
18240
|
+
},
|
|
18241
|
+
{
|
|
18242
|
+
"internalType": "address",
|
|
18243
|
+
"name": "weth",
|
|
18244
|
+
"type": "address"
|
|
18245
|
+
},
|
|
18246
|
+
{
|
|
18247
|
+
"internalType": "uint256[]",
|
|
18248
|
+
"name": "pools",
|
|
18249
|
+
"type": "uint256[]"
|
|
18250
|
+
}
|
|
18251
|
+
],
|
|
18252
|
+
"name": "buyOnUniswapV2Fork",
|
|
18253
|
+
"outputs": [],
|
|
18254
|
+
"stateMutability": "payable",
|
|
18255
|
+
"type": "function"
|
|
18256
|
+
},
|
|
18257
|
+
{
|
|
18258
|
+
"inputs": [
|
|
18259
|
+
{
|
|
18260
|
+
"components": [
|
|
18261
|
+
{
|
|
18262
|
+
"internalType": "address",
|
|
18263
|
+
"name": "fromToken",
|
|
18264
|
+
"type": "address"
|
|
18265
|
+
},
|
|
18266
|
+
{
|
|
18267
|
+
"internalType": "uint256",
|
|
18268
|
+
"name": "fromAmount",
|
|
18269
|
+
"type": "uint256"
|
|
18270
|
+
},
|
|
18271
|
+
{
|
|
18272
|
+
"internalType": "uint256",
|
|
18273
|
+
"name": "toAmount",
|
|
18274
|
+
"type": "uint256"
|
|
18275
|
+
},
|
|
18276
|
+
{
|
|
18277
|
+
"internalType": "uint256",
|
|
18278
|
+
"name": "expectedAmount",
|
|
18279
|
+
"type": "uint256"
|
|
18280
|
+
},
|
|
18281
|
+
{
|
|
18282
|
+
"internalType": "address payable",
|
|
18283
|
+
"name": "beneficiary",
|
|
18284
|
+
"type": "address"
|
|
18285
|
+
},
|
|
18286
|
+
{
|
|
18287
|
+
"components": [
|
|
18288
|
+
{
|
|
18289
|
+
"internalType": "uint256",
|
|
18290
|
+
"name": "fromAmountPercent",
|
|
18291
|
+
"type": "uint256"
|
|
18292
|
+
},
|
|
18293
|
+
{
|
|
18294
|
+
"components": [
|
|
18295
|
+
{
|
|
18296
|
+
"internalType": "address",
|
|
18297
|
+
"name": "to",
|
|
18298
|
+
"type": "address"
|
|
18299
|
+
},
|
|
18300
|
+
{
|
|
18301
|
+
"internalType": "uint256",
|
|
18302
|
+
"name": "totalNetworkFee",
|
|
18303
|
+
"type": "uint256"
|
|
18304
|
+
},
|
|
18305
|
+
{
|
|
18306
|
+
"components": [
|
|
18307
|
+
{
|
|
18308
|
+
"internalType": "address payable",
|
|
18309
|
+
"name": "adapter",
|
|
18310
|
+
"type": "address"
|
|
18311
|
+
},
|
|
18312
|
+
{
|
|
18313
|
+
"internalType": "uint256",
|
|
18314
|
+
"name": "percent",
|
|
18315
|
+
"type": "uint256"
|
|
18316
|
+
},
|
|
18317
|
+
{
|
|
18318
|
+
"internalType": "uint256",
|
|
18319
|
+
"name": "networkFee",
|
|
18320
|
+
"type": "uint256"
|
|
18321
|
+
},
|
|
18322
|
+
{
|
|
18323
|
+
"components": [
|
|
18324
|
+
{
|
|
18325
|
+
"internalType": "uint256",
|
|
18326
|
+
"name": "index",
|
|
18327
|
+
"type": "uint256"
|
|
18328
|
+
},
|
|
18329
|
+
{
|
|
18330
|
+
"internalType": "address",
|
|
18331
|
+
"name": "targetExchange",
|
|
18332
|
+
"type": "address"
|
|
18333
|
+
},
|
|
18334
|
+
{
|
|
18335
|
+
"internalType": "uint256",
|
|
18336
|
+
"name": "percent",
|
|
18337
|
+
"type": "uint256"
|
|
18338
|
+
},
|
|
18339
|
+
{
|
|
18340
|
+
"internalType": "bytes",
|
|
18341
|
+
"name": "payload",
|
|
18342
|
+
"type": "bytes"
|
|
18343
|
+
},
|
|
18344
|
+
{
|
|
18345
|
+
"internalType": "uint256",
|
|
18346
|
+
"name": "networkFee",
|
|
18347
|
+
"type": "uint256"
|
|
18348
|
+
}
|
|
18349
|
+
],
|
|
18350
|
+
"internalType": "struct Utils.Route[]",
|
|
18351
|
+
"name": "route",
|
|
18352
|
+
"type": "tuple[]"
|
|
18353
|
+
}
|
|
18354
|
+
],
|
|
18355
|
+
"internalType": "struct Utils.Adapter[]",
|
|
18356
|
+
"name": "adapters",
|
|
18357
|
+
"type": "tuple[]"
|
|
18358
|
+
}
|
|
18359
|
+
],
|
|
18360
|
+
"internalType": "struct Utils.Path[]",
|
|
18361
|
+
"name": "path",
|
|
18362
|
+
"type": "tuple[]"
|
|
18363
|
+
}
|
|
18364
|
+
],
|
|
18365
|
+
"internalType": "struct Utils.MegaSwapPath[]",
|
|
18366
|
+
"name": "path",
|
|
18367
|
+
"type": "tuple[]"
|
|
18368
|
+
},
|
|
18369
|
+
{
|
|
18370
|
+
"internalType": "address payable",
|
|
18371
|
+
"name": "partner",
|
|
18372
|
+
"type": "address"
|
|
18373
|
+
},
|
|
18374
|
+
{
|
|
18375
|
+
"internalType": "uint256",
|
|
18376
|
+
"name": "feePercent",
|
|
18377
|
+
"type": "uint256"
|
|
18378
|
+
},
|
|
18379
|
+
{
|
|
18380
|
+
"internalType": "bytes",
|
|
18381
|
+
"name": "permit",
|
|
18382
|
+
"type": "bytes"
|
|
18383
|
+
},
|
|
18384
|
+
{
|
|
18385
|
+
"internalType": "uint256",
|
|
18386
|
+
"name": "deadline",
|
|
18387
|
+
"type": "uint256"
|
|
18388
|
+
},
|
|
18389
|
+
{
|
|
18390
|
+
"internalType": "bytes16",
|
|
18391
|
+
"name": "uuid",
|
|
18392
|
+
"type": "bytes16"
|
|
18393
|
+
}
|
|
18394
|
+
],
|
|
18395
|
+
"internalType": "struct Utils.MegaSwapSellData",
|
|
18396
|
+
"name": "data",
|
|
18397
|
+
"type": "tuple"
|
|
18398
|
+
}
|
|
18399
|
+
],
|
|
18400
|
+
"name": "megaSwap",
|
|
18401
|
+
"outputs": [
|
|
18402
|
+
{
|
|
18403
|
+
"internalType": "uint256",
|
|
18404
|
+
"name": "",
|
|
18405
|
+
"type": "uint256"
|
|
18406
|
+
}
|
|
18407
|
+
],
|
|
18408
|
+
"stateMutability": "payable",
|
|
18409
|
+
"type": "function"
|
|
18410
|
+
},
|
|
18411
|
+
{
|
|
18412
|
+
"inputs": [
|
|
18413
|
+
{
|
|
18414
|
+
"components": [
|
|
18415
|
+
{
|
|
18416
|
+
"internalType": "address",
|
|
18417
|
+
"name": "fromToken",
|
|
18418
|
+
"type": "address"
|
|
18419
|
+
},
|
|
18420
|
+
{
|
|
18421
|
+
"internalType": "uint256",
|
|
18422
|
+
"name": "fromAmount",
|
|
18423
|
+
"type": "uint256"
|
|
18424
|
+
},
|
|
18425
|
+
{
|
|
18426
|
+
"internalType": "uint256",
|
|
18427
|
+
"name": "toAmount",
|
|
18428
|
+
"type": "uint256"
|
|
18429
|
+
},
|
|
18430
|
+
{
|
|
18431
|
+
"internalType": "uint256",
|
|
18432
|
+
"name": "expectedAmount",
|
|
18433
|
+
"type": "uint256"
|
|
18434
|
+
},
|
|
18435
|
+
{
|
|
18436
|
+
"internalType": "address payable",
|
|
18437
|
+
"name": "beneficiary",
|
|
18438
|
+
"type": "address"
|
|
18439
|
+
},
|
|
18440
|
+
{
|
|
18441
|
+
"components": [
|
|
18442
|
+
{
|
|
18443
|
+
"internalType": "address",
|
|
18444
|
+
"name": "to",
|
|
18445
|
+
"type": "address"
|
|
18446
|
+
},
|
|
18447
|
+
{
|
|
18448
|
+
"internalType": "uint256",
|
|
18449
|
+
"name": "totalNetworkFee",
|
|
18450
|
+
"type": "uint256"
|
|
18451
|
+
},
|
|
18452
|
+
{
|
|
18453
|
+
"components": [
|
|
18454
|
+
{
|
|
18455
|
+
"internalType": "address payable",
|
|
18456
|
+
"name": "adapter",
|
|
18457
|
+
"type": "address"
|
|
18458
|
+
},
|
|
18459
|
+
{
|
|
18460
|
+
"internalType": "uint256",
|
|
18461
|
+
"name": "percent",
|
|
18462
|
+
"type": "uint256"
|
|
18463
|
+
},
|
|
18464
|
+
{
|
|
18465
|
+
"internalType": "uint256",
|
|
18466
|
+
"name": "networkFee",
|
|
18467
|
+
"type": "uint256"
|
|
18468
|
+
},
|
|
18469
|
+
{
|
|
18470
|
+
"components": [
|
|
18471
|
+
{
|
|
18472
|
+
"internalType": "uint256",
|
|
18473
|
+
"name": "index",
|
|
18474
|
+
"type": "uint256"
|
|
18475
|
+
},
|
|
18476
|
+
{
|
|
18477
|
+
"internalType": "address",
|
|
18478
|
+
"name": "targetExchange",
|
|
18479
|
+
"type": "address"
|
|
18480
|
+
},
|
|
18481
|
+
{
|
|
18482
|
+
"internalType": "uint256",
|
|
18483
|
+
"name": "percent",
|
|
18484
|
+
"type": "uint256"
|
|
18485
|
+
},
|
|
18486
|
+
{
|
|
18487
|
+
"internalType": "bytes",
|
|
18488
|
+
"name": "payload",
|
|
18489
|
+
"type": "bytes"
|
|
18490
|
+
},
|
|
18491
|
+
{
|
|
18492
|
+
"internalType": "uint256",
|
|
18493
|
+
"name": "networkFee",
|
|
18494
|
+
"type": "uint256"
|
|
18495
|
+
}
|
|
18496
|
+
],
|
|
18497
|
+
"internalType": "struct Utils.Route[]",
|
|
18498
|
+
"name": "route",
|
|
18499
|
+
"type": "tuple[]"
|
|
18500
|
+
}
|
|
18501
|
+
],
|
|
18502
|
+
"internalType": "struct Utils.Adapter[]",
|
|
18503
|
+
"name": "adapters",
|
|
18504
|
+
"type": "tuple[]"
|
|
18505
|
+
}
|
|
18506
|
+
],
|
|
18507
|
+
"internalType": "struct Utils.Path[]",
|
|
18508
|
+
"name": "path",
|
|
18509
|
+
"type": "tuple[]"
|
|
18510
|
+
},
|
|
18511
|
+
{
|
|
18512
|
+
"internalType": "address payable",
|
|
18513
|
+
"name": "partner",
|
|
18514
|
+
"type": "address"
|
|
18515
|
+
},
|
|
18516
|
+
{
|
|
18517
|
+
"internalType": "uint256",
|
|
18518
|
+
"name": "feePercent",
|
|
18519
|
+
"type": "uint256"
|
|
18520
|
+
},
|
|
18521
|
+
{
|
|
18522
|
+
"internalType": "bytes",
|
|
18523
|
+
"name": "permit",
|
|
18524
|
+
"type": "bytes"
|
|
18525
|
+
},
|
|
18526
|
+
{
|
|
18527
|
+
"internalType": "uint256",
|
|
18528
|
+
"name": "deadline",
|
|
18529
|
+
"type": "uint256"
|
|
18530
|
+
},
|
|
18531
|
+
{
|
|
18532
|
+
"internalType": "bytes16",
|
|
18533
|
+
"name": "uuid",
|
|
18534
|
+
"type": "bytes16"
|
|
18535
|
+
}
|
|
18536
|
+
],
|
|
18537
|
+
"internalType": "struct Utils.SellData",
|
|
18538
|
+
"name": "data",
|
|
18539
|
+
"type": "tuple"
|
|
18540
|
+
}
|
|
18541
|
+
],
|
|
18542
|
+
"name": "multiSwap",
|
|
18543
|
+
"outputs": [
|
|
18544
|
+
{
|
|
18545
|
+
"internalType": "uint256",
|
|
18546
|
+
"name": "",
|
|
18547
|
+
"type": "uint256"
|
|
18548
|
+
}
|
|
18549
|
+
],
|
|
18550
|
+
"stateMutability": "payable",
|
|
18551
|
+
"type": "function"
|
|
18552
|
+
},
|
|
18553
|
+
{
|
|
18554
|
+
"inputs": [
|
|
18555
|
+
{
|
|
18556
|
+
"components": [
|
|
18557
|
+
{
|
|
18558
|
+
"internalType": "address",
|
|
18559
|
+
"name": "fromToken",
|
|
18560
|
+
"type": "address"
|
|
18561
|
+
},
|
|
18562
|
+
{
|
|
18563
|
+
"internalType": "uint256",
|
|
18564
|
+
"name": "fromAmount",
|
|
18565
|
+
"type": "uint256"
|
|
18566
|
+
},
|
|
18567
|
+
{
|
|
18568
|
+
"internalType": "uint256",
|
|
18569
|
+
"name": "toAmount",
|
|
18570
|
+
"type": "uint256"
|
|
18571
|
+
},
|
|
18572
|
+
{
|
|
18573
|
+
"internalType": "uint256",
|
|
18574
|
+
"name": "expectedAmount",
|
|
18575
|
+
"type": "uint256"
|
|
18576
|
+
},
|
|
18577
|
+
{
|
|
18578
|
+
"internalType": "address payable",
|
|
18579
|
+
"name": "beneficiary",
|
|
18580
|
+
"type": "address"
|
|
18581
|
+
},
|
|
18582
|
+
{
|
|
18583
|
+
"components": [
|
|
18584
|
+
{
|
|
18585
|
+
"internalType": "uint256",
|
|
18586
|
+
"name": "fromAmountPercent",
|
|
18587
|
+
"type": "uint256"
|
|
18588
|
+
},
|
|
18589
|
+
{
|
|
18590
|
+
"components": [
|
|
18591
|
+
{
|
|
18592
|
+
"internalType": "address",
|
|
18593
|
+
"name": "to",
|
|
18594
|
+
"type": "address"
|
|
18595
|
+
},
|
|
18596
|
+
{
|
|
18597
|
+
"internalType": "uint256",
|
|
18598
|
+
"name": "totalNetworkFee",
|
|
18599
|
+
"type": "uint256"
|
|
18600
|
+
},
|
|
18601
|
+
{
|
|
18602
|
+
"components": [
|
|
18603
|
+
{
|
|
18604
|
+
"internalType": "address payable",
|
|
18605
|
+
"name": "adapter",
|
|
18606
|
+
"type": "address"
|
|
18607
|
+
},
|
|
18608
|
+
{
|
|
18609
|
+
"internalType": "uint256",
|
|
18610
|
+
"name": "percent",
|
|
18611
|
+
"type": "uint256"
|
|
18612
|
+
},
|
|
18613
|
+
{
|
|
18614
|
+
"internalType": "uint256",
|
|
18615
|
+
"name": "networkFee",
|
|
18616
|
+
"type": "uint256"
|
|
18617
|
+
},
|
|
18618
|
+
{
|
|
18619
|
+
"components": [
|
|
18620
|
+
{
|
|
18621
|
+
"internalType": "uint256",
|
|
18622
|
+
"name": "index",
|
|
18623
|
+
"type": "uint256"
|
|
18624
|
+
},
|
|
18625
|
+
{
|
|
18626
|
+
"internalType": "address",
|
|
18627
|
+
"name": "targetExchange",
|
|
18628
|
+
"type": "address"
|
|
18629
|
+
},
|
|
18630
|
+
{
|
|
18631
|
+
"internalType": "uint256",
|
|
18632
|
+
"name": "percent",
|
|
18633
|
+
"type": "uint256"
|
|
18634
|
+
},
|
|
18635
|
+
{
|
|
18636
|
+
"internalType": "bytes",
|
|
18637
|
+
"name": "payload",
|
|
18638
|
+
"type": "bytes"
|
|
18639
|
+
},
|
|
18640
|
+
{
|
|
18641
|
+
"internalType": "uint256",
|
|
18642
|
+
"name": "networkFee",
|
|
18643
|
+
"type": "uint256"
|
|
18644
|
+
}
|
|
18645
|
+
],
|
|
18646
|
+
"internalType": "struct Utils.Route[]",
|
|
18647
|
+
"name": "route",
|
|
18648
|
+
"type": "tuple[]"
|
|
18649
|
+
}
|
|
18650
|
+
],
|
|
18651
|
+
"internalType": "struct Utils.Adapter[]",
|
|
18652
|
+
"name": "adapters",
|
|
18653
|
+
"type": "tuple[]"
|
|
18654
|
+
}
|
|
18655
|
+
],
|
|
18656
|
+
"internalType": "struct Utils.Path[]",
|
|
18657
|
+
"name": "path",
|
|
18658
|
+
"type": "tuple[]"
|
|
18659
|
+
}
|
|
18660
|
+
],
|
|
18661
|
+
"internalType": "struct Utils.MegaSwapPath[]",
|
|
18662
|
+
"name": "path",
|
|
18663
|
+
"type": "tuple[]"
|
|
18664
|
+
},
|
|
18665
|
+
{
|
|
18666
|
+
"internalType": "address payable",
|
|
18667
|
+
"name": "partner",
|
|
18668
|
+
"type": "address"
|
|
18669
|
+
},
|
|
18670
|
+
{
|
|
18671
|
+
"internalType": "uint256",
|
|
18672
|
+
"name": "feePercent",
|
|
18673
|
+
"type": "uint256"
|
|
18674
|
+
},
|
|
18675
|
+
{
|
|
18676
|
+
"internalType": "bytes",
|
|
18677
|
+
"name": "permit",
|
|
18678
|
+
"type": "bytes"
|
|
18679
|
+
},
|
|
18680
|
+
{
|
|
18681
|
+
"internalType": "uint256",
|
|
18682
|
+
"name": "deadline",
|
|
18683
|
+
"type": "uint256"
|
|
18684
|
+
},
|
|
18685
|
+
{
|
|
18686
|
+
"internalType": "bytes16",
|
|
18687
|
+
"name": "uuid",
|
|
18688
|
+
"type": "bytes16"
|
|
18689
|
+
}
|
|
18690
|
+
],
|
|
18691
|
+
"internalType": "struct Utils.MegaSwapSellData",
|
|
18692
|
+
"name": "data",
|
|
18693
|
+
"type": "tuple"
|
|
18694
|
+
}
|
|
18695
|
+
],
|
|
18696
|
+
"name": "protectedMegaSwap",
|
|
18697
|
+
"outputs": [
|
|
18698
|
+
{
|
|
18699
|
+
"internalType": "uint256",
|
|
18700
|
+
"name": "",
|
|
18701
|
+
"type": "uint256"
|
|
18702
|
+
}
|
|
18703
|
+
],
|
|
18704
|
+
"stateMutability": "payable",
|
|
18705
|
+
"type": "function"
|
|
18706
|
+
},
|
|
18707
|
+
{
|
|
18708
|
+
"inputs": [
|
|
18709
|
+
{
|
|
18710
|
+
"components": [
|
|
18711
|
+
{
|
|
18712
|
+
"internalType": "address",
|
|
18713
|
+
"name": "fromToken",
|
|
18714
|
+
"type": "address"
|
|
18715
|
+
},
|
|
18716
|
+
{
|
|
18717
|
+
"internalType": "uint256",
|
|
18718
|
+
"name": "fromAmount",
|
|
18719
|
+
"type": "uint256"
|
|
18720
|
+
},
|
|
18721
|
+
{
|
|
18722
|
+
"internalType": "uint256",
|
|
18723
|
+
"name": "toAmount",
|
|
18724
|
+
"type": "uint256"
|
|
18725
|
+
},
|
|
18726
|
+
{
|
|
18727
|
+
"internalType": "uint256",
|
|
18728
|
+
"name": "expectedAmount",
|
|
18729
|
+
"type": "uint256"
|
|
18730
|
+
},
|
|
18731
|
+
{
|
|
18732
|
+
"internalType": "address payable",
|
|
18733
|
+
"name": "beneficiary",
|
|
18734
|
+
"type": "address"
|
|
18735
|
+
},
|
|
18736
|
+
{
|
|
18737
|
+
"components": [
|
|
18738
|
+
{
|
|
18739
|
+
"internalType": "address",
|
|
18740
|
+
"name": "to",
|
|
18741
|
+
"type": "address"
|
|
18742
|
+
},
|
|
18743
|
+
{
|
|
18744
|
+
"internalType": "uint256",
|
|
18745
|
+
"name": "totalNetworkFee",
|
|
18746
|
+
"type": "uint256"
|
|
18747
|
+
},
|
|
18748
|
+
{
|
|
18749
|
+
"components": [
|
|
18750
|
+
{
|
|
18751
|
+
"internalType": "address payable",
|
|
18752
|
+
"name": "adapter",
|
|
18753
|
+
"type": "address"
|
|
18754
|
+
},
|
|
18755
|
+
{
|
|
18756
|
+
"internalType": "uint256",
|
|
18757
|
+
"name": "percent",
|
|
18758
|
+
"type": "uint256"
|
|
18759
|
+
},
|
|
18760
|
+
{
|
|
18761
|
+
"internalType": "uint256",
|
|
18762
|
+
"name": "networkFee",
|
|
18763
|
+
"type": "uint256"
|
|
18764
|
+
},
|
|
18765
|
+
{
|
|
18766
|
+
"components": [
|
|
18767
|
+
{
|
|
18768
|
+
"internalType": "uint256",
|
|
18769
|
+
"name": "index",
|
|
18770
|
+
"type": "uint256"
|
|
18771
|
+
},
|
|
18772
|
+
{
|
|
18773
|
+
"internalType": "address",
|
|
18774
|
+
"name": "targetExchange",
|
|
18775
|
+
"type": "address"
|
|
18776
|
+
},
|
|
18777
|
+
{
|
|
18778
|
+
"internalType": "uint256",
|
|
18779
|
+
"name": "percent",
|
|
18780
|
+
"type": "uint256"
|
|
18781
|
+
},
|
|
18782
|
+
{
|
|
18783
|
+
"internalType": "bytes",
|
|
18784
|
+
"name": "payload",
|
|
18785
|
+
"type": "bytes"
|
|
18786
|
+
},
|
|
18787
|
+
{
|
|
18788
|
+
"internalType": "uint256",
|
|
18789
|
+
"name": "networkFee",
|
|
18790
|
+
"type": "uint256"
|
|
18791
|
+
}
|
|
18792
|
+
],
|
|
18793
|
+
"internalType": "struct Utils.Route[]",
|
|
18794
|
+
"name": "route",
|
|
18795
|
+
"type": "tuple[]"
|
|
18796
|
+
}
|
|
18797
|
+
],
|
|
18798
|
+
"internalType": "struct Utils.Adapter[]",
|
|
18799
|
+
"name": "adapters",
|
|
18800
|
+
"type": "tuple[]"
|
|
18801
|
+
}
|
|
18802
|
+
],
|
|
18803
|
+
"internalType": "struct Utils.Path[]",
|
|
18804
|
+
"name": "path",
|
|
18805
|
+
"type": "tuple[]"
|
|
18806
|
+
},
|
|
18807
|
+
{
|
|
18808
|
+
"internalType": "address payable",
|
|
18809
|
+
"name": "partner",
|
|
18810
|
+
"type": "address"
|
|
18811
|
+
},
|
|
18812
|
+
{
|
|
18813
|
+
"internalType": "uint256",
|
|
18814
|
+
"name": "feePercent",
|
|
18815
|
+
"type": "uint256"
|
|
18816
|
+
},
|
|
18817
|
+
{
|
|
18818
|
+
"internalType": "bytes",
|
|
18819
|
+
"name": "permit",
|
|
18820
|
+
"type": "bytes"
|
|
18821
|
+
},
|
|
18822
|
+
{
|
|
18823
|
+
"internalType": "uint256",
|
|
18824
|
+
"name": "deadline",
|
|
18825
|
+
"type": "uint256"
|
|
18826
|
+
},
|
|
18827
|
+
{
|
|
18828
|
+
"internalType": "bytes16",
|
|
18829
|
+
"name": "uuid",
|
|
18830
|
+
"type": "bytes16"
|
|
18831
|
+
}
|
|
18832
|
+
],
|
|
18833
|
+
"internalType": "struct Utils.SellData",
|
|
18834
|
+
"name": "data",
|
|
18835
|
+
"type": "tuple"
|
|
18836
|
+
}
|
|
18837
|
+
],
|
|
18838
|
+
"name": "protectedMultiSwap",
|
|
18839
|
+
"outputs": [
|
|
18840
|
+
{
|
|
18841
|
+
"internalType": "uint256",
|
|
18842
|
+
"name": "",
|
|
18843
|
+
"type": "uint256"
|
|
18844
|
+
}
|
|
18845
|
+
],
|
|
18846
|
+
"stateMutability": "payable",
|
|
18847
|
+
"type": "function"
|
|
18848
|
+
},
|
|
18849
|
+
{
|
|
18850
|
+
"inputs": [
|
|
18851
|
+
{
|
|
18852
|
+
"components": [
|
|
18853
|
+
{
|
|
18854
|
+
"internalType": "address",
|
|
18855
|
+
"name": "fromToken",
|
|
18856
|
+
"type": "address"
|
|
18857
|
+
},
|
|
18858
|
+
{
|
|
18859
|
+
"internalType": "address",
|
|
18860
|
+
"name": "toToken",
|
|
18861
|
+
"type": "address"
|
|
18862
|
+
},
|
|
18863
|
+
{
|
|
18864
|
+
"internalType": "uint256",
|
|
18865
|
+
"name": "fromAmount",
|
|
18866
|
+
"type": "uint256"
|
|
18867
|
+
},
|
|
18868
|
+
{
|
|
18869
|
+
"internalType": "uint256",
|
|
18870
|
+
"name": "toAmount",
|
|
18871
|
+
"type": "uint256"
|
|
18872
|
+
},
|
|
18873
|
+
{
|
|
18874
|
+
"internalType": "uint256",
|
|
18875
|
+
"name": "expectedAmount",
|
|
18876
|
+
"type": "uint256"
|
|
18877
|
+
},
|
|
18878
|
+
{
|
|
18879
|
+
"internalType": "address[]",
|
|
18880
|
+
"name": "callees",
|
|
18881
|
+
"type": "address[]"
|
|
18882
|
+
},
|
|
18883
|
+
{
|
|
18884
|
+
"internalType": "bytes",
|
|
18885
|
+
"name": "exchangeData",
|
|
18886
|
+
"type": "bytes"
|
|
18887
|
+
},
|
|
18888
|
+
{
|
|
18889
|
+
"internalType": "uint256[]",
|
|
18890
|
+
"name": "startIndexes",
|
|
18891
|
+
"type": "uint256[]"
|
|
18892
|
+
},
|
|
18893
|
+
{
|
|
18894
|
+
"internalType": "uint256[]",
|
|
18895
|
+
"name": "values",
|
|
18896
|
+
"type": "uint256[]"
|
|
18897
|
+
},
|
|
18898
|
+
{
|
|
18899
|
+
"internalType": "address payable",
|
|
18900
|
+
"name": "beneficiary",
|
|
18901
|
+
"type": "address"
|
|
18902
|
+
},
|
|
18903
|
+
{
|
|
18904
|
+
"internalType": "address payable",
|
|
18905
|
+
"name": "partner",
|
|
18906
|
+
"type": "address"
|
|
18907
|
+
},
|
|
18908
|
+
{
|
|
18909
|
+
"internalType": "uint256",
|
|
18910
|
+
"name": "feePercent",
|
|
18911
|
+
"type": "uint256"
|
|
18912
|
+
},
|
|
18913
|
+
{
|
|
18914
|
+
"internalType": "bytes",
|
|
18915
|
+
"name": "permit",
|
|
18916
|
+
"type": "bytes"
|
|
18917
|
+
},
|
|
18918
|
+
{
|
|
18919
|
+
"internalType": "uint256",
|
|
18920
|
+
"name": "deadline",
|
|
18921
|
+
"type": "uint256"
|
|
18922
|
+
},
|
|
18923
|
+
{
|
|
18924
|
+
"internalType": "bytes16",
|
|
18925
|
+
"name": "uuid",
|
|
18926
|
+
"type": "bytes16"
|
|
18927
|
+
}
|
|
18928
|
+
],
|
|
18929
|
+
"internalType": "struct Utils.SimpleData",
|
|
18930
|
+
"name": "data",
|
|
18931
|
+
"type": "tuple"
|
|
18932
|
+
}
|
|
18933
|
+
],
|
|
18934
|
+
"name": "protectedSimpleBuy",
|
|
18935
|
+
"outputs": [],
|
|
18936
|
+
"stateMutability": "payable",
|
|
18937
|
+
"type": "function"
|
|
18938
|
+
},
|
|
18939
|
+
{
|
|
18940
|
+
"inputs": [
|
|
18941
|
+
{
|
|
18942
|
+
"components": [
|
|
18943
|
+
{
|
|
18944
|
+
"internalType": "address",
|
|
18945
|
+
"name": "fromToken",
|
|
18946
|
+
"type": "address"
|
|
18947
|
+
},
|
|
18948
|
+
{
|
|
18949
|
+
"internalType": "address",
|
|
18950
|
+
"name": "toToken",
|
|
18951
|
+
"type": "address"
|
|
18952
|
+
},
|
|
18953
|
+
{
|
|
18954
|
+
"internalType": "uint256",
|
|
18955
|
+
"name": "fromAmount",
|
|
18956
|
+
"type": "uint256"
|
|
18957
|
+
},
|
|
18958
|
+
{
|
|
18959
|
+
"internalType": "uint256",
|
|
18960
|
+
"name": "toAmount",
|
|
18961
|
+
"type": "uint256"
|
|
18962
|
+
},
|
|
18963
|
+
{
|
|
18964
|
+
"internalType": "uint256",
|
|
18965
|
+
"name": "expectedAmount",
|
|
18966
|
+
"type": "uint256"
|
|
18967
|
+
},
|
|
18968
|
+
{
|
|
18969
|
+
"internalType": "address[]",
|
|
18970
|
+
"name": "callees",
|
|
18971
|
+
"type": "address[]"
|
|
18972
|
+
},
|
|
18973
|
+
{
|
|
18974
|
+
"internalType": "bytes",
|
|
18975
|
+
"name": "exchangeData",
|
|
18976
|
+
"type": "bytes"
|
|
18977
|
+
},
|
|
18978
|
+
{
|
|
18979
|
+
"internalType": "uint256[]",
|
|
18980
|
+
"name": "startIndexes",
|
|
18981
|
+
"type": "uint256[]"
|
|
18982
|
+
},
|
|
18983
|
+
{
|
|
18984
|
+
"internalType": "uint256[]",
|
|
18985
|
+
"name": "values",
|
|
18986
|
+
"type": "uint256[]"
|
|
18987
|
+
},
|
|
18988
|
+
{
|
|
18989
|
+
"internalType": "address payable",
|
|
18990
|
+
"name": "beneficiary",
|
|
18991
|
+
"type": "address"
|
|
18992
|
+
},
|
|
18993
|
+
{
|
|
18994
|
+
"internalType": "address payable",
|
|
18995
|
+
"name": "partner",
|
|
18996
|
+
"type": "address"
|
|
18997
|
+
},
|
|
18998
|
+
{
|
|
18999
|
+
"internalType": "uint256",
|
|
19000
|
+
"name": "feePercent",
|
|
19001
|
+
"type": "uint256"
|
|
19002
|
+
},
|
|
19003
|
+
{
|
|
19004
|
+
"internalType": "bytes",
|
|
19005
|
+
"name": "permit",
|
|
19006
|
+
"type": "bytes"
|
|
19007
|
+
},
|
|
19008
|
+
{
|
|
19009
|
+
"internalType": "uint256",
|
|
19010
|
+
"name": "deadline",
|
|
19011
|
+
"type": "uint256"
|
|
19012
|
+
},
|
|
19013
|
+
{
|
|
19014
|
+
"internalType": "bytes16",
|
|
19015
|
+
"name": "uuid",
|
|
19016
|
+
"type": "bytes16"
|
|
19017
|
+
}
|
|
19018
|
+
],
|
|
19019
|
+
"internalType": "struct Utils.SimpleData",
|
|
19020
|
+
"name": "data",
|
|
19021
|
+
"type": "tuple"
|
|
19022
|
+
}
|
|
19023
|
+
],
|
|
19024
|
+
"name": "protectedSimpleSwap",
|
|
19025
|
+
"outputs": [
|
|
19026
|
+
{
|
|
19027
|
+
"internalType": "uint256",
|
|
19028
|
+
"name": "receivedAmount",
|
|
19029
|
+
"type": "uint256"
|
|
19030
|
+
}
|
|
19031
|
+
],
|
|
19032
|
+
"stateMutability": "payable",
|
|
19033
|
+
"type": "function"
|
|
19034
|
+
},
|
|
19035
|
+
{
|
|
19036
|
+
"inputs": [
|
|
19037
|
+
{
|
|
19038
|
+
"components": [
|
|
19039
|
+
{
|
|
19040
|
+
"internalType": "address",
|
|
19041
|
+
"name": "fromToken",
|
|
19042
|
+
"type": "address"
|
|
19043
|
+
},
|
|
19044
|
+
{
|
|
19045
|
+
"internalType": "address",
|
|
19046
|
+
"name": "toToken",
|
|
19047
|
+
"type": "address"
|
|
19048
|
+
},
|
|
19049
|
+
{
|
|
19050
|
+
"internalType": "uint256",
|
|
19051
|
+
"name": "fromAmount",
|
|
19052
|
+
"type": "uint256"
|
|
19053
|
+
},
|
|
19054
|
+
{
|
|
19055
|
+
"internalType": "uint256",
|
|
19056
|
+
"name": "toAmount",
|
|
19057
|
+
"type": "uint256"
|
|
19058
|
+
},
|
|
19059
|
+
{
|
|
19060
|
+
"internalType": "uint256",
|
|
19061
|
+
"name": "expectedAmount",
|
|
19062
|
+
"type": "uint256"
|
|
19063
|
+
},
|
|
19064
|
+
{
|
|
19065
|
+
"internalType": "address[]",
|
|
19066
|
+
"name": "callees",
|
|
19067
|
+
"type": "address[]"
|
|
19068
|
+
},
|
|
19069
|
+
{
|
|
19070
|
+
"internalType": "bytes",
|
|
19071
|
+
"name": "exchangeData",
|
|
19072
|
+
"type": "bytes"
|
|
19073
|
+
},
|
|
19074
|
+
{
|
|
19075
|
+
"internalType": "uint256[]",
|
|
19076
|
+
"name": "startIndexes",
|
|
19077
|
+
"type": "uint256[]"
|
|
19078
|
+
},
|
|
19079
|
+
{
|
|
19080
|
+
"internalType": "uint256[]",
|
|
19081
|
+
"name": "values",
|
|
19082
|
+
"type": "uint256[]"
|
|
19083
|
+
},
|
|
19084
|
+
{
|
|
19085
|
+
"internalType": "address payable",
|
|
19086
|
+
"name": "beneficiary",
|
|
19087
|
+
"type": "address"
|
|
19088
|
+
},
|
|
19089
|
+
{
|
|
19090
|
+
"internalType": "address payable",
|
|
19091
|
+
"name": "partner",
|
|
19092
|
+
"type": "address"
|
|
19093
|
+
},
|
|
19094
|
+
{
|
|
19095
|
+
"internalType": "uint256",
|
|
19096
|
+
"name": "feePercent",
|
|
19097
|
+
"type": "uint256"
|
|
19098
|
+
},
|
|
19099
|
+
{
|
|
19100
|
+
"internalType": "bytes",
|
|
19101
|
+
"name": "permit",
|
|
19102
|
+
"type": "bytes"
|
|
19103
|
+
},
|
|
19104
|
+
{
|
|
19105
|
+
"internalType": "uint256",
|
|
19106
|
+
"name": "deadline",
|
|
19107
|
+
"type": "uint256"
|
|
19108
|
+
},
|
|
19109
|
+
{
|
|
19110
|
+
"internalType": "bytes16",
|
|
19111
|
+
"name": "uuid",
|
|
19112
|
+
"type": "bytes16"
|
|
19113
|
+
}
|
|
19114
|
+
],
|
|
19115
|
+
"internalType": "struct Utils.SimpleData",
|
|
19116
|
+
"name": "data",
|
|
19117
|
+
"type": "tuple"
|
|
19118
|
+
}
|
|
19119
|
+
],
|
|
19120
|
+
"name": "simpleBuy",
|
|
19121
|
+
"outputs": [],
|
|
19122
|
+
"stateMutability": "payable",
|
|
19123
|
+
"type": "function"
|
|
19124
|
+
},
|
|
19125
|
+
{
|
|
19126
|
+
"inputs": [
|
|
19127
|
+
{
|
|
19128
|
+
"components": [
|
|
19129
|
+
{
|
|
19130
|
+
"internalType": "address",
|
|
19131
|
+
"name": "fromToken",
|
|
19132
|
+
"type": "address"
|
|
19133
|
+
},
|
|
19134
|
+
{
|
|
19135
|
+
"internalType": "address",
|
|
19136
|
+
"name": "toToken",
|
|
19137
|
+
"type": "address"
|
|
19138
|
+
},
|
|
19139
|
+
{
|
|
19140
|
+
"internalType": "uint256",
|
|
19141
|
+
"name": "fromAmount",
|
|
19142
|
+
"type": "uint256"
|
|
19143
|
+
},
|
|
19144
|
+
{
|
|
19145
|
+
"internalType": "uint256",
|
|
19146
|
+
"name": "toAmount",
|
|
19147
|
+
"type": "uint256"
|
|
19148
|
+
},
|
|
19149
|
+
{
|
|
19150
|
+
"internalType": "uint256",
|
|
19151
|
+
"name": "expectedAmount",
|
|
19152
|
+
"type": "uint256"
|
|
19153
|
+
},
|
|
19154
|
+
{
|
|
19155
|
+
"internalType": "address[]",
|
|
19156
|
+
"name": "callees",
|
|
19157
|
+
"type": "address[]"
|
|
19158
|
+
},
|
|
19159
|
+
{
|
|
19160
|
+
"internalType": "bytes",
|
|
19161
|
+
"name": "exchangeData",
|
|
19162
|
+
"type": "bytes"
|
|
19163
|
+
},
|
|
19164
|
+
{
|
|
19165
|
+
"internalType": "uint256[]",
|
|
19166
|
+
"name": "startIndexes",
|
|
19167
|
+
"type": "uint256[]"
|
|
19168
|
+
},
|
|
19169
|
+
{
|
|
19170
|
+
"internalType": "uint256[]",
|
|
19171
|
+
"name": "values",
|
|
19172
|
+
"type": "uint256[]"
|
|
19173
|
+
},
|
|
19174
|
+
{
|
|
19175
|
+
"internalType": "address payable",
|
|
19176
|
+
"name": "beneficiary",
|
|
19177
|
+
"type": "address"
|
|
19178
|
+
},
|
|
19179
|
+
{
|
|
19180
|
+
"internalType": "address payable",
|
|
19181
|
+
"name": "partner",
|
|
19182
|
+
"type": "address"
|
|
19183
|
+
},
|
|
19184
|
+
{
|
|
19185
|
+
"internalType": "uint256",
|
|
19186
|
+
"name": "feePercent",
|
|
19187
|
+
"type": "uint256"
|
|
19188
|
+
},
|
|
19189
|
+
{
|
|
19190
|
+
"internalType": "bytes",
|
|
19191
|
+
"name": "permit",
|
|
19192
|
+
"type": "bytes"
|
|
19193
|
+
},
|
|
19194
|
+
{
|
|
19195
|
+
"internalType": "uint256",
|
|
19196
|
+
"name": "deadline",
|
|
19197
|
+
"type": "uint256"
|
|
19198
|
+
},
|
|
19199
|
+
{
|
|
19200
|
+
"internalType": "bytes16",
|
|
19201
|
+
"name": "uuid",
|
|
19202
|
+
"type": "bytes16"
|
|
19203
|
+
}
|
|
19204
|
+
],
|
|
19205
|
+
"internalType": "struct Utils.SimpleData",
|
|
19206
|
+
"name": "data",
|
|
19207
|
+
"type": "tuple"
|
|
19208
|
+
}
|
|
19209
|
+
],
|
|
19210
|
+
"name": "simpleSwap",
|
|
19211
|
+
"outputs": [
|
|
19212
|
+
{
|
|
19213
|
+
"internalType": "uint256",
|
|
19214
|
+
"name": "receivedAmount",
|
|
19215
|
+
"type": "uint256"
|
|
19216
|
+
}
|
|
19217
|
+
],
|
|
19218
|
+
"stateMutability": "payable",
|
|
19219
|
+
"type": "function"
|
|
19220
|
+
},
|
|
19221
|
+
{
|
|
19222
|
+
"inputs": [
|
|
19223
|
+
{
|
|
19224
|
+
"internalType": "uint256",
|
|
19225
|
+
"name": "amountIn",
|
|
19226
|
+
"type": "uint256"
|
|
19227
|
+
},
|
|
19228
|
+
{
|
|
19229
|
+
"internalType": "uint256",
|
|
19230
|
+
"name": "amountOutMin",
|
|
19231
|
+
"type": "uint256"
|
|
19232
|
+
},
|
|
19233
|
+
{
|
|
19234
|
+
"internalType": "address[]",
|
|
19235
|
+
"name": "path",
|
|
19236
|
+
"type": "address[]"
|
|
19237
|
+
}
|
|
19238
|
+
],
|
|
19239
|
+
"name": "swapOnUniswap",
|
|
19240
|
+
"outputs": [],
|
|
19241
|
+
"stateMutability": "payable",
|
|
19242
|
+
"type": "function"
|
|
19243
|
+
},
|
|
19244
|
+
{
|
|
19245
|
+
"inputs": [
|
|
19246
|
+
{
|
|
19247
|
+
"internalType": "address",
|
|
19248
|
+
"name": "factory",
|
|
19249
|
+
"type": "address"
|
|
19250
|
+
},
|
|
19251
|
+
{
|
|
19252
|
+
"internalType": "bytes32",
|
|
19253
|
+
"name": "initCode",
|
|
19254
|
+
"type": "bytes32"
|
|
19255
|
+
},
|
|
19256
|
+
{
|
|
19257
|
+
"internalType": "uint256",
|
|
19258
|
+
"name": "amountIn",
|
|
19259
|
+
"type": "uint256"
|
|
19260
|
+
},
|
|
19261
|
+
{
|
|
19262
|
+
"internalType": "uint256",
|
|
19263
|
+
"name": "amountOutMin",
|
|
19264
|
+
"type": "uint256"
|
|
19265
|
+
},
|
|
19266
|
+
{
|
|
19267
|
+
"internalType": "address[]",
|
|
19268
|
+
"name": "path",
|
|
19269
|
+
"type": "address[]"
|
|
19270
|
+
}
|
|
19271
|
+
],
|
|
19272
|
+
"name": "swapOnUniswapFork",
|
|
19273
|
+
"outputs": [],
|
|
19274
|
+
"stateMutability": "payable",
|
|
19275
|
+
"type": "function"
|
|
19276
|
+
},
|
|
19277
|
+
{
|
|
19278
|
+
"inputs": [
|
|
19279
|
+
{
|
|
19280
|
+
"internalType": "address",
|
|
19281
|
+
"name": "tokenIn",
|
|
19282
|
+
"type": "address"
|
|
19283
|
+
},
|
|
19284
|
+
{
|
|
19285
|
+
"internalType": "uint256",
|
|
19286
|
+
"name": "amountIn",
|
|
19287
|
+
"type": "uint256"
|
|
19288
|
+
},
|
|
19289
|
+
{
|
|
19290
|
+
"internalType": "uint256",
|
|
19291
|
+
"name": "amountOutMin",
|
|
19292
|
+
"type": "uint256"
|
|
19293
|
+
},
|
|
19294
|
+
{
|
|
19295
|
+
"internalType": "address",
|
|
19296
|
+
"name": "weth",
|
|
19297
|
+
"type": "address"
|
|
19298
|
+
},
|
|
19299
|
+
{
|
|
19300
|
+
"internalType": "uint256[]",
|
|
19301
|
+
"name": "pools",
|
|
19302
|
+
"type": "uint256[]"
|
|
19303
|
+
}
|
|
19304
|
+
],
|
|
19305
|
+
"name": "swapOnUniswapV2Fork",
|
|
19306
|
+
"outputs": [],
|
|
19307
|
+
"stateMutability": "payable",
|
|
19308
|
+
"type": "function"
|
|
19309
|
+
},
|
|
19310
|
+
{
|
|
19311
|
+
"inputs": [
|
|
19312
|
+
{
|
|
19313
|
+
"internalType": "contract IERC20",
|
|
19314
|
+
"name": "fromToken",
|
|
19315
|
+
"type": "address"
|
|
19316
|
+
},
|
|
19317
|
+
{
|
|
19318
|
+
"internalType": "contract IERC20",
|
|
19319
|
+
"name": "toToken",
|
|
19320
|
+
"type": "address"
|
|
19321
|
+
},
|
|
19322
|
+
{
|
|
19323
|
+
"internalType": "uint256",
|
|
19324
|
+
"name": "fromAmount",
|
|
19325
|
+
"type": "uint256"
|
|
19326
|
+
},
|
|
19327
|
+
{
|
|
19328
|
+
"internalType": "uint256",
|
|
19329
|
+
"name": "amountOutMin",
|
|
19330
|
+
"type": "uint256"
|
|
19331
|
+
},
|
|
19332
|
+
{
|
|
19333
|
+
"internalType": "address",
|
|
19334
|
+
"name": "exchange",
|
|
19335
|
+
"type": "address"
|
|
19336
|
+
},
|
|
19337
|
+
{
|
|
19338
|
+
"internalType": "bytes",
|
|
19339
|
+
"name": "payload",
|
|
19340
|
+
"type": "bytes"
|
|
19341
|
+
}
|
|
19342
|
+
],
|
|
19343
|
+
"name": "swapOnZeroXv2",
|
|
19344
|
+
"outputs": [],
|
|
19345
|
+
"stateMutability": "payable",
|
|
19346
|
+
"type": "function"
|
|
19347
|
+
},
|
|
19348
|
+
{
|
|
19349
|
+
"inputs": [
|
|
19350
|
+
{
|
|
19351
|
+
"internalType": "contract IERC20",
|
|
19352
|
+
"name": "fromToken",
|
|
19353
|
+
"type": "address"
|
|
19354
|
+
},
|
|
19355
|
+
{
|
|
19356
|
+
"internalType": "contract IERC20",
|
|
19357
|
+
"name": "toToken",
|
|
19358
|
+
"type": "address"
|
|
19359
|
+
},
|
|
19360
|
+
{
|
|
19361
|
+
"internalType": "uint256",
|
|
19362
|
+
"name": "fromAmount",
|
|
19363
|
+
"type": "uint256"
|
|
19364
|
+
},
|
|
19365
|
+
{
|
|
19366
|
+
"internalType": "uint256",
|
|
19367
|
+
"name": "amountOutMin",
|
|
19368
|
+
"type": "uint256"
|
|
19369
|
+
},
|
|
19370
|
+
{
|
|
19371
|
+
"internalType": "address",
|
|
19372
|
+
"name": "exchange",
|
|
19373
|
+
"type": "address"
|
|
19374
|
+
},
|
|
19375
|
+
{
|
|
19376
|
+
"internalType": "bytes",
|
|
19377
|
+
"name": "payload",
|
|
19378
|
+
"type": "bytes"
|
|
19379
|
+
}
|
|
19380
|
+
],
|
|
19381
|
+
"name": "swapOnZeroXv4",
|
|
19382
|
+
"outputs": [],
|
|
19383
|
+
"stateMutability": "payable",
|
|
19384
|
+
"type": "function"
|
|
19385
|
+
}
|
|
19386
|
+
]
|
|
19387
|
+
},
|
|
15852
19388
|
"0x1bd435f3c054b6e901b7b108a0ab7617c808677b": {
|
|
15853
|
-
"0x0863b7ac": {
|
|
15854
|
-
"plugin": "Paraswap",
|
|
15855
|
-
"serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b0863b7ac",
|
|
15856
|
-
"signature": "3045022100f6e1a922c745e244fa3ed9a865491672808ef93f492ee0410861d748c5de201f0220160d6522499f3a84fa3e744b3b81e49e129e997b28495e58671a1169b16fa777",
|
|
15857
|
-
"erc20OfInterest": [
|
|
15858
|
-
"path.0",
|
|
15859
|
-
"path.-1"
|
|
15860
|
-
]
|
|
15861
|
-
},
|
|
15862
|
-
"0x33635226": {
|
|
15863
|
-
"plugin": "Paraswap",
|
|
15864
|
-
"serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b33635226",
|
|
15865
|
-
"signature": "3044022065ca71afa7794dfe2734a30dc898e1c68c63c88ff0f6ebda231bdc3142af95400220036ed1ce1d692602cfe3cd8f242343e46fdb4a65fd8e4336b50ffa8df630ff60",
|
|
15866
|
-
"erc20OfInterest": [
|
|
15867
|
-
"path.0",
|
|
15868
|
-
"path.-1"
|
|
15869
|
-
]
|
|
15870
|
-
},
|
|
15871
|
-
"0x58b9d179": {
|
|
15872
|
-
"plugin": "Paraswap",
|
|
15873
|
-
"serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b58b9d179",
|
|
15874
|
-
"signature": "3045022100fcf9f8608a5907d4a350ee04cb1f4871d1fcc55928b2884179c299f269b036cd022071846ae2faef7383de89adfc91440243f5a30b7249c899a49fa4333e882e20bf",
|
|
15875
|
-
"erc20OfInterest": [
|
|
15876
|
-
"path.0",
|
|
15877
|
-
"path.-1"
|
|
15878
|
-
]
|
|
15879
|
-
},
|
|
15880
|
-
"0x8f00eccb": {
|
|
15881
|
-
"plugin": "Paraswap",
|
|
15882
|
-
"serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b8f00eccb",
|
|
15883
|
-
"signature": "30450221009a0afd48e31d3e0ec2d7c4c362b293f8893dbcacb5b705ecb92370a031bcd85e0220697a15b3eb546033a167a476c9c7cd8c24359585e6316563dadfbacaf6e3b520",
|
|
15884
|
-
"erc20OfInterest": [
|
|
15885
|
-
"data.fromToken",
|
|
15886
|
-
"data.path.-1.to"
|
|
15887
|
-
]
|
|
15888
|
-
},
|
|
15889
|
-
"0xa27e8b6b": {
|
|
15890
|
-
"plugin": "Paraswap",
|
|
15891
|
-
"serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677ba27e8b6b",
|
|
15892
|
-
"signature": "304402200f2f9a1cba30bc4b7795003a311095a8ce4820416e7899659874acec47369a6c02205efddb555434ece84b42ea3dcc53b01d8eec2c212fe0f5af057546f487a8429c",
|
|
15893
|
-
"erc20OfInterest": [
|
|
15894
|
-
"fromToken",
|
|
15895
|
-
"toToken"
|
|
15896
|
-
]
|
|
15897
|
-
},
|
|
15898
19389
|
"0xcfc0afeb": {
|
|
15899
19390
|
"plugin": "Paraswap",
|
|
15900
19391
|
"serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bcfc0afeb",
|
|
@@ -15904,33 +19395,6 @@
|
|
|
15904
19395
|
"toToken"
|
|
15905
19396
|
]
|
|
15906
19397
|
},
|
|
15907
|
-
"0xec1d21dd": {
|
|
15908
|
-
"plugin": "Paraswap",
|
|
15909
|
-
"serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bec1d21dd",
|
|
15910
|
-
"signature": "3045022100ee2b33270cf910f481e64b7781c4693e7bc86e338476d65c30c9f3d41fa4924e022079fc72cc69954f5ab1949e7d2f3023948f10dc94c9455999eb2ef38ac25fe33d",
|
|
15911
|
-
"erc20OfInterest": [
|
|
15912
|
-
"data.fromToken",
|
|
15913
|
-
"data.path.0.path.-1.to"
|
|
15914
|
-
]
|
|
15915
|
-
},
|
|
15916
|
-
"0xf9355f72": {
|
|
15917
|
-
"plugin": "Paraswap",
|
|
15918
|
-
"serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bf9355f72",
|
|
15919
|
-
"signature": "304502210083e27fb14f09dc5e52a3ab9374ff39bf5cfd1fa373f957f675f122b74a867fb202202d6e107b219ea246b8c51f19df738c4968974d17b0ee128e8a44de9254507678",
|
|
15920
|
-
"erc20OfInterest": [
|
|
15921
|
-
"path.0",
|
|
15922
|
-
"path.-1"
|
|
15923
|
-
]
|
|
15924
|
-
},
|
|
15925
|
-
"0xf95a49eb": {
|
|
15926
|
-
"plugin": "Paraswap",
|
|
15927
|
-
"serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bf95a49eb",
|
|
15928
|
-
"signature": "304402201e93873c5d1c7e07ae016757fd21f4c97bdfd4bf60e35f214e0f9e174b0f3fc80220639ff1e38daad2c7f3a5f4cafb020ebcc867f10be4c4a465e342ae791fab0c24",
|
|
15929
|
-
"erc20OfInterest": [
|
|
15930
|
-
"data.fromToken",
|
|
15931
|
-
"data.toToken"
|
|
15932
|
-
]
|
|
15933
|
-
},
|
|
15934
19398
|
"abi": [
|
|
15935
19399
|
{
|
|
15936
19400
|
"anonymous": false,
|