@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 4.47 kB
JavaScript
var t={id:27667,address:"0xd01f926eda46aa277ec6c8907cf5a2bca0e075e0",contract_name:"JungleLottery",display_name:"Jungle Lottery",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1742229918,abi:[{name:"ErrNotAuthorized",type:"error",inputs:[]},{name:"ErrNotVXOwner",type:"error",inputs:[]},{name:"ErrSeason",type:"error",inputs:[]},{name:"ErrWrongState",type:"error",inputs:[]},{name:"OnlyCoordinatorCanFulfill",type:"error",inputs:[]},{name:"Initialized",type:"event",inputs:[{type:"uint8",name:"version"}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"VxWinners",type:"event",inputs:[{type:"uint256",name:"season",indexed:true},{type:"uint256[100]",name:"winningVx"}]},{name:"addToSeasonReward",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_season"},{type:"uint256",name:"_amount"}],outputs:[]},{name:"adventure",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"authorised",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"bool"}]},{name:"claim",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_vx"}],outputs:[]},{name:"claim",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"_vxs"}],outputs:[]},{name:"emergencyReset",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_season"},{type:"uint256[100]",name:"_vxs"}],outputs:[]},{name:"entrants",type:"function",stateMutability:"view",inputs:[{type:"uint256"},{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"getPayouts",type:"function",stateMutability:"view",inputs:[{type:"uint256[]",name:"_vxs"}],outputs:[{type:"uint256[]",name:"_payouts"}]},{name:"hashToSeason",type:"function",stateMutability:"view",inputs:[{type:"bytes32"}],outputs:[{type:"uint256"}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_adventure"},{type:"address",name:"_vx"},{type:"address",name:"_slice"},{type:"address",name:"_vrfCoordinator"}],outputs:[]},{name:"lootHolder",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"payouts",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"rawFulfillRandomSeed",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"_reqHash"},{type:"uint256",name:"_randomSeed"}],outputs:[]},{name:"register",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_season"},{type:"uint256[100]",name:"_vxs"},{type:"uint256",name:"_rngSource"}],outputs:[]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"requestRandomness",type:"function",stateMutability:"payable",inputs:[{type:"uint256",name:"_season"}],outputs:[]},{name:"rngSourcePreSelection",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"roll",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_season"}],outputs:[]},{name:"seasonRewards",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"seasonState",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint8"}]},{name:"seeds",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"setAuthorised",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_user"},{type:"bool",name:"_val"}],outputs:[]},{name:"simulate",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"_season"}],outputs:[{type:"uint256[100]",name:"results"},{type:"uint256",name:"prize"}]},{name:"slice",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"updateLootHolder",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_holder"}],outputs:[]},{name:"vrfCoordinator",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"vx",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{type:"receive",stateMutability:"payable"}]},e=t;export{e as default};