cw20

package
v0.1.0-xco.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 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 Cw20Coin

type Cw20Coin struct {
	Address string
	Amount  uint64
}

type InstantiateMarketingInfo

type InstantiateMarketingInfo struct {
	Project     string `json:"project"`
	Description string `json:"description"`
	Marketing   string `json:"marketing"`
}

type InstantiateMsg

type InstantiateMsg struct {
	Name            string                   `json:"name"`
	Symbol          string                   `json:"symbol"`
	Decimals        uint32                   `json:"decimals"`
	Mint            MinterResponse           `json:"mint"`
	Marketing       InstantiateMarketingInfo `json:"marketing,omitempty"`
	InitialBalances []Cw20Coin               `json:"initial_balances"`
}

func (InstantiateMsg) Marshal

func (m InstantiateMsg) Marshal() ([]byte, error)

type Mint

type Mint struct {
	Recipient string `json:"recipient"`
	Amount    uint   `json:"amount"`
}

func (Mint) Marshal

func (m Mint) Marshal() ([]byte, error)

type MinterResponse

type MinterResponse struct {
	Minter string  `json:"minter"`
	Cap    *uint64 `json:"cap,omitempty"`
}

func (MinterResponse) Marshal

func (m MinterResponse) Marshal() ([]byte, error)

Jump to

Keyboard shortcuts

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