types

package
v0.0.24-wip-4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MnemonicWalletSessionStatusPreparedName = "prepared"
	MnemonicWalletSessionStatusClosedName   = "closed"
)
View Source
const (
	MnemonicWalletStatusCreatedName  = "created"
	MnemonicWalletStatusEnabledName  = "enabled"
	MnemonicWalletStatusDisabledName = "disabled"
)
View Source
const (
	PermissionTypeAddNewWalletName           = "permission_add_new_wallet"
	PermissionTypeGetWalletName              = "permission_get_wallet"
	PermissionTypeGetEnabledWalletsName      = "permission_get_enabled_wallets"
	PermissionTypeGetDerivationAddressName   = "permission_get_derivation_address"
	PermissionTypeGetDerivationAddressesName = "permission_get_derivation_addresses"
	PermissionTypeStartWalletSessionName     = "permission_start_wallet_session"
	PermissionTypeGetWalletSessionName       = "permission_get_wallet_session"
	PermissionTypeSignTransactionName        = "permission_sign_transaction"
)
View Source
const (
	SignRequestStatusCreatedName  = "created"
	SignRequestStatusPreparedName = "prepared"
	SignRequestStatusSignedName   = "signed"
	SignRequestStatusClosedName   = "closed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MnemonicWalletSessionStatus

type MnemonicWalletSessionStatus uint8
const (
	MnemonicWalletSessionStatusPlaceholder MnemonicWalletSessionStatus = iota
	MnemonicWalletSessionStatusPrepared
	MnemonicWalletSessionStatusClosed
)

func (MnemonicWalletSessionStatus) String

type MnemonicWalletStatus

type MnemonicWalletStatus uint8
const (
	MnemonicWalletStatusPlaceholder MnemonicWalletStatus = iota
	MnemonicWalletStatusCreated
	MnemonicWalletStatusEnabled
	MnemonicWalletStatusDisabled
)

func (MnemonicWalletStatus) String

func (d MnemonicWalletStatus) String() string

type PermissionType

type PermissionType uint8
const (
	PermissionTypePlaceHolder PermissionType = iota
	PermissionTypeAddNewWallet
	PermissionTypeGetWallet
	PermissionTypeGetEnabledWallets
	PermissionTypeGetDerivationAddress
	PermissionTypeGetDerivationAddresses
	PermissionTypeStartWalletSession
	PermissionTypeGetWalletSession
	PermissionTypeSignTransaction
)

func (PermissionType) String

func (d PermissionType) String() string

type SignRequestStatus

type SignRequestStatus uint8
const (
	SignRequestStatusPlaceholder SignRequestStatus = iota
	SignRequestStatusCreated
	SignRequestStatusPrepared
	SignRequestStatusSigned
	SignRequestStatusClosed
)

func (SignRequestStatus) String

func (d SignRequestStatus) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL