@flarenetwork/flare-periphery-contract-artifacts
Version:
Smart contract artifacts for all Flare chains
405 lines (404 loc) • 8.03 kB
JSON
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "rewardOwner",
"type": "address"
},
{
"indexed": false,
"internalType": "address[]",
"name": "recipients",
"type": "address[]"
}
],
"name": "AllowedClaimRecipientsChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "rewardOwner",
"type": "address"
},
{
"indexed": false,
"internalType": "address[]",
"name": "executors",
"type": "address[]"
}
],
"name": "ClaimExecutorsChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "authorizedAmountWei",
"type": "uint256"
}
],
"name": "DailyAuthorizedInflationSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "amountReceivedWei",
"type": "uint256"
}
],
"name": "InflationReceived",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "beneficiary",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sentTo",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "RewardClaimed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "rewardManager",
"type": "address"
}
],
"name": "RewardManagerActivated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "rewardManager",
"type": "address"
}
],
"name": "RewardManagerDeactivated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address[]",
"name": "addresses",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "rewards",
"type": "uint256[]"
}
],
"name": "RewardsDistributed",
"type": "event"
},
{
"inputs": [],
"name": "activate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "active",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_rewardOwner",
"type": "address"
}
],
"name": "allowedClaimRecipients",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_rewardOwner",
"type": "address"
},
{
"internalType": "address payable",
"name": "_recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "_rewardAmount",
"type": "uint256"
},
{
"internalType": "bool",
"name": "_wrap",
"type": "bool"
}
],
"name": "claim",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_rewardOwner",
"type": "address"
}
],
"name": "claimExecutors",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "deactivate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_addresses",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "_rewardAmounts",
"type": "uint256[]"
}
],
"name": "distributeRewards",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getContractName",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getInflationAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_beneficiary",
"type": "address"
}
],
"name": "getStateOfRewards",
"outputs": [
{
"internalType": "uint256",
"name": "_totalReward",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_claimedReward",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTokenPoolSupplyData",
"outputs": [
{
"internalType": "uint256",
"name": "_lockedFundsWei",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_totalInflationAuthorizedWei",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_totalClaimedWei",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getTotals",
"outputs": [
{
"internalType": "uint256",
"name": "_totalAwardedWei",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_totalClaimedWei",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_totalInflationAuthorizedWei",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_totalInflationReceivedWei",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_lastInflationAuthorizationReceivedTs",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_dailyAuthorizedInflation",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "receiveInflation",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_recipients",
"type": "address[]"
}
],
"name": "setAllowedClaimRecipients",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_executors",
"type": "address[]"
}
],
"name": "setClaimExecutors",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_toAuthorizeWei",
"type": "uint256"
}
],
"name": "setDailyAuthorizedInflation",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]