UNPKG

@flarenetwork/flare-periphery-contract-artifacts

Version:

Smart contract artifacts for all Flare chains

145 lines (144 loc) 2.77 kB
[ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "voter", "type": "address" }, { "indexed": false, "internalType": "uint16", "name": "value", "type": "uint16" }, { "indexed": false, "internalType": "uint24", "name": "validFromEpochId", "type": "uint24" } ], "name": "FeePercentageChanged", "type": "event" }, { "inputs": [], "name": "defaultFeePercentageBIPS", "outputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "feePercentageUpdateOffset", "outputs": [ { "internalType": "uint24", "name": "", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_voter", "type": "address" } ], "name": "getVoterCurrentFeePercentage", "outputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_voter", "type": "address" }, { "internalType": "uint256", "name": "_rewardEpochId", "type": "uint256" } ], "name": "getVoterFeePercentage", "outputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_voter", "type": "address" } ], "name": "getVoterScheduledFeePercentageChanges", "outputs": [ { "internalType": "uint256[]", "name": "_feePercentageBIPS", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "_validFromEpochId", "type": "uint256[]" }, { "internalType": "bool[]", "name": "_fixed", "type": "bool[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "_feePercentageBIPS", "type": "uint16" } ], "name": "setVoterFeePercentage", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" } ]