import { AbiItem } from 'web3-utils' ; const POS_ROOT_CHAIN_MANAGER_ABI = [ { 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 : 'bytes32' , name : 'tokenType' , type : 'bytes32' } , { indexed : true , internalType : 'address' , name : 'predicateAddress' , type : 'address' } ] , name : 'PredicateRegistered' , type : 'event' } , { anonymous : false , inputs : [ { indexed : true , internalType : 'bytes32' , name : 'role' , type : 'bytes32' } , { indexed : true , internalType : 'bytes32' , name : 'previousAdminRole' , type : 'bytes32' } , { indexed : true , internalType : 'bytes32' , name : 'newAdminRole' , type : 'bytes32' } ] , name : 'RoleAdminChanged' , type : 'event' } , { anonymous : false , inputs : [ { indexed : true , internalType : 'bytes32' , name : 'role' , type : 'bytes32' } , { indexed : true , internalType : 'address' , name : 'account' , type : 'address' } , { indexed : true , internalType : 'address' , name : 'sender' , type : 'address' } ] , name : 'RoleGranted' , type : 'event' } , { anonymous : false , inputs : [ { indexed : true , internalType : 'bytes32' , name : 'role' , type : 'bytes32' } , { indexed : true , internalType : 'address' , name : 'account' , type : 'address' } , { indexed : true , internalType : 'address' , name : 'sender' , type : 'address' } ] , name : 'RoleRevoked' , 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 : 'DEFAULT_ADMIN_ROLE' , outputs : [ { internalType : 'bytes32' , name : '' , type : 'bytes32' } ] , stateMutability : 'view' , type : 'function' } , { 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 : 'ETHER_ADDRESS' , outputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , 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 : 'checkpointManagerAddress' , outputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ ] , name : 'childChainManagerAddress' , outputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , name : 'childToRootToken' , outputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'address' , name : 'rootToken' , type : 'address' } , { internalType : 'address' , name : 'childToken' , type : 'address' } ] , name : 'cleanMapToken' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'address' , name : 'user' , type : 'address' } ] , name : 'depositEtherFor' , outputs : [ ] , stateMutability : 'payable' , 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 : [ ] , 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 : 'user' , type : 'address' } ] , name : 'getNonce' , outputs : [ { internalType : 'uint256' , name : 'nonce' , type : 'uint256' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : 'role' , type : 'bytes32' } ] , name : 'getRoleAdmin' , outputs : [ { internalType : 'bytes32' , name : '' , type : 'bytes32' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : 'role' , type : 'bytes32' } , { internalType : 'uint256' , name : 'index' , type : 'uint256' } ] , name : 'getRoleMember' , outputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : 'role' , type : 'bytes32' } ] , name : 'getRoleMemberCount' , outputs : [ { internalType : 'uint256' , name : '' , type : 'uint256' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : 'role' , type : 'bytes32' } , { internalType : 'address' , name : 'account' , type : 'address' } ] , name : 'grantRole' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : 'role' , type : 'bytes32' } , { internalType : 'address' , name : 'account' , type : 'address' } ] , name : 'hasRole' , outputs : [ { internalType : 'bool' , name : '' , type : 'bool' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'address' , name : '_owner' , type : 'address' } ] , name : 'initialize' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ ] , name : 'initializeEIP712' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'address' , name : 'rootToken' , type : 'address' } , { internalType : 'address' , name : 'childToken' , type : 'address' } , { internalType : 'bytes32' , name : 'tokenType' , type : 'bytes32' } ] , name : 'mapToken' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : '' , type : 'bytes32' } ] , name : 'processedExits' , outputs : [ { internalType : 'bool' , name : '' , type : 'bool' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : 'tokenType' , type : 'bytes32' } , { internalType : 'address' , name : 'predicateAddress' , type : 'address' } ] , name : 'registerPredicate' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'address' , name : 'rootToken' , type : 'address' } , { internalType : 'address' , name : 'childToken' , type : 'address' } , { internalType : 'bytes32' , name : 'tokenType' , type : 'bytes32' } ] , name : 'remapToken' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : 'role' , type : 'bytes32' } , { internalType : 'address' , name : 'account' , type : 'address' } ] , name : 'renounceRole' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : 'role' , type : 'bytes32' } , { internalType : 'address' , name : 'account' , type : 'address' } ] , name : 'revokeRole' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ { internalType : 'address' , name : '' , 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 : 'newStateSender' , type : 'address' } ] , name : 'setStateSender' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ ] , name : 'setupContractId' , outputs : [ ] , stateMutability : 'nonpayable' , type : 'function' } , { inputs : [ ] , name : 'stateSenderAddress' , outputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , name : 'tokenToType' , outputs : [ { internalType : 'bytes32' , name : '' , type : 'bytes32' } ] , stateMutability : 'view' , type : 'function' } , { inputs : [ { internalType : 'bytes32' , name : '' , type : 'bytes32' } ] , name : 'typeToPredicate' , outputs : [ { internalType : 'address' , name : '' , type : 'address' } ] , stateMutability : 'view' , type : 'function' } , { stateMutability : 'payable' , type : 'receive' } ] as AbiItem [ ] ; export default POS_ROOT_CHAIN_MANAGER_ABI ;