Skip to content

Commit

Permalink
Merge branch 'master' into deploy/metis-token
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Jul 30, 2024
2 parents adb8680 + 182e046 commit a524902
Show file tree
Hide file tree
Showing 54 changed files with 2,950 additions and 7,362 deletions.
584 changes: 1 addition & 583 deletions deployments/arbitrum/FastBridge.json

Large diffs are not rendered by default.

1,218 changes: 1 addition & 1,217 deletions deployments/base/FastBridge.json

Large diffs are not rendered by default.

584 changes: 1 addition & 583 deletions deployments/blast/FastBridge.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions deployments/bsc/FastBridge.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"address": "0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E",
"constructorArgs": "0x000000000000000000000000bd88862fcc17de436f7bd17276c537acadda9a67"
"address": "0x5523D3c98809DdDB82C686E152F5C58B1B0fB59E"
}
188 changes: 188 additions & 0 deletions deployments/linea/AlgebraModule.Lynex.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
{
"address": "0x8721e488c0cf6206A9eDAdFCafdd24367c5d432a",
"constructorArgs": "0x0000000000000000000000003921e8cb45b17fc029a0a6de958330ca4e58339000000000000000000000000070ceb9e0237546115e2f108f8f7658e42daf3296",
"abi": [
{
"type": "constructor",
"inputs": [
{
"name": "algebraRouter_",
"type": "address",
"internalType": "address"
},
{
"name": "algebraStaticQuoter_",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "algebraRouter",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IAlgebraRouter"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "algebraStaticQuoter",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IAlgebraStaticQuoter"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPoolQuote",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "tokenFrom",
"type": "tuple",
"internalType": "struct IndexedToken",
"components": [
{
"name": "index",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "token",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "tokenTo",
"type": "tuple",
"internalType": "struct IndexedToken",
"components": [
{
"name": "index",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "token",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "amountIn",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [
{
"name": "amountOut",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPoolTokens",
"inputs": [
{
"name": "pool",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "tokens",
"type": "address[]",
"internalType": "address[]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "poolSwap",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "tokenFrom",
"type": "tuple",
"internalType": "struct IndexedToken",
"components": [
{
"name": "index",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "token",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "tokenTo",
"type": "tuple",
"internalType": "struct IndexedToken",
"components": [
{
"name": "index",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "token",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "amountIn",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "amountOut",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
}
]
}
30 changes: 30 additions & 0 deletions deployments/linea/DefaultPoolCalc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"address": "0x0000000000Cc5af216a3E1614091a20e11bbfD32",
"constructorArgs": "0x",
"abi": [
{
"type": "function",
"name": "calculateAddLiquidity",
"inputs": [
{
"name": "pool",
"type": "address",
"internalType": "address"
},
{
"name": "amounts",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [
{
"name": "amountOut",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
}
]
}
3 changes: 3 additions & 0 deletions deployments/linea/FastBridge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"address": "0x34F52752975222d5994C206cE08C1d5B329f24dD"
}
Loading

0 comments on commit a524902

Please sign in to comment.