Skip to content

Commit

Permalink
R4R: mark some methods as read only (#25)
Browse files Browse the repository at this point in the history
* mark some methods as read only

* update abis and detail bind failure reason
  • Loading branch information
HaoyangLiu authored Jun 18, 2020
1 parent b117e03 commit 7783387
Show file tree
Hide file tree
Showing 17 changed files with 281 additions and 265 deletions.
15 changes: 15 additions & 0 deletions abi/bscvalidatorset.abi
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,21 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "TOKEN_MANAGER_ADDR",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down
59 changes: 49 additions & 10 deletions abi/crosschain.abi
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,21 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "CROSS_CHAIN_KEY_PREFIX",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down Expand Up @@ -422,6 +437,21 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "TOKEN_MANAGER_ADDR",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down Expand Up @@ -677,9 +707,9 @@
"name": "oracleSequence",
"outputs": [
{
"internalType": "uint64",
"internalType": "int64",
"name": "",
"type": "uint64"
"type": "int64"
}
],
"payable": false,
Expand All @@ -688,14 +718,8 @@
},
{
"constant": true,
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "packageCounterForEachHeight",
"inputs": [],
"name": "previousTxHeight",
"outputs": [
{
"internalType": "uint256",
Expand Down Expand Up @@ -759,6 +783,21 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "txCounter",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
Expand Down
15 changes: 15 additions & 0 deletions abi/govhub.abi
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,21 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "TOKEN_MANAGER_ADDR",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down
15 changes: 15 additions & 0 deletions abi/relayerhub.abi
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,21 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "TOKEN_MANAGER_ADDR",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down
15 changes: 15 additions & 0 deletions abi/relayerincentivize.abi
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,21 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "TOKEN_MANAGER_ADDR",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down
15 changes: 15 additions & 0 deletions abi/slashindicator.abi
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,21 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "TOKEN_MANAGER_ADDR",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down
47 changes: 18 additions & 29 deletions abi/systemreward.abi
Original file line number Diff line number Diff line change
@@ -1,30 +1,4 @@
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "DeleteOperator",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "NewOperator",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand All @@ -41,13 +15,13 @@
"type": "uint256"
}
],
"name": "ReceiveDeposit",
"name": "receiveDeposit",
"type": "event"
},
{
"anonymous": false,
"inputs": [],
"name": "RewardEmpty",
"name": "rewardEmpty",
"type": "event"
},
{
Expand All @@ -66,7 +40,7 @@
"type": "uint256"
}
],
"name": "RewardTo",
"name": "rewardTo",
"type": "event"
},
{
Expand Down Expand Up @@ -299,6 +273,21 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "TOKEN_MANAGER_ADDR",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down
15 changes: 15 additions & 0 deletions abi/tendermintlightclient.abi
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,21 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "TOKEN_MANAGER_ADDR",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down
Loading

0 comments on commit 7783387

Please sign in to comment.