Versions in this module Expand all Collapse all v0 v0.3.0 Oct 5, 2023 v0.2.0 Dec 7, 2022 v0.1.0 Nov 16, 2022 Changes in this version + const TypeAsset + const TypeAssetBid + const TypeAssetForSale + type AgreementToBuy struct + ID string + Owner view.Identity + Price int + TradeID string + func (a *AgreementToBuy) GetLinearID() (string, error) + func (a *AgreementToBuy) Owners() state.Identities + type AgreementToSell struct + ID string + Owner view.Identity + Price int + TradeID string + func (a *AgreementToSell) GetLinearID() (string, error) + func (a *AgreementToSell) Owners() state.Identities + type Asset struct + ID string + ObjectType string + Owner view.Identity + PrivateProperties []byte + PublicDescription string + func (a *Asset) GetLinearID() (string, error) + func (a *Asset) Owners() state.Identities + type AssetProperties struct + Color string + ID string + ObjectType string + Salt []byte + Size int + func (ap *AssetProperties) Bytes() ([]byte, error) + type Receipt struct + Price int + Timestamp time.Time