Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

v2 source realm

Package maintenance requires two independent reviewers to settle a milestone.

Overview

Package maintenance requires two independent reviewers to settle a milestone.

Functions 6

func Configure

crossing Action
1func Configure(cur realm, programID int64, coordinator, reviewer1, reviewer2, reviewer3 address)
source

func SubmitMilestone

crossing Action
1func SubmitMilestone(cur realm, programID, itemID int64, recipient address, amount, holdBlocks int64, proofDigest string) int64
source

SubmitMilestone fixes the evidence and opens a reservation for holdBlocks.

func Vote

crossing Action
1func Vote(cur realm, programID, itemID int64, evidence string, approve bool) string
source

Types 2

type MilestoneView

struct
1type MilestoneView struct {
2	Evidence    string
3	Votes       [3]string
4	Reservation treasury.ReservationView
5}
source

type Roles

struct
1type Roles struct {
2	Coordinator address
3	Reviewers   [3]address
4}
source

Dependencies

Source Files 2