@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 3.3 kB
JavaScript
;var e={id:1406,address:"0x149aadcaaee54eef85255b0c4c72cb3f04fecd8b",contract_name:"PlanetAttributeManager",display_name:"Planet Attribute Manager",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1702615179,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{name:"AdminAccessSet",type:"event",inputs:[{type:"address",name:"_admin"},{type:"bool",name:"_enabled"}]},{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:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"Upgraded",type:"event",inputs:[{type:"address",name:"implementation",indexed:true}]},{name:"breed",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"userAddress"},{type:"uint256",name:"planetAId"},{type:"uint256",name:"planetBId"},{type:"uint256",name:"animusUse"},{type:"bool",name:"shouldUseMiniBlackhole"},{type:"bool",name:"isDryRun"}],outputs:[{type:"bool"}]},{name:"breedContract",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"breedPlanetDataContract",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"checkCanBreed",type:"function",stateMutability:"view",inputs:[{type:"address",name:"userAddress"},{type:"uint256",name:"planetAId"},{type:"uint256",name:"planetBId"},{type:"bool",name:"shouldUseMiniBlackhole"}],outputs:[{type:"bool"}]},{name:"getParentID",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"planetId"}],outputs:[{type:"uint256"},{type:"uint256"}]},{name:"initialize",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"isAdmin",type:"function",stateMutability:"view",inputs:[{type:"address",name:"admin"}],outputs:[{type:"bool"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"planetContract",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"setAdmin",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"admin"},{type:"bool",name:"enabled"}],outputs:[]},{name:"setUpBloodline",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"bloodline"},{type:"tuple[]",name:"planetTagArray",components:[{type:"uint256",name:"id"},{type:"uint256",name:"fire"},{type:"uint256",name:"water"},{type:"uint256",name:"air"},{type:"uint256",name:"earth"}]}],outputs:[]},{name:"setUpContract",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_planetAddress"},{type:"address",name:"_breedAddress"}],outputs:[]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{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:[]}]},t=e;module.exports=t;