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 Int
- 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" EnvChainHome = "CHAIN_HOME_FOLDER" )
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 ZeroInt = sdk.ZeroInt 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 KVStoreReversePrefixIterator = sdk.KVStoreReversePrefixIterator NewKVStoreKey = sdk.NewKVStoreKey NewTransientStoreKey = sdk.NewTransientStoreKey StoreTypeTransient = sdk.StoreTypeTransient StoreTypeIAVL = sdk.StoreTypeIAVL NewContext = sdk.NewContext // nolint GetPubKeyFromBech32 = legacybech32.UnmarshalPubKey // nolint Bech32ifyPubKey = legacybech32.MarshalPubKey Bech32PubKeyTypeConsPub = legacybech32.ConsPK Bech32PubKeyTypeAccPub = legacybech32.AccPK Wrapf = se.Wrapf MustSortJSON = sdk.MustSortJSON CodeInsufficientFunds = uint32(5) )
Functions ¶
func ErrInsufficientCoins ¶
func ErrInvalidAddress ¶
func ErrInvalidCoins ¶
func ErrUnauthorized ¶
func ErrUnknownRequest ¶
func SignerCreds ¶
Types ¶
type AccAddress ¶
type AccAddress = sdk.AccAddress
type KeybaseStore ¶
KeybaseStore to store keys
func GetKeybase ¶
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.