v1 source realm
Package dao\_sponsor shows how an authorized DAO executor can sponsor a budget.
Package dao_sponsor shows how an authorized DAO executor can sponsor a budget.
5
func Contribute
crossing ActionContribute funds any active native program from this realm's balance. The executor can deposit coins into this realm in the same call.
func CreateAndOpen
crossing Action1func CreateAndOpen(cur realm, title, policyPath string, coordinator address, reviewersCSV string, quorum int, amount int64) int64CreateAndOpen assembles the budget and funds it from this realm's native balance. Send coins to the realm's address before calling it.
func RotateCoordinator
crossing Actionfunc Withdraw
crossing ActionWithdraw collects an approved claim payable to this realm. For a sponsor refund, pass lane "refund" and item ID 0 after finalization.
Imports 4
/r/g1aj9pzthj36aav0kff2zcmx9llapa7ng7xzcfct/shared_budget/dao_sponsor/v1