ownership

package
v0.10.20 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MPL-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Route                    = "tokensOwnershipTransfer"
	TransferOwnershipMsgType = "transferOwnership"
)

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(tokenMapper store.Mapper, keeper bank.Keeper) sdk.Handler

Types

type TransferOwnershipMsg

type TransferOwnershipMsg struct {
	From     sdk.AccAddress `json:"from"`
	Symbol   string         `json:"symbol"`
	NewOwner sdk.AccAddress `json:"new_owner"`
}

func NewTransferOwnershipMsg

func NewTransferOwnershipMsg(from sdk.AccAddress, symbol string, newOwner sdk.AccAddress) TransferOwnershipMsg

func (TransferOwnershipMsg) GetInvolvedAddresses

func (msg TransferOwnershipMsg) GetInvolvedAddresses() []sdk.AccAddress

func (TransferOwnershipMsg) GetSignBytes

func (msg TransferOwnershipMsg) GetSignBytes() []byte

func (TransferOwnershipMsg) GetSigners

func (msg TransferOwnershipMsg) GetSigners() []sdk.AccAddress

func (TransferOwnershipMsg) Route

func (msg TransferOwnershipMsg) Route() string

func (TransferOwnershipMsg) String

func (msg TransferOwnershipMsg) String() string

func (TransferOwnershipMsg) Type

func (msg TransferOwnershipMsg) Type() string

func (TransferOwnershipMsg) ValidateBasic

func (msg TransferOwnershipMsg) ValidateBasic() sdk.Error

Jump to

Keyboard shortcuts

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