Skip to content

Meta-Pool/metapool-nf-grant

Repository files navigation

This contract allows two parties to deposit stNEAR and later split the staking rewards

How to use

2.1 If you are the owner, you can deposit stNEAR calling ft_transfer_call on the contract meta-pool.near with receiver_id = this contract.

2.2 If you are either withdrawer_1 or withdrawer_2, you can call withdraw to withdraw your available rewards

2.3 At any time, if you are the owner of the contract, you can call owner_withdraw

2.4 After deposit, the deposited stNEAR will start accumulating rewards, you can check the current reward amounts using the ts-sdk at src/query.ts, execute: npm run query

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •