@flarenetwork/flare-periphery-contract-artifacts
Version:
Smart contract artifacts for all Flare chains
250 lines (249 loc) • 4.81 kB
JSON
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "whoClaimed",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sentTo",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "month",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountWei",
"type": "uint256"
}
],
"name": "AccountClaimed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "theAccount",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "confirmed",
"type": "bool"
}
],
"name": "AccountOptOut",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "entitlementStartTs",
"type": "uint256"
}
],
"name": "EntitlementStart",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bool",
"name": "useGoodRandom",
"type": "bool"
},
{
"indexed": false,
"internalType": "uint256",
"name": "maxWaitForGoodRandomSeconds",
"type": "uint256"
}
],
"name": "UseGoodRandomSet",
"type": "event"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_rewardOwners",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "_month",
"type": "uint256"
}
],
"name": "autoClaim",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_rewardOwner",
"type": "address"
},
{
"internalType": "address",
"name": "_recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "_month",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_wrap",
"type": "bool"
}
],
"name": "claim",
"outputs": [
{
"internalType": "uint256",
"name": "_rewardAmount",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_month",
"type": "uint256"
}
],
"name": "getClaimableAmount",
"outputs": [
{
"internalType": "uint256",
"name": "_amountWei",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_account",
"type": "address"
},
{
"internalType": "uint256",
"name": "_month",
"type": "uint256"
}
],
"name": "getClaimableAmountOf",
"outputs": [
{
"internalType": "uint256",
"name": "_amountWei",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getClaimableMonths",
"outputs": [
{
"internalType": "uint256",
"name": "_startMonth",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_endMonth",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getCurrentMonth",
"outputs": [
{
"internalType": "uint256",
"name": "_currentMonth",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMonthToExpireNext",
"outputs": [
{
"internalType": "uint256",
"name": "_monthToExpireNext",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_rewardOwner",
"type": "address"
}
],
"name": "nextClaimableMonth",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "optOutOfAirdrop",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]