Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 89 additions & 100 deletions abis/BlockReward_abi.json
Original file line number Diff line number Diff line change
@@ -1,263 +1,252 @@
[
{
"constant": true,
"inputs": [],
"name": "DECIMALS",
"outputs": [
"anonymous": false,
"inputs": [
{
"name": "",
"indexed": false,
"internalType": "address[]",
"name": "receivers",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "rewards",
"type": "uint256[]"
}
],
"name": "Rewarded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
"name": "RewardedOnCycle",
"type": "event"
},
{
"constant": true,
"inputs": [],
"name": "isInitialized",
"name": "BLOCKS_PER_YEAR",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "bool"
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getRewardedOnCycle",
"name": "DECIMALS",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "shouldEmitRewardedOnCycle",
"name": "INFLATION",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "bool"
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "emitRewardedOnCycle",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getBlockRewardAmount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "address",
"name": "_validator",
"type": "address"
}
],
"name": "getBlockRewardAmountPerValidator",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "INFLATION",
"name": "getBlocksPerYear",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"stateMutability": "pure",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getBlocksPerYear",
"name": "getInflation",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"stateMutability": "pure",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "onCycleEnd",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"name": "getProxyStorage",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getTotalSupply",
"name": "getRewardedOnCycle",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "BLOCKS_PER_YEAR",
"name": "getTotalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "emitRewardedOnCycle",
"inputs": [
{
"internalType": "uint256",
"name": "_supply",
"type": "uint256"
}
],
"name": "initialize",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getInflation",
"name": "isInitialized",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "uint256"
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getProxyStorage",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"name": "onCycleEnd",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "address[]",
"name": "benefactors",
"type": "address[]"
},
{
"internalType": "uint16[]",
"name": "kind",
"type": "uint16[]"
}
],
"name": "reward",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
"inputs": [],
"name": "shouldEmitRewardedOnCycle",
"outputs": [
{
"name": "_supply",
"type": "uint256"
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"name": "initialize",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "receivers",
"type": "address[]"
},
{
"indexed": false,
"name": "rewards",
"type": "uint256[]"
}
],
"name": "Rewarded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "amount",
"type": "uint256"
}
],
"name": "RewardedOnCycle",
"type": "event"
}
]
]
Loading