@roninbuilders/contracts
Version:
Type safe Contract ABIs for Ronin Network
1 lines • 3.47 kB
JavaScript
var t={id:32482,address:"0x84a5e1c93e5cb19bca2cdad90e0761d3e1025070",contract_name:"XCAirdrop",display_name:"XC Airdrop",is_deprecated:false,is_proxy:false,proxy_to:false,created_at:1743684380,abi:[{type:"constructor",stateMutability:"nonpayable",inputs:[{type:"address",name:"_tokenAddress"},{type:"uint256",name:"_dailyAirdropAmount"}]},{name:"OwnableInvalidOwner",type:"error",inputs:[{type:"address",name:"owner"}]},{name:"OwnableUnauthorizedAccount",type:"error",inputs:[{type:"address",name:"account"}]},{name:"AirdropAmountUpdated",type:"event",inputs:[{type:"uint256",name:"newAmount"}]},{name:"AirdropClaimed",type:"event",inputs:[{type:"address",name:"participant",indexed:true},{type:"uint256",name:"amount"}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"previousOwner",indexed:true},{type:"address",name:"newOwner",indexed:true}]},{name:"Paused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"TokenAddressUpdated",type:"event",inputs:[{type:"address",name:"newToken",indexed:true}]},{name:"Unpaused",type:"event",inputs:[{type:"address",name:"account"}]},{name:"AIRDROP_INTERVAL",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"canUserClaim",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"}],outputs:[{type:"bool",name:"canClaim"},{type:"uint256",name:"timeRemaining"}]},{name:"claimAirdrop",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"dailyAirdropAmount",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"emergencyWithdraw",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_amount"}],outputs:[]},{name:"getTotalAirdropAmount",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256",name:"totalAmount"}]},{name:"getUserClaimCount",type:"function",stateMutability:"view",inputs:[{type:"address",name:"_user"}],outputs:[{type:"uint256",name:"claimCount"}]},{name:"lastClaimTimestamp",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{name:"nextAirdropTimestamp",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"renounceOwnership",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"scToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"tokenAddress",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"totalAirdropAmount",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"updateAirdropAmount",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"_newAmount"}],outputs:[]},{name:"updateTokenAddress",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"_newTokenAddress"}],outputs:[]},{name:"userClaimCount",type:"function",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]}]},e=t;export{e as default};