bindings

package
v0.0.0-...-f42d900 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultCodespace = "wasmbinding"

	ErrParsingSeiWasmMsg = sdkErrors.Register(DefaultCodespace, 2, "Error parsing Sei Wasm Message")
)

Codes for wasm contract errors

Functions

This section is empty.

Types

type BurnTokens

type BurnTokens struct {
	Amount sdk.Coin `json:"amount"`
}

type CancelOrders

type CancelOrders struct {
	Cancellations []*types.Cancellation `json:"cancellations"`
	ContractAddr  string                `json:"contract_address"`
}

type ChangeAdmin

type ChangeAdmin struct {
	Denom           string `json:"denom"`
	NewAdminAddress string `json:"new_admin_address"`
}

/ ChangeAdmin changes the admin for a factory denom. / If the NewAdminAddress is empty, the denom has no admin.

type CreateDenom

type CreateDenom struct {
	Subdenom string `json:"subdenom"`
}

/ CreateDenom creates a new factory denom, of denomination: / factory/{creating contract address}/{Subdenom} / Subdenom can be of length at most 44 characters, in [0-9a-zA-Z./] / The (creating contract address, subdenom) pair must be unique. / The created denom's admin is the creating contract address, / but this admin can be changed using the ChangeAdmin binding.

type MintTokens

type MintTokens struct {
	Amount sdk.Coin `json:"amount"`
}

type PlaceOrders

type PlaceOrders struct {
	Orders       []*types.Order `json:"orders"`
	Funds        sdk.Coins      `json:"funds"`
	ContractAddr string         `json:"contract_address"`
}

Dex Module msgs

Jump to

Keyboard shortcuts

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