Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - type Account
 - type AccountIdentifier
 - type BlockIndex
 - type Certification
 - type Hash
 - type Icrc1Memo
 - type Memo
 - type Payment
 - type PrincipalId
 - type SendRequest
 - func (*SendRequest) Descriptor() ([]byte, []int)deprecated
 - func (x *SendRequest) GetCreatedAt() *BlockIndex
 - func (x *SendRequest) GetCreatedAtTime() *TimeStamp
 - func (x *SendRequest) GetFromSubaccount() *Subaccount
 - func (x *SendRequest) GetMaxFee() *Tokens
 - func (x *SendRequest) GetMemo() *Memo
 - func (x *SendRequest) GetPayment() *Payment
 - func (x *SendRequest) GetTo() *AccountIdentifier
 - func (*SendRequest) ProtoMessage()
 - func (x *SendRequest) ProtoReflect() protoreflect.Message
 - func (x *SendRequest) Reset()
 - func (x *SendRequest) String() string
 
- type SendResponse
 - type Subaccount
 - type TimeStamp
 - type Tokens
 - type TransferFeeRequest
 - type TransferFeeResponse
 - func (*TransferFeeResponse) Descriptor() ([]byte, []int)deprecated
 - func (x *TransferFeeResponse) GetTransferFee() *Tokens
 - func (*TransferFeeResponse) ProtoMessage()
 - func (x *TransferFeeResponse) ProtoReflect() protoreflect.Message
 - func (x *TransferFeeResponse) Reset()
 - func (x *TransferFeeResponse) String() string
 
Constants ¶
This section is empty.
Variables ¶
var File_ICPLedger_proto protoreflect.FileDescriptor
    Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
	Identifier *AccountIdentifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Balance    *Tokens            `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Account) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Account) GetBalance ¶
func (*Account) GetIdentifier ¶
func (x *Account) GetIdentifier() *AccountIdentifier
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountIdentifier ¶
type AccountIdentifier struct {
	// Can contain either:
	//   - the 32 byte identifier (4 byte checksum + 28 byte hash)
	//   - the 28 byte hash
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*AccountIdentifier) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AccountIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use AccountIdentifier.ProtoReflect.Descriptor instead.
func (*AccountIdentifier) GetHash ¶
func (x *AccountIdentifier) GetHash() []byte
func (*AccountIdentifier) ProtoMessage ¶
func (*AccountIdentifier) ProtoMessage()
func (*AccountIdentifier) ProtoReflect ¶
func (x *AccountIdentifier) ProtoReflect() protoreflect.Message
func (*AccountIdentifier) Reset ¶
func (x *AccountIdentifier) Reset()
func (*AccountIdentifier) String ¶
func (x *AccountIdentifier) String() string
type BlockIndex ¶
type BlockIndex struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*BlockIndex) Descriptor
            deprecated
            
          
  
    
  
      
      func (*BlockIndex) Descriptor() ([]byte, []int)
Deprecated: Use BlockIndex.ProtoReflect.Descriptor instead.
func (*BlockIndex) GetHeight ¶
func (x *BlockIndex) GetHeight() uint64
func (*BlockIndex) ProtoMessage ¶
func (*BlockIndex) ProtoMessage()
func (*BlockIndex) ProtoReflect ¶
func (x *BlockIndex) ProtoReflect() protoreflect.Message
func (*BlockIndex) Reset ¶
func (x *BlockIndex) Reset()
func (*BlockIndex) String ¶
func (x *BlockIndex) String() string
type Certification ¶
type Certification struct {
	Certification []byte `protobuf:"bytes,1,opt,name=certification,proto3" json:"certification,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Certification) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Certification) Descriptor() ([]byte, []int)
Deprecated: Use Certification.ProtoReflect.Descriptor instead.
func (*Certification) GetCertification ¶
func (x *Certification) GetCertification() []byte
func (*Certification) ProtoMessage ¶
func (*Certification) ProtoMessage()
func (*Certification) ProtoReflect ¶
func (x *Certification) ProtoReflect() protoreflect.Message
func (*Certification) Reset ¶
func (x *Certification) Reset()
func (*Certification) String ¶
func (x *Certification) String() string
type Hash ¶
type Hash struct {
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Hash) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect ¶
func (x *Hash) ProtoReflect() protoreflect.Message
type Icrc1Memo ¶
type Icrc1Memo struct {
	Memo []byte `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Icrc1Memo) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Icrc1Memo) ProtoMessage ¶
func (*Icrc1Memo) ProtoMessage()
func (*Icrc1Memo) ProtoReflect ¶
func (x *Icrc1Memo) ProtoReflect() protoreflect.Message
type Memo ¶
type Memo struct {
	Memo uint64 `protobuf:"varint,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Memo) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Memo) ProtoMessage ¶
func (*Memo) ProtoMessage()
func (*Memo) ProtoReflect ¶
func (x *Memo) ProtoReflect() protoreflect.Message
type Payment ¶
type Payment struct {
	ReceiverGets *Tokens `protobuf:"bytes,1,opt,name=receiver_gets,json=receiverGets,proto3" json:"receiver_gets,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Payment) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Payment) GetReceiverGets ¶
func (*Payment) ProtoMessage ¶
func (*Payment) ProtoMessage()
func (*Payment) ProtoReflect ¶
func (x *Payment) ProtoReflect() protoreflect.Message
type PrincipalId ¶
type PrincipalId struct {
	SerializedId []byte `protobuf:"bytes,1,opt,name=serialized_id,json=serializedId,proto3" json:"serialized_id,omitempty"`
	// contains filtered or unexported fields
}
    A PB container for a PrincipalId, which uniquely identifies a principal.
        
          
            func (*PrincipalId) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PrincipalId) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalId.ProtoReflect.Descriptor instead.
func (*PrincipalId) GetSerializedId ¶
func (x *PrincipalId) GetSerializedId() []byte
func (*PrincipalId) ProtoMessage ¶
func (*PrincipalId) ProtoMessage()
func (*PrincipalId) ProtoReflect ¶
func (x *PrincipalId) ProtoReflect() protoreflect.Message
func (*PrincipalId) Reset ¶
func (x *PrincipalId) Reset()
func (*PrincipalId) String ¶
func (x *PrincipalId) String() string
type SendRequest ¶
type SendRequest struct {
	Memo           *Memo              `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	Payment        *Payment           `protobuf:"bytes,2,opt,name=payment,proto3" json:"payment,omitempty"`
	MaxFee         *Tokens            `protobuf:"bytes,3,opt,name=max_fee,json=maxFee,proto3" json:"max_fee,omitempty"`
	FromSubaccount *Subaccount        `protobuf:"bytes,4,opt,name=from_subaccount,json=fromSubaccount,proto3" json:"from_subaccount,omitempty"`
	To             *AccountIdentifier `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"`
	CreatedAt      *BlockIndex        `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedAtTime  *TimeStamp         `protobuf:"bytes,7,opt,name=created_at_time,json=createdAtTime,proto3" json:"created_at_time,omitempty"`
	// contains filtered or unexported fields
}
    Make a payment
        
          
            func (*SendRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SendRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.
func (*SendRequest) GetCreatedAt ¶
func (x *SendRequest) GetCreatedAt() *BlockIndex
func (*SendRequest) GetCreatedAtTime ¶
func (x *SendRequest) GetCreatedAtTime() *TimeStamp
func (*SendRequest) GetFromSubaccount ¶
func (x *SendRequest) GetFromSubaccount() *Subaccount
func (*SendRequest) GetMaxFee ¶
func (x *SendRequest) GetMaxFee() *Tokens
func (*SendRequest) GetMemo ¶
func (x *SendRequest) GetMemo() *Memo
func (*SendRequest) GetPayment ¶
func (x *SendRequest) GetPayment() *Payment
func (*SendRequest) GetTo ¶
func (x *SendRequest) GetTo() *AccountIdentifier
func (*SendRequest) ProtoMessage ¶
func (*SendRequest) ProtoMessage()
func (*SendRequest) ProtoReflect ¶
func (x *SendRequest) ProtoReflect() protoreflect.Message
func (*SendRequest) Reset ¶
func (x *SendRequest) Reset()
func (*SendRequest) String ¶
func (x *SendRequest) String() string
type SendResponse ¶
type SendResponse struct {
	ResultingHeight *BlockIndex `protobuf:"bytes,1,opt,name=resulting_height,json=resultingHeight,proto3" json:"resulting_height,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*SendResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SendResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.
func (*SendResponse) GetResultingHeight ¶
func (x *SendResponse) GetResultingHeight() *BlockIndex
func (*SendResponse) ProtoMessage ¶
func (*SendResponse) ProtoMessage()
func (*SendResponse) ProtoReflect ¶
func (x *SendResponse) ProtoReflect() protoreflect.Message
func (*SendResponse) Reset ¶
func (x *SendResponse) Reset()
func (*SendResponse) String ¶
func (x *SendResponse) String() string
type Subaccount ¶
type Subaccount struct {
	SubAccount []byte `protobuf:"bytes,1,opt,name=sub_account,json=subAccount,proto3" json:"sub_account,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Subaccount) Descriptor
            deprecated
            
          
  
    
  
      
      func (*Subaccount) Descriptor() ([]byte, []int)
Deprecated: Use Subaccount.ProtoReflect.Descriptor instead.
func (*Subaccount) GetSubAccount ¶
func (x *Subaccount) GetSubAccount() []byte
func (*Subaccount) ProtoMessage ¶
func (*Subaccount) ProtoMessage()
func (*Subaccount) ProtoReflect ¶
func (x *Subaccount) ProtoReflect() protoreflect.Message
func (*Subaccount) Reset ¶
func (x *Subaccount) Reset()
func (*Subaccount) String ¶
func (x *Subaccount) String() string
type TimeStamp ¶
type TimeStamp struct {
	TimestampNanos uint64 `protobuf:"varint,1,opt,name=timestamp_nanos,json=timestampNanos,proto3" json:"timestamp_nanos,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*TimeStamp) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*TimeStamp) GetTimestampNanos ¶
func (*TimeStamp) ProtoMessage ¶
func (*TimeStamp) ProtoMessage()
func (*TimeStamp) ProtoReflect ¶
func (x *TimeStamp) ProtoReflect() protoreflect.Message
type Tokens ¶
type Tokens struct {
	E8S uint64 `protobuf:"varint,1,opt,name=e8s,proto3" json:"e8s,omitempty"`
	// contains filtered or unexported fields
}
    ** BASIC TYPES **
        
          
            func (*Tokens) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Tokens) ProtoMessage ¶
func (*Tokens) ProtoMessage()
func (*Tokens) ProtoReflect ¶
func (x *Tokens) ProtoReflect() protoreflect.Message
type TransferFeeRequest ¶
type TransferFeeRequest struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*TransferFeeRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*TransferFeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransferFeeRequest.ProtoReflect.Descriptor instead.
func (*TransferFeeRequest) ProtoMessage ¶
func (*TransferFeeRequest) ProtoMessage()
func (*TransferFeeRequest) ProtoReflect ¶
func (x *TransferFeeRequest) ProtoReflect() protoreflect.Message
func (*TransferFeeRequest) Reset ¶
func (x *TransferFeeRequest) Reset()
func (*TransferFeeRequest) String ¶
func (x *TransferFeeRequest) String() string
type TransferFeeResponse ¶
type TransferFeeResponse struct {
	TransferFee *Tokens `protobuf:"bytes,1,opt,name=transfer_fee,json=transferFee,proto3" json:"transfer_fee,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*TransferFeeResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*TransferFeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransferFeeResponse.ProtoReflect.Descriptor instead.
func (*TransferFeeResponse) GetTransferFee ¶
func (x *TransferFeeResponse) GetTransferFee() *Tokens
func (*TransferFeeResponse) ProtoMessage ¶
func (*TransferFeeResponse) ProtoMessage()
func (*TransferFeeResponse) ProtoReflect ¶
func (x *TransferFeeResponse) ProtoReflect() protoreflect.Message
func (*TransferFeeResponse) Reset ¶
func (x *TransferFeeResponse) Reset()
func (*TransferFeeResponse) String ¶
func (x *TransferFeeResponse) String() string