Status: No Niwa contract is deployed. This page will list the official addresses.
Addresses#
| Contract | Network | Address | Audit |
|---|---|---|---|
| $NIWA | To be announced | Not deployed | Not started |
| NiwaTrees | To be announced | Not deployed | Not started |
| Orchard | To be announced | Not deployed | Not started |
| Fee splitter | To be announced | Not deployed | Not started |
Architecture#
Planned contract relationships
Planned operations#
The following names describe behavior. They are not a final ABI.
| Contract | Operation | Caller | Effect |
|---|---|---|---|
| NiwaTrees | awaken | Tree owner | Burns 20,000 $NIWA and sets the state to awake |
| NiwaTrees | upgrade | Tree owner | Burns the cost difference and sets the level |
| NiwaTrees | transferFrom | Owner or approved operator | Transfers the tree and sets the state to dormant |
| Orchard | collectFees | Anyone | Pulls the Orchard share from the splitter |
| Orchard | harvest | Tree owner | Pays the accrued share to the owner |
Design requirements#
The implementation is intended to meet the following requirements. They are not verified until the contracts are published and audited.
| Requirement | Reason |
|---|---|
| No administrator withdrawal of accrued tree fees | The accrued share remains available to tree owners. |
| Fixed 80/20 split | The fee route cannot change after launch. |
| Fixed token and contract references | An administrator cannot replace the payout destination. |
| Fees are accounted for before a state change | A new participant does not receive earlier fees. |
| Changes apply from the next period | An upgrade cannot claim the current period. |
| Accrual settles to the seller on transfer | Ownership of accrued fees is unambiguous. |
| Accounting does not depend on a Niwa server | Owners can harvest if the website is unavailable. |
Verify an address#
- Copy the address from this page.
- Check that the URL of this page belongs to
playniwa.com. - Open the address in the block explorer of the announced network.
- Confirm that the source code is verified.