contract

package
v0.0.0-...-b507993 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BondMsg

type BondMsg struct {
	Amount    wasmvmtypes.Coin `json:"amount"`
	Delegator string           `json:"delegator"`
}

type CustomMsg

type CustomMsg struct {
	Provider *ProviderMsg `json:"provider,omitempty"`
}

type ProviderMsg

type ProviderMsg struct {
	Bond    *BondMsg    `json:"bond,omitempty"`
	Unbond  *UnbondMsg  `json:"unbond,omitempty"`
	Unstake *UnstakeMsg `json:"unstake,omitempty"`
	Restake *RestakeMsg `json:"restake,omitempty"`
}

type RestakeMsg

type RestakeMsg struct {
	Amount    wasmvmtypes.Coin `json:"amount"`
	Delegator string           `json:"delegator"`
	Validator string           `json:"validator"`
}

type SudoMsg

type SudoMsg struct {
	Jailing *ValidatorSlash `json:"jailing,omitempty"`
}

type UnbondMsg

type UnbondMsg struct {
	Amount    wasmvmtypes.Coin `json:"amount"`
	Delegator string           `json:"delegator"`
}

type UnstakeMsg

type UnstakeMsg struct {
	Amount    wasmvmtypes.Coin `json:"amount"`
	Validator string           `json:"validator"`
	Delegator string           `json:"delegator"`
}

type ValidatorAddr

type ValidatorAddr = string

ValidatorAddr alias for the Bech32 address string of sdk.ValAddress

type ValidatorSlash

type ValidatorSlash struct {
	Jailed     []ValidatorAddr `json:"jailed"`
	Tombstoned []ValidatorAddr `json:"tombstoned"`
}

Jump to

Keyboard shortcuts

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