denom
untyped stringValue
"ugnot"
mintFee
int64Value
150000000
stakeMin
int64Value
10000000
quietMs
int64Value
5000
capFish
untyped bigintValue
(128 <untyped> bigint)
hpBase
[6]int- OID
- 009c74…f9ec:4
hpBase details
biteBase
[6]int- OID
- 009c74…f9ec:6
biteBase details
spdBase
[6]int- OID
- 009c74…f9ec:8
spdBase details
species
[6]string- OID
- 009c74…f9ec:10
species details
rarities
[6]string- OID
- 009c74…f9ec:12
rarities details
traits
[3]string- OID
- 009c74…f9ec:14
traits details
fish
typeValue
fishsea.fish
inited
boolValue
true
self
.uverse.addressValue
<gnolang.StringValue>
mintTo
.uverse.addressValue
<gnolang.StringValue>
lpSink
.uverse.addressValue
<gnolang.StringValue>
team
.uverse.addressValue
<gnolang.StringValue>
minted
intValue
0
roster
[]fishsea.fishValue
<zero>
Init
func(lp .uverse.address, crew .uverse.address)Init records the caller as the mint wallet, plus liquidity and team. Those three must be distinct. Call once, from an EOA, with no coins.
- OID
- 009c74…f9ec:22
Init details
CommitMint
func() intCommitMint sells one unrevealed fish for 150 GNOT. The fee leaves this realm in the same call.
- OID
- 009c74…f9ec:24
CommitMint details
RevealMint
func(id int)RevealMint assigns rarity, trait, and the species name. Entropy is the commit height plus two.
- OID
- 009c74…f9ec:25
RevealMint details
Register
func(id int, stake int64)Register seats one revealed fish. The attached coins are the stake.
- OID
- 009c74…f9ec:26
Register details
Leave
func(id int)Leave returns the seated stake once 5 seconds have passed since Register.
- OID
- 009c74…f9ec:27
Leave details
Settle
func(id int, target int)Settle pays the smaller stake. The NFT stays. HP falls to 30% and must heal. The caller has to own the killer. This realm does not check who bit whom.
- OID
- 009c74…f9ec:28
Settle details
Heal
func(id int)Heal clears mustHeal outside the sea so Register can run again.
- OID
- 009c74…f9ec:29
Heal details
Roll
func(caller .uverse.address, commitH int64, entropyH int64, id int) (rarity string, trait string, bite int, hp int, speed int)Roll is the reveal hash. entropyH must be commitH+2. Trait adds 12%, half up.
- OID
- 009c74…f9ec:30
Roll details
Realm
func() .uverse.address- OID
- 009c74…f9ec:31
Realm details
MintTo
func() .uverse.address- OID
- 009c74…f9ec:32
MintTo details
Version
func() string- OID
- 009c74…f9ec:33
Version details
Name
func() string- OID
- 009c74…f9ec:34
Name details
Symbol
func() string- OID
- 009c74…f9ec:35
Symbol details
MintPrice
func() int64- OID
- 009c74…f9ec:36
MintPrice details
StakeMin
func() int64- OID
- 009c74…f9ec:37
StakeMin details
Minted
func() int- OID
- 009c74…f9ec:38
Minted details
Height
func() int64- OID
- 009c74…f9ec:39
Height details
OwnerOf
func(id string) string- OID
- 009c74…f9ec:40
OwnerOf details
TokenURI
func(id string) string- OID
- 009c74…f9ec:41
TokenURI details
TokensOf
func(owner string) string- OID
- 009c74…f9ec:42
TokensOf details
TraitOf
func(id int) string- OID
- 009c74…f9ec:43
TraitOf details
RarityOf
func(id int) string- OID
- 009c74…f9ec:44
RarityOf details
SizeOf
func(id int) string- OID
- 009c74…f9ec:45
SizeOf details
BoutsOf
func(id int) int- OID
- 009c74…f9ec:46
BoutsOf details
InMatch
func(id int) bool- OID
- 009c74…f9ec:47
InMatch details
PoolOf
func(id int) int64- OID
- 009c74…f9ec:48
PoolOf details
Revealed
func(id int) bool- OID
- 009c74…f9ec:49
Revealed details
MustHeal
func(id int) bool- OID
- 009c74…f9ec:50
MustHeal details
CommitOf
func(id int) int64- OID
- 009c74…f9ec:51
CommitOf details
HpOf
func(id int) int- OID
- 009c74…f9ec:52
HpOf details
BiteOf
func(id int) int- OID
- 009c74…f9ec:53
BiteOf details
SpeedOf
func(id int) int- OID
- 009c74…f9ec:54
SpeedOf details
NameOf
func(id int) string- OID
- 009c74…f9ec:55
NameOf details
Pending
func(owner string) int- OID
- 009c74…f9ec:56
Pending details
Render
func(path string) string- OID
- 009c74…f9ec:57
Render details
gate
func(pay int64) .uverse.address- OID
- 009c74…f9ec:58
gate details
payMint
func(fee int64, rlm .uverse.realm)- OID
- 009c74…f9ec:59
payMint details
splitKill
func(covered int64) (killer int64, lp int64, crew int64)- OID
- 009c74…f9ec:60
splitKill details
send
func(to .uverse.address, amt int64, rlm .uverse.realm)- OID
- 009c74…f9ec:61
send details
grow
func() int- OID
- 009c74…f9ec:62
grow details
mustFish
func(id int) *fishsea.fish- OID
- 009c74…f9ec:63
mustFish details
pending
func(who .uverse.address) int- OID
- 009c74…f9ec:64
pending details
seated
func(who .uverse.address) bool- OID
- 009c74…f9ec:65
seated details
pickName
func(tier int) string- OID
- 009c74…f9ec:66
pickName details
nameTaken
func(name string) bool- OID
- 009c74…f9ec:67
nameTaken details
tierOf
func(rarity string) int- OID
- 009c74…f9ec:68
tierOf details
takeExact
func(n int64)- OID
- 009c74…f9ec:69
takeExact details
atoi
func(s string) int- OID
- 009c74…f9ec:70