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.

till source realm

Package till is a Cellar challenge about native coins and the origin send envelope.

Overview

Package till is a Cellar challenge about native coins and the origin send envelope.

Constants 1

const Price

1const Price int64 = 100_000
source

Price of a round, in ugnot (0.1 GNOT).

Functions 4

func BuyRound

crossing Action
1func BuyRound(cur realm)
source

BuyRound pours you a round once the barkeep sees you sent the price. Send the coins with the call: gnokey maketx call -send 100000ugnot.

func Render

1func Render(_ string) string
source

Render shows the bar's books.

func Rounds

Action
1func Rounds(addr address) int
source

Rounds returns how many rounds addr has been poured.

Dependencies

Source Files 5