utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tag

func Tag(chainType, tokenSymbol, tokenID string) string

Tag: for special token tag cal, Tag is the unique identifier of token notice: Arweave address is Case Sensitive

func TagDecode

func TagDecode(tokenTag string) (chainType, tokenSymbol, tokenId string, err error)

func ZoomBurnAmount

func ZoomBurnAmount(everTokenDecimal, targetDecimal int, everAmount *big.Int) (targetAmount *big.Int, err error)

ZoomBurnAmount zoom burn tx amount

func ZoomMintAmount

func ZoomMintAmount(everTokenDecimal int, targetAmount *big.Int, targetDecimal int) (everAmount *big.Int, err error)

ZoomMintAmount token mint tx amount split

Types

This section is empty.

Jump to

Keyboard shortcuts

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