prize_pool

package
v0.0.0-...-07d62d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMintSupply

func GetMintSupply(client sui.ISuiAPI, coinType string) (uint64, error)

GetMintSupply fetches the supply of a token via its mint address (unscaled)

func GetVaultBalance

func GetVaultBalance(client sui.ISuiAPI, vaultObjectId string) (uint64, error)

TODO cache with redis GetVaultBalance fetches the balance of a UserVault, ProtocolVault, or CoinReserve

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL