Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 32 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
# Implementation of iip-13 contract
SystemStaking is the contract implemented for iip-13. It issues an NFT token for each bucket creation. Owner of the NFT token could update/transfer/unstake the corresponding bucket. The buckets created in this contract will be counted in the staking procotol in iotex-core. For more details, please refer to the code.

# Commands
lint: `yarn lint:fix`
test: `npx hardhat test`
## Commands
- lint: `yarn lint:fix`
- test: `npx hardhat test`

## Deployments

### Mainnet

- Contract address: `0x68db92a6a78a39dcaff1745da9e89e230ef49d3d`

Supported bucket types include:

| Bucket Amount | Duration (days) | Duration (blocks) |
| -------------- | --------------- | ----------------- |
| 10,000 IOTX | 91 | 1572480 |
| 100,000 IOTX | 91 | 1572480 |
| 1,000,000 IOTX | 91 | 1572480 |


### Testnet

- Contract address: `0x52ab0fe2c3a94644de0888a3ba9ea1443672e61f`

Supported bucket types include:

| Bucket Amount | Duration (days) | Duration (blocks) |
| ------------- | --------------- | ----------------- |
| 100 IOTX | 2 | 34560 |
| 1000 IOTX | 2 | 34560 |
| 10,000 IOTX | 2 | 34560 |
Copy link

@dustinxie dustinxie Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on testnet, there are also 2, 3, 20000 amount options, should these 3 be included?


> The supported bucket types in the testnet deployment may be updated frequently. Please call `bucketTypes` and `numOfBucketTypes` functions for the latest information.