ownership

package
v0.10.21 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MPL-2.0 Imports: 9 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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