@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 7.83 kB
JavaScript
var e={id:26026,address:"0xc55a84101946871dc7fc13e9b22bdf11140336e7",contract_name:"TransparentUpgradeableProxy",display_name:"Sabong Saga Launchpad Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0x4b74eb544136fec1f8a580c8dc208e7c34d2a451",created_at:1740727041,abi:[{type:"constructor",stateMutability:"payable",inputs:[{type:"address",name:"_logic"},{type:"address",name:"admin_"},{type:"bytes",name:"_data"}]},{name:"AdminChanged",type:"event",inputs:[{type:"address",name:"previousAdmin"},{type:"address",name:"newAdmin"}]},{name:"BeaconUpgraded",type:"event",inputs:[{type:"address",name:"beacon",indexed:true}]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{type:"fallback",stateMutability:"payable"},{name:"admin",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[{type:"address",name:"admin_"}]},{name:"changeAdmin",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newAdmin"}],outputs:[]},{name:"implementation",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[{type:"address",name:"implementation_"}]},{name:"upgradeTo",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newImplementation"}],outputs:[]},{name:"upgradeToAndCall",type:"function",stateMutability:"payable",inputs:[{type:"address",name:"newImplementation"},{type:"bytes",name:"data"}],outputs:[]},{type:"receive",stateMutability:"payable"}],proxy_abi:[{name:"AccessControlBadConfirmation",type:"error",inputs:[]},{name:"AccessControlUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"neededRole"}]},{name:"EnforcedPause",type:"error",inputs:[]},{name:"ErrPhaseAlreadyEnded",type:"error",inputs:[]},{name:"ErrPhaseNotStarted",type:"error",inputs:[]},{name:"ErrUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"neededRole"}]},{name:"ExpectedPause",type:"error",inputs:[]},{name:"InvalidInitialization",type:"error",inputs:[]},{name:"NotInitializing",type:"error",inputs:[]},{name:"ReentrancyGuardReentrantCall",type:"error",inputs:[]},{name:"EmergencyETHRelease",type:"event",inputs:[{type:"address",name:"to",indexed:true},{type:"uint256",name:"amount"}]},{name:"Initialized",type:"event",inputs:[{type:"uint64",name:"version"}]},{name:"Paused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"PhaseConfigured",type:"event",inputs:[{type:"uint8",name:"phase",indexed:true},{type:"uint256",name:"startTime"},{type:"uint256",name:"endTime"},{type:"uint256",name:"price"},{type:"uint256",name:"erc1155Amount"},{type:"uint256",name:"erc20Amount"}]},{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:"TokensMinted",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"amount"},{type:"uint8",name:"phase"}]},{name:"Unpaused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"WhitelistBatchConfigured",type:"event",inputs:[{type:"uint8",name:"phase",indexed:true},{type:"uint256",name:"numberOfAddresses"}]},{name:"COCK",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"FEATHERS",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"LEGACY",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"PAUSER_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"TOTAL_SUPPLY",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"configurePhase",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint8",name:"phaseType"},{type:"uint256",name:"startTime"},{type:"uint256",name:"endTime"},{type:"uint256",name:"price"},{type:"uint256",name:"erc1155Amount"},{type:"uint256",name:"erc20Amount"}],outputs:[]},{name:"configureWhitelistBatch",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint8",name:"phase"},{type:"address[]",name:"users"},{type:"uint256[]",name:"amounts"}],outputs:[]},{name:"emergencyReleaseETH",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"}],outputs:[]},{name:"feeWallet",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"getPhaseInfo",type:"function",stateMutability:"view",inputs:[{type:"uint8",name:"phase"}],outputs:[{type:"tuple",components:[{type:"uint256",name:"startTime"},{type:"uint256",name:"endTime"},{type:"uint256",name:"price"},{type:"uint256",name:"erc1155Amount"},{type:"uint256",name:"erc20Amount"}]}]},{name:"getRemainingPublicMintAllocation",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"}],outputs:[{type:"uint256"}]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{name:"getRoleMember",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"},{type:"uint256",name:"index"}],outputs:[{type:"address"}]},{name:"getRoleMemberCount",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"uint256"}]},{name:"getRoleMembers",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"address[]"}]},{name:"getUserAllocation",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"},{type:"uint8",name:"phase"}],outputs:[{type:"uint256"}]},{name:"getUserMinted",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"},{type:"uint8",name:"phase"}],outputs:[{type:"uint256"}]},{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:"_COCK"},{type:"address",name:"_FEATHERS"},{type:"address",name:"_feeWallet"},{type:"address",name:"_legacy"}],outputs:[]},{name:"mint",type:"function",stateMutability:"payable",inputs:[{type:"uint256",name:"amount"},{type:"uint8",name:"phase"}],outputs:[]},{name:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{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:"totalMinted",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"updateWhitelistAllocation",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint8",name:"phase"},{type:"address",name:"user"},{type:"uint256",name:"amount"}],outputs:[]},{type:"receive",stateMutability:"payable"}]},t=e;export{t as default};