Documentation ¶
Index ¶
- Constants
- Variables
- func ErrInsufficientCoins(err error, msg string) error
- func ErrInvalidAddress(addr string) error
- func ErrInvalidCoins(msg string) error
- func ErrUnauthorized(msg string) error
- func ErrUnknownRequest(msg string) error
- func SignerCreds() (string, string)
- type AccAddress
- type Account
- type Attribute
- type Coin
- type Coins
- type Context
- type Dec
- type Event
- type Events
- type Handler
- type Iterator
- type KeybaseStore
- type Msg
- type Querier
- type Result
- type Route
- type StoreKey
- type TxResponse
- type Uint
Constants ¶
View Source
const ( DefaultCoinDecimals = 8 EnvSignerName = "SIGNER_NAME" EnvSignerPassword = "SIGNER_PASSWD" )
Variables ¶
View Source
var ( KeyringServiceName = sdk.KeyringServiceName NewRoute = sdk.NewRoute NewKVStoreKeys = sdk.NewKVStoreKeys NewUint = sdk.NewUint ParseUint = sdk.ParseUint NewInt = sdk.NewInt NewDec = sdk.NewDec ZeroUint = sdk.ZeroUint ZeroDec = sdk.ZeroDec OneUint = sdk.OneUint NewCoin = sdk.NewCoin NewCoins = sdk.NewCoins ParseCoins = sdk.ParseCoinsNormalized NewDecWithPrec = sdk.NewDecWithPrec NewDecFromBigInt = sdk.NewDecFromBigInt NewIntFromBigInt = sdk.NewIntFromBigInt NewUintFromBigInt = sdk.NewUintFromBigInt AccAddressFromBech32 = sdk.AccAddressFromBech32 VerifyAddressFormat = sdk.VerifyAddressFormat GetFromBech32 = sdk.GetFromBech32 NewAttribute = sdk.NewAttribute NewDecFromStr = sdk.NewDecFromStr GetConfig = sdk.GetConfig NewEvent = sdk.NewEvent RegisterCodec = sdk.RegisterLegacyAminoCodec NewEventManager = sdk.NewEventManager EventTypeMessage = sdk.EventTypeMessage AttributeKeyModule = sdk.AttributeKeyModule KVStorePrefixIterator = sdk.KVStorePrefixIterator NewKVStoreKey = sdk.NewKVStoreKey NewTransientStoreKey = sdk.NewTransientStoreKey StoreTypeTransient = sdk.StoreTypeTransient StoreTypeIAVL = sdk.StoreTypeIAVL NewContext = sdk.NewContext GetPubKeyFromBech32 = sdk.GetPubKeyFromBech32 Bech32ifyPubKey = sdk.Bech32ifyPubKey Bech32PubKeyTypeConsPub = sdk.Bech32PubKeyTypeConsPub Bech32PubKeyTypeAccPub = sdk.Bech32PubKeyTypeAccPub Wrapf = se.Wrapf MustSortJSON = sdk.MustSortJSON CodeInsufficientFunds = uint32(5) )
Functions ¶
func ErrInsufficientCoins ¶
func ErrInvalidAddress ¶
func ErrInvalidCoins ¶
func ErrUnauthorized ¶
func ErrUnknownRequest ¶
func SignerCreds ¶ added in v0.41.0
Types ¶
type AccAddress ¶
type AccAddress = sdk.AccAddress
type KeybaseStore ¶ added in v0.41.0
KeybaseStore to store keys
func GetKeybase ¶ added in v0.41.0
func GetKeybase(thorchainHome string) (KeybaseStore, error)
GetKeybase will create an instance of Keybase
type TxResponse ¶
type TxResponse = sdk.TxResponse
Click to show internal directories.
Click to hide internal directories.