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.

cask state

Back to all declarations

price

int64

// shillings per cask of the 1811

Value

1099511627776

purse

int64

// what every guest starts with

Value

100

goal

int64

// casks that make the cellar yours

Value

1000000

account

type

Value

cask.account

Buy

func(casks int64)

Buy purchases casks at the cooper's price.

Open
OID
05c572…4a63:6
Buy details

Inspect func

Holdings

func(addr .uverse.address) (shillings int64, casks int64)

Holdings returns the purse and casks of addr.

Open
OID
05c572…4a63:8
Holdings details

Inspect func

accountOf

func(addr .uverse.address) *cask.account
Open
OID
05c572…4a63:9
accountOf details

Inspect func

Render

func(string) string

Render shows the price list and the guests' books.

Open
OID
05c572…4a63:10
Render details

Inspect func

challenge

type

Value

cask.challenge

Challenge

func() flag.Challenge

Challenge describes this realm to a hall.

Open
OID
05c572…4a63:18
Challenge details

Inspect func
price : int64 =1099511627776
purse : int64 =100
goal : int64 =1000000
account : type =cask.account
accounts : *v0.Tree Inspect
Buy : func(casks int64) Inspect
Holdings : func(addr .uverse.address) (shillings int64, casks int64) Inspect
accountOf : func(addr .uverse.address) *cask.account Inspect
Render : func(string) string Inspect
info : flag.Info Inspect
captures : *flag.Ledger Inspect
challenge : type =cask.challenge
Challenge : func() flag.Challenge Inspect
init.13 : func() Inspect