Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aburkut/back 1791 aave stata v2 #868

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paraswap/dex-lib",
"version": "4.0.9",
"version": "4.0.10-aave-v3-stata-v2.2",
"main": "build/index.js",
"types": "build/index.d.ts",
"repository": "https://github.com/paraswap/paraswap-dex-lib",
Expand Down Expand Up @@ -54,7 +54,7 @@
"@0x/utils": "^4.5.2",
"@balancer-labs/balancer-maths": "^0.0.19",
"@balancer-labs/sor": "4.1.1-beta.4",
"@bgd-labs/aave-address-book": "2.21.1",
"@bgd-labs/aave-address-book": "4.7.0",
aburkut marked this conversation as resolved.
Show resolved Hide resolved
"@ethersproject/abi": "^5.7.0",
"@hashflow/sdk": "^2.2.7",
"@hashflow/taker-js": "^0.3.7",
Expand Down
131 changes: 131 additions & 0 deletions src/abi/aavev3statav2/Factory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
[
{
"inputs": [
{ "internalType": "contract IPool", "name": "pool", "type": "address" },
{ "internalType": "address", "name": "proxyAdmin", "type": "address" },
{
"internalType": "contract ITransparentProxyFactory",
"name": "transparentProxyFactory",
"type": "address"
},
{ "internalType": "address", "name": "stataTokenImpl", "type": "address" }
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{ "internalType": "address", "name": "underlying", "type": "address" }
],
"name": "NotListedUnderlying",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "stataToken",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "underlying",
"type": "address"
}
],
"name": "StataTokenCreated",
"type": "event"
},
{
"inputs": [],
"name": "POOL",
"outputs": [
{ "internalType": "contract IPool", "name": "", "type": "address" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "PROXY_ADMIN",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "STATA_TOKEN_IMPL",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "TRANSPARENT_PROXY_FACTORY",
"outputs": [
{
"internalType": "contract ITransparentProxyFactory",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "underlyings",
"type": "address[]"
}
],
"name": "createStataTokens",
"outputs": [
{ "internalType": "address[]", "name": "", "type": "address[]" }
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "underlying", "type": "address" }
],
"name": "getStataToken",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getStataTokens",
"outputs": [
{ "internalType": "address[]", "name": "", "type": "address[]" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
Loading
Loading