Documentation ¶
Overview ¶
Package blueaccount implements Blue Account functionality.
For more details, see https://github.com/iov-one/weave/issues/1031
Index ¶
- Variables
- func DomainAccounts(db weave.ReadOnlyKVStore, domain string) (weave.Iterator, error)
- func NewAccountBucket() orm.ModelBucket
- func NewDomainBucket() orm.ModelBucket
- func RegisterQuery(qr weave.QueryRouter)
- func RegisterRoutes(r weave.Registry, auth x.Authenticator)
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetDomain() string
- func (m *Account) GetMetadata() *weave.Metadata
- func (m *Account) GetName() string
- func (m *Account) GetOwner() github_com_iov_one_weave.Address
- func (m *Account) GetTargets() []BlockchainAddress
- func (m *Account) Marshal() (dAtA []byte, err error)
- func (m *Account) MarshalTo(dAtA []byte) (int, error)
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) Size() (n int)
- func (m *Account) String() string
- func (m *Account) Unmarshal(dAtA []byte) error
- func (a *Account) Validate() error
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type BlockchainAddress
- func (*BlockchainAddress) Descriptor() ([]byte, []int)
- func (m *BlockchainAddress) GetAddress() string
- func (m *BlockchainAddress) GetBlockchainID() string
- func (m *BlockchainAddress) Marshal() (dAtA []byte, err error)
- func (m *BlockchainAddress) MarshalTo(dAtA []byte) (int, error)
- func (*BlockchainAddress) ProtoMessage()
- func (m *BlockchainAddress) Reset()
- func (m *BlockchainAddress) Size() (n int)
- func (m *BlockchainAddress) String() string
- func (m *BlockchainAddress) Unmarshal(dAtA []byte) error
- func (ba *BlockchainAddress) Validate() error
- func (m *BlockchainAddress) XXX_DiscardUnknown()
- func (m *BlockchainAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockchainAddress) XXX_Merge(src proto.Message)
- func (m *BlockchainAddress) XXX_Size() int
- func (m *BlockchainAddress) XXX_Unmarshal(b []byte) error
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)
- func (m *Configuration) GetDomainRenew() github_com_iov_one_weave.UnixDuration
- func (m *Configuration) GetMetadata() *weave.Metadata
- func (m *Configuration) GetOwner() github_com_iov_one_weave.Address
- func (m *Configuration) GetValidDomain() string
- func (m *Configuration) GetValidName() string
- func (m *Configuration) Marshal() (dAtA []byte, err error)
- func (m *Configuration) MarshalTo(dAtA []byte) (int, error)
- func (*Configuration) ProtoMessage()
- func (m *Configuration) Reset()
- func (m *Configuration) Size() (n int)
- func (m *Configuration) String() string
- func (m *Configuration) Unmarshal(dAtA []byte) error
- func (c *Configuration) Validate() error
- func (m *Configuration) XXX_DiscardUnknown()
- func (m *Configuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Configuration) XXX_Merge(src proto.Message)
- func (m *Configuration) XXX_Size() int
- func (m *Configuration) XXX_Unmarshal(b []byte) error
- type DeleteAccountMsg
- func (*DeleteAccountMsg) Descriptor() ([]byte, []int)
- func (m *DeleteAccountMsg) GetDomain() string
- func (m *DeleteAccountMsg) GetMetadata() *weave.Metadata
- func (m *DeleteAccountMsg) GetName() string
- func (m *DeleteAccountMsg) Marshal() (dAtA []byte, err error)
- func (m *DeleteAccountMsg) MarshalTo(dAtA []byte) (int, error)
- func (DeleteAccountMsg) Path() string
- func (*DeleteAccountMsg) ProtoMessage()
- func (m *DeleteAccountMsg) Reset()
- func (m *DeleteAccountMsg) Size() (n int)
- func (m *DeleteAccountMsg) String() string
- func (m *DeleteAccountMsg) Unmarshal(dAtA []byte) error
- func (msg *DeleteAccountMsg) Validate() error
- func (m *DeleteAccountMsg) XXX_DiscardUnknown()
- func (m *DeleteAccountMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAccountMsg) XXX_Merge(src proto.Message)
- func (m *DeleteAccountMsg) XXX_Size() int
- func (m *DeleteAccountMsg) XXX_Unmarshal(b []byte) error
- type DeleteDomainMsg
- func (*DeleteDomainMsg) Descriptor() ([]byte, []int)
- func (m *DeleteDomainMsg) GetDomain() string
- func (m *DeleteDomainMsg) GetMetadata() *weave.Metadata
- func (m *DeleteDomainMsg) Marshal() (dAtA []byte, err error)
- func (m *DeleteDomainMsg) MarshalTo(dAtA []byte) (int, error)
- func (DeleteDomainMsg) Path() string
- func (*DeleteDomainMsg) ProtoMessage()
- func (m *DeleteDomainMsg) Reset()
- func (m *DeleteDomainMsg) Size() (n int)
- func (m *DeleteDomainMsg) String() string
- func (m *DeleteDomainMsg) Unmarshal(dAtA []byte) error
- func (msg *DeleteDomainMsg) Validate() error
- func (m *DeleteDomainMsg) XXX_DiscardUnknown()
- func (m *DeleteDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteDomainMsg) XXX_Merge(src proto.Message)
- func (m *DeleteDomainMsg) XXX_Size() int
- func (m *DeleteDomainMsg) XXX_Unmarshal(b []byte) error
- type Domain
- func (*Domain) Descriptor() ([]byte, []int)
- func (m *Domain) GetDomain() string
- func (m *Domain) GetMetadata() *weave.Metadata
- func (m *Domain) GetOwner() github_com_iov_one_weave.Address
- func (m *Domain) GetValidUntil() github_com_iov_one_weave.UnixTime
- func (m *Domain) Marshal() (dAtA []byte, err error)
- func (m *Domain) MarshalTo(dAtA []byte) (int, error)
- func (*Domain) ProtoMessage()
- func (m *Domain) Reset()
- func (m *Domain) Size() (n int)
- func (m *Domain) String() string
- func (m *Domain) Unmarshal(dAtA []byte) error
- func (d *Domain) Validate() error
- func (m *Domain) XXX_DiscardUnknown()
- func (m *Domain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Domain) XXX_Merge(src proto.Message)
- func (m *Domain) XXX_Size() int
- func (m *Domain) XXX_Unmarshal(b []byte) error
- type FlushDomainMsg
- func (*FlushDomainMsg) Descriptor() ([]byte, []int)
- func (m *FlushDomainMsg) GetDomain() string
- func (m *FlushDomainMsg) GetMetadata() *weave.Metadata
- func (m *FlushDomainMsg) Marshal() (dAtA []byte, err error)
- func (m *FlushDomainMsg) MarshalTo(dAtA []byte) (int, error)
- func (FlushDomainMsg) Path() string
- func (*FlushDomainMsg) ProtoMessage()
- func (m *FlushDomainMsg) Reset()
- func (m *FlushDomainMsg) Size() (n int)
- func (m *FlushDomainMsg) String() string
- func (m *FlushDomainMsg) Unmarshal(dAtA []byte) error
- func (msg *FlushDomainMsg) Validate() error
- func (m *FlushDomainMsg) XXX_DiscardUnknown()
- func (m *FlushDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FlushDomainMsg) XXX_Merge(src proto.Message)
- func (m *FlushDomainMsg) XXX_Size() int
- func (m *FlushDomainMsg) XXX_Unmarshal(b []byte) error
- type RegisterAccountMsg
- func (*RegisterAccountMsg) Descriptor() ([]byte, []int)
- func (m *RegisterAccountMsg) GetDomain() string
- func (m *RegisterAccountMsg) GetMetadata() *weave.Metadata
- func (m *RegisterAccountMsg) GetName() string
- func (m *RegisterAccountMsg) GetOwner() github_com_iov_one_weave.Address
- func (m *RegisterAccountMsg) GetTargets() []BlockchainAddress
- func (m *RegisterAccountMsg) GetThirdPartyToken() []byte
- func (m *RegisterAccountMsg) Marshal() (dAtA []byte, err error)
- func (m *RegisterAccountMsg) MarshalTo(dAtA []byte) (int, error)
- func (RegisterAccountMsg) Path() string
- func (*RegisterAccountMsg) ProtoMessage()
- func (m *RegisterAccountMsg) Reset()
- func (m *RegisterAccountMsg) Size() (n int)
- func (m *RegisterAccountMsg) String() string
- func (m *RegisterAccountMsg) Unmarshal(dAtA []byte) error
- func (msg *RegisterAccountMsg) Validate() error
- func (m *RegisterAccountMsg) XXX_DiscardUnknown()
- func (m *RegisterAccountMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterAccountMsg) XXX_Merge(src proto.Message)
- func (m *RegisterAccountMsg) XXX_Size() int
- func (m *RegisterAccountMsg) XXX_Unmarshal(b []byte) error
- type RegisterDomainMsg
- func (*RegisterDomainMsg) Descriptor() ([]byte, []int)
- func (m *RegisterDomainMsg) GetDomain() string
- func (m *RegisterDomainMsg) GetMetadata() *weave.Metadata
- func (m *RegisterDomainMsg) GetOwner() github_com_iov_one_weave.Address
- func (m *RegisterDomainMsg) GetThirdPartyToken() []byte
- func (m *RegisterDomainMsg) Marshal() (dAtA []byte, err error)
- func (m *RegisterDomainMsg) MarshalTo(dAtA []byte) (int, error)
- func (RegisterDomainMsg) Path() string
- func (*RegisterDomainMsg) ProtoMessage()
- func (m *RegisterDomainMsg) Reset()
- func (m *RegisterDomainMsg) Size() (n int)
- func (m *RegisterDomainMsg) String() string
- func (m *RegisterDomainMsg) Unmarshal(dAtA []byte) error
- func (msg *RegisterDomainMsg) Validate() error
- func (m *RegisterDomainMsg) XXX_DiscardUnknown()
- func (m *RegisterDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterDomainMsg) XXX_Merge(src proto.Message)
- func (m *RegisterDomainMsg) XXX_Size() int
- func (m *RegisterDomainMsg) XXX_Unmarshal(b []byte) error
- type RenewDomainMsg
- func (*RenewDomainMsg) Descriptor() ([]byte, []int)
- func (m *RenewDomainMsg) GetDomain() string
- func (m *RenewDomainMsg) GetMetadata() *weave.Metadata
- func (m *RenewDomainMsg) GetThirdPartyToken() []byte
- func (m *RenewDomainMsg) Marshal() (dAtA []byte, err error)
- func (m *RenewDomainMsg) MarshalTo(dAtA []byte) (int, error)
- func (RenewDomainMsg) Path() string
- func (*RenewDomainMsg) ProtoMessage()
- func (m *RenewDomainMsg) Reset()
- func (m *RenewDomainMsg) Size() (n int)
- func (m *RenewDomainMsg) String() string
- func (m *RenewDomainMsg) Unmarshal(dAtA []byte) error
- func (msg *RenewDomainMsg) Validate() error
- func (m *RenewDomainMsg) XXX_DiscardUnknown()
- func (m *RenewDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenewDomainMsg) XXX_Merge(src proto.Message)
- func (m *RenewDomainMsg) XXX_Size() int
- func (m *RenewDomainMsg) XXX_Unmarshal(b []byte) error
- type ReplaceAccountTargetsMsg
- func (*ReplaceAccountTargetsMsg) Descriptor() ([]byte, []int)
- func (m *ReplaceAccountTargetsMsg) GetDomain() string
- func (m *ReplaceAccountTargetsMsg) GetMetadata() *weave.Metadata
- func (m *ReplaceAccountTargetsMsg) GetName() string
- func (m *ReplaceAccountTargetsMsg) GetNewTargets() []BlockchainAddress
- func (m *ReplaceAccountTargetsMsg) Marshal() (dAtA []byte, err error)
- func (m *ReplaceAccountTargetsMsg) MarshalTo(dAtA []byte) (int, error)
- func (ReplaceAccountTargetsMsg) Path() string
- func (*ReplaceAccountTargetsMsg) ProtoMessage()
- func (m *ReplaceAccountTargetsMsg) Reset()
- func (m *ReplaceAccountTargetsMsg) Size() (n int)
- func (m *ReplaceAccountTargetsMsg) String() string
- func (m *ReplaceAccountTargetsMsg) Unmarshal(dAtA []byte) error
- func (msg *ReplaceAccountTargetsMsg) Validate() error
- func (m *ReplaceAccountTargetsMsg) XXX_DiscardUnknown()
- func (m *ReplaceAccountTargetsMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplaceAccountTargetsMsg) XXX_Merge(src proto.Message)
- func (m *ReplaceAccountTargetsMsg) XXX_Size() int
- func (m *ReplaceAccountTargetsMsg) XXX_Unmarshal(b []byte) error
- type TransferAccountMsg
- func (*TransferAccountMsg) Descriptor() ([]byte, []int)
- func (m *TransferAccountMsg) GetDomain() string
- func (m *TransferAccountMsg) GetMetadata() *weave.Metadata
- func (m *TransferAccountMsg) GetName() string
- func (m *TransferAccountMsg) GetNewOwner() github_com_iov_one_weave.Address
- func (m *TransferAccountMsg) Marshal() (dAtA []byte, err error)
- func (m *TransferAccountMsg) MarshalTo(dAtA []byte) (int, error)
- func (TransferAccountMsg) Path() string
- func (*TransferAccountMsg) ProtoMessage()
- func (m *TransferAccountMsg) Reset()
- func (m *TransferAccountMsg) Size() (n int)
- func (m *TransferAccountMsg) String() string
- func (m *TransferAccountMsg) Unmarshal(dAtA []byte) error
- func (msg *TransferAccountMsg) Validate() error
- func (m *TransferAccountMsg) XXX_DiscardUnknown()
- func (m *TransferAccountMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferAccountMsg) XXX_Merge(src proto.Message)
- func (m *TransferAccountMsg) XXX_Size() int
- func (m *TransferAccountMsg) XXX_Unmarshal(b []byte) error
- type TransferDomainMsg
- func (*TransferDomainMsg) Descriptor() ([]byte, []int)
- func (m *TransferDomainMsg) GetDomain() string
- func (m *TransferDomainMsg) GetMetadata() *weave.Metadata
- func (m *TransferDomainMsg) GetNewOwner() github_com_iov_one_weave.Address
- func (m *TransferDomainMsg) Marshal() (dAtA []byte, err error)
- func (m *TransferDomainMsg) MarshalTo(dAtA []byte) (int, error)
- func (TransferDomainMsg) Path() string
- func (*TransferDomainMsg) ProtoMessage()
- func (m *TransferDomainMsg) Reset()
- func (m *TransferDomainMsg) Size() (n int)
- func (m *TransferDomainMsg) String() string
- func (m *TransferDomainMsg) Unmarshal(dAtA []byte) error
- func (msg *TransferDomainMsg) Validate() error
- func (m *TransferDomainMsg) XXX_DiscardUnknown()
- func (m *TransferDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferDomainMsg) XXX_Merge(src proto.Message)
- func (m *TransferDomainMsg) XXX_Size() int
- func (m *TransferDomainMsg) XXX_Unmarshal(b []byte) error
- type UpdateConfigurationMsg
- func (*UpdateConfigurationMsg) Descriptor() ([]byte, []int)
- func (m *UpdateConfigurationMsg) GetMetadata() *weave.Metadata
- func (m *UpdateConfigurationMsg) GetPatch() *Configuration
- func (m *UpdateConfigurationMsg) Marshal() (dAtA []byte, err error)
- func (m *UpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error)
- func (UpdateConfigurationMsg) Path() string
- func (*UpdateConfigurationMsg) ProtoMessage()
- func (m *UpdateConfigurationMsg) Reset()
- func (m *UpdateConfigurationMsg) Size() (n int)
- func (m *UpdateConfigurationMsg) String() string
- func (m *UpdateConfigurationMsg) Unmarshal(dAtA []byte) error
- func (msg *UpdateConfigurationMsg) Validate() error
- func (m *UpdateConfigurationMsg) XXX_DiscardUnknown()
- func (m *UpdateConfigurationMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConfigurationMsg) XXX_Merge(src proto.Message)
- func (m *UpdateConfigurationMsg) XXX_Size() int
- func (m *UpdateConfigurationMsg) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCodec = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCodec = fmt.Errorf("proto: integer overflow") )
Functions ¶
func DomainAccounts ¶
DomainAccounts returns an iterator through all account that belong to a given domain. It is the client responsibility to releast the iterator.
func NewAccountBucket ¶
func NewAccountBucket() orm.ModelBucket
func NewDomainBucket ¶
func NewDomainBucket() orm.ModelBucket
func RegisterQuery ¶
func RegisterQuery(qr weave.QueryRouter)
func RegisterRoutes ¶
func RegisterRoutes(r weave.Registry, auth x.Authenticator)
Types ¶
type Account ¶
type Account struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Domain references a domain that this account belongs to. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Owner is a weave.Address that controls this account. Can be empty. // // An account is always owned by the domain owner. In addition, ownership can // be assigned to one more address to share ownership and allow another party // to manage selected account. Owner github_com_iov_one_weave.Address `protobuf:"bytes,4,opt,name=owner,proto3,casttype=github.com/iov-one/weave.Address" json:"owner,omitempty"` Targets []BlockchainAddress `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets"` }
Account represents a blue account name.
String representation of an account is `<name>*<domain>`. Empty name is an acceptable account string. Complete validation rules for name and domain are declared by configuration entity.
An account must always belong to an existing domain.
func (*Account) Descriptor ¶
func (*Account) GetMetadata ¶
func (*Account) GetOwner ¶
func (m *Account) GetOwner() github_com_iov_one_weave.Address
func (*Account) GetTargets ¶
func (m *Account) GetTargets() []BlockchainAddress
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type BlockchainAddress ¶
type BlockchainAddress struct { // An arbitrary blockchain ID. BlockchainID string `protobuf:"bytes,1,opt,name=blockchain_id,json=blockchainId,proto3" json:"blockchain_id,omitempty"` // An address on the specified blockchain network. Address is not a // weave.Address as we cannot know what is the format of an address on the // chain that this token instance links to. Because we do not know the rules // to validate an address for any blockchain ID, this is an arbitrary bulk of // data. // It is more convenient to always use encoded representation of each address // and store it as a string. Using bytes while compact is not as comfortable // to use. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
BlockchainAddress represents a blochain address. This structure clubs together blokchain ID together with an address on that network. It is used to point to an address on any blockchain network.
func (*BlockchainAddress) Descriptor ¶
func (*BlockchainAddress) Descriptor() ([]byte, []int)
func (*BlockchainAddress) GetAddress ¶
func (m *BlockchainAddress) GetAddress() string
func (*BlockchainAddress) GetBlockchainID ¶
func (m *BlockchainAddress) GetBlockchainID() string
func (*BlockchainAddress) Marshal ¶
func (m *BlockchainAddress) Marshal() (dAtA []byte, err error)
func (*BlockchainAddress) MarshalTo ¶
func (m *BlockchainAddress) MarshalTo(dAtA []byte) (int, error)
func (*BlockchainAddress) ProtoMessage ¶
func (*BlockchainAddress) ProtoMessage()
func (*BlockchainAddress) Reset ¶
func (m *BlockchainAddress) Reset()
func (*BlockchainAddress) Size ¶
func (m *BlockchainAddress) Size() (n int)
func (*BlockchainAddress) String ¶
func (m *BlockchainAddress) String() string
func (*BlockchainAddress) Unmarshal ¶
func (m *BlockchainAddress) Unmarshal(dAtA []byte) error
func (*BlockchainAddress) Validate ¶
func (ba *BlockchainAddress) Validate() error
func (*BlockchainAddress) XXX_DiscardUnknown ¶
func (m *BlockchainAddress) XXX_DiscardUnknown()
func (*BlockchainAddress) XXX_Marshal ¶
func (m *BlockchainAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockchainAddress) XXX_Merge ¶
func (m *BlockchainAddress) XXX_Merge(src proto.Message)
func (*BlockchainAddress) XXX_Size ¶
func (m *BlockchainAddress) XXX_Size() int
func (*BlockchainAddress) XXX_Unmarshal ¶
func (m *BlockchainAddress) XXX_Unmarshal(b []byte) error
type Configuration ¶
type Configuration struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Owner is present to implement gconf.OwnedConfig interface // This defines the Address that is allowed to update the Configuration object and is // needed to make use of gconf.NewUpdateConfigurationHandler Owner github_com_iov_one_weave.Address `protobuf:"bytes,2,opt,name=owner,proto3,casttype=github.com/iov-one/weave.Address" json:"owner,omitempty"` // Valid domain defines a regular expression that every valid domain of an // account must match. Rule must not include the asterisk (*) character. ValidDomain string `protobuf:"bytes,3,opt,name=valid_domain,json=validDomain,proto3" json:"valid_domain,omitempty"` // Valid name defines a regular expression that every valid name of an // account must match. Rule must not include the asterisk (*) character. ValidName string `protobuf:"bytes,4,opt,name=valid_name,json=validName,proto3" json:"valid_name,omitempty"` // Domain review defines the duration of the domain renewal period. DomainRenew github_com_iov_one_weave.UnixDuration `` /* 142-byte string literal not displayed */ }
Configuration is a dynamic configuration used by this extension, managed by the functionality provided by gconf package.
func (*Configuration) Descriptor ¶
func (*Configuration) Descriptor() ([]byte, []int)
func (*Configuration) GetDomainRenew ¶
func (m *Configuration) GetDomainRenew() github_com_iov_one_weave.UnixDuration
func (*Configuration) GetMetadata ¶
func (m *Configuration) GetMetadata() *weave.Metadata
func (*Configuration) GetOwner ¶
func (m *Configuration) GetOwner() github_com_iov_one_weave.Address
func (*Configuration) GetValidDomain ¶
func (m *Configuration) GetValidDomain() string
func (*Configuration) GetValidName ¶
func (m *Configuration) GetValidName() string
func (*Configuration) Marshal ¶
func (m *Configuration) Marshal() (dAtA []byte, err error)
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) Reset ¶
func (m *Configuration) Reset()
func (*Configuration) Size ¶
func (m *Configuration) Size() (n int)
func (*Configuration) String ¶
func (m *Configuration) String() string
func (*Configuration) Unmarshal ¶
func (m *Configuration) Unmarshal(dAtA []byte) error
func (*Configuration) Validate ¶
func (c *Configuration) Validate() error
func (*Configuration) XXX_DiscardUnknown ¶
func (m *Configuration) XXX_DiscardUnknown()
func (*Configuration) XXX_Marshal ¶
func (m *Configuration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Configuration) XXX_Merge ¶
func (m *Configuration) XXX_Merge(src proto.Message)
func (*Configuration) XXX_Size ¶
func (m *Configuration) XXX_Size() int
func (*Configuration) XXX_Unmarshal ¶
func (m *Configuration) XXX_Unmarshal(b []byte) error
type DeleteAccountMsg ¶
type DeleteAccountMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` }
DeleteAccountMsg issues deletion of a name that belongs to given domain. Message must be signed by the domain owner.
func (*DeleteAccountMsg) Descriptor ¶
func (*DeleteAccountMsg) Descriptor() ([]byte, []int)
func (*DeleteAccountMsg) GetDomain ¶
func (m *DeleteAccountMsg) GetDomain() string
func (*DeleteAccountMsg) GetMetadata ¶
func (m *DeleteAccountMsg) GetMetadata() *weave.Metadata
func (*DeleteAccountMsg) GetName ¶
func (m *DeleteAccountMsg) GetName() string
func (*DeleteAccountMsg) Marshal ¶
func (m *DeleteAccountMsg) Marshal() (dAtA []byte, err error)
func (DeleteAccountMsg) Path ¶
func (DeleteAccountMsg) Path() string
func (*DeleteAccountMsg) ProtoMessage ¶
func (*DeleteAccountMsg) ProtoMessage()
func (*DeleteAccountMsg) Reset ¶
func (m *DeleteAccountMsg) Reset()
func (*DeleteAccountMsg) Size ¶
func (m *DeleteAccountMsg) Size() (n int)
func (*DeleteAccountMsg) String ¶
func (m *DeleteAccountMsg) String() string
func (*DeleteAccountMsg) Unmarshal ¶
func (m *DeleteAccountMsg) Unmarshal(dAtA []byte) error
func (*DeleteAccountMsg) Validate ¶
func (msg *DeleteAccountMsg) Validate() error
func (*DeleteAccountMsg) XXX_DiscardUnknown ¶
func (m *DeleteAccountMsg) XXX_DiscardUnknown()
func (*DeleteAccountMsg) XXX_Marshal ¶
func (m *DeleteAccountMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAccountMsg) XXX_Merge ¶
func (m *DeleteAccountMsg) XXX_Merge(src proto.Message)
func (*DeleteAccountMsg) XXX_Size ¶
func (m *DeleteAccountMsg) XXX_Size() int
func (*DeleteAccountMsg) XXX_Unmarshal ¶
func (m *DeleteAccountMsg) XXX_Unmarshal(b []byte) error
type DeleteDomainMsg ¶
type DeleteDomainMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Name of the domain that is deleted. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` }
DeleteDomainMsg issues deletion of a domain and all accounts that belong to that domain.
func (*DeleteDomainMsg) Descriptor ¶
func (*DeleteDomainMsg) Descriptor() ([]byte, []int)
func (*DeleteDomainMsg) GetDomain ¶
func (m *DeleteDomainMsg) GetDomain() string
func (*DeleteDomainMsg) GetMetadata ¶
func (m *DeleteDomainMsg) GetMetadata() *weave.Metadata
func (*DeleteDomainMsg) Marshal ¶
func (m *DeleteDomainMsg) Marshal() (dAtA []byte, err error)
func (DeleteDomainMsg) Path ¶
func (DeleteDomainMsg) Path() string
func (*DeleteDomainMsg) ProtoMessage ¶
func (*DeleteDomainMsg) ProtoMessage()
func (*DeleteDomainMsg) Reset ¶
func (m *DeleteDomainMsg) Reset()
func (*DeleteDomainMsg) Size ¶
func (m *DeleteDomainMsg) Size() (n int)
func (*DeleteDomainMsg) String ¶
func (m *DeleteDomainMsg) String() string
func (*DeleteDomainMsg) Unmarshal ¶
func (m *DeleteDomainMsg) Unmarshal(dAtA []byte) error
func (*DeleteDomainMsg) Validate ¶
func (msg *DeleteDomainMsg) Validate() error
func (*DeleteDomainMsg) XXX_DiscardUnknown ¶
func (m *DeleteDomainMsg) XXX_DiscardUnknown()
func (*DeleteDomainMsg) XXX_Marshal ¶
func (m *DeleteDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDomainMsg) XXX_Merge ¶
func (m *DeleteDomainMsg) XXX_Merge(src proto.Message)
func (*DeleteDomainMsg) XXX_Size ¶
func (m *DeleteDomainMsg) XXX_Size() int
func (*DeleteDomainMsg) XXX_Unmarshal ¶
func (m *DeleteDomainMsg) XXX_Unmarshal(b []byte) error
type Domain ¶
type Domain struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // Owner is a weave.Address that controls this domain and all accounts that // belong to this domain. Owner github_com_iov_one_weave.Address `protobuf:"bytes,3,opt,name=owner,proto3,casttype=github.com/iov-one/weave.Address" json:"owner,omitempty"` // Valid until defines the expiration date for the domain. Expired domain // cannot be used or modified. None of the accounts that belong to an expired // domain can be used of modified as well. ValidUntil github_com_iov_one_weave.UnixTime `` /* 135-byte string literal not displayed */ }
Domain represents a blue account domain.
Domain is a container for accounts. Account representation is `<name>*<domain>`. Each domain owner controls all accounts that belong to that domain. Each domain controls expiration of all accounts that belong to that domain.
Because of the functionality that the Red Account provides, Blue Account domain must not be `iov` as this is a domain used by Red Account functionality.
func (*Domain) Descriptor ¶
func (*Domain) GetMetadata ¶
func (*Domain) GetOwner ¶
func (m *Domain) GetOwner() github_com_iov_one_weave.Address
func (*Domain) GetValidUntil ¶
func (m *Domain) GetValidUntil() github_com_iov_one_weave.UnixTime
func (*Domain) ProtoMessage ¶
func (*Domain) ProtoMessage()
func (*Domain) XXX_DiscardUnknown ¶
func (m *Domain) XXX_DiscardUnknown()
func (*Domain) XXX_Marshal ¶
func (*Domain) XXX_Unmarshal ¶
type FlushDomainMsg ¶
type FlushDomainMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` }
FlushDomainMsg issues deletion of all names (except the one with an empty name) that belongs to given domain. Message must be signed by the domain owner.
func (*FlushDomainMsg) Descriptor ¶
func (*FlushDomainMsg) Descriptor() ([]byte, []int)
func (*FlushDomainMsg) GetDomain ¶
func (m *FlushDomainMsg) GetDomain() string
func (*FlushDomainMsg) GetMetadata ¶
func (m *FlushDomainMsg) GetMetadata() *weave.Metadata
func (*FlushDomainMsg) Marshal ¶
func (m *FlushDomainMsg) Marshal() (dAtA []byte, err error)
func (FlushDomainMsg) Path ¶
func (FlushDomainMsg) Path() string
func (*FlushDomainMsg) ProtoMessage ¶
func (*FlushDomainMsg) ProtoMessage()
func (*FlushDomainMsg) Reset ¶
func (m *FlushDomainMsg) Reset()
func (*FlushDomainMsg) Size ¶
func (m *FlushDomainMsg) Size() (n int)
func (*FlushDomainMsg) String ¶
func (m *FlushDomainMsg) String() string
func (*FlushDomainMsg) Unmarshal ¶
func (m *FlushDomainMsg) Unmarshal(dAtA []byte) error
func (*FlushDomainMsg) Validate ¶
func (msg *FlushDomainMsg) Validate() error
func (*FlushDomainMsg) XXX_DiscardUnknown ¶
func (m *FlushDomainMsg) XXX_DiscardUnknown()
func (*FlushDomainMsg) XXX_Marshal ¶
func (m *FlushDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FlushDomainMsg) XXX_Merge ¶
func (m *FlushDomainMsg) XXX_Merge(src proto.Message)
func (*FlushDomainMsg) XXX_Size ¶
func (m *FlushDomainMsg) XXX_Size() int
func (*FlushDomainMsg) XXX_Unmarshal ¶
func (m *FlushDomainMsg) XXX_Unmarshal(b []byte) error
type RegisterAccountMsg ¶
type RegisterAccountMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Domain that a new account is the be registered under. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // Name that a new account is the be registered with. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Owner holds the address of the newly registered account. Can be empty to // leave the administration to the domain owner only. Owner github_com_iov_one_weave.Address `protobuf:"bytes,4,opt,name=owner,proto3,casttype=github.com/iov-one/weave.Address" json:"owner,omitempty"` Targets []BlockchainAddress `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets"` // Third party token is an arbitrary data that can be provided by a middleman // (i.e. retailer) that although does not participate directly in the // transaction, helped a user to renew a domain. Storing a client token helps // identify contribution of such party later. ThirdPartyToken []byte `protobuf:"bytes,6,opt,name=third_party_token,json=thirdPartyToken,proto3" json:"third_party_token,omitempty"` }
RegisterAccountMsg issues registration of an account. Requested domain must exist and belong to the same user that signs this message.
func (*RegisterAccountMsg) Descriptor ¶
func (*RegisterAccountMsg) Descriptor() ([]byte, []int)
func (*RegisterAccountMsg) GetDomain ¶
func (m *RegisterAccountMsg) GetDomain() string
func (*RegisterAccountMsg) GetMetadata ¶
func (m *RegisterAccountMsg) GetMetadata() *weave.Metadata
func (*RegisterAccountMsg) GetName ¶
func (m *RegisterAccountMsg) GetName() string
func (*RegisterAccountMsg) GetOwner ¶
func (m *RegisterAccountMsg) GetOwner() github_com_iov_one_weave.Address
func (*RegisterAccountMsg) GetTargets ¶
func (m *RegisterAccountMsg) GetTargets() []BlockchainAddress
func (*RegisterAccountMsg) GetThirdPartyToken ¶
func (m *RegisterAccountMsg) GetThirdPartyToken() []byte
func (*RegisterAccountMsg) Marshal ¶
func (m *RegisterAccountMsg) Marshal() (dAtA []byte, err error)
func (*RegisterAccountMsg) MarshalTo ¶
func (m *RegisterAccountMsg) MarshalTo(dAtA []byte) (int, error)
func (RegisterAccountMsg) Path ¶
func (RegisterAccountMsg) Path() string
func (*RegisterAccountMsg) ProtoMessage ¶
func (*RegisterAccountMsg) ProtoMessage()
func (*RegisterAccountMsg) Reset ¶
func (m *RegisterAccountMsg) Reset()
func (*RegisterAccountMsg) Size ¶
func (m *RegisterAccountMsg) Size() (n int)
func (*RegisterAccountMsg) String ¶
func (m *RegisterAccountMsg) String() string
func (*RegisterAccountMsg) Unmarshal ¶
func (m *RegisterAccountMsg) Unmarshal(dAtA []byte) error
func (*RegisterAccountMsg) Validate ¶
func (msg *RegisterAccountMsg) Validate() error
func (*RegisterAccountMsg) XXX_DiscardUnknown ¶
func (m *RegisterAccountMsg) XXX_DiscardUnknown()
func (*RegisterAccountMsg) XXX_Marshal ¶
func (m *RegisterAccountMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterAccountMsg) XXX_Merge ¶
func (m *RegisterAccountMsg) XXX_Merge(src proto.Message)
func (*RegisterAccountMsg) XXX_Size ¶
func (m *RegisterAccountMsg) XXX_Size() int
func (*RegisterAccountMsg) XXX_Unmarshal ¶
func (m *RegisterAccountMsg) XXX_Unmarshal(b []byte) error
type RegisterDomainMsg ¶
type RegisterDomainMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Owner holds the address of the newly registered domain. If not provided, // main signer is used. Owner github_com_iov_one_weave.Address `protobuf:"bytes,2,opt,name=owner,proto3,casttype=github.com/iov-one/weave.Address" json:"owner,omitempty"` // Domain part of the account that should be registered. Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` // Third party token is an arbitrary data that can be provided by a middleman // (i.e. retailer) that although does not participate directly in the // transaction, helped a user to register a domain. Storing a client token // helps identify contribution of such party later. ThirdPartyToken []byte `protobuf:"bytes,4,opt,name=third_party_token,json=thirdPartyToken,proto3" json:"third_party_token,omitempty"` }
RegisterDomainMsg is issuing registration of a new domain. Requested domain name must be available (not yet registed) in order for the request to succeed. Registering a domain creates an account with no name that belongs to this domain.
func (*RegisterDomainMsg) Descriptor ¶
func (*RegisterDomainMsg) Descriptor() ([]byte, []int)
func (*RegisterDomainMsg) GetDomain ¶
func (m *RegisterDomainMsg) GetDomain() string
func (*RegisterDomainMsg) GetMetadata ¶
func (m *RegisterDomainMsg) GetMetadata() *weave.Metadata
func (*RegisterDomainMsg) GetOwner ¶
func (m *RegisterDomainMsg) GetOwner() github_com_iov_one_weave.Address
func (*RegisterDomainMsg) GetThirdPartyToken ¶
func (m *RegisterDomainMsg) GetThirdPartyToken() []byte
func (*RegisterDomainMsg) Marshal ¶
func (m *RegisterDomainMsg) Marshal() (dAtA []byte, err error)
func (*RegisterDomainMsg) MarshalTo ¶
func (m *RegisterDomainMsg) MarshalTo(dAtA []byte) (int, error)
func (RegisterDomainMsg) Path ¶
func (RegisterDomainMsg) Path() string
func (*RegisterDomainMsg) ProtoMessage ¶
func (*RegisterDomainMsg) ProtoMessage()
func (*RegisterDomainMsg) Reset ¶
func (m *RegisterDomainMsg) Reset()
func (*RegisterDomainMsg) Size ¶
func (m *RegisterDomainMsg) Size() (n int)
func (*RegisterDomainMsg) String ¶
func (m *RegisterDomainMsg) String() string
func (*RegisterDomainMsg) Unmarshal ¶
func (m *RegisterDomainMsg) Unmarshal(dAtA []byte) error
func (*RegisterDomainMsg) Validate ¶
func (msg *RegisterDomainMsg) Validate() error
func (*RegisterDomainMsg) XXX_DiscardUnknown ¶
func (m *RegisterDomainMsg) XXX_DiscardUnknown()
func (*RegisterDomainMsg) XXX_Marshal ¶
func (m *RegisterDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterDomainMsg) XXX_Merge ¶
func (m *RegisterDomainMsg) XXX_Merge(src proto.Message)
func (*RegisterDomainMsg) XXX_Size ¶
func (m *RegisterDomainMsg) XXX_Size() int
func (*RegisterDomainMsg) XXX_Unmarshal ¶
func (m *RegisterDomainMsg) XXX_Unmarshal(b []byte) error
type RenewDomainMsg ¶
type RenewDomainMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Name of the domain that is transferred. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // Third party token is an arbitrary data that can be provided by a middleman // (i.e. retailer) that although does not participate directly in the // transaction, helped a user to renew a domain. Storing a client token helps // identify contribution of such party later. ThirdPartyToken []byte `protobuf:"bytes,3,opt,name=third_party_token,json=thirdPartyToken,proto3" json:"third_party_token,omitempty"` }
RenewDomainMsg is issuing a domain expiration time extension. Extension period is defined by the configuration entity.
func (*RenewDomainMsg) Descriptor ¶
func (*RenewDomainMsg) Descriptor() ([]byte, []int)
func (*RenewDomainMsg) GetDomain ¶
func (m *RenewDomainMsg) GetDomain() string
func (*RenewDomainMsg) GetMetadata ¶
func (m *RenewDomainMsg) GetMetadata() *weave.Metadata
func (*RenewDomainMsg) GetThirdPartyToken ¶
func (m *RenewDomainMsg) GetThirdPartyToken() []byte
func (*RenewDomainMsg) Marshal ¶
func (m *RenewDomainMsg) Marshal() (dAtA []byte, err error)
func (RenewDomainMsg) Path ¶
func (RenewDomainMsg) Path() string
func (*RenewDomainMsg) ProtoMessage ¶
func (*RenewDomainMsg) ProtoMessage()
func (*RenewDomainMsg) Reset ¶
func (m *RenewDomainMsg) Reset()
func (*RenewDomainMsg) Size ¶
func (m *RenewDomainMsg) Size() (n int)
func (*RenewDomainMsg) String ¶
func (m *RenewDomainMsg) String() string
func (*RenewDomainMsg) Unmarshal ¶
func (m *RenewDomainMsg) Unmarshal(dAtA []byte) error
func (*RenewDomainMsg) Validate ¶
func (msg *RenewDomainMsg) Validate() error
func (*RenewDomainMsg) XXX_DiscardUnknown ¶
func (m *RenewDomainMsg) XXX_DiscardUnknown()
func (*RenewDomainMsg) XXX_Marshal ¶
func (m *RenewDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenewDomainMsg) XXX_Merge ¶
func (m *RenewDomainMsg) XXX_Merge(src proto.Message)
func (*RenewDomainMsg) XXX_Size ¶
func (m *RenewDomainMsg) XXX_Size() int
func (*RenewDomainMsg) XXX_Unmarshal ¶
func (m *RenewDomainMsg) XXX_Unmarshal(b []byte) error
type ReplaceAccountTargetsMsg ¶
type ReplaceAccountTargetsMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` NewTargets []BlockchainAddress `protobuf:"bytes,5,rep,name=new_targets,json=newTargets,proto3" json:"new_targets"` }
ReplaceAccountTargetsMsg is issuing rewrite of all targets that given account points to.
func (*ReplaceAccountTargetsMsg) Descriptor ¶
func (*ReplaceAccountTargetsMsg) Descriptor() ([]byte, []int)
func (*ReplaceAccountTargetsMsg) GetDomain ¶
func (m *ReplaceAccountTargetsMsg) GetDomain() string
func (*ReplaceAccountTargetsMsg) GetMetadata ¶
func (m *ReplaceAccountTargetsMsg) GetMetadata() *weave.Metadata
func (*ReplaceAccountTargetsMsg) GetName ¶
func (m *ReplaceAccountTargetsMsg) GetName() string
func (*ReplaceAccountTargetsMsg) GetNewTargets ¶
func (m *ReplaceAccountTargetsMsg) GetNewTargets() []BlockchainAddress
func (*ReplaceAccountTargetsMsg) Marshal ¶
func (m *ReplaceAccountTargetsMsg) Marshal() (dAtA []byte, err error)
func (*ReplaceAccountTargetsMsg) MarshalTo ¶
func (m *ReplaceAccountTargetsMsg) MarshalTo(dAtA []byte) (int, error)
func (ReplaceAccountTargetsMsg) Path ¶
func (ReplaceAccountTargetsMsg) Path() string
func (*ReplaceAccountTargetsMsg) ProtoMessage ¶
func (*ReplaceAccountTargetsMsg) ProtoMessage()
func (*ReplaceAccountTargetsMsg) Reset ¶
func (m *ReplaceAccountTargetsMsg) Reset()
func (*ReplaceAccountTargetsMsg) Size ¶
func (m *ReplaceAccountTargetsMsg) Size() (n int)
func (*ReplaceAccountTargetsMsg) String ¶
func (m *ReplaceAccountTargetsMsg) String() string
func (*ReplaceAccountTargetsMsg) Unmarshal ¶
func (m *ReplaceAccountTargetsMsg) Unmarshal(dAtA []byte) error
func (*ReplaceAccountTargetsMsg) Validate ¶
func (msg *ReplaceAccountTargetsMsg) Validate() error
func (*ReplaceAccountTargetsMsg) XXX_DiscardUnknown ¶
func (m *ReplaceAccountTargetsMsg) XXX_DiscardUnknown()
func (*ReplaceAccountTargetsMsg) XXX_Marshal ¶
func (m *ReplaceAccountTargetsMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplaceAccountTargetsMsg) XXX_Merge ¶
func (m *ReplaceAccountTargetsMsg) XXX_Merge(src proto.Message)
func (*ReplaceAccountTargetsMsg) XXX_Size ¶
func (m *ReplaceAccountTargetsMsg) XXX_Size() int
func (*ReplaceAccountTargetsMsg) XXX_Unmarshal ¶
func (m *ReplaceAccountTargetsMsg) XXX_Unmarshal(b []byte) error
type TransferAccountMsg ¶
type TransferAccountMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // New owner holds the address that the ownership of the domain is // transferred to. NewOwner github_com_iov_one_weave.Address `` /* 127-byte string literal not displayed */ }
TransferAccountMsg is issuing an ownership transfer over specified account. Transfering an account ownership does not affect related domain owner permissions to administrate that account.
func (*TransferAccountMsg) Descriptor ¶
func (*TransferAccountMsg) Descriptor() ([]byte, []int)
func (*TransferAccountMsg) GetDomain ¶
func (m *TransferAccountMsg) GetDomain() string
func (*TransferAccountMsg) GetMetadata ¶
func (m *TransferAccountMsg) GetMetadata() *weave.Metadata
func (*TransferAccountMsg) GetName ¶
func (m *TransferAccountMsg) GetName() string
func (*TransferAccountMsg) GetNewOwner ¶
func (m *TransferAccountMsg) GetNewOwner() github_com_iov_one_weave.Address
func (*TransferAccountMsg) Marshal ¶
func (m *TransferAccountMsg) Marshal() (dAtA []byte, err error)
func (*TransferAccountMsg) MarshalTo ¶
func (m *TransferAccountMsg) MarshalTo(dAtA []byte) (int, error)
func (TransferAccountMsg) Path ¶
func (TransferAccountMsg) Path() string
func (*TransferAccountMsg) ProtoMessage ¶
func (*TransferAccountMsg) ProtoMessage()
func (*TransferAccountMsg) Reset ¶
func (m *TransferAccountMsg) Reset()
func (*TransferAccountMsg) Size ¶
func (m *TransferAccountMsg) Size() (n int)
func (*TransferAccountMsg) String ¶
func (m *TransferAccountMsg) String() string
func (*TransferAccountMsg) Unmarshal ¶
func (m *TransferAccountMsg) Unmarshal(dAtA []byte) error
func (*TransferAccountMsg) Validate ¶
func (msg *TransferAccountMsg) Validate() error
func (*TransferAccountMsg) XXX_DiscardUnknown ¶
func (m *TransferAccountMsg) XXX_DiscardUnknown()
func (*TransferAccountMsg) XXX_Marshal ¶
func (m *TransferAccountMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferAccountMsg) XXX_Merge ¶
func (m *TransferAccountMsg) XXX_Merge(src proto.Message)
func (*TransferAccountMsg) XXX_Size ¶
func (m *TransferAccountMsg) XXX_Size() int
func (*TransferAccountMsg) XXX_Unmarshal ¶
func (m *TransferAccountMsg) XXX_Unmarshal(b []byte) error
type TransferDomainMsg ¶
type TransferDomainMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Name of the domain that is transferred. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // New owner holds the address that the ownership of the domain is // transferred to. NewOwner github_com_iov_one_weave.Address `` /* 127-byte string literal not displayed */ }
TransferDomainMsg is issuing an ownership transfer over specified domain.
func (*TransferDomainMsg) Descriptor ¶
func (*TransferDomainMsg) Descriptor() ([]byte, []int)
func (*TransferDomainMsg) GetDomain ¶
func (m *TransferDomainMsg) GetDomain() string
func (*TransferDomainMsg) GetMetadata ¶
func (m *TransferDomainMsg) GetMetadata() *weave.Metadata
func (*TransferDomainMsg) GetNewOwner ¶
func (m *TransferDomainMsg) GetNewOwner() github_com_iov_one_weave.Address
func (*TransferDomainMsg) Marshal ¶
func (m *TransferDomainMsg) Marshal() (dAtA []byte, err error)
func (*TransferDomainMsg) MarshalTo ¶
func (m *TransferDomainMsg) MarshalTo(dAtA []byte) (int, error)
func (TransferDomainMsg) Path ¶
func (TransferDomainMsg) Path() string
func (*TransferDomainMsg) ProtoMessage ¶
func (*TransferDomainMsg) ProtoMessage()
func (*TransferDomainMsg) Reset ¶
func (m *TransferDomainMsg) Reset()
func (*TransferDomainMsg) Size ¶
func (m *TransferDomainMsg) Size() (n int)
func (*TransferDomainMsg) String ¶
func (m *TransferDomainMsg) String() string
func (*TransferDomainMsg) Unmarshal ¶
func (m *TransferDomainMsg) Unmarshal(dAtA []byte) error
func (*TransferDomainMsg) Validate ¶
func (msg *TransferDomainMsg) Validate() error
func (*TransferDomainMsg) XXX_DiscardUnknown ¶
func (m *TransferDomainMsg) XXX_DiscardUnknown()
func (*TransferDomainMsg) XXX_Marshal ¶
func (m *TransferDomainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferDomainMsg) XXX_Merge ¶
func (m *TransferDomainMsg) XXX_Merge(src proto.Message)
func (*TransferDomainMsg) XXX_Size ¶
func (m *TransferDomainMsg) XXX_Size() int
func (*TransferDomainMsg) XXX_Unmarshal ¶
func (m *TransferDomainMsg) XXX_Unmarshal(b []byte) error
type UpdateConfigurationMsg ¶
type UpdateConfigurationMsg struct { Metadata *weave.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Patch *Configuration `protobuf:"bytes,2,opt,name=patch,proto3" json:"patch,omitempty"` }
UpdateConfigurationMsg is used by the gconf extension to update the configuration.
func (*UpdateConfigurationMsg) Descriptor ¶
func (*UpdateConfigurationMsg) Descriptor() ([]byte, []int)
func (*UpdateConfigurationMsg) GetMetadata ¶
func (m *UpdateConfigurationMsg) GetMetadata() *weave.Metadata
func (*UpdateConfigurationMsg) GetPatch ¶
func (m *UpdateConfigurationMsg) GetPatch() *Configuration
func (*UpdateConfigurationMsg) Marshal ¶
func (m *UpdateConfigurationMsg) Marshal() (dAtA []byte, err error)
func (*UpdateConfigurationMsg) MarshalTo ¶
func (m *UpdateConfigurationMsg) MarshalTo(dAtA []byte) (int, error)
func (UpdateConfigurationMsg) Path ¶
func (UpdateConfigurationMsg) Path() string
func (*UpdateConfigurationMsg) ProtoMessage ¶
func (*UpdateConfigurationMsg) ProtoMessage()
func (*UpdateConfigurationMsg) Reset ¶
func (m *UpdateConfigurationMsg) Reset()
func (*UpdateConfigurationMsg) Size ¶
func (m *UpdateConfigurationMsg) Size() (n int)
func (*UpdateConfigurationMsg) String ¶
func (m *UpdateConfigurationMsg) String() string
func (*UpdateConfigurationMsg) Unmarshal ¶
func (m *UpdateConfigurationMsg) Unmarshal(dAtA []byte) error
func (*UpdateConfigurationMsg) Validate ¶
func (msg *UpdateConfigurationMsg) Validate() error
func (*UpdateConfigurationMsg) XXX_DiscardUnknown ¶
func (m *UpdateConfigurationMsg) XXX_DiscardUnknown()
func (*UpdateConfigurationMsg) XXX_Marshal ¶
func (m *UpdateConfigurationMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateConfigurationMsg) XXX_Merge ¶
func (m *UpdateConfigurationMsg) XXX_Merge(src proto.Message)
func (*UpdateConfigurationMsg) XXX_Size ¶
func (m *UpdateConfigurationMsg) XXX_Size() int
func (*UpdateConfigurationMsg) XXX_Unmarshal ¶
func (m *UpdateConfigurationMsg) XXX_Unmarshal(b []byte) error