@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 3.5 kB
JavaScript
;var t={id:35534,address:"0xc226aa009f5bc68f28625d6e983247d673eb3d39",contract_name:"Wheel",display_name:"Wheel",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1749973912,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_subId"},{type:"address",name:"_coordinator"},{type:"bytes32",name:"_keyHash"}]},{name:"OnlyCoordinatorCanFulfill",type:"error",inputs:[{type:"address",name:"have"},{type:"address",name:"want"}]},{name:"OnlyOwnerOrCoordinator",type:"error",inputs:[{type:"address",name:"have"},{type:"address",name:"owner"},{type:"address",name:"coordinator"}]},{name:"ZeroAddress",type:"error",inputs:[]},{name:"CoordinatorSet",type:"event",inputs:[{type:"address",name:"vrfCoordinator"}]},{name:"OwnershipTransferRequested",type:"event",inputs:[{type:"address",name:"from",indexed:true},{type:"address",name:"to",indexed:true}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"from",indexed:true},{type:"address",name:"to",indexed:true}]},{name:"Roll",type:"event",inputs:[{type:"address",name:"player"},{type:"uint256",name:"multiplier"}]},{name:"WinningsDeposited",type:"event",inputs:[{type:"address",name:"player"},{type:"uint256",name:"amount"}]},{name:"WinningsWithdrawn",type:"event",inputs:[{type:"address",name:"player"},{type:"uint256",name:"amount"}]},{name:"MIN_BET_AMOUNT",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"acceptOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"bets",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"address",name:"player"},{type:"uint256",name:"amount"}]},{name:"callbackGasLimit",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint32"}]},{name:"coordinator",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"flip",type:"function",stateMutability:"payable",inputs:[],outputs:[]},{name:"gameOwner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"getPlayerBalance",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_player"}],outputs:[{type:"uint256"}]},{name:"keyHash",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"playerBalances",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"rawFulfillRandomWords",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"requestId"},{type:"uint256[]",name:"randomWords"}],outputs:[]},{name:"requestConfirmations",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint16"}]},{name:"s_vrfCoordinator",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"setCoordinator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_vrfCoordinator"}],outputs:[]},{name:"subscriptionId",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"}],outputs:[]},{name:"withdrawOwnerFunds",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_amount"}],outputs:[]},{name:"withdrawWinnings",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{type:"receive",stateMutability:"payable"}]},e=t;module.exports=e;