Created
January 17, 2023 07:15
-
-
Save developeruche/c283f85630ed649485bad9ece219ff7e to your computer and use it in GitHub Desktop.
Me Protocol Sec Module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_token0", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "_token1", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "Address", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "pool_address", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address[2]", | |
| "name": "_path", | |
| "type": "address[2]" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "_amountOut", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getAmountIn", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "amountIn_", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address[2]", | |
| "name": "_path", | |
| "type": "address[2]" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "_amountIn", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getAmountOut", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "amountOut_", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_pool", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "getPoolAddresses", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "numerator_", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "divisor_", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "initiator_", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_pool", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "getPoolFeatures", | |
| "outputs": [ | |
| { | |
| "components": [ | |
| { | |
| "internalType": "uint32", | |
| "name": "Roptimal", | |
| "type": "uint32" | |
| }, | |
| { | |
| "internalType": "uint32", | |
| "name": "Rlimit", | |
| "type": "uint32" | |
| }, | |
| { | |
| "internalType": "uint32", | |
| "name": "lastTransactionTime", | |
| "type": "uint32" | |
| }, | |
| { | |
| "internalType": "uint32", | |
| "name": "initialDivisor", | |
| "type": "uint32" | |
| }, | |
| { | |
| "internalType": "uint32", | |
| "name": "minimumDivisor", | |
| "type": "uint32" | |
| }, | |
| { | |
| "internalType": "uint32", | |
| "name": "DEFAULT_SLIPPAGE_IN_PERECENT", | |
| "type": "uint32" | |
| }, | |
| { | |
| "internalType": "bool", | |
| "name": "bidirectional", | |
| "type": "bool" | |
| } | |
| ], | |
| "internalType": "struct Dto.GetFeaturesOutput", | |
| "name": "output", | |
| "type": "tuple" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_pool", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "getPoolLocksFeatures", | |
| "outputs": [ | |
| { | |
| "internalType": "bool", | |
| "name": "swappable", | |
| "type": "bool" | |
| }, | |
| { | |
| "internalType": "bool", | |
| "name": "locked", | |
| "type": "bool" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_pool", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "getPoolR", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "r", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_pool", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "getPoolROptimal", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "roptimal_", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment