acalaswap

package
v1.4.291-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenSymbolMap = map[string]uint8{

	"ACA":  0,
	"AUSD": 1,
	"DOT":  2,
	"LDOT": 3,
	"TAP":  4,

	"RENBTC": 20,
	"CASH":   21,

	"KAR":  128,
	"KUSD": 129,
	"KSM":  130,
	"LKSM": 131,
	"TAI":  132,

	"BNC":   168,
	"VSKSM": 169,
	"PHA":   170,
	"KINT":  171,
	"KBTC":  172,
}

Adapted from: https://github.com/AcalaNetwork/acala.js/blob/master/packages/type-definitions/src/json/types.json, https://github.com/AcalaNetwork/Acala/blob/master/primitives/src/currency.rs

View Source
var TokenSymbolMapReverse map[int]string

Functions

This section is empty.

Types

type AcalaAssetMetadata

type AcalaAssetMetadata struct {
	Name           []byte
	Symbol         []byte
	Decimals       uint8
	MinimalBalance []byte
}

Jump to

Keyboard shortcuts

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