Skip to content

The repo for the $TRUNK token and DAO interaction instructions.

Notifications You must be signed in to change notification settings

Jonny-Ringo/TRUNK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRUNK

User Staking and voting

*Note: TRUNK denomination adds 3 zeros. 1000 = 1 TRUNK

TestTRUNK

tTRUNK = "qNDkAsFfwuzB-DodQ1UQtuMFMcSrLfbub2ZdzIB4LIQ"

Set The DAO/Token Address

TRUNK = "wOrb8b_V8QixWyXZub48Ki5B6OIDyf_p1ngoonsaRpQ"

Stake

Send({Target = TRUNK, Action = "Stake", Quantity = "[Stake_quantity]"})

See Staked Balance

Send({Target = TRUNK, Action = "Stakers"})
-- wait for response

TRUNKStakers = require('json').decode(Inbox[#Inbox].Data)

TRUNKStakers["your_staked_address"]

Unstake

Send({Target = TRUNK, Action = "Unstake", Quantity = "Unstake_quantity" })

Propose a vote to change the FRAME

Send({ Target = TRUNK, Action = "Vote", Side = "yay", Command = [[FrameID= "Arweave_tx_ID_here"]]})

Vote yay(yes)

Send({ Target = TRUNK, Action = "Vote", Side = "yay",  VoteID = "current_vote_number" })

Vote nay(no)

Send({ Target = TRUNK, Action = "Vote", Side = "nay", VoteID = "current_vote_number" })

About

The repo for the $TRUNK token and DAO interaction instructions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 95.8%
  • HTML 4.2%