Skip to content

Treasury cw20 template(comments removed)#36

Open
debbypark99 wants to merge 6 commits intopostech-dao:mainfrom
debbypark99:test
Open

Treasury cw20 template(comments removed)#36
debbypark99 wants to merge 6 commits intopostech-dao:mainfrom
debbypark99:test

Conversation

@debbypark99
Copy link

contracts -> treasury 폴더 안에 contracts.rs, error.rs, lib.rs, msg.rs, state.rs 총 5개의 rust file.

Config - Owner는 owner 변경을 포함한 모든 권한이 있음, Manager는 owner 변경을 제외한 모든 권한이 있음.
Execute - 해당 contract로 유저는 stake, unstake, fund, claim, update_config 총 4가지 execute를 할 수 있음
Query - GetConfig, StakedBalanceAtHeight, TotalStakedAtHeight, StakedValue, TotalValue, Claims, ListStakers 총 7가지 query를 할 수 있음.

To do

  1. max claim이 꼭 필요한가
  2. NFT까지 합치기
  3. 코드 내용 완벽하게 이해하고 test 돌리기

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant