@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 7.18 kB
JavaScript
;var e={id:4624,address:"0xd6d11474eb323521ada927f14a4b839b90009ac8",contract_name:"TransparentProxyOZv4_9_5",display_name:"Axie Delegation Proxy",is_deprecated:false,is_proxy:true,proxy_to:"0xe789abd653497b110cf04f83473adf2de0830aaf",created_at:1729065086,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"},{type:"receive",stateMutability:"payable"}],proxy_abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[]},{name:"InvalidDelegationExpiration",type:"error",inputs:[{type:"uint256",name:"until"}]},{name:"InvalidDelegationStatus",type:"error",inputs:[{type:"uint256",name:"tokenId"}]},{name:"InvalidRevokeTiming",type:"error",inputs:[{type:"uint256",name:"tokenId"},{type:"uint64",name:"expected"},{type:"uint64",name:"actual"}]},{name:"MismatchContextHash",type:"error",inputs:[{type:"bytes4",name:"sig"}]},{name:"MismatchLength",type:"error",inputs:[{type:"bytes4",name:"sig"}]},{name:"NonexistentDelegation",type:"error",inputs:[{type:"uint256",name:"tokenId"}]},{name:"UnauthorizedCaller",type:"error",inputs:[{type:"bytes4",name:"sig"}]},{name:"UnauthorizedREP15Callback",type:"error",inputs:[{type:"bytes4",name:"sig"}]},{name:"ZeroAddress",type:"error",inputs:[{type:"bytes4",name:"sig"}]},{name:"AxieDelegated",type:"event",inputs:[{type:"uint256",name:"tokenId",indexed:true},{type:"address",name:"owner",indexed:true},{type:"address",name:"delegatee",indexed:true},{type:"tuple",name:"info",components:[{type:"uint64",name:"_delegatedAt"},{type:"uint64",name:"_expiryTs"},{type:"uint64",name:"_permissionBitMap"}]}]},{name:"DelegationRevoked",type:"event",inputs:[{type:"uint256",name:"tokenId",indexed:true},{type:"address",name:"operator",indexed:true}]},{name:"Initialized",type:"event",inputs:[{type:"uint8",name:"version"}]},{name:"MinRevokingDurationUpdated",type:"event",inputs:[{type:"uint64",name:"duration"}]},{name:"PermissionUpdated",type:"event",inputs:[{type:"uint256",name:"tokenId",indexed:true},{type:"uint64",name:"permissionBitMap",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:"DEFAULT_ADMIN_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"bulkDelegate",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"tokenIds"},{type:"address[]",name:"delegatees"},{type:"uint64[]",name:"expiryTimes"},{type:"uint64[]",name:"permissionBitMaps"}],outputs:[]},{name:"bulkRevokeDelegations",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256[]",name:"tokenIds"}],outputs:[]},{name:"delegate",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"tokenId"},{type:"address",name:"delegatee"},{type:"uint64",name:"expiryTs"},{type:"uint64",name:"permissionBitMap"}],outputs:[]},{name:"getAxieContract",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"getContextHash",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"getDelegationInfo",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"address",name:"delegatee"},{type:"tuple",name:"info",components:[{type:"uint64",name:"_delegatedAt"},{type:"uint64",name:"_expiryTs"},{type:"uint64",name:"_permissionBitMap"}]}]},{name:"getMinRevokingDuration",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{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:"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:"axieContract"},{type:"uint64",name:"detachingDuration"},{type:"uint64",name:"minRevokingDuration"}],outputs:[]},{name:"isDelegationActive",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"}],outputs:[{type:"bool"}]},{name:"isTokenDelegatedTo",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"tokenId"},{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"onAttached",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"ctxHash"},{type:"uint256",name:"tokenId"},{type:"address",name:"operator"},{type:"bytes",name:"data"}],outputs:[]},{name:"onDetachRequested",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"ctxHash"},{type:"uint256",name:"tokenId"},{type:"address",name:"operator"},{type:"bytes",name:"data"}],outputs:[]},{name:"onExecDetachContext",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"ctxHash"},{type:"uint256",name:"tokenId"},{type:"address",name:"operator"},{type:"address"},{type:"bytes"}],outputs:[]},{name:"renounceRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"revokeDelegation",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"tokenId"}],outputs:[]},{name:"revokeRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"setMinRevokingDuration",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"duration"}],outputs:[]},{name:"supportsInterface",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"interfaceId"}],outputs:[{type:"bool"}]},{name:"updateDetachingDuration",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"detachingDuration"}],outputs:[]},{name:"updatePermission",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"tokenId"},{type:"uint64",name:"permissionBitMap"}],outputs:[]}]},t=e;module.exports=t;