Documentation ¶
Index ¶
- func FromAddressSpec(as *sdkTypes.AddressSpec) (apiTypes.Address, error)
- func FromEthAddress(ethAddr []byte) (apiTypes.Address, error)
- func FromOCAddress(ocAddr address.Address) (apiTypes.Address, error)
- func FromOCSAddress(ocsAddr staking.Address) (apiTypes.Address, error)
- func FromRuntimeID(id coreCommon.Namespace) (apiTypes.Address, error)
- func FromSdkAddress(sdkAddr *sdkTypes.Address) (apiTypes.Address, error)
- func RegisterRelatedAddressSpec(addressPreimages map[apiTypes.Address]*PreimageData, ...) (apiTypes.Address, error)
- func RegisterRelatedEthAddress(addressPreimages map[apiTypes.Address]*PreimageData, ...) (apiTypes.Address, error)
- func RegisterRelatedOCAddress(relatedAddresses map[apiTypes.Address]struct{}, ocAddr address.Address) (apiTypes.Address, error)
- func RegisterRelatedOCSAddress(relatedAddresses map[apiTypes.Address]struct{}, ocsAddr staking.Address) (apiTypes.Address, error)
- func RegisterRelatedRuntimeAddress(addressPreimages map[apiTypes.Address]*PreimageData, ...) (apiTypes.Address, error)
- func RegisterRelatedSdkAddress(relatedAddresses map[apiTypes.Address]struct{}, sdkAddr *sdkTypes.Address) (apiTypes.Address, error)
- func SliceFromSet(accounts map[apiTypes.Address]struct{}) []string
- type PreimageData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromAddressSpec ¶
func FromAddressSpec(as *sdkTypes.AddressSpec) (apiTypes.Address, error)
func FromRuntimeID ¶
func FromRuntimeID(id coreCommon.Namespace) (apiTypes.Address, error)
func RegisterRelatedAddressSpec ¶
func RegisterRelatedAddressSpec(addressPreimages map[apiTypes.Address]*PreimageData, relatedAddresses map[apiTypes.Address]struct{}, as *sdkTypes.AddressSpec) (apiTypes.Address, error)
func RegisterRelatedRuntimeAddress ¶
func RegisterRelatedRuntimeAddress(addressPreimages map[apiTypes.Address]*PreimageData, relatedAddresses map[apiTypes.Address]struct{}, id coreCommon.Namespace) (apiTypes.Address, error)
func SliceFromSet ¶
Types ¶
type PreimageData ¶
Click to show internal directories.
Click to hide internal directories.