UNPKG

@augmentedfinance/protocol-v1

Version:

Augmented Protocol smart contracts

91 lines (90 loc) 2.19 kB
[ { "inputs": [ { "internalType": "address", "name": "holder", "type": "address" }, { "internalType": "uint32", "name": "at", "type": "uint32" } ], "name": "explainReward", "outputs": [ { "components": [ { "internalType": "uint256", "name": "amountClaimable", "type": "uint256" }, { "internalType": "uint256", "name": "amountExtra", "type": "uint256" }, { "internalType": "uint256", "name": "maxBoost", "type": "uint256" }, { "internalType": "uint256", "name": "boostLimit", "type": "uint256" }, { "internalType": "uint32", "name": "latestClaimAt", "type": "uint32" }, { "components": [ { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "extra", "type": "uint256" }, { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "uint32", "name": "since", "type": "uint32" }, { "internalType": "uint32", "name": "factor", "type": "uint32" }, { "internalType": "enum RewardType", "name": "rewardType", "type": "uint8" } ], "internalType": "struct RewardExplainEntry[]", "name": "allocations", "type": "tuple[]" } ], "internalType": "struct RewardExplained", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" } ]