@ledgerhq/cryptoassets 6.18.0 → 6.19.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/ethereum.json CHANGED
@@ -21780,6 +21780,50 @@
21780
21780
  ]
21781
21781
  },
21782
21782
  "0x1bd435f3c054b6e901b7b108a0ab7617c808677b": {
21783
+ "0x0863b7ac": {
21784
+ "plugin": "Paraswap",
21785
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b0863b7ac",
21786
+ "signature": "3045022100f6e1a922c745e244fa3ed9a865491672808ef93f492ee0410861d748c5de201f0220160d6522499f3a84fa3e744b3b81e49e129e997b28495e58671a1169b16fa777",
21787
+ "erc20OfInterest": [
21788
+ "path.0",
21789
+ "path.-1"
21790
+ ]
21791
+ },
21792
+ "0x33635226": {
21793
+ "plugin": "Paraswap",
21794
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b33635226",
21795
+ "signature": "3044022065ca71afa7794dfe2734a30dc898e1c68c63c88ff0f6ebda231bdc3142af95400220036ed1ce1d692602cfe3cd8f242343e46fdb4a65fd8e4336b50ffa8df630ff60",
21796
+ "erc20OfInterest": [
21797
+ "path.0",
21798
+ "path.-1"
21799
+ ]
21800
+ },
21801
+ "0x58b9d179": {
21802
+ "plugin": "Paraswap",
21803
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b58b9d179",
21804
+ "signature": "3045022100fcf9f8608a5907d4a350ee04cb1f4871d1fcc55928b2884179c299f269b036cd022071846ae2faef7383de89adfc91440243f5a30b7249c899a49fa4333e882e20bf",
21805
+ "erc20OfInterest": [
21806
+ "path.0"
21807
+ ]
21808
+ },
21809
+ "0x8f00eccb": {
21810
+ "plugin": "Paraswap",
21811
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677b8f00eccb",
21812
+ "signature": "30450221009a0afd48e31d3e0ec2d7c4c362b293f8893dbcacb5b705ecb92370a031bcd85e0220697a15b3eb546033a167a476c9c7cd8c24359585e6316563dadfbacaf6e3b520",
21813
+ "erc20OfInterest": [
21814
+ "data.fromToken",
21815
+ "data.path.-1.to"
21816
+ ]
21817
+ },
21818
+ "0xa27e8b6b": {
21819
+ "plugin": "Paraswap",
21820
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677ba27e8b6b",
21821
+ "signature": "304402200f2f9a1cba30bc4b7795003a311095a8ce4820416e7899659874acec47369a6c02205efddb555434ece84b42ea3dcc53b01d8eec2c212fe0f5af057546f487a8429c",
21822
+ "erc20OfInterest": [
21823
+ "fromToken",
21824
+ "toToken"
21825
+ ]
21826
+ },
21783
21827
  "0xcfc0afeb": {
21784
21828
  "plugin": "Paraswap",
21785
21829
  "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bcfc0afeb",
@@ -21789,6 +21833,33 @@
21789
21833
  "toToken"
21790
21834
  ]
21791
21835
  },
21836
+ "0xec1d21dd": {
21837
+ "plugin": "Paraswap",
21838
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bec1d21dd",
21839
+ "signature": "3045022100ee2b33270cf910f481e64b7781c4693e7bc86e338476d65c30c9f3d41fa4924e022079fc72cc69954f5ab1949e7d2f3023948f10dc94c9455999eb2ef38ac25fe33d",
21840
+ "erc20OfInterest": [
21841
+ "data.fromToken",
21842
+ "data.path.0.path.-1.to"
21843
+ ]
21844
+ },
21845
+ "0xf9355f72": {
21846
+ "plugin": "Paraswap",
21847
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bf9355f72",
21848
+ "signature": "304502210083e27fb14f09dc5e52a3ab9374ff39bf5cfd1fa373f957f675f122b74a867fb202202d6e107b219ea246b8c51f19df738c4968974d17b0ee128e8a44de9254507678",
21849
+ "erc20OfInterest": [
21850
+ "path.0",
21851
+ "path.-1"
21852
+ ]
21853
+ },
21854
+ "0xf95a49eb": {
21855
+ "plugin": "Paraswap",
21856
+ "serialized_data": "0850617261737761701bd435f3c054b6e901b7b108a0ab7617c808677bf95a49eb",
21857
+ "signature": "304402201e93873c5d1c7e07ae016757fd21f4c97bdfd4bf60e35f214e0f9e174b0f3fc80220639ff1e38daad2c7f3a5f4cafb020ebcc867f10be4c4a465e342ae791fab0c24",
21858
+ "erc20OfInterest": [
21859
+ "data.fromToken",
21860
+ "data.toToken"
21861
+ ]
21862
+ },
21792
21863
  "abi": [
21793
21864
  {
21794
21865
  "anonymous": false,
@@ -192706,5 +192777,1200 @@
192706
192777
  "type": "receive"
192707
192778
  }
192708
192779
  ]
192780
+ },
192781
+ "0x90249ed4d69d70e709ffcd8bee2c5a566f65dade": {
192782
+ "0x0863b7ac": {
192783
+ "plugin": "Paraswap",
192784
+ "serialized_data": "08506172617377617090249ed4d69d70e709ffcd8bee2c5a566f65dade0863b7ac",
192785
+ "signature": "304402204e00bbfa601201b2906cc3cb342e74324a92cb9577c6b9b334e5187c3ae9b00502206bafd7f5d0c126f4ed7ece2359de46c214e432267a76ae34a0e6b2f14cccb08e",
192786
+ "erc20OfInterest": [
192787
+ "path.0",
192788
+ "path.-1"
192789
+ ]
192790
+ },
192791
+ "0x33635226": {
192792
+ "plugin": "Paraswap",
192793
+ "serialized_data": "08506172617377617090249ed4d69d70e709ffcd8bee2c5a566f65dade33635226",
192794
+ "signature": "3045022100cf21c0c2a65bf7965f9a1c1a3ad5dfa35180a95d224bf14dae3741777c7b586002204edf075139a2fc3e2d7ed403e4149eda967348ff5b7cfab17d5267b694ff0983",
192795
+ "erc20OfInterest": [
192796
+ "path.0",
192797
+ "path.-1"
192798
+ ]
192799
+ },
192800
+ "0x58b9d179": {
192801
+ "plugin": "Paraswap",
192802
+ "serialized_data": "08506172617377617090249ed4d69d70e709ffcd8bee2c5a566f65dade58b9d179",
192803
+ "signature": "3044022041962b107985f77c4067069721c0bf954fffdeeb51f7181d75da3c79f5342fd602206f17f721ef9d682c4d0fada2a34ecea9a28a218fc4e31104d01f0a9c6558ab35",
192804
+ "erc20OfInterest": [
192805
+ "path.0"
192806
+ ]
192807
+ },
192808
+ "0x8f00eccb": {
192809
+ "plugin": "Paraswap",
192810
+ "serialized_data": "08506172617377617090249ed4d69d70e709ffcd8bee2c5a566f65dade8f00eccb",
192811
+ "signature": "3045022100dcd0922ff0b0b0aa2c0801ad7a3a50e5d05d3f9793d6f29646df63a7da11237a02200915de865ae646c1bc4da7934c3edef968bfe117f8c8c2670636710a47ccec97",
192812
+ "erc20OfInterest": [
192813
+ "data.fromToken",
192814
+ "data.path.-1.to"
192815
+ ]
192816
+ },
192817
+ "0xa27e8b6b": {
192818
+ "plugin": "Paraswap",
192819
+ "serialized_data": "08506172617377617090249ed4d69d70e709ffcd8bee2c5a566f65dadea27e8b6b",
192820
+ "signature": "3044022071f04c01b75a33075bce283cdb06dc58bb0cac5396fc4564c083dcfb58ad0ee302202189d06e6b14fb62bdfffc94f750666cd9574ebedf1e48e71dcd69ac32463805",
192821
+ "erc20OfInterest": [
192822
+ "fromToken",
192823
+ "toToken"
192824
+ ]
192825
+ },
192826
+ "0xcfc0afeb": {
192827
+ "plugin": "Paraswap",
192828
+ "serialized_data": "08506172617377617090249ed4d69d70e709ffcd8bee2c5a566f65dadecfc0afeb",
192829
+ "signature": "304402207abfa097cf3d48308ba0ead05a2ac7a57486005e791dba4c4abab28482484c0b02201e67581673b35362825924328c39cad62d6195643275588c08af1091e4c0185e",
192830
+ "erc20OfInterest": [
192831
+ "fromToken",
192832
+ "toToken"
192833
+ ]
192834
+ },
192835
+ "0xec1d21dd": {
192836
+ "plugin": "Paraswap",
192837
+ "serialized_data": "08506172617377617090249ed4d69d70e709ffcd8bee2c5a566f65dadeec1d21dd",
192838
+ "signature": "3045022100c1658d6fcacc0484712ba6a74c3bc09b44652bac892395696a5f14f894dceba1022022db4755e4e0012892eeccd195ac5da697bc55e2bf1cfe4cb80a3bb923c22e8d",
192839
+ "erc20OfInterest": [
192840
+ "data.fromToken",
192841
+ "data.path.0.path.-1.to"
192842
+ ]
192843
+ },
192844
+ "0xf9355f72": {
192845
+ "plugin": "Paraswap",
192846
+ "serialized_data": "08506172617377617090249ed4d69d70e709ffcd8bee2c5a566f65dadef9355f72",
192847
+ "signature": "3045022100d22c2a1c5d16f042f58c648e8f9ebd13e9ef666bb89f041deaf7cf542c84d61a022035c7006970c571a460a03d5d686ac23baac65e9ab24ce729941e58e6f29385b3",
192848
+ "erc20OfInterest": [
192849
+ "path.0",
192850
+ "path.-1"
192851
+ ]
192852
+ },
192853
+ "0xf95a49eb": {
192854
+ "plugin": "Paraswap",
192855
+ "serialized_data": "08506172617377617090249ed4d69d70e709ffcd8bee2c5a566f65dadef95a49eb",
192856
+ "signature": "304402207803c97eac0458415020acea3f4311663ddc6562b7f1ebdb4e0badc0154e60f202204ac042a2f982864085c2afc5bd3bb10f5416a88a5ab888e93c3eaab5adb7899d",
192857
+ "erc20OfInterest": [
192858
+ "data.fromToken",
192859
+ "data.toToken"
192860
+ ]
192861
+ },
192862
+ "abi": [
192863
+ {
192864
+ "anonymous": false,
192865
+ "inputs": [
192866
+ {
192867
+ "indexed": true,
192868
+ "internalType": "address",
192869
+ "name": "adapter",
192870
+ "type": "address"
192871
+ }
192872
+ ],
192873
+ "name": "AdapterInitialized",
192874
+ "type": "event"
192875
+ },
192876
+ {
192877
+ "anonymous": false,
192878
+ "inputs": [
192879
+ {
192880
+ "indexed": false,
192881
+ "internalType": "address",
192882
+ "name": "initiator",
192883
+ "type": "address"
192884
+ },
192885
+ {
192886
+ "indexed": true,
192887
+ "internalType": "address",
192888
+ "name": "beneficiary",
192889
+ "type": "address"
192890
+ },
192891
+ {
192892
+ "indexed": true,
192893
+ "internalType": "address",
192894
+ "name": "srcToken",
192895
+ "type": "address"
192896
+ },
192897
+ {
192898
+ "indexed": true,
192899
+ "internalType": "address",
192900
+ "name": "destToken",
192901
+ "type": "address"
192902
+ },
192903
+ {
192904
+ "indexed": false,
192905
+ "internalType": "uint256",
192906
+ "name": "srcAmount",
192907
+ "type": "uint256"
192908
+ },
192909
+ {
192910
+ "indexed": false,
192911
+ "internalType": "uint256",
192912
+ "name": "receivedAmount",
192913
+ "type": "uint256"
192914
+ },
192915
+ {
192916
+ "indexed": false,
192917
+ "internalType": "string",
192918
+ "name": "referrer",
192919
+ "type": "string"
192920
+ }
192921
+ ],
192922
+ "name": "Bought",
192923
+ "type": "event"
192924
+ },
192925
+ {
192926
+ "anonymous": false,
192927
+ "inputs": [
192928
+ {
192929
+ "indexed": false,
192930
+ "internalType": "uint256",
192931
+ "name": "fee",
192932
+ "type": "uint256"
192933
+ },
192934
+ {
192935
+ "indexed": false,
192936
+ "internalType": "uint256",
192937
+ "name": "partnerShare",
192938
+ "type": "uint256"
192939
+ },
192940
+ {
192941
+ "indexed": false,
192942
+ "internalType": "uint256",
192943
+ "name": "paraswapShare",
192944
+ "type": "uint256"
192945
+ }
192946
+ ],
192947
+ "name": "FeeTaken",
192948
+ "type": "event"
192949
+ },
192950
+ {
192951
+ "anonymous": false,
192952
+ "inputs": [
192953
+ {
192954
+ "indexed": true,
192955
+ "internalType": "address",
192956
+ "name": "previousOwner",
192957
+ "type": "address"
192958
+ },
192959
+ {
192960
+ "indexed": true,
192961
+ "internalType": "address",
192962
+ "name": "newOwner",
192963
+ "type": "address"
192964
+ }
192965
+ ],
192966
+ "name": "OwnershipTransferred",
192967
+ "type": "event"
192968
+ },
192969
+ {
192970
+ "anonymous": false,
192971
+ "inputs": [
192972
+ {
192973
+ "indexed": false,
192974
+ "internalType": "address",
192975
+ "name": "initiator",
192976
+ "type": "address"
192977
+ },
192978
+ {
192979
+ "indexed": true,
192980
+ "internalType": "address",
192981
+ "name": "beneficiary",
192982
+ "type": "address"
192983
+ },
192984
+ {
192985
+ "indexed": true,
192986
+ "internalType": "address",
192987
+ "name": "srcToken",
192988
+ "type": "address"
192989
+ },
192990
+ {
192991
+ "indexed": true,
192992
+ "internalType": "address",
192993
+ "name": "destToken",
192994
+ "type": "address"
192995
+ },
192996
+ {
192997
+ "indexed": false,
192998
+ "internalType": "uint256",
192999
+ "name": "srcAmount",
193000
+ "type": "uint256"
193001
+ },
193002
+ {
193003
+ "indexed": false,
193004
+ "internalType": "uint256",
193005
+ "name": "receivedAmount",
193006
+ "type": "uint256"
193007
+ },
193008
+ {
193009
+ "indexed": false,
193010
+ "internalType": "uint256",
193011
+ "name": "expectedAmount",
193012
+ "type": "uint256"
193013
+ },
193014
+ {
193015
+ "indexed": false,
193016
+ "internalType": "string",
193017
+ "name": "referrer",
193018
+ "type": "string"
193019
+ }
193020
+ ],
193021
+ "name": "Swapped",
193022
+ "type": "event"
193023
+ },
193024
+ {
193025
+ "inputs": [
193026
+ {
193027
+ "internalType": "address",
193028
+ "name": "token",
193029
+ "type": "address"
193030
+ },
193031
+ {
193032
+ "internalType": "address",
193033
+ "name": "to",
193034
+ "type": "address"
193035
+ },
193036
+ {
193037
+ "internalType": "uint256",
193038
+ "name": "amount",
193039
+ "type": "uint256"
193040
+ }
193041
+ ],
193042
+ "name": "approve",
193043
+ "outputs": [],
193044
+ "stateMutability": "nonpayable",
193045
+ "type": "function"
193046
+ },
193047
+ {
193048
+ "inputs": [
193049
+ {
193050
+ "components": [
193051
+ {
193052
+ "internalType": "address",
193053
+ "name": "fromToken",
193054
+ "type": "address"
193055
+ },
193056
+ {
193057
+ "internalType": "address",
193058
+ "name": "toToken",
193059
+ "type": "address"
193060
+ },
193061
+ {
193062
+ "internalType": "uint256",
193063
+ "name": "fromAmount",
193064
+ "type": "uint256"
193065
+ },
193066
+ {
193067
+ "internalType": "uint256",
193068
+ "name": "toAmount",
193069
+ "type": "uint256"
193070
+ },
193071
+ {
193072
+ "internalType": "address payable",
193073
+ "name": "beneficiary",
193074
+ "type": "address"
193075
+ },
193076
+ {
193077
+ "internalType": "string",
193078
+ "name": "referrer",
193079
+ "type": "string"
193080
+ },
193081
+ {
193082
+ "internalType": "bool",
193083
+ "name": "useReduxToken",
193084
+ "type": "bool"
193085
+ },
193086
+ {
193087
+ "components": [
193088
+ {
193089
+ "internalType": "address payable",
193090
+ "name": "exchange",
193091
+ "type": "address"
193092
+ },
193093
+ {
193094
+ "internalType": "address",
193095
+ "name": "targetExchange",
193096
+ "type": "address"
193097
+ },
193098
+ {
193099
+ "internalType": "uint256",
193100
+ "name": "fromAmount",
193101
+ "type": "uint256"
193102
+ },
193103
+ {
193104
+ "internalType": "uint256",
193105
+ "name": "toAmount",
193106
+ "type": "uint256"
193107
+ },
193108
+ {
193109
+ "internalType": "bytes",
193110
+ "name": "payload",
193111
+ "type": "bytes"
193112
+ },
193113
+ {
193114
+ "internalType": "uint256",
193115
+ "name": "networkFee",
193116
+ "type": "uint256"
193117
+ }
193118
+ ],
193119
+ "internalType": "struct Utils.BuyRoute[]",
193120
+ "name": "route",
193121
+ "type": "tuple[]"
193122
+ }
193123
+ ],
193124
+ "internalType": "struct Utils.BuyData",
193125
+ "name": "data",
193126
+ "type": "tuple"
193127
+ }
193128
+ ],
193129
+ "name": "buy",
193130
+ "outputs": [
193131
+ {
193132
+ "internalType": "uint256",
193133
+ "name": "",
193134
+ "type": "uint256"
193135
+ }
193136
+ ],
193137
+ "stateMutability": "payable",
193138
+ "type": "function"
193139
+ },
193140
+ {
193141
+ "inputs": [
193142
+ {
193143
+ "internalType": "uint256",
193144
+ "name": "amountInMax",
193145
+ "type": "uint256"
193146
+ },
193147
+ {
193148
+ "internalType": "uint256",
193149
+ "name": "amountOut",
193150
+ "type": "uint256"
193151
+ },
193152
+ {
193153
+ "internalType": "address[]",
193154
+ "name": "path",
193155
+ "type": "address[]"
193156
+ },
193157
+ {
193158
+ "internalType": "uint8",
193159
+ "name": "referrer",
193160
+ "type": "uint8"
193161
+ }
193162
+ ],
193163
+ "name": "buyOnUniswap",
193164
+ "outputs": [],
193165
+ "stateMutability": "payable",
193166
+ "type": "function"
193167
+ },
193168
+ {
193169
+ "inputs": [
193170
+ {
193171
+ "internalType": "address",
193172
+ "name": "factory",
193173
+ "type": "address"
193174
+ },
193175
+ {
193176
+ "internalType": "bytes32",
193177
+ "name": "initCode",
193178
+ "type": "bytes32"
193179
+ },
193180
+ {
193181
+ "internalType": "uint256",
193182
+ "name": "amountInMax",
193183
+ "type": "uint256"
193184
+ },
193185
+ {
193186
+ "internalType": "uint256",
193187
+ "name": "amountOut",
193188
+ "type": "uint256"
193189
+ },
193190
+ {
193191
+ "internalType": "address[]",
193192
+ "name": "path",
193193
+ "type": "address[]"
193194
+ },
193195
+ {
193196
+ "internalType": "uint8",
193197
+ "name": "referrer",
193198
+ "type": "uint8"
193199
+ }
193200
+ ],
193201
+ "name": "buyOnUniswapFork",
193202
+ "outputs": [],
193203
+ "stateMutability": "payable",
193204
+ "type": "function"
193205
+ },
193206
+ {
193207
+ "inputs": [
193208
+ {
193209
+ "internalType": "address",
193210
+ "name": "uniswapProxy",
193211
+ "type": "address"
193212
+ }
193213
+ ],
193214
+ "name": "changeUniswapProxy",
193215
+ "outputs": [],
193216
+ "stateMutability": "nonpayable",
193217
+ "type": "function"
193218
+ },
193219
+ {
193220
+ "inputs": [],
193221
+ "name": "confirmUniswapProxyChange",
193222
+ "outputs": [],
193223
+ "stateMutability": "nonpayable",
193224
+ "type": "function"
193225
+ },
193226
+ {
193227
+ "inputs": [],
193228
+ "name": "getChangeRequestedBlock",
193229
+ "outputs": [
193230
+ {
193231
+ "internalType": "uint256",
193232
+ "name": "",
193233
+ "type": "uint256"
193234
+ }
193235
+ ],
193236
+ "stateMutability": "view",
193237
+ "type": "function"
193238
+ },
193239
+ {
193240
+ "inputs": [
193241
+ {
193242
+ "internalType": "bytes32",
193243
+ "name": "key",
193244
+ "type": "bytes32"
193245
+ }
193246
+ ],
193247
+ "name": "getData",
193248
+ "outputs": [
193249
+ {
193250
+ "internalType": "bytes",
193251
+ "name": "",
193252
+ "type": "bytes"
193253
+ }
193254
+ ],
193255
+ "stateMutability": "view",
193256
+ "type": "function"
193257
+ },
193258
+ {
193259
+ "inputs": [],
193260
+ "name": "getFeeWallet",
193261
+ "outputs": [
193262
+ {
193263
+ "internalType": "address",
193264
+ "name": "",
193265
+ "type": "address"
193266
+ }
193267
+ ],
193268
+ "stateMutability": "view",
193269
+ "type": "function"
193270
+ },
193271
+ {
193272
+ "inputs": [],
193273
+ "name": "getPartnerRegistry",
193274
+ "outputs": [
193275
+ {
193276
+ "internalType": "address",
193277
+ "name": "",
193278
+ "type": "address"
193279
+ }
193280
+ ],
193281
+ "stateMutability": "view",
193282
+ "type": "function"
193283
+ },
193284
+ {
193285
+ "inputs": [],
193286
+ "name": "getPendingUniswapProxy",
193287
+ "outputs": [
193288
+ {
193289
+ "internalType": "address",
193290
+ "name": "",
193291
+ "type": "address"
193292
+ }
193293
+ ],
193294
+ "stateMutability": "view",
193295
+ "type": "function"
193296
+ },
193297
+ {
193298
+ "inputs": [],
193299
+ "name": "getTimeLock",
193300
+ "outputs": [
193301
+ {
193302
+ "internalType": "uint256",
193303
+ "name": "",
193304
+ "type": "uint256"
193305
+ }
193306
+ ],
193307
+ "stateMutability": "view",
193308
+ "type": "function"
193309
+ },
193310
+ {
193311
+ "inputs": [],
193312
+ "name": "getTokenTransferProxy",
193313
+ "outputs": [
193314
+ {
193315
+ "internalType": "address",
193316
+ "name": "",
193317
+ "type": "address"
193318
+ }
193319
+ ],
193320
+ "stateMutability": "view",
193321
+ "type": "function"
193322
+ },
193323
+ {
193324
+ "inputs": [],
193325
+ "name": "getUniswapProxy",
193326
+ "outputs": [
193327
+ {
193328
+ "internalType": "address",
193329
+ "name": "",
193330
+ "type": "address"
193331
+ }
193332
+ ],
193333
+ "stateMutability": "view",
193334
+ "type": "function"
193335
+ },
193336
+ {
193337
+ "inputs": [],
193338
+ "name": "getVersion",
193339
+ "outputs": [
193340
+ {
193341
+ "internalType": "string",
193342
+ "name": "",
193343
+ "type": "string"
193344
+ }
193345
+ ],
193346
+ "stateMutability": "view",
193347
+ "type": "function"
193348
+ },
193349
+ {
193350
+ "inputs": [],
193351
+ "name": "getWhitelistAddress",
193352
+ "outputs": [
193353
+ {
193354
+ "internalType": "address",
193355
+ "name": "",
193356
+ "type": "address"
193357
+ }
193358
+ ],
193359
+ "stateMutability": "view",
193360
+ "type": "function"
193361
+ },
193362
+ {
193363
+ "inputs": [
193364
+ {
193365
+ "internalType": "address",
193366
+ "name": "whitelist",
193367
+ "type": "address"
193368
+ },
193369
+ {
193370
+ "internalType": "address",
193371
+ "name": "reduxToken",
193372
+ "type": "address"
193373
+ },
193374
+ {
193375
+ "internalType": "address",
193376
+ "name": "partnerRegistry",
193377
+ "type": "address"
193378
+ },
193379
+ {
193380
+ "internalType": "address payable",
193381
+ "name": "feeWallet",
193382
+ "type": "address"
193383
+ },
193384
+ {
193385
+ "internalType": "address",
193386
+ "name": "uniswapProxy",
193387
+ "type": "address"
193388
+ },
193389
+ {
193390
+ "internalType": "uint256",
193391
+ "name": "timelock",
193392
+ "type": "uint256"
193393
+ }
193394
+ ],
193395
+ "name": "initialize",
193396
+ "outputs": [],
193397
+ "stateMutability": "nonpayable",
193398
+ "type": "function"
193399
+ },
193400
+ {
193401
+ "inputs": [
193402
+ {
193403
+ "internalType": "address",
193404
+ "name": "adapter",
193405
+ "type": "address"
193406
+ },
193407
+ {
193408
+ "internalType": "bytes",
193409
+ "name": "data",
193410
+ "type": "bytes"
193411
+ }
193412
+ ],
193413
+ "name": "initializeAdapter",
193414
+ "outputs": [],
193415
+ "stateMutability": "nonpayable",
193416
+ "type": "function"
193417
+ },
193418
+ {
193419
+ "inputs": [
193420
+ {
193421
+ "internalType": "bytes32",
193422
+ "name": "key",
193423
+ "type": "bytes32"
193424
+ }
193425
+ ],
193426
+ "name": "isInitialized",
193427
+ "outputs": [
193428
+ {
193429
+ "internalType": "bool",
193430
+ "name": "",
193431
+ "type": "bool"
193432
+ }
193433
+ ],
193434
+ "stateMutability": "view",
193435
+ "type": "function"
193436
+ },
193437
+ {
193438
+ "inputs": [
193439
+ {
193440
+ "components": [
193441
+ {
193442
+ "internalType": "address",
193443
+ "name": "fromToken",
193444
+ "type": "address"
193445
+ },
193446
+ {
193447
+ "internalType": "uint256",
193448
+ "name": "fromAmount",
193449
+ "type": "uint256"
193450
+ },
193451
+ {
193452
+ "internalType": "uint256",
193453
+ "name": "toAmount",
193454
+ "type": "uint256"
193455
+ },
193456
+ {
193457
+ "internalType": "uint256",
193458
+ "name": "expectedAmount",
193459
+ "type": "uint256"
193460
+ },
193461
+ {
193462
+ "internalType": "address payable",
193463
+ "name": "beneficiary",
193464
+ "type": "address"
193465
+ },
193466
+ {
193467
+ "internalType": "string",
193468
+ "name": "referrer",
193469
+ "type": "string"
193470
+ },
193471
+ {
193472
+ "internalType": "bool",
193473
+ "name": "useReduxToken",
193474
+ "type": "bool"
193475
+ },
193476
+ {
193477
+ "components": [
193478
+ {
193479
+ "internalType": "uint256",
193480
+ "name": "fromAmountPercent",
193481
+ "type": "uint256"
193482
+ },
193483
+ {
193484
+ "components": [
193485
+ {
193486
+ "internalType": "address",
193487
+ "name": "to",
193488
+ "type": "address"
193489
+ },
193490
+ {
193491
+ "internalType": "uint256",
193492
+ "name": "totalNetworkFee",
193493
+ "type": "uint256"
193494
+ },
193495
+ {
193496
+ "components": [
193497
+ {
193498
+ "internalType": "address payable",
193499
+ "name": "exchange",
193500
+ "type": "address"
193501
+ },
193502
+ {
193503
+ "internalType": "address",
193504
+ "name": "targetExchange",
193505
+ "type": "address"
193506
+ },
193507
+ {
193508
+ "internalType": "uint256",
193509
+ "name": "percent",
193510
+ "type": "uint256"
193511
+ },
193512
+ {
193513
+ "internalType": "bytes",
193514
+ "name": "payload",
193515
+ "type": "bytes"
193516
+ },
193517
+ {
193518
+ "internalType": "uint256",
193519
+ "name": "networkFee",
193520
+ "type": "uint256"
193521
+ }
193522
+ ],
193523
+ "internalType": "struct Utils.Route[]",
193524
+ "name": "routes",
193525
+ "type": "tuple[]"
193526
+ }
193527
+ ],
193528
+ "internalType": "struct Utils.Path[]",
193529
+ "name": "path",
193530
+ "type": "tuple[]"
193531
+ }
193532
+ ],
193533
+ "internalType": "struct Utils.MegaSwapPath[]",
193534
+ "name": "path",
193535
+ "type": "tuple[]"
193536
+ }
193537
+ ],
193538
+ "internalType": "struct Utils.MegaSwapSellData",
193539
+ "name": "data",
193540
+ "type": "tuple"
193541
+ }
193542
+ ],
193543
+ "name": "megaSwap",
193544
+ "outputs": [
193545
+ {
193546
+ "internalType": "uint256",
193547
+ "name": "",
193548
+ "type": "uint256"
193549
+ }
193550
+ ],
193551
+ "stateMutability": "payable",
193552
+ "type": "function"
193553
+ },
193554
+ {
193555
+ "inputs": [
193556
+ {
193557
+ "components": [
193558
+ {
193559
+ "internalType": "address",
193560
+ "name": "fromToken",
193561
+ "type": "address"
193562
+ },
193563
+ {
193564
+ "internalType": "uint256",
193565
+ "name": "fromAmount",
193566
+ "type": "uint256"
193567
+ },
193568
+ {
193569
+ "internalType": "uint256",
193570
+ "name": "toAmount",
193571
+ "type": "uint256"
193572
+ },
193573
+ {
193574
+ "internalType": "uint256",
193575
+ "name": "expectedAmount",
193576
+ "type": "uint256"
193577
+ },
193578
+ {
193579
+ "internalType": "address payable",
193580
+ "name": "beneficiary",
193581
+ "type": "address"
193582
+ },
193583
+ {
193584
+ "internalType": "string",
193585
+ "name": "referrer",
193586
+ "type": "string"
193587
+ },
193588
+ {
193589
+ "internalType": "bool",
193590
+ "name": "useReduxToken",
193591
+ "type": "bool"
193592
+ },
193593
+ {
193594
+ "components": [
193595
+ {
193596
+ "internalType": "address",
193597
+ "name": "to",
193598
+ "type": "address"
193599
+ },
193600
+ {
193601
+ "internalType": "uint256",
193602
+ "name": "totalNetworkFee",
193603
+ "type": "uint256"
193604
+ },
193605
+ {
193606
+ "components": [
193607
+ {
193608
+ "internalType": "address payable",
193609
+ "name": "exchange",
193610
+ "type": "address"
193611
+ },
193612
+ {
193613
+ "internalType": "address",
193614
+ "name": "targetExchange",
193615
+ "type": "address"
193616
+ },
193617
+ {
193618
+ "internalType": "uint256",
193619
+ "name": "percent",
193620
+ "type": "uint256"
193621
+ },
193622
+ {
193623
+ "internalType": "bytes",
193624
+ "name": "payload",
193625
+ "type": "bytes"
193626
+ },
193627
+ {
193628
+ "internalType": "uint256",
193629
+ "name": "networkFee",
193630
+ "type": "uint256"
193631
+ }
193632
+ ],
193633
+ "internalType": "struct Utils.Route[]",
193634
+ "name": "routes",
193635
+ "type": "tuple[]"
193636
+ }
193637
+ ],
193638
+ "internalType": "struct Utils.Path[]",
193639
+ "name": "path",
193640
+ "type": "tuple[]"
193641
+ }
193642
+ ],
193643
+ "internalType": "struct Utils.SellData",
193644
+ "name": "data",
193645
+ "type": "tuple"
193646
+ }
193647
+ ],
193648
+ "name": "multiSwap",
193649
+ "outputs": [
193650
+ {
193651
+ "internalType": "uint256",
193652
+ "name": "",
193653
+ "type": "uint256"
193654
+ }
193655
+ ],
193656
+ "stateMutability": "payable",
193657
+ "type": "function"
193658
+ },
193659
+ {
193660
+ "inputs": [],
193661
+ "name": "owner",
193662
+ "outputs": [
193663
+ {
193664
+ "internalType": "address",
193665
+ "name": "",
193666
+ "type": "address"
193667
+ }
193668
+ ],
193669
+ "stateMutability": "view",
193670
+ "type": "function"
193671
+ },
193672
+ {
193673
+ "inputs": [],
193674
+ "name": "renounceOwnership",
193675
+ "outputs": [],
193676
+ "stateMutability": "nonpayable",
193677
+ "type": "function"
193678
+ },
193679
+ {
193680
+ "inputs": [
193681
+ {
193682
+ "internalType": "address payable",
193683
+ "name": "feeWallet",
193684
+ "type": "address"
193685
+ }
193686
+ ],
193687
+ "name": "setFeeWallet",
193688
+ "outputs": [],
193689
+ "stateMutability": "nonpayable",
193690
+ "type": "function"
193691
+ },
193692
+ {
193693
+ "inputs": [
193694
+ {
193695
+ "internalType": "address",
193696
+ "name": "partnerRegistry",
193697
+ "type": "address"
193698
+ }
193699
+ ],
193700
+ "name": "setPartnerRegistry",
193701
+ "outputs": [],
193702
+ "stateMutability": "nonpayable",
193703
+ "type": "function"
193704
+ },
193705
+ {
193706
+ "inputs": [
193707
+ {
193708
+ "internalType": "address",
193709
+ "name": "whitelisted",
193710
+ "type": "address"
193711
+ }
193712
+ ],
193713
+ "name": "setWhitelistAddress",
193714
+ "outputs": [],
193715
+ "stateMutability": "nonpayable",
193716
+ "type": "function"
193717
+ },
193718
+ {
193719
+ "inputs": [
193720
+ {
193721
+ "internalType": "address",
193722
+ "name": "fromToken",
193723
+ "type": "address"
193724
+ },
193725
+ {
193726
+ "internalType": "address",
193727
+ "name": "toToken",
193728
+ "type": "address"
193729
+ },
193730
+ {
193731
+ "internalType": "uint256",
193732
+ "name": "fromAmount",
193733
+ "type": "uint256"
193734
+ },
193735
+ {
193736
+ "internalType": "uint256",
193737
+ "name": "toAmount",
193738
+ "type": "uint256"
193739
+ },
193740
+ {
193741
+ "internalType": "address[]",
193742
+ "name": "callees",
193743
+ "type": "address[]"
193744
+ },
193745
+ {
193746
+ "internalType": "bytes",
193747
+ "name": "exchangeData",
193748
+ "type": "bytes"
193749
+ },
193750
+ {
193751
+ "internalType": "uint256[]",
193752
+ "name": "startIndexes",
193753
+ "type": "uint256[]"
193754
+ },
193755
+ {
193756
+ "internalType": "uint256[]",
193757
+ "name": "values",
193758
+ "type": "uint256[]"
193759
+ },
193760
+ {
193761
+ "internalType": "address payable",
193762
+ "name": "beneficiary",
193763
+ "type": "address"
193764
+ },
193765
+ {
193766
+ "internalType": "string",
193767
+ "name": "referrer",
193768
+ "type": "string"
193769
+ },
193770
+ {
193771
+ "internalType": "bool",
193772
+ "name": "useReduxToken",
193773
+ "type": "bool"
193774
+ }
193775
+ ],
193776
+ "name": "simplBuy",
193777
+ "outputs": [],
193778
+ "stateMutability": "payable",
193779
+ "type": "function"
193780
+ },
193781
+ {
193782
+ "inputs": [
193783
+ {
193784
+ "internalType": "address",
193785
+ "name": "fromToken",
193786
+ "type": "address"
193787
+ },
193788
+ {
193789
+ "internalType": "address",
193790
+ "name": "toToken",
193791
+ "type": "address"
193792
+ },
193793
+ {
193794
+ "internalType": "uint256",
193795
+ "name": "fromAmount",
193796
+ "type": "uint256"
193797
+ },
193798
+ {
193799
+ "internalType": "uint256",
193800
+ "name": "toAmount",
193801
+ "type": "uint256"
193802
+ },
193803
+ {
193804
+ "internalType": "uint256",
193805
+ "name": "expectedAmount",
193806
+ "type": "uint256"
193807
+ },
193808
+ {
193809
+ "internalType": "address[]",
193810
+ "name": "callees",
193811
+ "type": "address[]"
193812
+ },
193813
+ {
193814
+ "internalType": "bytes",
193815
+ "name": "exchangeData",
193816
+ "type": "bytes"
193817
+ },
193818
+ {
193819
+ "internalType": "uint256[]",
193820
+ "name": "startIndexes",
193821
+ "type": "uint256[]"
193822
+ },
193823
+ {
193824
+ "internalType": "uint256[]",
193825
+ "name": "values",
193826
+ "type": "uint256[]"
193827
+ },
193828
+ {
193829
+ "internalType": "address payable",
193830
+ "name": "beneficiary",
193831
+ "type": "address"
193832
+ },
193833
+ {
193834
+ "internalType": "string",
193835
+ "name": "referrer",
193836
+ "type": "string"
193837
+ },
193838
+ {
193839
+ "internalType": "bool",
193840
+ "name": "useReduxToken",
193841
+ "type": "bool"
193842
+ }
193843
+ ],
193844
+ "name": "simpleSwap",
193845
+ "outputs": [
193846
+ {
193847
+ "internalType": "uint256",
193848
+ "name": "receivedAmount",
193849
+ "type": "uint256"
193850
+ }
193851
+ ],
193852
+ "stateMutability": "payable",
193853
+ "type": "function"
193854
+ },
193855
+ {
193856
+ "inputs": [
193857
+ {
193858
+ "internalType": "uint256",
193859
+ "name": "amountIn",
193860
+ "type": "uint256"
193861
+ },
193862
+ {
193863
+ "internalType": "uint256",
193864
+ "name": "amountOutMin",
193865
+ "type": "uint256"
193866
+ },
193867
+ {
193868
+ "internalType": "address[]",
193869
+ "name": "path",
193870
+ "type": "address[]"
193871
+ },
193872
+ {
193873
+ "internalType": "uint8",
193874
+ "name": "referrer",
193875
+ "type": "uint8"
193876
+ }
193877
+ ],
193878
+ "name": "swapOnUniswap",
193879
+ "outputs": [],
193880
+ "stateMutability": "payable",
193881
+ "type": "function"
193882
+ },
193883
+ {
193884
+ "inputs": [
193885
+ {
193886
+ "internalType": "address",
193887
+ "name": "factory",
193888
+ "type": "address"
193889
+ },
193890
+ {
193891
+ "internalType": "bytes32",
193892
+ "name": "initCode",
193893
+ "type": "bytes32"
193894
+ },
193895
+ {
193896
+ "internalType": "uint256",
193897
+ "name": "amountIn",
193898
+ "type": "uint256"
193899
+ },
193900
+ {
193901
+ "internalType": "uint256",
193902
+ "name": "amountOutMin",
193903
+ "type": "uint256"
193904
+ },
193905
+ {
193906
+ "internalType": "address[]",
193907
+ "name": "path",
193908
+ "type": "address[]"
193909
+ },
193910
+ {
193911
+ "internalType": "uint8",
193912
+ "name": "referrer",
193913
+ "type": "uint8"
193914
+ }
193915
+ ],
193916
+ "name": "swapOnUniswapFork",
193917
+ "outputs": [],
193918
+ "stateMutability": "payable",
193919
+ "type": "function"
193920
+ },
193921
+ {
193922
+ "inputs": [
193923
+ {
193924
+ "internalType": "address",
193925
+ "name": "newOwner",
193926
+ "type": "address"
193927
+ }
193928
+ ],
193929
+ "name": "transferOwnership",
193930
+ "outputs": [],
193931
+ "stateMutability": "nonpayable",
193932
+ "type": "function"
193933
+ },
193934
+ {
193935
+ "inputs": [
193936
+ {
193937
+ "internalType": "address",
193938
+ "name": "token",
193939
+ "type": "address"
193940
+ },
193941
+ {
193942
+ "internalType": "address payable",
193943
+ "name": "destination",
193944
+ "type": "address"
193945
+ },
193946
+ {
193947
+ "internalType": "uint256",
193948
+ "name": "amount",
193949
+ "type": "uint256"
193950
+ }
193951
+ ],
193952
+ "name": "transferTokens",
193953
+ "outputs": [],
193954
+ "stateMutability": "nonpayable",
193955
+ "type": "function"
193956
+ },
193957
+ {
193958
+ "inputs": [
193959
+ {
193960
+ "internalType": "contract IWETH",
193961
+ "name": "token",
193962
+ "type": "address"
193963
+ }
193964
+ ],
193965
+ "name": "withdrawAllWETH",
193966
+ "outputs": [],
193967
+ "stateMutability": "nonpayable",
193968
+ "type": "function"
193969
+ },
193970
+ {
193971
+ "stateMutability": "payable",
193972
+ "type": "receive"
193973
+ }
193974
+ ]
192709
193975
  }
192710
193976
  }