GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Rafazzzz/ton-nominators: TON Nominators Pool Smart Contract

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
compiled
compiled
 
 
sources
sources
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

i

Ton Nominators Pool

Nominator pool source code for TON.

Add stake

Adding stake is two step process: first you send a stake and eventually pool need accept it. Nominator Pool is free to NOT accept your stake for any reason.

All pools have different deposit fees and minimum stake amounts, check out information about current deposit fees.

To send stake send a message with a comment Stake (capitalization is important) with value of desired stake + deposit fee.

Withdraw stake

Withdrawal also two step process: first you need to request withdrawal and then when withdrawal solidify, you can repeat command to withdraw result. Sometimes you can withdraw immediatelly.

All pools have different withdraw fees, check out information about current withdraw fees.

To withdraw stake send a message with a comment Withdraw (capitalization is important) with value of withdraw fee.

Testing

This contract has almost full testing coverage, but it is not open source.

Deployment

Nominator pool is combination of several contracts:

  • Owner - owner is a arbitrary contract (wallet or dao) that could make critical updates to the contract: change fees, start/stop pool and even update code. Owner also receives all profits from fees.
  • Controller - controller is arbitrary contract (wallet or dao) that issue staking commands for validation and/or voting. Controller pays for this operations and can get "unowned" balances to restore it's balance and continue working. We recommend to top ~1000 TONs for uninterrupted work.
  • Proxy - proxy contract is the only one that is masterchain and represent validation pool there. It performs simple proxying between pool and elector.
  • Pool - main contract that contains all records of all stakes and performs staking itself.

Before deployment you need to have Owner and Controller contracts ready and deployed and generated two vanity contracts - one for proxy in masterchain and one for pool in basic workchain.

License

GNU v3

About

TON Nominators Pool Smart Contract

Resources

Readme
License
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.