Skip to content

A smart conract that receives SCRT or sSCRT and forwards funds to a list of configured addresses

License

Notifications You must be signed in to change notification settings

luminaryphi/fund-forwarding

 
 

Repository files navigation

fund-forwarding

A smart contract that receives any SNIP-20 and distributes it to multiple addresses.

USE:

receive is called indirectly by calling the SNIP-20 contract using its send function, and it will in turn call this. It accepts the tokens to be forwarded.

register_token adds another token that can be distributed by this contract. Simply input the address and hash of the smart contract.

change_distribution will change how the tokens are divided and among which addresses they are. Using more than 5 decimal places will break this. All percentages must add to 100%.

change_admin changes who has editing control and access to register_token and change_distribution

query_dist allows anyone to view how the funds are divided and where they go to.

About

A smart conract that receives SCRT or sSCRT and forwards funds to a list of configured addresses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 90.8%
  • Makefile 9.2%