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 reimbursements gives the finance officer control over expense approvals.

Overview

Package reimbursements gives the finance officer control over expense approvals.

Functions 6

func Decide

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

func SubmitExpense

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

SubmitExpense fixes the evidence and opens a reservation for holdBlocks.

Types 2

type ExpenseView

struct
1type ExpenseView struct {
2	Evidence    string
3	Decision    string
4	Reservation treasury.ReservationView
5}
source

type Roles

struct
1type Roles struct {
2	Clerk          address
3	FinanceOfficer address
4}
source

Dependencies

Source Files 2