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)
seatMax
untyped bigintValue
(16 <untyped> bigint)
swimmer
typeValue
fishbay.swimmer
inited
boolValue
true
self
.uverse.addressValue
<gnolang.StringValue>
reserve
.uverse.addressValue
<gnolang.StringValue>
upgrade
.uverse.addressValue
<gnolang.StringValue>
lpSink
.uverse.addressValue
<gnolang.StringValue>
team
.uverse.addressValue
<gnolang.StringValue>
burn
.uverse.addressValue
<gnolang.StringValue>
minted
intValue
2
roster
[17]fishbay.swimmer- OID
- 01aede…1d1c:12
roster details
Init
func(who .uverse.address, up .uverse.address, lp .uverse.address, crew .uverse.address, ash .uverse.address)Init records the FISH reserve and the four GNOT sinks. The reserve must not also be a sink. Upgrade and burn may be the same address. Call this once, from an EOA, with no coins.
- OID
- 01aede…1d1c:30
Init details
Mint
func(name string) intMint sells one trial fish for 1 GNOT. The fee leaves this realm in the same call.
- OID
- 01aede…1d1c:32
Mint details
Register
func(id int, stake int64)Register seats a fish. The attached coins are the stake and must be at least 1 GNOT.
- OID
- 01aede…1d1c:33
Register details
Leave
func(id int)Leave returns the seated stake to the owner. A fish that is already out of the bay cannot leave.
- OID
- 01aede…1d1c:34
Leave details
Bite
func(id int, target int) intBite deals flat damage. A kill pays the smaller stake and draws 1 FISH per 1 GNOT of that stake.
- OID
- 01aede…1d1c:35
Bite details
Strike
func(bite int, hpMax int) intStrike is the damage formula. Size and rarity are not inputs.
- OID
- 01aede…1d1c:36
Strike details
Realm
func() .uverse.address- OID
- 01aede…1d1c:37
Realm details
Reserve
func() .uverse.address- OID
- 01aede…1d1c:38
Reserve details
Version
func() string- OID
- 01aede…1d1c:39
Version details
MintPrice
func() int64- OID
- 01aede…1d1c:40
MintPrice details
StakeMin
func() int64- OID
- 01aede…1d1c:41
StakeMin details
Minted
func() int- OID
- 01aede…1d1c:42
Minted details
OwnerOf
func(id int) .uverse.address- OID
- 01aede…1d1c:43
OwnerOf details
PoolOf
func(id int) int64- OID
- 01aede…1d1c:44
PoolOf details
HpOf
func(id int) int- OID
- 01aede…1d1c:45
HpOf details
InSea
func(id int) bool- OID
- 01aede…1d1c:46
InSea details
MustHeal
func(id int) bool- OID
- 01aede…1d1c:47
MustHeal details
Render
func(path string) string- OID
- 01aede…1d1c:48
Render details
payFish
func(to .uverse.address, covered int64) int64- OID
- 01aede…1d1c:49
payFish details
splitKill
func(covered int64) (killer int64, lp int64, crew int64, buyback int64)- OID
- 01aede…1d1c:50
splitKill details
payMint
func(fee int64, rlm .uverse.realm)- OID
- 01aede…1d1c:51
payMint details
send
func(to .uverse.address, amt int64, rlm .uverse.realm)- OID
- 01aede…1d1c:52
send details
mustFish
func(id int) *fishbay.swimmer- OID
- 01aede…1d1c:53
mustFish details
ownerSeated
func(who .uverse.address) bool- OID
- 01aede…1d1c:54
ownerSeated details
downHP
func(hpMax int) int- OID
- 01aede…1d1c:55
downHP details
validName
func(name string) bool- OID
- 01aede…1d1c:56
validName details
requireInit
func()- OID
- 01aede…1d1c:57
requireInit details
takeExact
func(n int64)- OID
- 01aede…1d1c:58