diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-24 18:57:19 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-01-24 20:28:22 +0800 |
commit | da281d49fe7be5fe1c87626721cb1cd502b8e5d7 (patch) | |
tree | c7a9c3b8a7fd26ae033a0b7d55a411a4235a165a | |
parent | 1a1bba7ec6c6781f5bd92bbc970c42cd01865b53 (diff) | |
download | dexon-governance-abi-da281d49fe7be5fe1c87626721cb1cd502b8e5d7.tar.gz dexon-governance-abi-da281d49fe7be5fe1c87626721cb1cd502b8e5d7.tar.zst dexon-governance-abi-da281d49fe7be5fe1c87626721cb1cd502b8e5d7.zip |
contracts: add NodeInfoOracle
-rw-r--r-- | contracts/NodeInfoOracle.sol | 12 |
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) { + } +} |