UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 6.51 kB
'use strict';var e={id:1766,address:"0x25b80d35f7749294c17dc28cbb10113c291936b3",contract_name:"ERC1967Proxy",display_name:"The Machines Arena Validator Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0xba136543f58b1b04d2ea01edcf9b613f9fc50a94",created_at:1709089369,abi:[{type:"constructor",stateMutability:"payable",inputs:[{type:"address",name:"implementation"},{type:"bytes",name:"_data"}]},{name:"AddressEmptyCode",type:"error",inputs:[{type:"address",name:"target"}]},{name:"ERC1967InvalidImplementation",type:"error",inputs:[{type:"address",name:"implementation"}]},{name:"ERC1967NonPayable",type:"error",inputs:[]},{name:"FailedInnerCall",type:"error",inputs:[]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{type:"fallback",stateMutability:"payable"}],proxy_abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{name:"AccessControlBadConfirmation",type:"error",inputs:[]},{name:"AccessControlUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"neededRole"}]},{name:"AddressEmptyCode",type:"error",inputs:[{type:"address",name:"target"}]},{name:"AlreadyIsValidator",type:"error",inputs:[]},{name:"ERC1967InvalidImplementation",type:"error",inputs:[{type:"address",name:"implementation"}]},{name:"ERC1967NonPayable",type:"error",inputs:[]},{name:"EnforcedPause",type:"error",inputs:[]},{name:"ExpectedPause",type:"error",inputs:[]},{name:"FailedInnerCall",type:"error",inputs:[]},{name:"InvalidAddress",type:"error",inputs:[]},{name:"InvalidInitialization",type:"error",inputs:[]},{name:"InvalidInputs",type:"error",inputs:[]},{name:"InvalidNFTContract",type:"error",inputs:[]},{name:"InvalidRecipient",type:"error",inputs:[]},{name:"InvalidSignature",type:"error",inputs:[]},{name:"InvalidTokenContract",type:"error",inputs:[]},{name:"IsNotValidator",type:"error",inputs:[]},{name:"MainnetNotAllowed",type:"error",inputs:[]},{name:"NotEnoughValidators",type:"error",inputs:[]},{name:"NotInitializing",type:"error",inputs:[]},{name:"SignatureAlreadyUsed",type:"error",inputs:[]},{name:"SignatureExpired",type:"error",inputs:[]},{name:"UUPSUnauthorizedCallContext",type:"error",inputs:[]},{name:"UUPSUnsupportedProxiableUUID",type:"error",inputs:[{type:"bytes32",name:"slot"}]},{name:"UnknownNetwork",type:"error",inputs:[]},{name:"Initialized",type:"event",inputs:[{type:"uint64",name:"version"}]},{name:"Paused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"RoleAdminChanged",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"bytes32",name:"previousAdminRole",indexed:true},{type:"bytes32",name:"newAdminRole",indexed:true}]},{name:"RoleGranted",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"address",name:"account",indexed:true},{type:"address",name:"sender",indexed:true}]},{name:"RoleRevoked",type:"event",inputs:[{type:"bytes32",name:"role",indexed:true},{type:"address",name:"account",indexed:true},{type:"address",name:"sender",indexed:true}]},{name:"ThresholdUpdated",type:"event",inputs:[{type:"uint256",name:"oldThreshold"},{type:"uint256",name:"newThreshold"}]},{name:"Unpaused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{name:"ValidatorAdded",type:"event",inputs:[{type:"address",name:"validator"}]},{name:"ValidatorRemoved",type:"event",inputs:[{type:"address",name:"validator"}]},{name:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"PAUSER_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"UPGRADER_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"UPGRADE_INTERFACE_VERSION",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"adminAddValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"account"}],outputs:[]},{name:"adminRemoveValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"account"}],outputs:[]},{name:"adminSetThreshold",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"newThreshold"}],outputs:[]},{name:"baseVersion",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{name:"grantRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"hasRole",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[{type:"bool"}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"admin"}],outputs:[]},{name:"isValidator",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"}],outputs:[{type:"bool"}]},{name:"numValidators",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"proxiableUUID",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"renounceRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"callerConfirmation"}],outputs:[]},{name:"revokeRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"supportsInterface",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"interfaceId"}],outputs:[{type:"bool"}]},{name:"threshold",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"upgradeToAndCall",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"newImplementation"},{type:"bytes",name:"data"}],outputs:[]},{name:"verifyMessage",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"message"},{type:"bytes",name:"signature"}],outputs:[{type:"bool"}]},{name:"verifyMessageHash",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"messageHash"},{type:"bytes",name:"signature"}],outputs:[{type:"bool"}]}]},t=e;module.exports=t;