UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

1 lines 8.72 kB
'use strict';var e={id:106,address:"0x16f222b84f76a0941935949566da93e3147723bf",contract_name:"TransparentUpgradeableProxy",display_name:"Christmas Axie Release 2022",is_deprecated:false,is_proxy:true,proxy_to:"0x25e3ee4a68e5d13ea077272d8311a3f4b8a65943",created_at:1671445671,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:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{name:"AccessoryContractUpdated",type:"event",inputs:[{type:"address"}]},{name:"AxieBlacklistSet",type:"event",inputs:[{type:"uint256[]",name:"_axieIds"},{type:"bool",name:"_blacklisted"}]},{name:"AxieContractUpdated",type:"event",inputs:[{type:"address"}]},{name:"AxiesReleased",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256[]",name:"axieIds"}]},{name:"Initialized",type:"event",inputs:[{type:"uint8",name:"version"}]},{name:"Paused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"PeriodUpdated",type:"event",inputs:[{type:"uint256",name:"_startedAtTime"},{type:"uint256",name:"_endedAtTime"}]},{name:"RewardAccessoryRaritiesUpdated",type:"event",inputs:[{type:"uint128[]",name:"accessoryTypeIds"},{type:"uint256[]",name:"accessoryRatios"}]},{name:"RewardUpdated",type:"event",inputs:[{type:"uint256",name:"_axieId",indexed:true},{type:"uint256",name:"_accessoryId",indexed:true}]},{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:"TreasuryUpdated",type:"event",inputs:[{type:"address"}]},{name:"Unpaused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"UserClaimed",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"accessoryId"}]},{name:"UserRewardUpdated",type:"event",inputs:[{type:"address",name:"user",indexed:true},{type:"uint256",name:"claimedAmount"},{type:"uint256",name:"total"}]},{name:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"OPERATOR_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"RATIO_LIMIT",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"accessoryContract",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"axieContract",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"checkAxieBlacklisted",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"_axieId"}],outputs:[{type:"bool"}]},{name:"checkAxieReleased",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"_axieId"}],outputs:[{type:"bool"}]},{name:"claimAllRewards",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"claimAllRewardsFor",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_user"}],outputs:[]},{name:"claimRewardsFor",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_user"},{type:"uint256",name:"_amount"}],outputs:[]},{name:"claimedAmounts",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"emergencyEndEvent",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"getPeriod",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"},{type:"uint256"}]},{name:"getRewardAccessoryRarities",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint128[]"},{type:"uint256[]"}]},{name:"getRewardInfo",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"}],outputs:[{type:"uint256",name:"_claimed"},{type:"uint256[]",name:"_accessoryIds"}]},{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:"getTotalAxieReleased",type:"function",stateMutability:"view",inputs:[],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:"_admin"},{type:"address[]",name:"_operators"},{type:"address",name:"__axieContract"},{type:"address",name:"__accessoryContract"},{type:"uint256",name:"__startedAtTime"},{type:"uint256",name:"__endedAtTime"},{type:"address",name:"_treasury"},{type:"uint128[]",name:"_newAccessoryTypes"},{type:"uint256[]",name:"_newAccessoryRatios"}],outputs:[]},{name:"isInPeriod",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"randomRewards",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_initialSeed"},{type:"uint256",name:"_amount"}],outputs:[]},{name:"releaseAxies",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"_axieIds"}],outputs:[]},{name:"releasedAxies",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"renounceRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"revokeRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"rewards",type:"function",stateMutability:"view",inputs:[{type:"uint256"}],outputs:[{type:"uint256"}]},{name:"setAccessoryContract",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_addr"}],outputs:[]},{name:"setAxieContract",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_addr"}],outputs:[]},{name:"setBlacklistAxies",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"_axieIds"},{type:"bool",name:"_blacklisted"}],outputs:[]},{name:"setPeriod",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_newStartedAtBlock"},{type:"uint256",name:"_newEndedAtBlock"}],outputs:[]},{name:"setRewardAccessoryRarities",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint128[]",name:"_newAccessoryTypeIds"},{type:"uint256[]",name:"_newAccessoryRatios"}],outputs:[]},{name:"setTreasury",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_addr"}],outputs:[]},{name:"supportsInterface",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"interfaceId"}],outputs:[{type:"bool"}]},{name:"treasury",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]}]},t=e;module.exports=t;