Documentation ¶
Index ¶
- func FromBigInt(number uint64, decimals int) float64
- func GetAddServiceToKeychainCmd() *cobra.Command
- func GetCreateKeychainCmd() *cobra.Command
- func GetDeleteServiceFromKeychainCmd() *cobra.Command
- func GetFirstSshKeyDefaultPath() string
- func GetGenerateAddressCmd() *cobra.Command
- func GetGetTransactionFeeCmd() *cobra.Command
- func GetKeychainCmd() *cobra.Command
- func GetSendTransactionCmd() *cobra.Command
- func ToBigInt(number float64, decimals int) uint64
- type ConfiguredTransaction
- type CurveCLI
- type EndpointCLI
- type HashAlgoCLI
- type Ownership
- type Recipient
- type SendTransactionData
- type TokenTransfer
- type TransactionTypeCLI
- type UCOTransfer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromBigInt ¶ added in v1.2.0
func GetCreateKeychainCmd ¶
func GetFirstSshKeyDefaultPath ¶
func GetFirstSshKeyDefaultPath() string
func GetGenerateAddressCmd ¶
func GetGetTransactionFeeCmd ¶
func GetKeychainCmd ¶
func GetSendTransactionCmd ¶
Types ¶
type ConfiguredTransaction ¶
type ConfiguredTransaction struct {
// contains filtered or unexported fields
}
type EndpointCLI ¶
type EndpointCLI string
func (*EndpointCLI) Set ¶
func (e *EndpointCLI) Set(value string) error
func (*EndpointCLI) String ¶
func (e *EndpointCLI) String() string
func (*EndpointCLI) Type ¶
func (e *EndpointCLI) Type() string
type HashAlgoCLI ¶
type HashAlgoCLI uint8
const ( SHA256 HashAlgoCLI = 0 SHA512 HashAlgoCLI = 1 SHA3_256 HashAlgoCLI = 2 SHA3_512 HashAlgoCLI = 3 BLAKE2B HashAlgoCLI = 4 )
func (*HashAlgoCLI) GetHashAlgo ¶
func (ha *HashAlgoCLI) GetHashAlgo() (archethic.HashAlgo, error)
func (*HashAlgoCLI) Set ¶
func (ha *HashAlgoCLI) Set(value string) error
func (*HashAlgoCLI) String ¶
func (ha *HashAlgoCLI) String() string
func (*HashAlgoCLI) Type ¶
func (ha *HashAlgoCLI) Type() string
type SendTransactionData ¶
type SendTransactionData struct { Endpoint string `yaml:"endpoint"` AccessSeed string `yaml:"access_seed"` Index int `yaml:"index"` EllipticCurve string `yaml:"elliptic_curve"` TransactionType string `yaml:"transaction_type"` UcoTransfers []UCOTransfer `yaml:"uco_transfers,omitempty"` TokenTransfers []TokenTransfer `yaml:"token_transfers,omitempty"` Recipients []Recipient `yaml:"recipients,omitempty"` Ownerships []Ownership `yaml:"ownerships,omitempty"` Content string `yaml:"content,omitempty"` SmartContract string `yaml:"smart_contract,omitempty"` ServiceName string `yaml:"serviceName,omitempty"` }
type TokenTransfer ¶
type TransactionTypeCLI ¶
type TransactionTypeCLI uint8
const ( KeychainAccessType TransactionTypeCLI = 254 KeychainType TransactionTypeCLI = 255 TransferType TransactionTypeCLI = 253 HostingType TransactionTypeCLI = 252 TokenType TransactionTypeCLI = 251 DataType TransactionTypeCLI = 250 ContractType TransactionTypeCLI = 249 CodeProposalType TransactionTypeCLI = 5 CodeApprovalType TransactionTypeCLI = 6 )
func (*TransactionTypeCLI) GetTransactionType ¶
func (tt *TransactionTypeCLI) GetTransactionType() (archethic.TransactionType, error)
func (*TransactionTypeCLI) Set ¶
func (tt *TransactionTypeCLI) Set(value string) error
func (*TransactionTypeCLI) String ¶
func (tt *TransactionTypeCLI) String() string
func (*TransactionTypeCLI) Type ¶
func (tt *TransactionTypeCLI) Type() string
type UCOTransfer ¶
Click to show internal directories.
Click to hide internal directories.