Versions in this module Expand all Collapse all v3 v3.0.1 Dec 25, 2023 v3.0.0 Dec 23, 2022 Changes in this version + var AccountStatus_name = map[int32]string + var AccountStatus_value = map[string]int32 + var ErrIntOverflowAccount = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthAccount = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupAccount = fmt.Errorf("proto: unexpected end of group") + type AccountStatus int32 + const AccountStatus_FROZEN + const AccountStatus_NORMAL + const AccountStatus_REVOKED + func (AccountStatus) EnumDescriptor() ([]byte, []int) + func (x AccountStatus) String() string + type UserAccount struct + Address []byte + Balance []byte + NameTag string + Nonce uint64 + Status AccountStatus + func NewUserAccount(addr ethbase.Address, name string, balance *ethbase.SafeUint256, nonce uint64) *UserAccount + func NewUserAccount2(addr, name, balance string, nonce uint64) (*UserAccount, error) + func (*UserAccount) Descriptor() ([]byte, []int) + func (*UserAccount) ProtoMessage() + func (a *UserAccount) GetAddress2() ethbase.Address + func (a *UserAccount) GetBalance2() *ethbase.SafeUint256 + func (a *UserAccount) MarshalJSON() ([]byte, error) + func (a *UserAccount) SetAddress(addr ethbase.Address) + func (a *UserAccount) SetBalance(b *ethbase.SafeUint256) + func (a *UserAccount) ToString() string + func (a *UserAccount) UnmarshalJSON(input []byte) error + func (m *UserAccount) GetAddress() []byte + func (m *UserAccount) GetBalance() []byte + func (m *UserAccount) GetNameTag() string + func (m *UserAccount) GetNonce() uint64 + func (m *UserAccount) GetStatus() AccountStatus + func (m *UserAccount) Marshal() (dAtA []byte, err error) + func (m *UserAccount) MarshalTo(dAtA []byte) (int, error) + func (m *UserAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UserAccount) Reset() + func (m *UserAccount) Size() (n int) + func (m *UserAccount) String() string + func (m *UserAccount) Unmarshal(dAtA []byte) error + func (m *UserAccount) XXX_DiscardUnknown() + func (m *UserAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UserAccount) XXX_Merge(src proto.Message) + func (m *UserAccount) XXX_Size() int + func (m *UserAccount) XXX_Unmarshal(b []byte) error