Splitter Contract #102
WillRuddick
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Splitter Contract ..... it might be just as easy to make the contract Split By % of token holding ....
If I set 0xabc as the Splitting token - then any contract holding it will get sent to whomever is holding 0xabc - as a percentage based on the % of 0xabc they are holding campared to the total supply of 0xabc
Each time a token is added to the contract holdings it automatically sends it out to others (or this is a triggerable event - incuring gas)
Use Case:
Function Call:
SetSplitToken(0xabc) set which token is the SpittingToken
ShareOut(0x123 (holdingToken)) this looks for a particular token to share out to whomever is holding the SplitToken
ShareOut_All() looks for all tokens held by the contracts and attempts to send them all out
Seal each function
Seal whole contract
Assign ownership
Beta Was this translation helpful? Give feedback.
All reactions