UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 3.84 kB
'use strict';var e={id:1410,address:"0xd0e2bc89b3d8e3d8244d4f221fd7aa4785a8708f",contract_name:"ERC1967Proxy",display_name:"Planet Attribute Manager Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0x35b27840848b1a0ac82165a19ee4e10877d66978",created_at:1702615188,abi:[{type:"constructor",stateMutability:"payable",inputs:[{type:"address",name:"_logic"},{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"},{type:"receive",stateMutability:"payable"}],proxy_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;