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.

v4 source realm

Package reimbursements separates expense submissions from finance decisions.

Overview

Package reimbursements separates expense submissions from finance decisions.

Functions 9

func Configure

crossing Action
1func Configure(cur realm, programID int64, lane string, clerk, financeOfficer address)
source

func Decide

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

func RotateRoles

crossing Action
1func RotateRoles(cur realm, programID int64, lane string, clerk, financeOfficer address)
source

func SubmitExpense

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

Types 2

type ExpenseView

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

type Roles

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

Dependencies

Source Files 2