@paraswap/dex-lib 4.7.18-before-multi-route.0 → 4.7.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/abi/PendleRouterStatic.json +19 -0
- package/build/abi/apex-defi/ApexDefiFactory.abi.json +1749 -0
- package/build/abi/apex-defi/ApexDefiRouter.abi.json +1120 -0
- package/build/abi/apex-defi/ApexDefiToken.abi.json +229 -0
- package/build/abi/apex-defi/ApexDefiWrapper.abi.json +92 -0
- package/build/abi/apex-defi/ApexDefiWrapperFactory.abi.json +1107 -0
- package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
- package/build/abi/pendle/pendle-deployer.abi.json +520 -0
- package/build/abi/pendle/pendle-oracle.abi.json +413 -0
- package/build/abi/pharaoh-v3/PharaohV3Factory.abi.json +101 -0
- package/build/abi/ring-v2/few-wrapped-token.json +587 -0
- package/build/abi/ring-v2/ring-v2-factory.json +125 -0
- package/build/abi/ring-v2/ring-v2-pool.json +461 -0
- package/build/abi/ring-v2/ring-v2-router.json +332 -0
- package/build/abi/stabull/stabull-curve.json +738 -0
- package/build/abi/stabull/stabull-router.json +76 -0
- package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +26 -0
- package/build/abi/uniswap-v4/hooks/SpotHook.json +54 -0
- package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +45 -0
- package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +682 -0
- package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +1335 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +29 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +153 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +40 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +323 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/config.d.ts +3 -0
- package/build/dex/aave-pt-to-underlying/config.js +24 -0
- package/build/dex/aave-pt-to-underlying/config.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/constants.d.ts +2 -0
- package/build/dex/aave-pt-to-underlying/constants.js +6 -0
- package/build/dex/aave-pt-to-underlying/constants.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/types.d.ts +24 -0
- package/build/dex/aave-pt-to-underlying/types.js +3 -0
- package/build/dex/aave-pt-to-underlying/types.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +39 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +244 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
- package/build/dex/aave-pt-to-usdc/config.js +47 -0
- package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/constants.d.ts +2 -0
- package/build/dex/aave-pt-to-usdc/constants.js +6 -0
- package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/types.d.ts +22 -0
- package/build/dex/aave-pt-to-usdc/types.js +3 -0
- package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
- package/build/dex/apex-defi/apex-defi-factory.d.ts +26 -0
- package/build/dex/apex-defi/apex-defi-factory.js +53 -0
- package/build/dex/apex-defi/apex-defi-factory.js.map +1 -0
- package/build/dex/apex-defi/apex-defi-pool.d.ts +55 -0
- package/build/dex/apex-defi/apex-defi-pool.js +247 -0
- package/build/dex/apex-defi/apex-defi-pool.js.map +1 -0
- package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +57 -0
- package/build/dex/apex-defi/apex-defi-wrapper-factory.js +250 -0
- package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +1 -0
- package/build/dex/apex-defi/apex-defi.d.ts +97 -0
- package/build/dex/apex-defi/apex-defi.js +1021 -0
- package/build/dex/apex-defi/apex-defi.js.map +1 -0
- package/build/dex/apex-defi/config.d.ts +4 -0
- package/build/dex/apex-defi/config.js +138 -0
- package/build/dex/apex-defi/config.js.map +1 -0
- package/build/dex/apex-defi/types.d.ts +32 -0
- package/build/dex/apex-defi/types.js +3 -0
- package/build/dex/apex-defi/types.js.map +1 -0
- package/build/dex/apex-defi/utils.d.ts +46 -0
- package/build/dex/apex-defi/utils.js +133 -0
- package/build/dex/apex-defi/utils.js.map +1 -0
- package/build/dex/idle-dao/idle-dao.d.ts +0 -1
- package/build/dex/idle-dao/idle-dao.js +11 -23
- package/build/dex/idle-dao/idle-dao.js.map +1 -1
- package/build/dex/maker-psm/maker-psm.d.ts +41 -4
- package/build/dex/maker-psm/maker-psm.js +143 -40
- package/build/dex/maker-psm/maker-psm.js.map +1 -1
- package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
- package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
- package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
- package/build/dex/simple-exchange.js +1 -7
- package/build/dex/simple-exchange.js.map +1 -1
- package/build/dex/stabull/config.d.ts +3 -0
- package/build/dex/stabull/config.js +177 -0
- package/build/dex/stabull/config.js.map +1 -0
- package/build/dex/stabull/stabull-pool.d.ts +46 -0
- package/build/dex/stabull/stabull-pool.js +113 -0
- package/build/dex/stabull/stabull-pool.js.map +1 -0
- package/build/dex/stabull/stabull.d.ts +55 -0
- package/build/dex/stabull/stabull.js +286 -0
- package/build/dex/stabull/stabull.js.map +1 -0
- package/build/dex/stabull/types.d.ts +21 -0
- package/build/dex/stabull/types.js +3 -0
- package/build/dex/stabull/types.js.map +1 -0
- package/build/dex/uniswap-v2/constants.js +2 -0
- package/build/dex/uniswap-v2/constants.js.map +1 -1
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
- package/build/dex/uniswap-v4/config.js +2 -0
- package/build/dex/uniswap-v4/config.js.map +1 -1
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.d.ts +2 -1
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.js +28 -9
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.js.map +1 -1
- package/build/dex/uniswap-v4/hooks/arena/arena-hook.js +4 -4
- package/build/dex/uniswap-v4/hooks/arena/arena-hook.js.map +1 -1
- package/build/dex/uniswap-v4/hooks/arena.d.ts +6 -0
- package/build/dex/uniswap-v4/hooks/arena.js +10 -0
- package/build/dex/uniswap-v4/hooks/arena.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js +2 -0
- package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/index.d.ts +1 -0
- package/build/dex/uniswap-v4/hooks/index.js +18 -0
- package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/spot.d.ts +15 -0
- package/build/dex/uniswap-v4/hooks/spot.js +109 -0
- package/build/dex/uniswap-v4/hooks/spot.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/template.d.ts +150 -0
- package/build/dex/uniswap-v4/hooks/template.js +104 -0
- package/build/dex/uniswap-v4/hooks/template.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/types.d.ts +4 -0
- package/build/dex/uniswap-v4/subgraph.d.ts +4 -4
- package/build/dex/uniswap-v4/subgraph.js +24 -21
- package/build/dex/uniswap-v4/subgraph.js.map +1 -1
- package/build/dex/uniswap-v4/types.d.ts +2 -0
- package/build/dex/uniswap-v4/uniswap-v4-pool-manager.d.ts +7 -1
- package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js +54 -9
- package/build/dex/uniswap-v4/uniswap-v4-pool-manager.js.map +1 -1
- package/build/dex/uniswap-v4/uniswap-v4-pool.d.ts +3 -1
- package/build/dex/uniswap-v4/uniswap-v4-pool.js +3 -1
- package/build/dex/uniswap-v4/uniswap-v4-pool.js.map +1 -1
- package/build/dex/uniswap-v4/uniswap-v4.d.ts +3 -1
- package/build/dex/uniswap-v4/uniswap-v4.js +15 -5
- package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -1
- package/build/dex/uniswap-v4/utils.d.ts +2 -1
- package/build/dex/uniswap-v4/utils.js +11 -0
- package/build/dex/uniswap-v4/utils.js.map +1 -1
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
- package/build/dex/usual/usual-usdc-usdc.d.ts +17 -0
- package/build/dex/usual/usual-usdc-usdc.js +59 -0
- package/build/dex/usual/usual-usdc-usdc.js.map +1 -0
- package/build/dex/yo/config.d.ts +3 -0
- package/build/dex/yo/config.js +21 -0
- package/build/dex/yo/config.js.map +1 -0
- package/build/dex/yo/types.d.ts +13 -0
- package/build/dex/yo/types.js +3 -0
- package/build/dex/yo/types.js.map +1 -0
- package/build/dex/yo/yo-pool.d.ts +13 -0
- package/build/dex/yo/yo-pool.js +26 -0
- package/build/dex/yo/yo-pool.js.map +1 -0
- package/build/dex/yo/yo.d.ts +39 -0
- package/build/dex/yo/yo.js +248 -0
- package/build/dex/yo/yo.js.map +1 -0
- package/build/implementations/api-paraswap-sdk.d.ts +25 -0
- package/build/implementations/api-paraswap-sdk.js +102 -0
- package/build/implementations/api-paraswap-sdk.js.map +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{ "internalType": "address", "name": "_feeToSetter", "type": "address" }
|
|
5
|
+
],
|
|
6
|
+
"payable": false,
|
|
7
|
+
"stateMutability": "nonpayable",
|
|
8
|
+
"type": "constructor"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"anonymous": false,
|
|
12
|
+
"inputs": [
|
|
13
|
+
{
|
|
14
|
+
"indexed": true,
|
|
15
|
+
"internalType": "address",
|
|
16
|
+
"name": "token0",
|
|
17
|
+
"type": "address"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"indexed": true,
|
|
21
|
+
"internalType": "address",
|
|
22
|
+
"name": "token1",
|
|
23
|
+
"type": "address"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"indexed": false,
|
|
27
|
+
"internalType": "address",
|
|
28
|
+
"name": "pair",
|
|
29
|
+
"type": "address"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"indexed": false,
|
|
33
|
+
"internalType": "uint256",
|
|
34
|
+
"name": "",
|
|
35
|
+
"type": "uint256"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"name": "PairCreated",
|
|
39
|
+
"type": "event"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"constant": true,
|
|
43
|
+
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
44
|
+
"name": "allPairs",
|
|
45
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
46
|
+
"payable": false,
|
|
47
|
+
"stateMutability": "view",
|
|
48
|
+
"type": "function"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"constant": true,
|
|
52
|
+
"inputs": [],
|
|
53
|
+
"name": "allPairsLength",
|
|
54
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
55
|
+
"payable": false,
|
|
56
|
+
"stateMutability": "view",
|
|
57
|
+
"type": "function"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"constant": false,
|
|
61
|
+
"inputs": [
|
|
62
|
+
{ "internalType": "address", "name": "tokenA", "type": "address" },
|
|
63
|
+
{ "internalType": "address", "name": "tokenB", "type": "address" }
|
|
64
|
+
],
|
|
65
|
+
"name": "createPair",
|
|
66
|
+
"outputs": [
|
|
67
|
+
{ "internalType": "address", "name": "pair", "type": "address" }
|
|
68
|
+
],
|
|
69
|
+
"payable": false,
|
|
70
|
+
"stateMutability": "nonpayable",
|
|
71
|
+
"type": "function"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"constant": true,
|
|
75
|
+
"inputs": [],
|
|
76
|
+
"name": "feeTo",
|
|
77
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
78
|
+
"payable": false,
|
|
79
|
+
"stateMutability": "view",
|
|
80
|
+
"type": "function"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"constant": true,
|
|
84
|
+
"inputs": [],
|
|
85
|
+
"name": "feeToSetter",
|
|
86
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
87
|
+
"payable": false,
|
|
88
|
+
"stateMutability": "view",
|
|
89
|
+
"type": "function"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"constant": true,
|
|
93
|
+
"inputs": [
|
|
94
|
+
{ "internalType": "address", "name": "", "type": "address" },
|
|
95
|
+
{ "internalType": "address", "name": "", "type": "address" }
|
|
96
|
+
],
|
|
97
|
+
"name": "getPair",
|
|
98
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
99
|
+
"payable": false,
|
|
100
|
+
"stateMutability": "view",
|
|
101
|
+
"type": "function"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"constant": false,
|
|
105
|
+
"inputs": [
|
|
106
|
+
{ "internalType": "address", "name": "_feeTo", "type": "address" }
|
|
107
|
+
],
|
|
108
|
+
"name": "setFeeTo",
|
|
109
|
+
"outputs": [],
|
|
110
|
+
"payable": false,
|
|
111
|
+
"stateMutability": "nonpayable",
|
|
112
|
+
"type": "function"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"constant": false,
|
|
116
|
+
"inputs": [
|
|
117
|
+
{ "internalType": "address", "name": "_feeToSetter", "type": "address" }
|
|
118
|
+
],
|
|
119
|
+
"name": "setFeeToSetter",
|
|
120
|
+
"outputs": [],
|
|
121
|
+
"payable": false,
|
|
122
|
+
"stateMutability": "nonpayable",
|
|
123
|
+
"type": "function"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [],
|
|
4
|
+
"payable": false,
|
|
5
|
+
"stateMutability": "nonpayable",
|
|
6
|
+
"type": "constructor"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"anonymous": false,
|
|
10
|
+
"inputs": [
|
|
11
|
+
{
|
|
12
|
+
"indexed": true,
|
|
13
|
+
"internalType": "address",
|
|
14
|
+
"name": "owner",
|
|
15
|
+
"type": "address"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"indexed": true,
|
|
19
|
+
"internalType": "address",
|
|
20
|
+
"name": "spender",
|
|
21
|
+
"type": "address"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"indexed": false,
|
|
25
|
+
"internalType": "uint256",
|
|
26
|
+
"name": "value",
|
|
27
|
+
"type": "uint256"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"name": "Approval",
|
|
31
|
+
"type": "event"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"anonymous": false,
|
|
35
|
+
"inputs": [
|
|
36
|
+
{
|
|
37
|
+
"indexed": true,
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "sender",
|
|
40
|
+
"type": "address"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"indexed": false,
|
|
44
|
+
"internalType": "uint256",
|
|
45
|
+
"name": "amount0",
|
|
46
|
+
"type": "uint256"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"indexed": false,
|
|
50
|
+
"internalType": "uint256",
|
|
51
|
+
"name": "amount1",
|
|
52
|
+
"type": "uint256"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"indexed": true,
|
|
56
|
+
"internalType": "address",
|
|
57
|
+
"name": "to",
|
|
58
|
+
"type": "address"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"name": "Burn",
|
|
62
|
+
"type": "event"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"anonymous": false,
|
|
66
|
+
"inputs": [
|
|
67
|
+
{
|
|
68
|
+
"indexed": true,
|
|
69
|
+
"internalType": "address",
|
|
70
|
+
"name": "sender",
|
|
71
|
+
"type": "address"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"indexed": false,
|
|
75
|
+
"internalType": "uint256",
|
|
76
|
+
"name": "amount0",
|
|
77
|
+
"type": "uint256"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"indexed": false,
|
|
81
|
+
"internalType": "uint256",
|
|
82
|
+
"name": "amount1",
|
|
83
|
+
"type": "uint256"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"name": "Mint",
|
|
87
|
+
"type": "event"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"anonymous": false,
|
|
91
|
+
"inputs": [
|
|
92
|
+
{
|
|
93
|
+
"indexed": true,
|
|
94
|
+
"internalType": "address",
|
|
95
|
+
"name": "sender",
|
|
96
|
+
"type": "address"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"indexed": false,
|
|
100
|
+
"internalType": "uint256",
|
|
101
|
+
"name": "amount0In",
|
|
102
|
+
"type": "uint256"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"indexed": false,
|
|
106
|
+
"internalType": "uint256",
|
|
107
|
+
"name": "amount1In",
|
|
108
|
+
"type": "uint256"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"indexed": false,
|
|
112
|
+
"internalType": "uint256",
|
|
113
|
+
"name": "amount0Out",
|
|
114
|
+
"type": "uint256"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"indexed": false,
|
|
118
|
+
"internalType": "uint256",
|
|
119
|
+
"name": "amount1Out",
|
|
120
|
+
"type": "uint256"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"indexed": true,
|
|
124
|
+
"internalType": "address",
|
|
125
|
+
"name": "to",
|
|
126
|
+
"type": "address"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"name": "Swap",
|
|
130
|
+
"type": "event"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"anonymous": false,
|
|
134
|
+
"inputs": [
|
|
135
|
+
{
|
|
136
|
+
"indexed": false,
|
|
137
|
+
"internalType": "uint112",
|
|
138
|
+
"name": "reserve0",
|
|
139
|
+
"type": "uint112"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"indexed": false,
|
|
143
|
+
"internalType": "uint112",
|
|
144
|
+
"name": "reserve1",
|
|
145
|
+
"type": "uint112"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"name": "Sync",
|
|
149
|
+
"type": "event"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"anonymous": false,
|
|
153
|
+
"inputs": [
|
|
154
|
+
{
|
|
155
|
+
"indexed": true,
|
|
156
|
+
"internalType": "address",
|
|
157
|
+
"name": "from",
|
|
158
|
+
"type": "address"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"indexed": true,
|
|
162
|
+
"internalType": "address",
|
|
163
|
+
"name": "to",
|
|
164
|
+
"type": "address"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"indexed": false,
|
|
168
|
+
"internalType": "uint256",
|
|
169
|
+
"name": "value",
|
|
170
|
+
"type": "uint256"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"name": "Transfer",
|
|
174
|
+
"type": "event"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"constant": true,
|
|
178
|
+
"inputs": [],
|
|
179
|
+
"name": "DOMAIN_SEPARATOR",
|
|
180
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
181
|
+
"payable": false,
|
|
182
|
+
"stateMutability": "view",
|
|
183
|
+
"type": "function"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"constant": true,
|
|
187
|
+
"inputs": [],
|
|
188
|
+
"name": "MINIMUM_LIQUIDITY",
|
|
189
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
190
|
+
"payable": false,
|
|
191
|
+
"stateMutability": "view",
|
|
192
|
+
"type": "function"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"constant": true,
|
|
196
|
+
"inputs": [],
|
|
197
|
+
"name": "PERMIT_TYPEHASH",
|
|
198
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
199
|
+
"payable": false,
|
|
200
|
+
"stateMutability": "view",
|
|
201
|
+
"type": "function"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"constant": true,
|
|
205
|
+
"inputs": [
|
|
206
|
+
{ "internalType": "address", "name": "", "type": "address" },
|
|
207
|
+
{ "internalType": "address", "name": "", "type": "address" }
|
|
208
|
+
],
|
|
209
|
+
"name": "allowance",
|
|
210
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
211
|
+
"payable": false,
|
|
212
|
+
"stateMutability": "view",
|
|
213
|
+
"type": "function"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"constant": false,
|
|
217
|
+
"inputs": [
|
|
218
|
+
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
219
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" }
|
|
220
|
+
],
|
|
221
|
+
"name": "approve",
|
|
222
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
223
|
+
"payable": false,
|
|
224
|
+
"stateMutability": "nonpayable",
|
|
225
|
+
"type": "function"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"constant": true,
|
|
229
|
+
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
230
|
+
"name": "balanceOf",
|
|
231
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
232
|
+
"payable": false,
|
|
233
|
+
"stateMutability": "view",
|
|
234
|
+
"type": "function"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"constant": false,
|
|
238
|
+
"inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
|
|
239
|
+
"name": "burn",
|
|
240
|
+
"outputs": [
|
|
241
|
+
{ "internalType": "uint256", "name": "amount0", "type": "uint256" },
|
|
242
|
+
{ "internalType": "uint256", "name": "amount1", "type": "uint256" }
|
|
243
|
+
],
|
|
244
|
+
"payable": false,
|
|
245
|
+
"stateMutability": "nonpayable",
|
|
246
|
+
"type": "function"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"constant": true,
|
|
250
|
+
"inputs": [],
|
|
251
|
+
"name": "decimals",
|
|
252
|
+
"outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
|
|
253
|
+
"payable": false,
|
|
254
|
+
"stateMutability": "view",
|
|
255
|
+
"type": "function"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"constant": true,
|
|
259
|
+
"inputs": [],
|
|
260
|
+
"name": "factory",
|
|
261
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
262
|
+
"payable": false,
|
|
263
|
+
"stateMutability": "view",
|
|
264
|
+
"type": "function"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"constant": true,
|
|
268
|
+
"inputs": [],
|
|
269
|
+
"name": "getReserves",
|
|
270
|
+
"outputs": [
|
|
271
|
+
{ "internalType": "uint112", "name": "_reserve0", "type": "uint112" },
|
|
272
|
+
{ "internalType": "uint112", "name": "_reserve1", "type": "uint112" },
|
|
273
|
+
{
|
|
274
|
+
"internalType": "uint32",
|
|
275
|
+
"name": "_blockTimestampLast",
|
|
276
|
+
"type": "uint32"
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"payable": false,
|
|
280
|
+
"stateMutability": "view",
|
|
281
|
+
"type": "function"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"constant": false,
|
|
285
|
+
"inputs": [
|
|
286
|
+
{ "internalType": "address", "name": "_token0", "type": "address" },
|
|
287
|
+
{ "internalType": "address", "name": "_token1", "type": "address" }
|
|
288
|
+
],
|
|
289
|
+
"name": "initialize",
|
|
290
|
+
"outputs": [],
|
|
291
|
+
"payable": false,
|
|
292
|
+
"stateMutability": "nonpayable",
|
|
293
|
+
"type": "function"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"constant": true,
|
|
297
|
+
"inputs": [],
|
|
298
|
+
"name": "kLast",
|
|
299
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
300
|
+
"payable": false,
|
|
301
|
+
"stateMutability": "view",
|
|
302
|
+
"type": "function"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"constant": false,
|
|
306
|
+
"inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
|
|
307
|
+
"name": "mint",
|
|
308
|
+
"outputs": [
|
|
309
|
+
{ "internalType": "uint256", "name": "liquidity", "type": "uint256" }
|
|
310
|
+
],
|
|
311
|
+
"payable": false,
|
|
312
|
+
"stateMutability": "nonpayable",
|
|
313
|
+
"type": "function"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"constant": true,
|
|
317
|
+
"inputs": [],
|
|
318
|
+
"name": "name",
|
|
319
|
+
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
|
320
|
+
"payable": false,
|
|
321
|
+
"stateMutability": "view",
|
|
322
|
+
"type": "function"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"constant": true,
|
|
326
|
+
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
327
|
+
"name": "nonces",
|
|
328
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
329
|
+
"payable": false,
|
|
330
|
+
"stateMutability": "view",
|
|
331
|
+
"type": "function"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"constant": false,
|
|
335
|
+
"inputs": [
|
|
336
|
+
{ "internalType": "address", "name": "owner", "type": "address" },
|
|
337
|
+
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
338
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" },
|
|
339
|
+
{ "internalType": "uint256", "name": "deadline", "type": "uint256" },
|
|
340
|
+
{ "internalType": "uint8", "name": "v", "type": "uint8" },
|
|
341
|
+
{ "internalType": "bytes32", "name": "r", "type": "bytes32" },
|
|
342
|
+
{ "internalType": "bytes32", "name": "s", "type": "bytes32" }
|
|
343
|
+
],
|
|
344
|
+
"name": "permit",
|
|
345
|
+
"outputs": [],
|
|
346
|
+
"payable": false,
|
|
347
|
+
"stateMutability": "nonpayable",
|
|
348
|
+
"type": "function"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"constant": true,
|
|
352
|
+
"inputs": [],
|
|
353
|
+
"name": "price0CumulativeLast",
|
|
354
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
355
|
+
"payable": false,
|
|
356
|
+
"stateMutability": "view",
|
|
357
|
+
"type": "function"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"constant": true,
|
|
361
|
+
"inputs": [],
|
|
362
|
+
"name": "price1CumulativeLast",
|
|
363
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
364
|
+
"payable": false,
|
|
365
|
+
"stateMutability": "view",
|
|
366
|
+
"type": "function"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"constant": false,
|
|
370
|
+
"inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
|
|
371
|
+
"name": "skim",
|
|
372
|
+
"outputs": [],
|
|
373
|
+
"payable": false,
|
|
374
|
+
"stateMutability": "nonpayable",
|
|
375
|
+
"type": "function"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"constant": false,
|
|
379
|
+
"inputs": [
|
|
380
|
+
{ "internalType": "uint256", "name": "amount0Out", "type": "uint256" },
|
|
381
|
+
{ "internalType": "uint256", "name": "amount1Out", "type": "uint256" },
|
|
382
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
|
383
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
|
384
|
+
],
|
|
385
|
+
"name": "swap",
|
|
386
|
+
"outputs": [],
|
|
387
|
+
"payable": false,
|
|
388
|
+
"stateMutability": "nonpayable",
|
|
389
|
+
"type": "function"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"constant": true,
|
|
393
|
+
"inputs": [],
|
|
394
|
+
"name": "symbol",
|
|
395
|
+
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
|
396
|
+
"payable": false,
|
|
397
|
+
"stateMutability": "view",
|
|
398
|
+
"type": "function"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"constant": false,
|
|
402
|
+
"inputs": [],
|
|
403
|
+
"name": "sync",
|
|
404
|
+
"outputs": [],
|
|
405
|
+
"payable": false,
|
|
406
|
+
"stateMutability": "nonpayable",
|
|
407
|
+
"type": "function"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"constant": true,
|
|
411
|
+
"inputs": [],
|
|
412
|
+
"name": "token0",
|
|
413
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
414
|
+
"payable": false,
|
|
415
|
+
"stateMutability": "view",
|
|
416
|
+
"type": "function"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"constant": true,
|
|
420
|
+
"inputs": [],
|
|
421
|
+
"name": "token1",
|
|
422
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
423
|
+
"payable": false,
|
|
424
|
+
"stateMutability": "view",
|
|
425
|
+
"type": "function"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"constant": true,
|
|
429
|
+
"inputs": [],
|
|
430
|
+
"name": "totalSupply",
|
|
431
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
432
|
+
"payable": false,
|
|
433
|
+
"stateMutability": "view",
|
|
434
|
+
"type": "function"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"constant": false,
|
|
438
|
+
"inputs": [
|
|
439
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
|
440
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" }
|
|
441
|
+
],
|
|
442
|
+
"name": "transfer",
|
|
443
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
444
|
+
"payable": false,
|
|
445
|
+
"stateMutability": "nonpayable",
|
|
446
|
+
"type": "function"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"constant": false,
|
|
450
|
+
"inputs": [
|
|
451
|
+
{ "internalType": "address", "name": "from", "type": "address" },
|
|
452
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
|
453
|
+
{ "internalType": "uint256", "name": "value", "type": "uint256" }
|
|
454
|
+
],
|
|
455
|
+
"name": "transferFrom",
|
|
456
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
457
|
+
"payable": false,
|
|
458
|
+
"stateMutability": "nonpayable",
|
|
459
|
+
"type": "function"
|
|
460
|
+
}
|
|
461
|
+
]
|