UNPKG

@augmentedfinance/protocol-v1

Version:

Augmented Protocol smart contracts

126 lines (125 loc) 2.37 kB
[ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "provider", "type": "address" }, { "indexed": false, "internalType": "int256", "name": "amount", "type": "int256" } ], "name": "RewardAllocated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "provider", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "ratePerSecond", "type": "uint256" } ], "name": "RewardMaxRateUpdated", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "provider", "type": "address" }, { "internalType": "int256", "name": "amount", "type": "int256" } ], "name": "allocateReward", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "allocatedSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bool", "name": "serviceAccount", "type": "bool" } ], "name": "mintReward", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "mintedSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "provider", "type": "address" }, { "internalType": "uint256", "name": "ratePerSecond", "type": "uint256" } ], "name": "streamReward", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]