Documentation ¶
Index ¶
- func AccountFromAddr(addr string) authtypes.AccountI
- func AssertNoProfileError(profile *types.Profile, err error) *types.Profile
- func MultiCosmosSignatureFromHex(unpacker codectypes.AnyUnpacker, hexEncodedSignatureData string) types.Signature
- func NewAny(value proto.Message) *codectypes.Any
- func ProfileFromAddr(address string) *types.Profile
- func PubKeyFromBech32(pubKey string) cryptotypes.PubKey
- func PubKeyFromJSON(cdc codec.Codec, pubKey string) cryptotypes.PubKey
- func SingleSignatureFromHex(hexEncodedSignature string) types.Signature
- type ChainLinkAccount
- func (a ChainLinkAccount) Bech32Address() *types.Bech32Address
- func (a ChainLinkAccount) Bech32Proof(user string) types.Proof
- func (a ChainLinkAccount) Bech32SignatureData(signedValue string) types.Signature
- func (a ChainLinkAccount) ChainName() string
- func (a ChainLinkAccount) GetBech32ChainLink(user string, date time.Time) types.ChainLink
- func (a ChainLinkAccount) PubKey() cryptotypes.PubKey
- func (a ChainLinkAccount) PubKeyAny() *codectypes.Any
- func (a ChainLinkAccount) Sign(value string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountFromAddr ¶
func AssertNoProfileError ¶
func MultiCosmosSignatureFromHex ¶ added in v4.2.0
func MultiCosmosSignatureFromHex(unpacker codectypes.AnyUnpacker, hexEncodedSignatureData string) types.Signature
MultiCosmosSignatureFromHex convert the hex-encoded string of the MultiSignature Any value to CosmosSignatureData
func ProfileFromAddr ¶
func PubKeyFromBech32 ¶
func PubKeyFromBech32(pubKey string) cryptotypes.PubKey
func PubKeyFromJSON ¶
func PubKeyFromJSON(cdc codec.Codec, pubKey string) cryptotypes.PubKey
func SingleSignatureFromHex ¶ added in v4.2.0
SingleSignatureFromHex convert the hex-encoded string of the single signature to CosmosSignatureData
Types ¶
type ChainLinkAccount ¶
type ChainLinkAccount struct {
// contains filtered or unexported fields
}
func GetChainLinkAccount ¶
func GetChainLinkAccount(chainName string, bech32Prefix string) ChainLinkAccount
func (ChainLinkAccount) Bech32Address ¶
func (a ChainLinkAccount) Bech32Address() *types.Bech32Address
func (ChainLinkAccount) Bech32Proof ¶
func (a ChainLinkAccount) Bech32Proof(user string) types.Proof
func (ChainLinkAccount) Bech32SignatureData ¶
func (a ChainLinkAccount) Bech32SignatureData(signedValue string) types.Signature
func (ChainLinkAccount) ChainName ¶
func (a ChainLinkAccount) ChainName() string
func (ChainLinkAccount) GetBech32ChainLink ¶
func (ChainLinkAccount) PubKey ¶ added in v4.2.0
func (a ChainLinkAccount) PubKey() cryptotypes.PubKey
func (ChainLinkAccount) PubKeyAny ¶
func (a ChainLinkAccount) PubKeyAny() *codectypes.Any
func (ChainLinkAccount) Sign ¶ added in v4.2.0
func (a ChainLinkAccount) Sign(value string) []byte
Click to show internal directories.
Click to hide internal directories.