Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - type Action
 - func (*Action) Descriptor() ([]byte, []int)deprecated
 - func (x *Action) GetAddBundledTransactionsMessage() *Action_AddBundledTransactions
 - func (x *Action) GetAddPubAddressMessage() *Action_AddPubAddress
 - func (x *Action) GetMessageOneof() isAction_MessageOneof
 - func (x *Action) GetNewFundsRequestMessage() *Action_NewFundsRequest
 - func (x *Action) GetRegisterFioAddressMessage() *Action_RegisterFioAddress
 - func (x *Action) GetRemoveAllPubAddressesMessage() *Action_RemoveAllPubAddress
 - func (x *Action) GetRemovePubAddressMessage() *Action_RemovePubAddress
 - func (x *Action) GetRenewFioAddressMessage() *Action_RenewFioAddress
 - func (x *Action) GetTransferMessage() *Action_Transfer
 - func (*Action) ProtoMessage()
 - func (x *Action) ProtoReflect() protoreflect.Message
 - func (x *Action) Reset()
 - func (x *Action) String() string
 
- type Action_AddBundledTransactions
 - func (*Action_AddBundledTransactions) Descriptor() ([]byte, []int)deprecated
 - func (x *Action_AddBundledTransactions) GetBundleSets() uint64
 - func (x *Action_AddBundledTransactions) GetFee() uint64
 - func (x *Action_AddBundledTransactions) GetFioAddress() string
 - func (*Action_AddBundledTransactions) ProtoMessage()
 - func (x *Action_AddBundledTransactions) ProtoReflect() protoreflect.Message
 - func (x *Action_AddBundledTransactions) Reset()
 - func (x *Action_AddBundledTransactions) String() string
 
- type Action_AddBundledTransactionsMessage
 - type Action_AddPubAddress
 - func (*Action_AddPubAddress) Descriptor() ([]byte, []int)deprecated
 - func (x *Action_AddPubAddress) GetFee() uint64
 - func (x *Action_AddPubAddress) GetFioAddress() string
 - func (x *Action_AddPubAddress) GetPublicAddresses() []*PublicAddress
 - func (*Action_AddPubAddress) ProtoMessage()
 - func (x *Action_AddPubAddress) ProtoReflect() protoreflect.Message
 - func (x *Action_AddPubAddress) Reset()
 - func (x *Action_AddPubAddress) String() string
 
- type Action_AddPubAddressMessage
 - type Action_NewFundsRequest
 - func (*Action_NewFundsRequest) Descriptor() ([]byte, []int)deprecated
 - func (x *Action_NewFundsRequest) GetContent() *NewFundsContent
 - func (x *Action_NewFundsRequest) GetFee() uint64
 - func (x *Action_NewFundsRequest) GetPayeeFioName() string
 - func (x *Action_NewFundsRequest) GetPayerFioAddress() string
 - func (x *Action_NewFundsRequest) GetPayerFioName() string
 - func (*Action_NewFundsRequest) ProtoMessage()
 - func (x *Action_NewFundsRequest) ProtoReflect() protoreflect.Message
 - func (x *Action_NewFundsRequest) Reset()
 - func (x *Action_NewFundsRequest) String() string
 
- type Action_NewFundsRequestMessage
 - type Action_RegisterFioAddress
 - func (*Action_RegisterFioAddress) Descriptor() ([]byte, []int)deprecated
 - func (x *Action_RegisterFioAddress) GetFee() uint64
 - func (x *Action_RegisterFioAddress) GetFioAddress() string
 - func (x *Action_RegisterFioAddress) GetOwnerFioPublicKey() string
 - func (*Action_RegisterFioAddress) ProtoMessage()
 - func (x *Action_RegisterFioAddress) ProtoReflect() protoreflect.Message
 - func (x *Action_RegisterFioAddress) Reset()
 - func (x *Action_RegisterFioAddress) String() string
 
- type Action_RegisterFioAddressMessage
 - type Action_RemoveAllPubAddress
 - func (*Action_RemoveAllPubAddress) Descriptor() ([]byte, []int)deprecated
 - func (x *Action_RemoveAllPubAddress) GetFee() uint64
 - func (x *Action_RemoveAllPubAddress) GetFioAddress() string
 - func (*Action_RemoveAllPubAddress) ProtoMessage()
 - func (x *Action_RemoveAllPubAddress) ProtoReflect() protoreflect.Message
 - func (x *Action_RemoveAllPubAddress) Reset()
 - func (x *Action_RemoveAllPubAddress) String() string
 
- type Action_RemoveAllPubAddressesMessage
 - type Action_RemovePubAddress
 - func (*Action_RemovePubAddress) Descriptor() ([]byte, []int)deprecated
 - func (x *Action_RemovePubAddress) GetFee() uint64
 - func (x *Action_RemovePubAddress) GetFioAddress() string
 - func (x *Action_RemovePubAddress) GetPublicAddresses() []*PublicAddress
 - func (*Action_RemovePubAddress) ProtoMessage()
 - func (x *Action_RemovePubAddress) ProtoReflect() protoreflect.Message
 - func (x *Action_RemovePubAddress) Reset()
 - func (x *Action_RemovePubAddress) String() string
 
- type Action_RemovePubAddressMessage
 - type Action_RenewFioAddress
 - func (*Action_RenewFioAddress) Descriptor() ([]byte, []int)deprecated
 - func (x *Action_RenewFioAddress) GetFee() uint64
 - func (x *Action_RenewFioAddress) GetFioAddress() string
 - func (x *Action_RenewFioAddress) GetOwnerFioPublicKey() string
 - func (*Action_RenewFioAddress) ProtoMessage()
 - func (x *Action_RenewFioAddress) ProtoReflect() protoreflect.Message
 - func (x *Action_RenewFioAddress) Reset()
 - func (x *Action_RenewFioAddress) String() string
 
- type Action_RenewFioAddressMessage
 - type Action_Transfer
 - func (*Action_Transfer) Descriptor() ([]byte, []int)deprecated
 - func (x *Action_Transfer) GetAmount() uint64
 - func (x *Action_Transfer) GetFee() uint64
 - func (x *Action_Transfer) GetPayeePublicKey() string
 - func (*Action_Transfer) ProtoMessage()
 - func (x *Action_Transfer) ProtoReflect() protoreflect.Message
 - func (x *Action_Transfer) Reset()
 - func (x *Action_Transfer) String() string
 
- type Action_TransferMessage
 - type ChainParams
 - func (*ChainParams) Descriptor() ([]byte, []int)deprecated
 - func (x *ChainParams) GetChainId() []byte
 - func (x *ChainParams) GetHeadBlockNumber() uint64
 - func (x *ChainParams) GetRefBlockPrefix() uint64
 - func (*ChainParams) ProtoMessage()
 - func (x *ChainParams) ProtoReflect() protoreflect.Message
 - func (x *ChainParams) Reset()
 - func (x *ChainParams) String() string
 
- type NewFundsContent
 - func (*NewFundsContent) Descriptor() ([]byte, []int)deprecated
 - func (x *NewFundsContent) GetAmount() string
 - func (x *NewFundsContent) GetCoinSymbol() string
 - func (x *NewFundsContent) GetHash() string
 - func (x *NewFundsContent) GetMemo() string
 - func (x *NewFundsContent) GetOfflineUrl() string
 - func (x *NewFundsContent) GetPayeePublicAddress() string
 - func (*NewFundsContent) ProtoMessage()
 - func (x *NewFundsContent) ProtoReflect() protoreflect.Message
 - func (x *NewFundsContent) Reset()
 - func (x *NewFundsContent) String() string
 
- type PublicAddress
 - func (*PublicAddress) Descriptor() ([]byte, []int)deprecated
 - func (x *PublicAddress) GetAddress() string
 - func (x *PublicAddress) GetCoinSymbol() string
 - func (*PublicAddress) ProtoMessage()
 - func (x *PublicAddress) ProtoReflect() protoreflect.Message
 - func (x *PublicAddress) Reset()
 - func (x *PublicAddress) String() string
 
- type SigningInput
 - func (*SigningInput) Descriptor() ([]byte, []int)deprecated
 - func (x *SigningInput) GetAction() *Action
 - func (x *SigningInput) GetChainParams() *ChainParams
 - func (x *SigningInput) GetExpiry() uint32
 - func (x *SigningInput) GetOwnerPublicKey() string
 - func (x *SigningInput) GetPrivateKey() []byte
 - func (x *SigningInput) GetTpid() string
 - func (*SigningInput) ProtoMessage()
 - func (x *SigningInput) ProtoReflect() protoreflect.Message
 - func (x *SigningInput) Reset()
 - func (x *SigningInput) String() string
 
- type SigningOutput
 - func (*SigningOutput) Descriptor() ([]byte, []int)deprecated
 - func (x *SigningOutput) GetActionName() string
 - func (x *SigningOutput) GetError() common.SigningError
 - func (x *SigningOutput) GetErrorMessage() string
 - func (x *SigningOutput) GetJson() string
 - func (*SigningOutput) ProtoMessage()
 - func (x *SigningOutput) ProtoReflect() protoreflect.Message
 - func (x *SigningOutput) Reset()
 - func (x *SigningOutput) String() string
 
Constants ¶
This section is empty.
Variables ¶
var File_FIO_proto protoreflect.FileDescriptor
    Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
	// Payload message
	//
	// Types that are valid to be assigned to MessageOneof:
	//
	//	*Action_RegisterFioAddressMessage
	//	*Action_AddPubAddressMessage
	//	*Action_TransferMessage
	//	*Action_RenewFioAddressMessage
	//	*Action_NewFundsRequestMessage
	//	*Action_RemovePubAddressMessage
	//	*Action_RemoveAllPubAddressesMessage
	//	*Action_AddBundledTransactionsMessage
	MessageOneof isAction_MessageOneof `protobuf_oneof:"message_oneof"`
	// contains filtered or unexported fields
}
    Different Actions
        
          
            func (*Action) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Action) GetAddBundledTransactionsMessage ¶
func (x *Action) GetAddBundledTransactionsMessage() *Action_AddBundledTransactions
func (*Action) GetAddPubAddressMessage ¶
func (x *Action) GetAddPubAddressMessage() *Action_AddPubAddress
func (*Action) GetMessageOneof ¶
func (x *Action) GetMessageOneof() isAction_MessageOneof
func (*Action) GetNewFundsRequestMessage ¶
func (x *Action) GetNewFundsRequestMessage() *Action_NewFundsRequest
func (*Action) GetRegisterFioAddressMessage ¶
func (x *Action) GetRegisterFioAddressMessage() *Action_RegisterFioAddress
func (*Action) GetRemoveAllPubAddressesMessage ¶
func (x *Action) GetRemoveAllPubAddressesMessage() *Action_RemoveAllPubAddress
func (*Action) GetRemovePubAddressMessage ¶
func (x *Action) GetRemovePubAddressMessage() *Action_RemovePubAddress
func (*Action) GetRenewFioAddressMessage ¶
func (x *Action) GetRenewFioAddressMessage() *Action_RenewFioAddress
func (*Action) GetTransferMessage ¶
func (x *Action) GetTransferMessage() *Action_Transfer
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type Action_AddBundledTransactions ¶
type Action_AddBundledTransactions struct {
	// The FIO name already registered to the owner. Ex.: "alice@trust"
	FioAddress string `protobuf:"bytes,1,opt,name=fio_address,json=fioAddress,proto3" json:"fio_address,omitempty"`
	// Number of bundled sets. One set is 100 bundled transactions.
	BundleSets uint64 `protobuf:"varint,2,opt,name=bundle_sets,json=bundleSets,proto3" json:"bundle_sets,omitempty"`
	// Max fee to spend, can be obtained using get_fee API.
	Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}
    Action for adding `100 * bundle_sets` bundled transactions to the supplied FIO Handle. When bundles are purchased one or more sets of bundled transactions are added to the existing count.
        
          
            func (*Action_AddBundledTransactions) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Action_AddBundledTransactions) Descriptor() ([]byte, []int)
Deprecated: Use Action_AddBundledTransactions.ProtoReflect.Descriptor instead.
func (*Action_AddBundledTransactions) GetBundleSets ¶
func (x *Action_AddBundledTransactions) GetBundleSets() uint64
func (*Action_AddBundledTransactions) GetFee ¶
func (x *Action_AddBundledTransactions) GetFee() uint64
func (*Action_AddBundledTransactions) GetFioAddress ¶
func (x *Action_AddBundledTransactions) GetFioAddress() string
func (*Action_AddBundledTransactions) ProtoMessage ¶
func (*Action_AddBundledTransactions) ProtoMessage()
func (*Action_AddBundledTransactions) ProtoReflect ¶
func (x *Action_AddBundledTransactions) ProtoReflect() protoreflect.Message
func (*Action_AddBundledTransactions) Reset ¶
func (x *Action_AddBundledTransactions) Reset()
func (*Action_AddBundledTransactions) String ¶
func (x *Action_AddBundledTransactions) String() string
type Action_AddBundledTransactionsMessage ¶
type Action_AddBundledTransactionsMessage struct {
	AddBundledTransactionsMessage *Action_AddBundledTransactions `protobuf:"bytes,8,opt,name=add_bundled_transactions_message,json=addBundledTransactionsMessage,proto3,oneof"`
}
    type Action_AddPubAddress ¶
type Action_AddPubAddress struct {
	// The FIO name already registered to the owner. Ex.: "alice@trust"
	FioAddress string `protobuf:"bytes,1,opt,name=fio_address,json=fioAddress,proto3" json:"fio_address,omitempty"`
	// List of public addresses to be registered, ex. {{"BTC", "bc1qv...7v"},{"BNB", "bnb1ts3...9s"}}
	PublicAddresses []*PublicAddress `protobuf:"bytes,2,rep,name=public_addresses,json=publicAddresses,proto3" json:"public_addresses,omitempty"`
	// Max fee to spend, can be obtained using get_fee API.
	Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}
    Acion for adding public chain addresses to a FIO name; add_pub_address Note: actor is not needed, computed from private key
        
          
            func (*Action_AddPubAddress) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Action_AddPubAddress) Descriptor() ([]byte, []int)
Deprecated: Use Action_AddPubAddress.ProtoReflect.Descriptor instead.
func (*Action_AddPubAddress) GetFee ¶
func (x *Action_AddPubAddress) GetFee() uint64
func (*Action_AddPubAddress) GetFioAddress ¶
func (x *Action_AddPubAddress) GetFioAddress() string
func (*Action_AddPubAddress) GetPublicAddresses ¶
func (x *Action_AddPubAddress) GetPublicAddresses() []*PublicAddress
func (*Action_AddPubAddress) ProtoMessage ¶
func (*Action_AddPubAddress) ProtoMessage()
func (*Action_AddPubAddress) ProtoReflect ¶
func (x *Action_AddPubAddress) ProtoReflect() protoreflect.Message
func (*Action_AddPubAddress) Reset ¶
func (x *Action_AddPubAddress) Reset()
func (*Action_AddPubAddress) String ¶
func (x *Action_AddPubAddress) String() string
type Action_AddPubAddressMessage ¶
type Action_AddPubAddressMessage struct {
	AddPubAddressMessage *Action_AddPubAddress `protobuf:"bytes,2,opt,name=add_pub_address_message,json=addPubAddressMessage,proto3,oneof"`
}
    type Action_NewFundsRequest ¶
type Action_NewFundsRequest struct {
	// The FIO name of the requested payer. Ex.: "alice@trust"
	PayerFioName string `protobuf:"bytes,1,opt,name=payer_fio_name,json=payerFioName,proto3" json:"payer_fio_name,omitempty"`
	// The FIO address (not name) of the payer, owner of payee_fio_name.  Ex.: "FIO6m1fMdTpRkRBnedvYshXCxLFiC5suRU8KDfx8xxtXp2hntxpnf"
	PayerFioAddress string `protobuf:"bytes,2,opt,name=payer_fio_address,json=payerFioAddress,proto3" json:"payer_fio_address,omitempty"`
	// Own FIO name.  Ex.: "bob@trust"
	PayeeFioName string `protobuf:"bytes,3,opt,name=payee_fio_name,json=payeeFioName,proto3" json:"payee_fio_name,omitempty"`
	// Payload content of the request
	Content *NewFundsContent `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// Max fee to spend, can be obtained using get_fee API.
	Fee uint64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}
    Action for creating a new payment request; new_funds_request Note: actor is not needed, computed from private key
        
          
            func (*Action_NewFundsRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Action_NewFundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use Action_NewFundsRequest.ProtoReflect.Descriptor instead.
func (*Action_NewFundsRequest) GetContent ¶
func (x *Action_NewFundsRequest) GetContent() *NewFundsContent
func (*Action_NewFundsRequest) GetFee ¶
func (x *Action_NewFundsRequest) GetFee() uint64
func (*Action_NewFundsRequest) GetPayeeFioName ¶
func (x *Action_NewFundsRequest) GetPayeeFioName() string
func (*Action_NewFundsRequest) GetPayerFioAddress ¶
func (x *Action_NewFundsRequest) GetPayerFioAddress() string
func (*Action_NewFundsRequest) GetPayerFioName ¶
func (x *Action_NewFundsRequest) GetPayerFioName() string
func (*Action_NewFundsRequest) ProtoMessage ¶
func (*Action_NewFundsRequest) ProtoMessage()
func (*Action_NewFundsRequest) ProtoReflect ¶
func (x *Action_NewFundsRequest) ProtoReflect() protoreflect.Message
func (*Action_NewFundsRequest) Reset ¶
func (x *Action_NewFundsRequest) Reset()
func (*Action_NewFundsRequest) String ¶
func (x *Action_NewFundsRequest) String() string
type Action_NewFundsRequestMessage ¶
type Action_NewFundsRequestMessage struct {
	NewFundsRequestMessage *Action_NewFundsRequest `protobuf:"bytes,5,opt,name=new_funds_request_message,json=newFundsRequestMessage,proto3,oneof"`
}
    type Action_RegisterFioAddress ¶
type Action_RegisterFioAddress struct {
	// The FIO name to be registered. Ex.: "alice@trust"
	FioAddress string `protobuf:"bytes,1,opt,name=fio_address,json=fioAddress,proto3" json:"fio_address,omitempty"`
	// FIO address of the owner. Ex.: "FIO6m1fMdTpRkRBnedvYshXCxLFiC5suRU8KDfx8xxtXp2hntxpnf"
	OwnerFioPublicKey string `protobuf:"bytes,2,opt,name=owner_fio_public_key,json=ownerFioPublicKey,proto3" json:"owner_fio_public_key,omitempty"`
	// Max fee to spend, can be obtained using get_fee API.
	Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}
    Action for registering a FIO name; register_fio_address
        
          
            func (*Action_RegisterFioAddress) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Action_RegisterFioAddress) Descriptor() ([]byte, []int)
Deprecated: Use Action_RegisterFioAddress.ProtoReflect.Descriptor instead.
func (*Action_RegisterFioAddress) GetFee ¶
func (x *Action_RegisterFioAddress) GetFee() uint64
func (*Action_RegisterFioAddress) GetFioAddress ¶
func (x *Action_RegisterFioAddress) GetFioAddress() string
func (*Action_RegisterFioAddress) GetOwnerFioPublicKey ¶
func (x *Action_RegisterFioAddress) GetOwnerFioPublicKey() string
func (*Action_RegisterFioAddress) ProtoMessage ¶
func (*Action_RegisterFioAddress) ProtoMessage()
func (*Action_RegisterFioAddress) ProtoReflect ¶
func (x *Action_RegisterFioAddress) ProtoReflect() protoreflect.Message
func (*Action_RegisterFioAddress) Reset ¶
func (x *Action_RegisterFioAddress) Reset()
func (*Action_RegisterFioAddress) String ¶
func (x *Action_RegisterFioAddress) String() string
type Action_RegisterFioAddressMessage ¶
type Action_RegisterFioAddressMessage struct {
	RegisterFioAddressMessage *Action_RegisterFioAddress `protobuf:"bytes,1,opt,name=register_fio_address_message,json=registerFioAddressMessage,proto3,oneof"`
}
    type Action_RemoveAllPubAddress ¶
type Action_RemoveAllPubAddress struct {
	// The FIO name already registered to the owner. Ex.: "alice@trust"
	FioAddress string `protobuf:"bytes,1,opt,name=fio_address,json=fioAddress,proto3" json:"fio_address,omitempty"`
	// Max fee to spend, can be obtained using get_fee API.
	Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}
    Action for removing public chain addresses from a FIO name; remove_pub_address Note: actor is not needed, computed from private key
        
          
            func (*Action_RemoveAllPubAddress) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Action_RemoveAllPubAddress) Descriptor() ([]byte, []int)
Deprecated: Use Action_RemoveAllPubAddress.ProtoReflect.Descriptor instead.
func (*Action_RemoveAllPubAddress) GetFee ¶
func (x *Action_RemoveAllPubAddress) GetFee() uint64
func (*Action_RemoveAllPubAddress) GetFioAddress ¶
func (x *Action_RemoveAllPubAddress) GetFioAddress() string
func (*Action_RemoveAllPubAddress) ProtoMessage ¶
func (*Action_RemoveAllPubAddress) ProtoMessage()
func (*Action_RemoveAllPubAddress) ProtoReflect ¶
func (x *Action_RemoveAllPubAddress) ProtoReflect() protoreflect.Message
func (*Action_RemoveAllPubAddress) Reset ¶
func (x *Action_RemoveAllPubAddress) Reset()
func (*Action_RemoveAllPubAddress) String ¶
func (x *Action_RemoveAllPubAddress) String() string
type Action_RemoveAllPubAddressesMessage ¶
type Action_RemoveAllPubAddressesMessage struct {
	RemoveAllPubAddressesMessage *Action_RemoveAllPubAddress `protobuf:"bytes,7,opt,name=remove_all_pub_addresses_message,json=removeAllPubAddressesMessage,proto3,oneof"`
}
    type Action_RemovePubAddress ¶
type Action_RemovePubAddress struct {
	// The FIO name already registered to the owner. Ex.: "alice@trust"
	FioAddress string `protobuf:"bytes,1,opt,name=fio_address,json=fioAddress,proto3" json:"fio_address,omitempty"`
	// List of public addresses to be unregistered, ex. {{"BTC", "bc1qv...7v"},{"BNB", "bnb1ts3...9s"}}
	PublicAddresses []*PublicAddress `protobuf:"bytes,2,rep,name=public_addresses,json=publicAddresses,proto3" json:"public_addresses,omitempty"`
	// Max fee to spend, can be obtained using get_fee API.
	Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}
    Action for removing public chain addresses from a FIO name; remove_pub_address Note: actor is not needed, computed from private key
        
          
            func (*Action_RemovePubAddress) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Action_RemovePubAddress) Descriptor() ([]byte, []int)
Deprecated: Use Action_RemovePubAddress.ProtoReflect.Descriptor instead.
func (*Action_RemovePubAddress) GetFee ¶
func (x *Action_RemovePubAddress) GetFee() uint64
func (*Action_RemovePubAddress) GetFioAddress ¶
func (x *Action_RemovePubAddress) GetFioAddress() string
func (*Action_RemovePubAddress) GetPublicAddresses ¶
func (x *Action_RemovePubAddress) GetPublicAddresses() []*PublicAddress
func (*Action_RemovePubAddress) ProtoMessage ¶
func (*Action_RemovePubAddress) ProtoMessage()
func (*Action_RemovePubAddress) ProtoReflect ¶
func (x *Action_RemovePubAddress) ProtoReflect() protoreflect.Message
func (*Action_RemovePubAddress) Reset ¶
func (x *Action_RemovePubAddress) Reset()
func (*Action_RemovePubAddress) String ¶
func (x *Action_RemovePubAddress) String() string
type Action_RemovePubAddressMessage ¶
type Action_RemovePubAddressMessage struct {
	RemovePubAddressMessage *Action_RemovePubAddress `protobuf:"bytes,6,opt,name=remove_pub_address_message,json=removePubAddressMessage,proto3,oneof"`
}
    type Action_RenewFioAddress ¶
type Action_RenewFioAddress struct {
	// The FIO name to be renewed. Ex.: "alice@trust"
	FioAddress string `protobuf:"bytes,1,opt,name=fio_address,json=fioAddress,proto3" json:"fio_address,omitempty"`
	// FIO address of the owner. Ex.: "FIO6m1fMdTpRkRBnedvYshXCxLFiC5suRU8KDfx8xxtXp2hntxpnf"
	OwnerFioPublicKey string `protobuf:"bytes,2,opt,name=owner_fio_public_key,json=ownerFioPublicKey,proto3" json:"owner_fio_public_key,omitempty"`
	// Max fee to spend, can be obtained using get_fee API.
	Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}
    Action for renewing a FIO name; renew_fio_address Note: actor is not needed, computed from private key
        
          
            func (*Action_RenewFioAddress) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Action_RenewFioAddress) Descriptor() ([]byte, []int)
Deprecated: Use Action_RenewFioAddress.ProtoReflect.Descriptor instead.
func (*Action_RenewFioAddress) GetFee ¶
func (x *Action_RenewFioAddress) GetFee() uint64
func (*Action_RenewFioAddress) GetFioAddress ¶
func (x *Action_RenewFioAddress) GetFioAddress() string
func (*Action_RenewFioAddress) GetOwnerFioPublicKey ¶
func (x *Action_RenewFioAddress) GetOwnerFioPublicKey() string
func (*Action_RenewFioAddress) ProtoMessage ¶
func (*Action_RenewFioAddress) ProtoMessage()
func (*Action_RenewFioAddress) ProtoReflect ¶
func (x *Action_RenewFioAddress) ProtoReflect() protoreflect.Message
func (*Action_RenewFioAddress) Reset ¶
func (x *Action_RenewFioAddress) Reset()
func (*Action_RenewFioAddress) String ¶
func (x *Action_RenewFioAddress) String() string
type Action_RenewFioAddressMessage ¶
type Action_RenewFioAddressMessage struct {
	RenewFioAddressMessage *Action_RenewFioAddress `protobuf:"bytes,4,opt,name=renew_fio_address_message,json=renewFioAddressMessage,proto3,oneof"`
}
    type Action_Transfer ¶
type Action_Transfer struct {
	// FIO address of the payee. Ex.: "FIO6m1fMdTpRkRBnedvYshXCxLFiC5suRU8KDfx8xxtXp2hntxpnf"
	PayeePublicKey string `protobuf:"bytes,1,opt,name=payee_public_key,json=payeePublicKey,proto3" json:"payee_public_key,omitempty"`
	// Amount of FIO coins to be transferred.
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// Max fee to spend, can be obtained using get_fee API.
	Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}
    Action for transferring FIO coins; transfer_tokens_pub_key Note: actor is not needed, computed from private key
        
          
            func (*Action_Transfer) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Action_Transfer) Descriptor() ([]byte, []int)
Deprecated: Use Action_Transfer.ProtoReflect.Descriptor instead.
func (*Action_Transfer) GetAmount ¶
func (x *Action_Transfer) GetAmount() uint64
func (*Action_Transfer) GetFee ¶
func (x *Action_Transfer) GetFee() uint64
func (*Action_Transfer) GetPayeePublicKey ¶
func (x *Action_Transfer) GetPayeePublicKey() string
func (*Action_Transfer) ProtoMessage ¶
func (*Action_Transfer) ProtoMessage()
func (*Action_Transfer) ProtoReflect ¶
func (x *Action_Transfer) ProtoReflect() protoreflect.Message
func (*Action_Transfer) Reset ¶
func (x *Action_Transfer) Reset()
func (*Action_Transfer) String ¶
func (x *Action_Transfer) String() string
type Action_TransferMessage ¶
type Action_TransferMessage struct {
	TransferMessage *Action_Transfer `protobuf:"bytes,3,opt,name=transfer_message,json=transferMessage,proto3,oneof"`
}
    type ChainParams ¶
type ChainParams struct {
	// Constant chainId (32 bytes), obtained from get_info API
	ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// The last block number, obtained from get_info API
	HeadBlockNumber uint64 `protobuf:"varint,2,opt,name=head_block_number,json=headBlockNumber,proto3" json:"head_block_number,omitempty"`
	// Block prefix of last block, obtained from get_block API
	RefBlockPrefix uint64 `protobuf:"varint,3,opt,name=ref_block_prefix,json=refBlockPrefix,proto3" json:"ref_block_prefix,omitempty"`
	// contains filtered or unexported fields
}
    Represents current parameters of the FIO blockchain
        
          
            func (*ChainParams) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ChainParams) Descriptor() ([]byte, []int)
Deprecated: Use ChainParams.ProtoReflect.Descriptor instead.
func (*ChainParams) GetChainId ¶
func (x *ChainParams) GetChainId() []byte
func (*ChainParams) GetHeadBlockNumber ¶
func (x *ChainParams) GetHeadBlockNumber() uint64
func (*ChainParams) GetRefBlockPrefix ¶
func (x *ChainParams) GetRefBlockPrefix() uint64
func (*ChainParams) ProtoMessage ¶
func (*ChainParams) ProtoMessage()
func (*ChainParams) ProtoReflect ¶
func (x *ChainParams) ProtoReflect() protoreflect.Message
func (*ChainParams) Reset ¶
func (x *ChainParams) Reset()
func (*ChainParams) String ¶
func (x *ChainParams) String() string
type NewFundsContent ¶
type NewFundsContent struct {
	// Public addressed of the payee, on the mentioned blockchain.
	PayeePublicAddress string `protobuf:"bytes,1,opt,name=payee_public_address,json=payeePublicAddress,proto3" json:"payee_public_address,omitempty"`
	// Amount requested (as string)
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// Coin symbol of the amount requested (a.k.a. tokenCode)
	CoinSymbol string `protobuf:"bytes,3,opt,name=coin_symbol,json=coinSymbol,proto3" json:"coin_symbol,omitempty"`
	// Memo free text.  Optional, may be empty.
	Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
	// Hash.  Optional, may be empty.
	Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	// Attached offline URL.  Optional, may be empty.
	OfflineUrl string `protobuf:"bytes,6,opt,name=offline_url,json=offlineUrl,proto3" json:"offline_url,omitempty"`
	// contains filtered or unexported fields
}
    Payload content for New Funds requests
        
          
            func (*NewFundsContent) Descriptor
            deprecated
            
          
  
    
  
      
      func (*NewFundsContent) Descriptor() ([]byte, []int)
Deprecated: Use NewFundsContent.ProtoReflect.Descriptor instead.
func (*NewFundsContent) GetAmount ¶
func (x *NewFundsContent) GetAmount() string
func (*NewFundsContent) GetCoinSymbol ¶
func (x *NewFundsContent) GetCoinSymbol() string
func (*NewFundsContent) GetHash ¶
func (x *NewFundsContent) GetHash() string
func (*NewFundsContent) GetMemo ¶
func (x *NewFundsContent) GetMemo() string
func (*NewFundsContent) GetOfflineUrl ¶
func (x *NewFundsContent) GetOfflineUrl() string
func (*NewFundsContent) GetPayeePublicAddress ¶
func (x *NewFundsContent) GetPayeePublicAddress() string
func (*NewFundsContent) ProtoMessage ¶
func (*NewFundsContent) ProtoMessage()
func (*NewFundsContent) ProtoReflect ¶
func (x *NewFundsContent) ProtoReflect() protoreflect.Message
func (*NewFundsContent) Reset ¶
func (x *NewFundsContent) Reset()
func (*NewFundsContent) String ¶
func (x *NewFundsContent) String() string
type PublicAddress ¶
type PublicAddress struct {
	// Coin symbol for the address (a.k.a. tokenCode)
	CoinSymbol string `protobuf:"bytes,1,opt,name=coin_symbol,json=coinSymbol,proto3" json:"coin_symbol,omitempty"`
	// The address
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}
    A public blockchain address, such as {"BTC", "bc1qvy4074rggkdr2pzw5vpnn62eg0smzlxwp70d7v"}
        
          
            func (*PublicAddress) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PublicAddress) Descriptor() ([]byte, []int)
Deprecated: Use PublicAddress.ProtoReflect.Descriptor instead.
func (*PublicAddress) GetAddress ¶
func (x *PublicAddress) GetAddress() string
func (*PublicAddress) GetCoinSymbol ¶
func (x *PublicAddress) GetCoinSymbol() string
func (*PublicAddress) ProtoMessage ¶
func (*PublicAddress) ProtoMessage()
func (*PublicAddress) ProtoReflect ¶
func (x *PublicAddress) ProtoReflect() protoreflect.Message
func (*PublicAddress) Reset ¶
func (x *PublicAddress) Reset()
func (*PublicAddress) String ¶
func (x *PublicAddress) String() string
type SigningInput ¶
type SigningInput struct {
	// Expiry for this message, in unix time. Can be 0, then it is taken from current time with default expiry
	Expiry uint32 `protobuf:"varint,1,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// Current parameters of the FIO blockchain
	ChainParams *ChainParams `protobuf:"bytes,2,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"`
	// The secret private key matching the address, used for signing (32 bytes).
	PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// The FIO name of the originating wallet (project-wide constant)
	Tpid string `protobuf:"bytes,4,opt,name=tpid,proto3" json:"tpid,omitempty"`
	// Context-specific action data
	Action *Action `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
	// FIO address of the owner. Ex.: "FIO6m1fMdTpRkRBnedvYshXCxLFiC5suRU8KDfx8xxtXp2hntxpnf"
	OwnerPublicKey string `protobuf:"bytes,6,opt,name=owner_public_key,json=ownerPublicKey,proto3" json:"owner_public_key,omitempty"`
	// contains filtered or unexported fields
}
    Input data necessary to create a signed transaction.
        
          
            func (*SigningInput) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SigningInput) Descriptor() ([]byte, []int)
Deprecated: Use SigningInput.ProtoReflect.Descriptor instead.
func (*SigningInput) GetAction ¶
func (x *SigningInput) GetAction() *Action
func (*SigningInput) GetChainParams ¶
func (x *SigningInput) GetChainParams() *ChainParams
func (*SigningInput) GetExpiry ¶
func (x *SigningInput) GetExpiry() uint32
func (*SigningInput) GetOwnerPublicKey ¶
func (x *SigningInput) GetOwnerPublicKey() string
func (*SigningInput) GetPrivateKey ¶
func (x *SigningInput) GetPrivateKey() []byte
func (*SigningInput) GetTpid ¶
func (x *SigningInput) GetTpid() string
func (*SigningInput) ProtoMessage ¶
func (*SigningInput) ProtoMessage()
func (*SigningInput) ProtoReflect ¶
func (x *SigningInput) ProtoReflect() protoreflect.Message
func (*SigningInput) Reset ¶
func (x *SigningInput) Reset()
func (*SigningInput) String ¶
func (x *SigningInput) String() string
type SigningOutput ¶
type SigningOutput struct {
	// Signed transaction in JSON
	Json string `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
	// Optional error
	Error common.SigningError `protobuf:"varint,2,opt,name=error,proto3,enum=TW.Common.Proto.SigningError" json:"error,omitempty"`
	// error code description
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// Performed action name, ex. "addaddress", "remaddress", "trnsfiopubky" etc.
	ActionName string `protobuf:"bytes,4,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"`
	// contains filtered or unexported fields
}
    Result containing the signed and encoded transaction.
        
          
            func (*SigningOutput) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SigningOutput) Descriptor() ([]byte, []int)
Deprecated: Use SigningOutput.ProtoReflect.Descriptor instead.
func (*SigningOutput) GetActionName ¶
func (x *SigningOutput) GetActionName() string
func (*SigningOutput) GetError ¶
func (x *SigningOutput) GetError() common.SigningError
func (*SigningOutput) GetErrorMessage ¶
func (x *SigningOutput) GetErrorMessage() string
func (*SigningOutput) GetJson ¶
func (x *SigningOutput) GetJson() string
func (*SigningOutput) ProtoMessage ¶
func (*SigningOutput) ProtoMessage()
func (*SigningOutput) ProtoReflect ¶
func (x *SigningOutput) ProtoReflect() protoreflect.Message
func (*SigningOutput) Reset ¶
func (x *SigningOutput) Reset()
func (*SigningOutput) String ¶
func (x *SigningOutput) String() string