Created
February 24, 2021 17:10
-
-
Save mudgen/5da65e965e05ba08354f003aa86e6587 to your computer and use it in GitHub Desktop.
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
| [ | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "internalType": "address", | |
| "name": "depositor", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "internalType": "address", | |
| "name": "depositReceiver", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "internalType": "address", | |
| "name": "rootToken", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "internalType": "uint256", | |
| "name": "amount", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "LockedERC20", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "internalType": "address", | |
| "name": "userAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "internalType": "address payable", | |
| "name": "relayerAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": false, | |
| "internalType": "bytes", | |
| "name": "functionSignature", | |
| "type": "bytes" | |
| } | |
| ], | |
| "name": "MetaTransactionExecuted", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "internalType": "address", | |
| "name": "_previousMapper", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "internalType": "address", | |
| "name": "_newMapper", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "SetMapper", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "internalType": "address", | |
| "name": "_previousOwner", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "internalType": "address", | |
| "name": "_newOwner", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "SetOwner", | |
| "type": "event" | |
| }, | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": true, | |
| "internalType": "address", | |
| "name": "rootToken", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "internalType": "address", | |
| "name": "childToken", | |
| "type": "address" | |
| }, | |
| { | |
| "indexed": true, | |
| "internalType": "bytes32", | |
| "name": "tokenType", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "TokenMapped", | |
| "type": "event" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "DEPOSIT", | |
| "outputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "ERC712_VERSION", | |
| "outputs": [ | |
| { | |
| "internalType": "string", | |
| "name": "", | |
| "type": "string" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "MAPPER_ROLE", | |
| "outputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "MAP_TOKEN", | |
| "outputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "TRANSFER_EVENT_SIG", | |
| "outputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "checkpointManagerAddress", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_childToken", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "childToRootToken", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "rootToken", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "childTokenAddress", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "childToken_", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "user", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "rootToken", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "bytes", | |
| "name": "depositData", | |
| "type": "bytes" | |
| } | |
| ], | |
| "name": "depositFor", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "userAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "bytes", | |
| "name": "functionSignature", | |
| "type": "bytes" | |
| }, | |
| { | |
| "internalType": "bytes32", | |
| "name": "sigR", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "internalType": "bytes32", | |
| "name": "sigS", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "internalType": "uint8", | |
| "name": "sigV", | |
| "type": "uint8" | |
| } | |
| ], | |
| "name": "executeMetaTransaction", | |
| "outputs": [ | |
| { | |
| "internalType": "bytes", | |
| "name": "", | |
| "type": "bytes" | |
| } | |
| ], | |
| "stateMutability": "payable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "bytes", | |
| "name": "inputData", | |
| "type": "bytes" | |
| } | |
| ], | |
| "name": "exit", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_aTokenAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "_maTokenValue", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getATokenValue", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "aTokenValue_", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "getChainId", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "pure", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "getDomainSeperator", | |
| "outputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_aTokenAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "_aTokenValue", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "getMATokenValue", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "maTokenValue_", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "user", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "getNonce", | |
| "outputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "nonce", | |
| "type": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "uint256", | |
| "name": "", | |
| "type": "uint256" | |
| } | |
| ], | |
| "name": "headerBlocks", | |
| "outputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "root", | |
| "type": "bytes32" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "start", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "end", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "uint256", | |
| "name": "createdAt", | |
| "type": "uint256" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "proposer", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_owner", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "_stateSender", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "_checkpointManager", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "address", | |
| "name": "_childChainManagerAddress", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "bytes32", | |
| "name": "_childTokenBytecodeHash", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "initialize", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "rootToken", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "mapToken", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "mapper", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "owner", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "_exitHash", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "processedExits", | |
| "outputs": [ | |
| { | |
| "internalType": "bool", | |
| "name": "", | |
| "type": "bool" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "rootToken", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "remapToken", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_rootToken", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "rootToChildToken", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "newCheckpointManager", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "setCheckpointManager", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "newChildChainManager", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "setChildChainManagerAddress", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "newChildChainManager", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "bytes32", | |
| "name": "newChildTokenBytecodeHash", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "setChildChainManagerAddressAndChildTokenBytecodeHash", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "bytes32", | |
| "name": "newChildTokenBytecodeHash", | |
| "type": "bytes32" | |
| } | |
| ], | |
| "name": "setChildTokenBytecodeHash", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_newMapper", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "setMapper", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_newOwner", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "setOwner", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "newStateSender", | |
| "type": "address" | |
| } | |
| ], | |
| "name": "setStateSender", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "stateSender", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "stateSenderAddress", | |
| "outputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "", | |
| "type": "address" | |
| } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "stateMutability": "payable", | |
| "type": "receive" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment