Versions in this module Expand all Collapse all v0 v0.11.2 Feb 14, 2019 v0.11.1 Feb 5, 2019 v0.11.0 Jan 25, 2019 v0.10.2 Jan 23, 2019 Changes in this version + const BucketName + var ErrIntOverflowCodec = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthCodec = fmt.Errorf("proto: negative length found during unmarshaling") + var IsValidCodec = regexp.MustCompile(`^[a-zA-Z0-9_.]{3,20}$`).MatchString + var IsValidID = regexp.MustCompile(`^[a-zA-Z0-9_.-]{4,128}$`).MatchString + func NewBlockchainToken(key []byte, owner weave.Address, approvals []nft.ActionApprovals) *orm.SimpleObj + func RegisterQuery(qr weave.QueryRouter) + func RegisterRoutes(r weave.Registry, auth x.Authenticator, issuer weave.Address, ...) + type BlockchainToken struct + Base *nft.NonFungibleToken + Details *TokenDetails + func (*BlockchainToken) Descriptor() ([]byte, []int) + func (*BlockchainToken) ProtoMessage() + func (m *BlockchainToken) Approvals() *nft.ApprovalOps + func (m *BlockchainToken) Copy() orm.CloneableData + func (m *BlockchainToken) GetBase() *nft.NonFungibleToken + func (m *BlockchainToken) GetChain() Chain + func (m *BlockchainToken) GetDetails() *TokenDetails + func (m *BlockchainToken) GetIov() IOV + func (m *BlockchainToken) Marshal() (dAtA []byte, err error) + func (m *BlockchainToken) MarshalTo(dAtA []byte) (int, error) + func (m *BlockchainToken) OwnerAddress() weave.Address + func (m *BlockchainToken) Reset() + func (m *BlockchainToken) SetApprovals(a nft.Approvals) + func (m *BlockchainToken) SetChain(actor weave.Address, chain Chain) error + func (m *BlockchainToken) SetIov(actor weave.Address, iov IOV) error + func (m *BlockchainToken) Size() (n int) + func (m *BlockchainToken) String() string + func (m *BlockchainToken) Transfer(newOwner weave.Address) error + func (m *BlockchainToken) Unmarshal(dAtA []byte) error + func (m *BlockchainToken) Validate() error + type Bucket struct + func NewBucket() Bucket + func (b Bucket) Create(db weave.KVStore, owner weave.Address, id []byte, ...) (orm.Object, error) + type Chain struct + ChainID string + Enabled bool + MainTickerID []byte + Name string + NetworkID string + Production bool + func (*Chain) Descriptor() ([]byte, []int) + func (*Chain) ProtoMessage() + func (m *Chain) GetChainID() string + func (m *Chain) GetEnabled() bool + func (m *Chain) GetMainTickerID() []byte + func (m *Chain) GetName() string + func (m *Chain) GetNetworkID() string + func (m *Chain) GetProduction() bool + func (m *Chain) Marshal() (dAtA []byte, err error) + func (m *Chain) MarshalTo(dAtA []byte) (int, error) + func (m *Chain) Reset() + func (m *Chain) Size() (n int) + func (m *Chain) String() string + func (m *Chain) Unmarshal(dAtA []byte) error + func (m Chain) Validate() error + type Config struct + Chain *Chain + CodecConfig string + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (m *Config) GetChain() *Chain + func (m *Config) GetCodecConfig() string + func (m *Config) Marshal() (dAtA []byte, err error) + func (m *Config) MarshalTo(dAtA []byte) (int, error) + func (m *Config) Reset() + func (m *Config) Size() (n int) + func (m *Config) String() string + func (m *Config) Unmarshal(dAtA []byte) error + type IOV struct + Codec string + CodecConfig string + func (*IOV) Descriptor() ([]byte, []int) + func (*IOV) ProtoMessage() + func (m *IOV) GetCodec() string + func (m *IOV) GetCodecConfig() string + func (m *IOV) Marshal() (dAtA []byte, err error) + func (m *IOV) MarshalTo(dAtA []byte) (int, error) + func (m *IOV) Reset() + func (m *IOV) Size() (n int) + func (m *IOV) String() string + func (m *IOV) Unmarshal(dAtA []byte) error + func (m IOV) Validate() error + type Initializer struct + func (i *Initializer) FromGenesis(opts weave.Options, db weave.KVStore) error + type IssueHandler struct + func NewIssueHandler(auth x.Authenticator, issuer weave.Address, bucket Bucket, ...) *IssueHandler + func (h IssueHandler) Check(ctx weave.Context, store weave.KVStore, tx weave.Tx) (weave.CheckResult, error) + func (h IssueHandler) Deliver(ctx weave.Context, store weave.KVStore, tx weave.Tx) (weave.DeliverResult, error) + type IssueTokenMsg struct + Approvals []nft.ActionApprovals + Details TokenDetails + ID []byte + Owner []byte + func (*IssueTokenMsg) Descriptor() ([]byte, []int) + func (*IssueTokenMsg) Path() string + func (*IssueTokenMsg) ProtoMessage() + func (i *IssueTokenMsg) Validate() error + func (m *IssueTokenMsg) GetApprovals() []nft.ActionApprovals + func (m *IssueTokenMsg) GetDetails() TokenDetails + func (m *IssueTokenMsg) GetID() []byte + func (m *IssueTokenMsg) GetOwner() []byte + func (m *IssueTokenMsg) Marshal() (dAtA []byte, err error) + func (m *IssueTokenMsg) MarshalTo(dAtA []byte) (int, error) + func (m *IssueTokenMsg) Reset() + func (m *IssueTokenMsg) Size() (n int) + func (m *IssueTokenMsg) String() string + func (m *IssueTokenMsg) Unmarshal(dAtA []byte) error + type Token interface + GetChain func() Chain + GetIov func() IOV + SetChain func(actor weave.Address, chain Chain) error + SetIov func(actor weave.Address, iov IOV) error + func AsBlockchain(obj orm.Object) (Token, error) + type TokenDetails struct + Chain Chain + Iov IOV + func (*TokenDetails) Descriptor() ([]byte, []int) + func (*TokenDetails) ProtoMessage() + func (m *TokenDetails) Clone() *TokenDetails + func (m *TokenDetails) GetChain() Chain + func (m *TokenDetails) GetIov() IOV + func (m *TokenDetails) Marshal() (dAtA []byte, err error) + func (m *TokenDetails) MarshalTo(dAtA []byte) (int, error) + func (m *TokenDetails) Reset() + func (m *TokenDetails) Size() (n int) + func (m *TokenDetails) String() string + func (m *TokenDetails) Unmarshal(dAtA []byte) error + func (m *TokenDetails) Validate() error