denom
untyped stringValue
"ugnot"
unit
int64Value
1000000
mintFee
int64Value
1000000
stakeMin
int64Value
1000000
biteStat
untyped bigintValue
(69 <untyped> bigint)
hpStat
untyped bigintValue
(88 <untyped> bigint)
reach
untyped bigintValue
(2 <untyped> bigint)
hitGap
int64Value
2400
cellMs
int64Value
320
quietMs
int64Value
60000
seatMax
untyped bigintValue
(8 <untyped> bigint)
box
untyped bigintValue
(32 <untyped> bigint)
stepCap
untyped bigintValue
(16 <untyped> bigint)
packMax
untyped bigintValue
(2400 <untyped> bigint)
swimmer
typeValue
fishduel.swimmer
note
typeValue
fishduel.note
inited
boolValue
true
self
.uverse.addressValue
<gnolang.StringValue>
lpSink
.uverse.addressValue
<gnolang.StringValue>
team
.uverse.addressValue
<gnolang.StringValue>
burn
.uverse.addressValue
<gnolang.StringValue>
minted
intValue
2
openBout
intValue
1
boutOpen
boolValue
false
seatMilli
int64Value
1791474156000
seatHeight
int64Value
257417
roster
[9]fishduel.swimmer- OID
- 064825…03d9:14
roster details
Init
func(lp .uverse.address, crew .uverse.address, ash .uverse.address)Init records three GNOT sinks. They must be distinct. Call once, from an EOA, with no coins. The mint fee is 60/20/10 and the last tenth joins team. Kill cheer also joins team.
- OID
- 064825…03d9:33
Init details
Mint
func(name string) intMint sells one trial fish for 1 GNOT. The fee leaves this realm in the same call.
- OID
- 064825…03d9:35
Mint details
Register
func(id int, stake int64, pub string)Register seats a fish and binds its mark key. The attached coins are the stake.
- OID
- 064825…03d9:36
Register details
Leave
func(id int)Leave returns the seated stake. While the other fish is seated, Leave waits 60 seconds.
- OID
- 064825…03d9:37
Leave details
Settle
func(id int, target int, pack string)Settle pays a kill from six notes, killer then victim, three samples, separated by slashes.
- OID
- 064825…03d9:38
Settle details
Strike
func(bite int, hpMax int) intStrike is floor(bite \* 100 / (hpMax + 100)), at least 1.
- OID
- 064825…03d9:39
Strike details
Realm
func() .uverse.address- OID
- 064825…03d9:40
Realm details
Version
func() string- OID
- 064825…03d9:41
Version details
MintPrice
func() int64- OID
- 064825…03d9:42
MintPrice details
StakeMin
func() int64- OID
- 064825…03d9:43
StakeMin details
Minted
func() int- OID
- 064825…03d9:44
Minted details
Bout
func() int- OID
- 064825…03d9:45
Bout details
BoutOpen
func() bool- OID
- 064825…03d9:46
BoutOpen details
SeatHeight
func() int64- OID
- 064825…03d9:47
SeatHeight details
Height
func() int64- OID
- 064825…03d9:48
Height details
Now
func() int64- OID
- 064825…03d9:49
Now details
OwnerOf
func(id int) .uverse.address- OID
- 064825…03d9:50
OwnerOf details
PoolOf
func(id int) int64- OID
- 064825…03d9:51
PoolOf details
HpOf
func(id int) int- OID
- 064825…03d9:52
HpOf details
InSea
func(id int) bool- OID
- 064825…03d9:53
InSea details
Ended
func(id int) bool- OID
- 064825…03d9:54
Ended details
MarkOf
func(id int) string- OID
- 064825…03d9:55
MarkOf details
Render
func(path string) string- OID
- 064825…03d9:56
Render details
gate
func(pay int64) .uverse.address- OID
- 064825…03d9:57
gate details
checkNotes
func(id int, target int, got [3][2]fishduel.note)- OID
- 064825…03d9:58
checkNotes details
signed
func(id int, n fishduel.note) bool- OID
- 064825…03d9:59
signed details
canon
func(n fishduel.note) string- OID
- 064825…03d9:60
canon details
parseNote
func(raw string) fishduel.note- OID
- 064825…03d9:61
parseNote details
stepMax
func(dt int64) int- OID
- 064825…03d9:62
stepMax details
gap
func(ax int, az int, bx int, bz int) int- OID
- 064825…03d9:63
gap details
inBox
func(x int, z int) bool- OID
- 064825…03d9:64
inBox details
splitKill
func(covered int64) (killer int64, lp int64, crew int64, buyback int64)- OID
- 064825…03d9:65
splitKill details
payMint
func(fee int64, rlm .uverse.realm)- OID
- 064825…03d9:66
payMint details
send
func(to .uverse.address, amt int64, rlm .uverse.realm)- OID
- 064825…03d9:67
send details
mustFish
func(id int) *fishduel.swimmer- OID
- 064825…03d9:68
mustFish details
seated
func(who .uverse.address) bool- OID
- 064825…03d9:69
seated details
seatedCount
func() int- OID
- 064825…03d9:70
seatedCount details
otherSeated
func(id int) bool- OID
- 064825…03d9:71
otherSeated details
validName
func(name string) bool- OID
- 064825…03d9:72
validName details
requireInit
func()- OID
- 064825…03d9:73
requireInit details
takeExact
func(n int64)- OID
- 064825…03d9:74
takeExact details
mustHex
func(s string, n int) []uint8- OID
- 064825…03d9:75
mustHex details
atoi
func(s string) int- OID
- 064825…03d9:76
atoi details
atoi64
func(s string) int64- OID
- 064825…03d9:77
atoi64 details
denom
:
untyped string
="ugnot"
unit
:
int64
=1000000
mintFee
:
int64
=1000000
stakeMin
:
int64
=1000000
biteStat
:
untyped bigint
=(69 <untyped> bigint)
hpStat
:
untyped bigint
=(88 <untyped> bigint)
reach
:
untyped bigint
=(2 <untyped> bigint)
hitGap
:
int64
=2400
cellMs
:
int64
=320
quietMs
:
int64
=60000
seatMax
:
untyped bigint
=(8 <untyped> bigint)
box
:
untyped bigint
=(32 <untyped> bigint)
stepCap
:
untyped bigint
=(16 <untyped> bigint)
packMax
:
untyped bigint
=(2400 <untyped> bigint)
swimmer
:
type
=fishduel.swimmer
note
:
type
=fishduel.note
inited
:
bool
=true
self
:
.uverse.address
=<gnolang.StringValue>
lpSink
:
.uverse.address
=<gnolang.StringValue>
team
:
.uverse.address
=<gnolang.StringValue>
burn
:
.uverse.address
=<gnolang.StringValue>
minted
:
int
=2
openBout
:
int
=1
boutOpen
:
bool
=false
seatMilli
:
int64
=1791474156000
seatHeight
:
int64
=257417