rchain-community / rstake

toward community operated RChain staking pool
Apache License 2.0
6 stars 1 forks source link

TokenVault.rho - generic token vaults for tokens other than rev #11

Open dckc opened 4 years ago

dckc commented 4 years ago

@jimscarver what is TokenVault.rho ? Let's please use branches and PRs for independent work so we can stay in sync.

TokenVault.rho blame shows you as having written the whole thing; is that the case? It looks an awful lot like some of the genesis contracts from rchain/rchain; always cite your sources.

jimscarver commented 4 years ago

This is a copy of https://github.com/rchain/rchain/blob/dev/casper/src/main/resources/RevVault.rho from a work study to be evoolved into generic token vaults for tokens other than rev.

I added the source to the fole.

This might be used for staked rev tokens or hours tokens etc. Feel free to move or delete this file if it is deemed unneeded here.

dckc commented 4 years ago

It's a good idea; I hope to find time to move it to a branch.

dckc commented 4 years ago

Jim, I moved this work to a branch: https://github.com/rchain-community/rstake/tree/token-vault

Please only merge to master by way of a pull request.