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