Documentation ¶
Index ¶
- Variables
- type BaseAccount
- func (*BaseAccount) Descriptor() ([]byte, []int)
- func (m *BaseAccount) Marshal() (dAtA []byte, err error)
- func (m *BaseAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *BaseAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (acc BaseAccount) MarshalYAML() (interface{}, error)
- func (*BaseAccount) ProtoMessage()
- func (m *BaseAccount) Reset()
- func (m *BaseAccount) Size() (n int)
- func (acc BaseAccount) String() string
- func (m *BaseAccount) Unmarshal(dAtA []byte) error
- func (m *BaseAccount) XXX_DiscardUnknown()
- func (m *BaseAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BaseAccount) XXX_Merge(src proto.Message)
- func (m *BaseAccount) XXX_Size() int
- func (m *BaseAccount) XXX_Unmarshal(b []byte) error
- type ModuleAccount
- func (*ModuleAccount) Descriptor() ([]byte, []int)
- func (m *ModuleAccount) Marshal() (dAtA []byte, err error)
- func (m *ModuleAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *ModuleAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModuleAccount) ProtoMessage()
- func (m *ModuleAccount) Reset()
- func (m *ModuleAccount) Size() (n int)
- func (m *ModuleAccount) Unmarshal(dAtA []byte) error
- func (m *ModuleAccount) XXX_DiscardUnknown()
- func (m *ModuleAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModuleAccount) XXX_Merge(src proto.Message)
- func (m *ModuleAccount) XXX_Size() int
- func (m *ModuleAccount) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetMaxMemoCharacters() uint64
- func (m *Params) GetSigVerifyCostED25519() uint64
- func (m *Params) GetSigVerifyCostSecp256k1() uint64
- func (m *Params) GetTxSigLimit() uint64
- func (m *Params) GetTxSizeCostPerByte() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (this *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BaseAccount ¶
type BaseAccount struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` PubKey *types.Any `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"public_key,omitempty" yaml:"public_key"` AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty" yaml:"account_number"` Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` }
BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting).
func (*BaseAccount) Descriptor ¶
func (*BaseAccount) Descriptor() ([]byte, []int)
func (*BaseAccount) Marshal ¶
func (m *BaseAccount) Marshal() (dAtA []byte, err error)
func (*BaseAccount) MarshalToSizedBuffer ¶
func (m *BaseAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (BaseAccount) MarshalYAML ¶
func (acc BaseAccount) MarshalYAML() (interface{}, error)
MarshalYAML returns the YAML representation of an account.
func (*BaseAccount) ProtoMessage ¶
func (*BaseAccount) ProtoMessage()
func (*BaseAccount) Reset ¶
func (m *BaseAccount) Reset()
func (*BaseAccount) Size ¶
func (m *BaseAccount) Size() (n int)
func (BaseAccount) String ¶
func (acc BaseAccount) String() string
func (*BaseAccount) Unmarshal ¶
func (m *BaseAccount) Unmarshal(dAtA []byte) error
func (*BaseAccount) XXX_DiscardUnknown ¶
func (m *BaseAccount) XXX_DiscardUnknown()
func (*BaseAccount) XXX_Marshal ¶
func (m *BaseAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BaseAccount) XXX_Merge ¶
func (m *BaseAccount) XXX_Merge(src proto.Message)
func (*BaseAccount) XXX_Size ¶
func (m *BaseAccount) XXX_Size() int
func (*BaseAccount) XXX_Unmarshal ¶
func (m *BaseAccount) XXX_Unmarshal(b []byte) error
type ModuleAccount ¶
type ModuleAccount struct { *BaseAccount `` /* 136-byte string literal not displayed */ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` }
ModuleAccount defines an account for modules that holds coins on a pool.
func (*ModuleAccount) Descriptor ¶
func (*ModuleAccount) Descriptor() ([]byte, []int)
func (*ModuleAccount) Marshal ¶
func (m *ModuleAccount) Marshal() (dAtA []byte, err error)
func (*ModuleAccount) MarshalToSizedBuffer ¶
func (m *ModuleAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModuleAccount) ProtoMessage ¶
func (*ModuleAccount) ProtoMessage()
func (*ModuleAccount) Reset ¶
func (m *ModuleAccount) Reset()
func (*ModuleAccount) Size ¶
func (m *ModuleAccount) Size() (n int)
func (*ModuleAccount) Unmarshal ¶
func (m *ModuleAccount) Unmarshal(dAtA []byte) error
func (*ModuleAccount) XXX_DiscardUnknown ¶
func (m *ModuleAccount) XXX_DiscardUnknown()
func (*ModuleAccount) XXX_Marshal ¶
func (m *ModuleAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModuleAccount) XXX_Merge ¶
func (m *ModuleAccount) XXX_Merge(src proto.Message)
func (*ModuleAccount) XXX_Size ¶
func (m *ModuleAccount) XXX_Size() int
func (*ModuleAccount) XXX_Unmarshal ¶
func (m *ModuleAccount) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { MaxMemoCharacters uint64 `` /* 142-byte string literal not displayed */ TxSigLimit uint64 `protobuf:"varint,2,opt,name=tx_sig_limit,json=txSigLimit,proto3" json:"tx_sig_limit,omitempty" yaml:"tx_sig_limit"` TxSizeCostPerByte uint64 `` /* 148-byte string literal not displayed */ SigVerifyCostED25519 uint64 `` /* 157-byte string literal not displayed */ SigVerifyCostSecp256k1 uint64 `` /* 165-byte string literal not displayed */ }
Params defines the parameters for the auth module.
func (*Params) Descriptor ¶
func (*Params) GetMaxMemoCharacters ¶
func (*Params) GetSigVerifyCostED25519 ¶
func (*Params) GetSigVerifyCostSecp256k1 ¶
func (*Params) GetTxSigLimit ¶
func (*Params) GetTxSizeCostPerByte ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.