aboutsummaryrefslogtreecommitdiffstats
path: root/Governance-Contract-Access-Guide.md
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2019-04-18 15:53:09 +0800
committerMission Liao <mission.liao@dexon.org>2019-04-18 15:53:09 +0800
commita94b1d8ff2d5dbcee428a912f37e3c6a89c8519a (patch)
tree5de363da1ac58ea7ba992ab5acb49686fb95ab5f /Governance-Contract-Access-Guide.md
parent399efaf6217aadcc8c0656a83c03c2469a406acc (diff)
downloaddexon-wiki-a94b1d8ff2d5dbcee428a912f37e3c6a89c8519a.tar
dexon-wiki-a94b1d8ff2d5dbcee428a912f37e3c6a89c8519a.tar.gz
dexon-wiki-a94b1d8ff2d5dbcee428a912f37e3c6a89c8519a.tar.bz2
dexon-wiki-a94b1d8ff2d5dbcee428a912f37e3c6a89c8519a.tar.lz
dexon-wiki-a94b1d8ff2d5dbcee428a912f37e3c6a89c8519a.tar.xz
dexon-wiki-a94b1d8ff2d5dbcee428a912f37e3c6a89c8519a.tar.zst
dexon-wiki-a94b1d8ff2d5dbcee428a912f37e3c6a89c8519a.zip
Add Content section. Add minStake, payFine sub sections.
Diffstat (limited to 'Governance-Contract-Access-Guide.md')
-rw-r--r--Governance-Contract-Access-Guide.md61
1 files changed, 0 insertions, 61 deletions
diff --git a/Governance-Contract-Access-Guide.md b/Governance-Contract-Access-Guide.md
deleted file mode 100644
index 64e2786..0000000
--- a/Governance-Contract-Access-Guide.md
+++ /dev/null
@@ -1,61 +0,0 @@
-
-## Contract Write function
-In this section, we briefly introduce some functions that DEXON governance provides to write in.
-
-### Register
-1. In DekuSan wallet, switch to the `owner's account`.
-2. Navigate to the `Write` tab of the governance contract and select `register` from the dropdown menu.
-3. Fill in the information like below; currently, you need 1M DXN to run a BP node.
- - Node Public Key (you must hold the corresponding secret key)
- - Name of the node
- - Contact email
- - Node Location
- - Website URL
-4. Click `Send` and `confirm` in DekuSan wallet.
-
-### Stake/Unstake
-After registering, each node owner can continue depositing more stake into DEXON governance contract. This is super easy to achieve in DEXON governance contract.
- 1. Switch to the `owner account` in DekuSan wallet.
- 2. Navigate to the `Write` tab and select `stake` from the dropdown menu.
- 3. Fill the amount of stake in the contract.
- 4. Click `Send` and `confirm` in DekuSan wallet.
-
-On the other hand, each node owner can also unstake from DEXON governance contract. This is almost identical to operating stake function.
- 1. Switch to the `owner account` in DekuSan wallet.
- 2. Navigate to the `Write` tab and select `unstake` from the dropdown menu.
- 3. Fill the amount of unstake in the contract.
- 4. Click `Send` and `confirm` in DekuSan wallet.
-
-To ensure the stability of DEXON blockchain, the duration to withdraw the unstake coin is set 24 epochs, which corresponds around 1 day in real-world time. In the duration, the node can still propose block and earn the reward, but the node sill can be fined if violating any rule.
-Note that, each node can only unstake once until the unstake is withdrawn.
-
-### Withdraw
-After unstaking and wait for 24 epochs, the node can withdraw the stake.
- 1. Switch to the `owner account` in DekuSan wallet.
- 2. Navigate to the `Write` tab and select `withdraw` from the dropdown menu.
- 3. Click `Send` and `confirm` in DekuSan wallet.
-
-
-### Transfer Node Owner
-A node owner can also transfer the owner right to others.
- 1. Switch to the `owner account` in DekuSan wallet.
- 2. Navigate to the `Write` tab and select `register` from the dropdown menu.
- 3. Fill the `address` of the new owner.
- 4. Click `Send` and `confirm` in DekuSan wallet.
-
-> WARNING: This is an IRREDUCIBLE operation. No one can recover if you transfer to a wrong address. Please double-check the address is correct.
-
-## Contract Read function
-<!-- Most of the information can be found in DEXONSCAN website. To prevent in case, we introduce a method to read the status of DEXON blockchain. -->
-
-The latest system parameters can be found in the governance contract. We introduce some fruquently used functions.
-
-### nodes
-`nodes` returns the status of a node, where the input is the order of the node. The order of a node can be query by the function `nodesOffsetByAddress`.
-
-
-### nodeLength
-`nodeLength` returns the current size of the node set.
-
-### nodesOffsetByAddress
-`nodesOffsetByAddress` returns the order of a node, where the input is the address of the node.