https://github.com/iotexproject/iip13-contracts
Solidity code related to staking in contract
https://github.com/iotexproject/iip13-contracts
Last synced: 4 months ago
JSON representation
Solidity code related to staking in contract
- Host: GitHub
- URL: https://github.com/iotexproject/iip13-contracts
- Owner: iotexproject
- License: apache-2.0
- Created: 2023-02-13T10:05:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T01:11:13.000Z (over 1 year ago)
- Last Synced: 2025-06-17T10:46:11.364Z (12 months ago)
- Language: TypeScript
- Size: 392 KB
- Stars: 2
- Watchers: 8
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Implementation of iip-13 contract
The SystemStaking NFT contract implements the IIP-13 Proposal. For each staking bucket creation, the contract issues an NFT token corresponding to one of the supported pre-set bucket types. The owner address of the NFT token will receive the IOTX rewards and is the sole account eligible to perform staking actions on the bucket, such as changing the voted delegate, unstaking, or withdrawing the deposit. Transferring the NFT token to a different wallet address also transfers bucket ownership, along with all future rewards and the eligibility to unstake and withdraw. Buckets created within this contract are accounted for in the staking protocol of the IoTeX blockchain. For more details, please refer to the code.
[Go to the original IIP13 Proposal ->](https://github.com/iotexproject/iips/blob/master/iip-13.md)
# Commands
lint: `yarn lint:fix`
test: `npx hardhat test`
# Audits
- SlowMist: https://github.com/slowmist/Knowledge-Base/blob/master/open-report-V2/smart-contract/SlowMist%20Audit%20Report%20-%20IoTeX%20-%20SystemStaking_en-us.pdf