summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-01-25 17:35:09 +0800
committerGitHub <noreply@github.com>2019-01-25 17:35:09 +0800
commit06ba5c65ccb0d0e095151eb4067c4e5a0d3aaf1b (patch)
tree7c88aed48ac798ba47ddbd9d4ccf3770e2586b8b
parentf3706799a4c4873d9209954781a60c6c19549d90 (diff)
parentda281d49fe7be5fe1c87626721cb1cd502b8e5d7 (diff)
downloaddexon-governance-abi-06ba5c65ccb0d0e095151eb4067c4e5a0d3aaf1b.tar
dexon-governance-abi-06ba5c65ccb0d0e095151eb4067c4e5a0d3aaf1b.tar.gz
dexon-governance-abi-06ba5c65ccb0d0e095151eb4067c4e5a0d3aaf1b.tar.bz2
dexon-governance-abi-06ba5c65ccb0d0e095151eb4067c4e5a0d3aaf1b.tar.lz
dexon-governance-abi-06ba5c65ccb0d0e095151eb4067c4e5a0d3aaf1b.tar.xz
dexon-governance-abi-06ba5c65ccb0d0e095151eb4067c4e5a0d3aaf1b.tar.zst
dexon-governance-abi-06ba5c65ccb0d0e095151eb4067c4e5a0d3aaf1b.zip
Merge pull request #3 from dexon-foundation/w-nodeinfo
contracts: add NodeInfoOracle
-rw-r--r--contracts/NodeInfoOracle.sol12
1 files changed, 12 insertions, 0 deletions
diff --git a/contracts/NodeInfoOracle.sol b/contracts/NodeInfoOracle.sol
new file mode 100644
index 0000000..4fbdf44
--- /dev/null
+++ b/contracts/NodeInfoOracle.sol
@@ -0,0 +1,12 @@
+pragma solidity ^0.5.0;
+
+contract NodeInfoOracle {
+ function delegators(uint256 Round, address NodeAddress, uint256 Index) view public returns (address owner, uint256 value, uint256 undelegated_at) {
+ }
+
+ function delegatorsLength(uint256 Round, address NodeAddress) view public returns (uint256) {
+ }
+
+ function delegatorsOffset(uint256 Round, address NodeAddress, address DelegatorAddress) view public returns (int256) {
+ }
+}