Skip to content Search Apps Documentation Source Content 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.

fish source realm

Package fish is the Shoal collection. Each fish is a GRC721 on this realm. List, cancel, buy, and Bite live here too....

Overview

Package fish is the Shoal collection. Each fish is a GRC721 on this realm. List, cancel, buy, and Bite live here too. Gno cannot pull a foreign token into Bazaar, so the book is not a second package.

Not deployed. Init does not call bazaarv2 Reserve or Register.

Functions 53

func Bite

crossing Action
1func Bite(cur realm, id, target int)
source

Bite is one user call and takes no payment. The hit test is sector-center reach plus a 42 degree mouth cone. A miss does not start cooldown. Members of the same party cannot bite each other. A killing blow pays the smaller Pool X and leaves the NFT at 30% HP. The killer share is split by HP removed. Empty cheer and viewer shares pay the season sink.

func Cheer

crossing Action
1func Cheer(cur realm, id int)
source

Cheer locks ugnot on a fish already in the sea. The deposit comes back when that fish leaves or is downed. It does not change bite.

func Init

crossing Action
1func Init(cur realm, name, symbol, images string, royalty int64, upgrade, lp, burn, protocol, season address)
source

Dependencies

Source Files 6