UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 5.82 kB
'use strict';var e={id:1749,address:"0x1da7b13f42605fc501366ec62613ddb9570662c5",contract_name:"Validator",display_name:"The Machines Arena Validator Logic",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1709089350,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:"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;