asset

package
v1.0.0-rc-3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FungibleAssetInfo

type FungibleAssetInfo struct {
	Name          string   `json:"name"`
	Symbol        string   `json:"symbol"`
	Decimals      uint8    `json:"decimals"`
	IsNative      bool     `json:"isNative"`
	ReserveAmount *big.Int `json:"-"`
}

type NativeAsset

type NativeAsset struct {
	MinFeeAmountInUsd *decimal.Decimal
	ChainId           uint64
	Asset             string
	FeePercentage     int64
}

type NonFungibleAssetInfo

type NonFungibleAssetInfo struct {
	Name          string   `json:"name"`
	Symbol        string   `json:"symbol"`
	IsNative      bool     `json:"isNative"`
	ReserveAmount *big.Int `json:"-"`
}

Jump to

Keyboard shortcuts

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