@paraswap/dex-lib 3.7.3 → 3.7.4-stata
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/dex/aave-v3-stata/aave-v3-stata.d.ts +0 -2
- package/build/dex/aave-v3-stata/aave-v3-stata.js +84 -41
- package/build/dex/aave-v3-stata/aave-v3-stata.js.map +1 -1
- package/build/dex/aave-v3-stata/tokens.d.ts +1 -0
- package/build/dex/aave-v3-stata/tokens.js +11 -5
- package/build/dex/aave-v3-stata/tokens.js.map +1 -1
- package/build/dex/balancer-v2/balancer-v2.js.map +1 -1
- package/build/dex/idle-dao/idle-dao.js +10 -8
- package/build/dex/idle-dao/idle-dao.js.map +1 -1
- package/build/dex/index.js +2 -0
- package/build/dex/index.js.map +1 -1
- package/build/dex/pancakeswap-v3/pancakeswap-v3.js +1 -0
- package/build/dex/pancakeswap-v3/pancakeswap-v3.js.map +1 -1
- package/build/dex/solidly-v3/solidly-v3.js +1 -0
- package/build/dex/solidly-v3/solidly-v3.js.map +1 -1
- package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.js +1 -0
- package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.js.map +1 -1
- package/build/dex/uniswap-v3/uniswap-v3.js +1 -0
- package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
- package/package.json +1 -1
- package/src/abi/aavev3stata/Factory.json +128 -0
- package/src/abi/aavev3stata/Token.json +735 -0
- package/src/dex/aave-v3-stata/aave-v3-stata-e2e.test.ts +355 -0
- package/src/dex/aave-v3-stata/aave-v3-stata-integration.test.ts +282 -0
- package/src/dex/aave-v3-stata/aave-v3-stata.ts +517 -0
- package/src/dex/aave-v3-stata/config.ts +61 -0
- package/src/dex/aave-v3-stata/tokens.ts +48 -0
- package/src/dex/aave-v3-stata/types.ts +69 -0
- package/src/dex/aave-v3-stata/utils.ts +84 -0
- package/src/dex/balancer-v2/balancer-v2.ts +0 -1
- package/src/dex/index.ts +2 -0
- package/src/dex/pancakeswap-v3/pancakeswap-v3.ts +2 -0
- package/src/dex/solidly-v3/solidly-v3.ts +2 -0
- package/src/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.ts +2 -0
- package/src/dex/uniswap-v3/uniswap-v3.ts +2 -0
- package/tests/constants-e2e.ts +78 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{ "internalType": "contract IPool", "name": "pool", "type": "address" },
|
|
5
|
+
{ "internalType": "address", "name": "proxyAdmin", "type": "address" },
|
|
6
|
+
{
|
|
7
|
+
"internalType": "contract ITransparentProxyFactory",
|
|
8
|
+
"name": "transparentProxyFactory",
|
|
9
|
+
"type": "address"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"internalType": "address",
|
|
13
|
+
"name": "staticATokenImpl",
|
|
14
|
+
"type": "address"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"stateMutability": "nonpayable",
|
|
18
|
+
"type": "constructor"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"anonymous": false,
|
|
22
|
+
"inputs": [
|
|
23
|
+
{
|
|
24
|
+
"indexed": false,
|
|
25
|
+
"internalType": "uint8",
|
|
26
|
+
"name": "version",
|
|
27
|
+
"type": "uint8"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"name": "Initialized",
|
|
31
|
+
"type": "event"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"anonymous": false,
|
|
35
|
+
"inputs": [
|
|
36
|
+
{
|
|
37
|
+
"indexed": true,
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "staticAToken",
|
|
40
|
+
"type": "address"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"indexed": true,
|
|
44
|
+
"internalType": "address",
|
|
45
|
+
"name": "underlying",
|
|
46
|
+
"type": "address"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"name": "StaticTokenCreated",
|
|
50
|
+
"type": "event"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"inputs": [],
|
|
54
|
+
"name": "ADMIN",
|
|
55
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
56
|
+
"stateMutability": "view",
|
|
57
|
+
"type": "function"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"inputs": [],
|
|
61
|
+
"name": "POOL",
|
|
62
|
+
"outputs": [
|
|
63
|
+
{ "internalType": "contract IPool", "name": "", "type": "address" }
|
|
64
|
+
],
|
|
65
|
+
"stateMutability": "view",
|
|
66
|
+
"type": "function"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"inputs": [],
|
|
70
|
+
"name": "STATIC_A_TOKEN_IMPL",
|
|
71
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
72
|
+
"stateMutability": "view",
|
|
73
|
+
"type": "function"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"inputs": [],
|
|
77
|
+
"name": "TRANSPARENT_PROXY_FACTORY",
|
|
78
|
+
"outputs": [
|
|
79
|
+
{
|
|
80
|
+
"internalType": "contract ITransparentProxyFactory",
|
|
81
|
+
"name": "",
|
|
82
|
+
"type": "address"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"stateMutability": "view",
|
|
86
|
+
"type": "function"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"inputs": [
|
|
90
|
+
{
|
|
91
|
+
"internalType": "address[]",
|
|
92
|
+
"name": "underlyings",
|
|
93
|
+
"type": "address[]"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"name": "createStaticATokens",
|
|
97
|
+
"outputs": [
|
|
98
|
+
{ "internalType": "address[]", "name": "", "type": "address[]" }
|
|
99
|
+
],
|
|
100
|
+
"stateMutability": "nonpayable",
|
|
101
|
+
"type": "function"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"inputs": [
|
|
105
|
+
{ "internalType": "address", "name": "underlying", "type": "address" }
|
|
106
|
+
],
|
|
107
|
+
"name": "getStaticAToken",
|
|
108
|
+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
109
|
+
"stateMutability": "view",
|
|
110
|
+
"type": "function"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"inputs": [],
|
|
114
|
+
"name": "getStaticATokens",
|
|
115
|
+
"outputs": [
|
|
116
|
+
{ "internalType": "address[]", "name": "", "type": "address[]" }
|
|
117
|
+
],
|
|
118
|
+
"stateMutability": "view",
|
|
119
|
+
"type": "function"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"inputs": [],
|
|
123
|
+
"name": "initialize",
|
|
124
|
+
"outputs": [],
|
|
125
|
+
"stateMutability": "nonpayable",
|
|
126
|
+
"type": "function"
|
|
127
|
+
}
|
|
128
|
+
]
|