Documentation ¶
Index ¶
- type AccountCreateOperation
- func (p AccountCreateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AccountCreateOperation) MarshalJSON() ([]byte, error)
- func (j *AccountCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AccountCreateOperation) Type() types.OperationType
- func (j *AccountCreateOperation) UnmarshalJSON(input []byte) error
- func (j *AccountCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AccountUpdateOperation
- func (p AccountUpdateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AccountUpdateOperation) MarshalJSON() ([]byte, error)
- func (j *AccountUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AccountUpdateOperation) Type() types.OperationType
- func (j *AccountUpdateOperation) UnmarshalJSON(input []byte) error
- func (j *AccountUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AccountUpgradeOperation
- func (p AccountUpgradeOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AccountUpgradeOperation) MarshalJSON() ([]byte, error)
- func (j *AccountUpgradeOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AccountUpgradeOperation) Type() types.OperationType
- func (j *AccountUpgradeOperation) UnmarshalJSON(input []byte) error
- func (j *AccountUpgradeOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AccountWhitelistOperation
- func (p AccountWhitelistOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AccountWhitelistOperation) MarshalJSON() ([]byte, error)
- func (j *AccountWhitelistOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AccountWhitelistOperation) Type() types.OperationType
- func (j *AccountWhitelistOperation) UnmarshalJSON(input []byte) error
- func (j *AccountWhitelistOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetCreateOperation
- func (p AssetCreateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AssetCreateOperation) MarshalJSON() ([]byte, error)
- func (j *AssetCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetCreateOperation) Type() types.OperationType
- func (j *AssetCreateOperation) UnmarshalJSON(input []byte) error
- func (j *AssetCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetFundFeePoolOperation
- func (p AssetFundFeePoolOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AssetFundFeePoolOperation) MarshalJSON() ([]byte, error)
- func (j *AssetFundFeePoolOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetFundFeePoolOperation) Type() types.OperationType
- func (j *AssetFundFeePoolOperation) UnmarshalJSON(input []byte) error
- func (j *AssetFundFeePoolOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetIssueOperation
- func (p AssetIssueOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AssetIssueOperation) MarshalJSON() ([]byte, error)
- func (j *AssetIssueOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetIssueOperation) Type() types.OperationType
- func (j *AssetIssueOperation) UnmarshalJSON(input []byte) error
- func (j *AssetIssueOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetPublishFeedOperation
- func (p AssetPublishFeedOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AssetPublishFeedOperation) MarshalJSON() ([]byte, error)
- func (j *AssetPublishFeedOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetPublishFeedOperation) Type() types.OperationType
- func (j *AssetPublishFeedOperation) UnmarshalJSON(input []byte) error
- func (j *AssetPublishFeedOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetReserveOperation
- func (p AssetReserveOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AssetReserveOperation) MarshalJSON() ([]byte, error)
- func (j *AssetReserveOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetReserveOperation) Type() types.OperationType
- func (j *AssetReserveOperation) UnmarshalJSON(input []byte) error
- func (j *AssetReserveOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetSettleOperation
- func (p AssetSettleOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AssetSettleOperation) MarshalJSON() ([]byte, error)
- func (j *AssetSettleOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetSettleOperation) Type() types.OperationType
- func (j *AssetSettleOperation) UnmarshalJSON(input []byte) error
- func (j *AssetSettleOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetUpdateBitassetOperation
- func (p AssetUpdateBitassetOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AssetUpdateBitassetOperation) MarshalJSON() ([]byte, error)
- func (j *AssetUpdateBitassetOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetUpdateBitassetOperation) Type() types.OperationType
- func (j *AssetUpdateBitassetOperation) UnmarshalJSON(input []byte) error
- func (j *AssetUpdateBitassetOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetUpdateFeedProducersOperation
- func (p AssetUpdateFeedProducersOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AssetUpdateFeedProducersOperation) MarshalJSON() ([]byte, error)
- func (j *AssetUpdateFeedProducersOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetUpdateFeedProducersOperation) Type() types.OperationType
- func (j *AssetUpdateFeedProducersOperation) UnmarshalJSON(input []byte) error
- func (j *AssetUpdateFeedProducersOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetUpdateOperation
- func (p AssetUpdateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *AssetUpdateOperation) MarshalJSON() ([]byte, error)
- func (j *AssetUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetUpdateOperation) Type() types.OperationType
- func (j *AssetUpdateOperation) UnmarshalJSON(input []byte) error
- func (j *AssetUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type BalanceClaimOperation
- func (p BalanceClaimOperation) Marshal(enc *util.TypeEncoder) error
- func (j *BalanceClaimOperation) MarshalJSON() ([]byte, error)
- func (j *BalanceClaimOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p BalanceClaimOperation) Type() types.OperationType
- func (j *BalanceClaimOperation) UnmarshalJSON(input []byte) error
- func (j *BalanceClaimOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type BidCollateralOperation
- func (p BidCollateralOperation) Marshal(enc *util.TypeEncoder) error
- func (j *BidCollateralOperation) MarshalJSON() ([]byte, error)
- func (j *BidCollateralOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p BidCollateralOperation) Type() types.OperationType
- func (j *BidCollateralOperation) UnmarshalJSON(input []byte) error
- func (j *BidCollateralOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type CallOrderUpdateOperation
- func (p CallOrderUpdateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *CallOrderUpdateOperation) MarshalJSON() ([]byte, error)
- func (j *CallOrderUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p CallOrderUpdateOperation) Type() types.OperationType
- func (j *CallOrderUpdateOperation) UnmarshalJSON(input []byte) error
- func (j *CallOrderUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type FillOrderOperation
- func (p FillOrderOperation) Marshal(enc *util.TypeEncoder) error
- func (j *FillOrderOperation) MarshalJSON() ([]byte, error)
- func (j *FillOrderOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p FillOrderOperation) Type() types.OperationType
- func (j *FillOrderOperation) UnmarshalJSON(input []byte) error
- func (j *FillOrderOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type LimitOrderCancelOperation
- func (p LimitOrderCancelOperation) Marshal(enc *util.TypeEncoder) error
- func (j *LimitOrderCancelOperation) MarshalJSON() ([]byte, error)
- func (j *LimitOrderCancelOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p LimitOrderCancelOperation) Type() types.OperationType
- func (j *LimitOrderCancelOperation) UnmarshalJSON(input []byte) error
- func (j *LimitOrderCancelOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type LimitOrderCreateOperation
- func (p LimitOrderCreateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *LimitOrderCreateOperation) MarshalJSON() ([]byte, error)
- func (j *LimitOrderCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p LimitOrderCreateOperation) Type() types.OperationType
- func (j *LimitOrderCreateOperation) UnmarshalJSON(input []byte) error
- func (j *LimitOrderCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type OverrideTransferOperation
- func (p OverrideTransferOperation) Marshal(enc *util.TypeEncoder) error
- func (j *OverrideTransferOperation) MarshalJSON() ([]byte, error)
- func (j *OverrideTransferOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p OverrideTransferOperation) Type() types.OperationType
- func (j *OverrideTransferOperation) UnmarshalJSON(input []byte) error
- func (j *OverrideTransferOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type ProposalCreateOperation
- func (p ProposalCreateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *ProposalCreateOperation) MarshalJSON() ([]byte, error)
- func (j *ProposalCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p ProposalCreateOperation) Type() types.OperationType
- func (j *ProposalCreateOperation) UnmarshalJSON(input []byte) error
- func (j *ProposalCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type ProposalDeleteOperation
- func (p ProposalDeleteOperation) Marshal(enc *util.TypeEncoder) error
- func (j *ProposalDeleteOperation) MarshalJSON() ([]byte, error)
- func (j *ProposalDeleteOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p ProposalDeleteOperation) Type() types.OperationType
- func (j *ProposalDeleteOperation) UnmarshalJSON(input []byte) error
- func (j *ProposalDeleteOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type ProposalUpdateOperation
- func (p ProposalUpdateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *ProposalUpdateOperation) MarshalJSON() ([]byte, error)
- func (j *ProposalUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p ProposalUpdateOperation) Type() types.OperationType
- func (j *ProposalUpdateOperation) UnmarshalJSON(input []byte) error
- func (j *ProposalUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type TransferOperation
- func (p TransferOperation) Marshal(enc *util.TypeEncoder) error
- func (j *TransferOperation) MarshalJSON() ([]byte, error)
- func (j *TransferOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p TransferOperation) Type() types.OperationType
- func (j *TransferOperation) UnmarshalJSON(input []byte) error
- func (j *TransferOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type VestingBalanceCreateOperation
- func (p VestingBalanceCreateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *VestingBalanceCreateOperation) MarshalJSON() ([]byte, error)
- func (j *VestingBalanceCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p VestingBalanceCreateOperation) Type() types.OperationType
- func (j *VestingBalanceCreateOperation) UnmarshalJSON(input []byte) error
- func (j *VestingBalanceCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type VestingBalanceWithdrawOperation
- func (p VestingBalanceWithdrawOperation) Marshal(enc *util.TypeEncoder) error
- func (j *VestingBalanceWithdrawOperation) MarshalJSON() ([]byte, error)
- func (j *VestingBalanceWithdrawOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p VestingBalanceWithdrawOperation) Type() types.OperationType
- func (j *VestingBalanceWithdrawOperation) UnmarshalJSON(input []byte) error
- func (j *VestingBalanceWithdrawOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type WitnessCreateOperation
- func (p WitnessCreateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *WitnessCreateOperation) MarshalJSON() ([]byte, error)
- func (j *WitnessCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p WitnessCreateOperation) Type() types.OperationType
- func (j *WitnessCreateOperation) UnmarshalJSON(input []byte) error
- func (j *WitnessCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type WitnessUpdateOperation
- func (p WitnessUpdateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *WitnessUpdateOperation) MarshalJSON() ([]byte, error)
- func (j *WitnessUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p WitnessUpdateOperation) Type() types.OperationType
- func (j *WitnessUpdateOperation) UnmarshalJSON(input []byte) error
- func (j *WitnessUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type WorkerCreateOperation
- func (p WorkerCreateOperation) Marshal(enc *util.TypeEncoder) error
- func (j *WorkerCreateOperation) MarshalJSON() ([]byte, error)
- func (j *WorkerCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p WorkerCreateOperation) Type() types.OperationType
- func (j *WorkerCreateOperation) UnmarshalJSON(input []byte) error
- func (j *WorkerCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCreateOperation ¶
type AccountCreateOperation struct { types.OperationFee Registrar types.GrapheneID `json:"registrar"` Referrer types.GrapheneID `json:"referrer"` ReferrerPercent types.UInt16 `json:"referrer_percent"` Owner types.Authority `json:"owner"` Active types.Authority `json:"active"` Name string `json:"name"` Extensions types.AccountCreateExtensions `json:"extensions"` Options types.AccountOptions `json:"options"` }
func NewAccountCreateOperation ¶
func NewAccountCreateOperation() *AccountCreateOperation
NewAccountCreateOperation creates a new AccountCreateOperation
func (AccountCreateOperation) Marshal ¶
func (p AccountCreateOperation) Marshal(enc *util.TypeEncoder) error
func (*AccountCreateOperation) MarshalJSON ¶
func (j *AccountCreateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountCreateOperation) MarshalJSONBuf ¶
func (j *AccountCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AccountCreateOperation) Type ¶
func (p AccountCreateOperation) Type() types.OperationType
func (*AccountCreateOperation) UnmarshalJSON ¶
func (j *AccountCreateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountCreateOperation) UnmarshalJSONFFLexer ¶
func (j *AccountCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AccountUpdateOperation ¶
type AccountUpdateOperation struct { types.OperationFee Account types.GrapheneID `json:"account"` Active *types.Authority `json:"active,omitempty"` Extensions types.AccountUpdateExtensions `json:"extensions"` NewOptions *types.AccountOptions `json:"new_options,omitempty"` Owner *types.Authority `json:"owner,omitempty"` }
func NewAccountUpdateOperation ¶
func NewAccountUpdateOperation() *AccountUpdateOperation
NewAccountUpdateOperation creates a new AccountUpdateOperation
func (AccountUpdateOperation) Marshal ¶
func (p AccountUpdateOperation) Marshal(enc *util.TypeEncoder) error
func (*AccountUpdateOperation) MarshalJSON ¶
func (j *AccountUpdateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountUpdateOperation) MarshalJSONBuf ¶
func (j *AccountUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AccountUpdateOperation) Type ¶
func (p AccountUpdateOperation) Type() types.OperationType
func (*AccountUpdateOperation) UnmarshalJSON ¶
func (j *AccountUpdateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountUpdateOperation) UnmarshalJSONFFLexer ¶
func (j *AccountUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AccountUpgradeOperation ¶
type AccountUpgradeOperation struct { types.OperationFee AccountToUpgrade types.GrapheneID `json:"account_to_upgrade"` Extensions types.Extensions `json:"extensions"` UpgradeToLifetimeMember bool `json:"upgrade_to_lifetime_member"` }
func NewAccountUpgradeOperation ¶
func NewAccountUpgradeOperation() *AccountUpgradeOperation
NewAccountUpgradeOperation creates a new AccountUpgradeOperation
func (AccountUpgradeOperation) Marshal ¶
func (p AccountUpgradeOperation) Marshal(enc *util.TypeEncoder) error
TODO: validate order
func (*AccountUpgradeOperation) MarshalJSON ¶
func (j *AccountUpgradeOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountUpgradeOperation) MarshalJSONBuf ¶
func (j *AccountUpgradeOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AccountUpgradeOperation) Type ¶
func (p AccountUpgradeOperation) Type() types.OperationType
func (*AccountUpgradeOperation) UnmarshalJSON ¶
func (j *AccountUpgradeOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountUpgradeOperation) UnmarshalJSONFFLexer ¶
func (j *AccountUpgradeOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AccountWhitelistOperation ¶
type AccountWhitelistOperation struct { types.OperationFee AccountToList types.GrapheneID `json:"account_to_list"` AuthorizingAccount types.GrapheneID `json:"authorizing_account"` Extensions types.Extensions `json:"extensions"` NewListing types.UInt8 `json:"new_listing"` }
func NewAccountWhitelistOperation ¶
func NewAccountWhitelistOperation() *AccountWhitelistOperation
NewAccountWhitelistOperation creates a new AccountWhitelistOperation
func (AccountWhitelistOperation) Marshal ¶
func (p AccountWhitelistOperation) Marshal(enc *util.TypeEncoder) error
TODO: validate order
func (*AccountWhitelistOperation) MarshalJSON ¶
func (j *AccountWhitelistOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountWhitelistOperation) MarshalJSONBuf ¶
func (j *AccountWhitelistOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AccountWhitelistOperation) Type ¶
func (p AccountWhitelistOperation) Type() types.OperationType
func (*AccountWhitelistOperation) UnmarshalJSON ¶
func (j *AccountWhitelistOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountWhitelistOperation) UnmarshalJSONFFLexer ¶
func (j *AccountWhitelistOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetCreateOperation ¶
type AssetCreateOperation struct { types.OperationFee BitassetOptions *types.BitassetOptions `json:"bitasset_opts"` CommonOptions types.AssetOptions `json:"common_options"` Extensions types.Extensions `json:"extensions"` IsPredictionMarket bool `json:"is_prediction_market"` Issuer types.GrapheneID `json:"issuer"` Precision types.UInt8 `json:"precision"` Symbol string `json:"symbol"` }
func NewAssetCreateOperation ¶
func NewAssetCreateOperation() *AssetCreateOperation
NewAssetCreateOperation creates a new AssetCreateOperation
func (AssetCreateOperation) Marshal ¶
func (p AssetCreateOperation) Marshal(enc *util.TypeEncoder) error
func (*AssetCreateOperation) MarshalJSON ¶
func (j *AssetCreateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetCreateOperation) MarshalJSONBuf ¶
func (j *AssetCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetCreateOperation) Type ¶
func (p AssetCreateOperation) Type() types.OperationType
func (*AssetCreateOperation) UnmarshalJSON ¶
func (j *AssetCreateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetCreateOperation) UnmarshalJSONFFLexer ¶
func (j *AssetCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetFundFeePoolOperation ¶
type AssetFundFeePoolOperation struct { types.OperationFee Amount types.UInt64 `json:"amount"` AssetID types.GrapheneID `json:"asset_id"` Extensions types.Extensions `json:"extensions"` FromAccount types.GrapheneID `json:"from_account"` }
func NewAssetFundFeePoolOperation ¶
func NewAssetFundFeePoolOperation() *AssetFundFeePoolOperation
NewAssetFundFeePoolOperation creates a new AssetFundFeePoolOperation
func (AssetFundFeePoolOperation) Marshal ¶
func (p AssetFundFeePoolOperation) Marshal(enc *util.TypeEncoder) error
func (*AssetFundFeePoolOperation) MarshalJSON ¶
func (j *AssetFundFeePoolOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetFundFeePoolOperation) MarshalJSONBuf ¶
func (j *AssetFundFeePoolOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetFundFeePoolOperation) Type ¶
func (p AssetFundFeePoolOperation) Type() types.OperationType
func (*AssetFundFeePoolOperation) UnmarshalJSON ¶
func (j *AssetFundFeePoolOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetFundFeePoolOperation) UnmarshalJSONFFLexer ¶
func (j *AssetFundFeePoolOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetIssueOperation ¶
type AssetIssueOperation struct { types.OperationFee Issuer types.GrapheneID `json:"issuer"` IssueToAccount types.GrapheneID `json:"issue_to_account"` AssetToIssue types.AssetAmount `json:"asset_to_issue"` Memo *types.Memo `json:"memo"` Extensions types.Extensions `json:"extensions"` }
func NewAssetIssueOperation ¶
func NewAssetIssueOperation() *AssetIssueOperation
NewAssetIssueOperation creates a new AssetIssueOperation
func (AssetIssueOperation) Marshal ¶
func (p AssetIssueOperation) Marshal(enc *util.TypeEncoder) error
func (*AssetIssueOperation) MarshalJSON ¶
func (j *AssetIssueOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetIssueOperation) MarshalJSONBuf ¶
func (j *AssetIssueOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetIssueOperation) Type ¶
func (p AssetIssueOperation) Type() types.OperationType
func (*AssetIssueOperation) UnmarshalJSON ¶
func (j *AssetIssueOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetIssueOperation) UnmarshalJSONFFLexer ¶
func (j *AssetIssueOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetPublishFeedOperation ¶
type AssetPublishFeedOperation struct { types.OperationFee Publisher types.GrapheneID `json:"publisher"` AssetID types.GrapheneID `json:"asset_id"` Feed types.PriceFeed `json:"feed"` Extensions types.Extensions `json:"extensions"` }
func NewAssetPublishFeedOperation ¶
func NewAssetPublishFeedOperation() *AssetPublishFeedOperation
NewAssetPublishFeedOperation creates a new AssetPublishFeedOperation
func (AssetPublishFeedOperation) Marshal ¶
func (p AssetPublishFeedOperation) Marshal(enc *util.TypeEncoder) error
func (*AssetPublishFeedOperation) MarshalJSON ¶
func (j *AssetPublishFeedOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetPublishFeedOperation) MarshalJSONBuf ¶
func (j *AssetPublishFeedOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetPublishFeedOperation) Type ¶
func (p AssetPublishFeedOperation) Type() types.OperationType
func (*AssetPublishFeedOperation) UnmarshalJSON ¶
func (j *AssetPublishFeedOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetPublishFeedOperation) UnmarshalJSONFFLexer ¶
func (j *AssetPublishFeedOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetReserveOperation ¶
type AssetReserveOperation struct { types.OperationFee Payer types.GrapheneID `json:"payer"` AmountToReserve types.AssetAmount `json:"amount_to_reserve"` Extensions types.Extensions `json:"extensions"` }
func NewAssetReserveOperation ¶
func NewAssetReserveOperation() *AssetReserveOperation
NewAssetReserveOperation creates a new AssetReserveOperation
func (AssetReserveOperation) Marshal ¶
func (p AssetReserveOperation) Marshal(enc *util.TypeEncoder) error
func (*AssetReserveOperation) MarshalJSON ¶
func (j *AssetReserveOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetReserveOperation) MarshalJSONBuf ¶
func (j *AssetReserveOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetReserveOperation) Type ¶
func (p AssetReserveOperation) Type() types.OperationType
func (*AssetReserveOperation) UnmarshalJSON ¶
func (j *AssetReserveOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetReserveOperation) UnmarshalJSONFFLexer ¶
func (j *AssetReserveOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetSettleOperation ¶
type AssetSettleOperation struct { types.OperationFee Account types.GrapheneID `json:"account"` Amount types.AssetAmount `json:"amount"` Extensions types.Extensions `json:"extensions"` }
func NewAssetSettleOperation ¶
func NewAssetSettleOperation() *AssetSettleOperation
NewAssetSettleOperation creates a new AssetSettleOperation
func (AssetSettleOperation) Marshal ¶
func (p AssetSettleOperation) Marshal(enc *util.TypeEncoder) error
func (*AssetSettleOperation) MarshalJSON ¶
func (j *AssetSettleOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetSettleOperation) MarshalJSONBuf ¶
func (j *AssetSettleOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetSettleOperation) Type ¶
func (p AssetSettleOperation) Type() types.OperationType
func (*AssetSettleOperation) UnmarshalJSON ¶
func (j *AssetSettleOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetSettleOperation) UnmarshalJSONFFLexer ¶
func (j *AssetSettleOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetUpdateBitassetOperation ¶
type AssetUpdateBitassetOperation struct { types.OperationFee AssetToUpdate types.GrapheneID `json:"asset_to_update"` Issuer types.GrapheneID `json:"issuer"` Extensions types.Extensions `json:"extensions"` NewOptions types.BitassetOptions `json:"new_options"` }
func NewAssetUpdateBitassetOperation ¶
func NewAssetUpdateBitassetOperation() *AssetUpdateBitassetOperation
NewAssetUpdateBitassetOperation creates a new AssetUpdateBitassetOperation
func (AssetUpdateBitassetOperation) Marshal ¶
func (p AssetUpdateBitassetOperation) Marshal(enc *util.TypeEncoder) error
TODO: validate order
func (*AssetUpdateBitassetOperation) MarshalJSON ¶
func (j *AssetUpdateBitassetOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetUpdateBitassetOperation) MarshalJSONBuf ¶
func (j *AssetUpdateBitassetOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetUpdateBitassetOperation) Type ¶
func (p AssetUpdateBitassetOperation) Type() types.OperationType
func (*AssetUpdateBitassetOperation) UnmarshalJSON ¶
func (j *AssetUpdateBitassetOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetUpdateBitassetOperation) UnmarshalJSONFFLexer ¶
func (j *AssetUpdateBitassetOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetUpdateFeedProducersOperation ¶
type AssetUpdateFeedProducersOperation struct { types.OperationFee AssetToUpdate types.GrapheneID `json:"asset_to_update"` Extensions types.Extensions `json:"extensions"` Issuer types.GrapheneID `json:"issuer"` NewFeedProducers types.GrapheneIDs `json:"new_feed_producers"` }
func NewAssetUpdateFeedProducersOperation ¶
func NewAssetUpdateFeedProducersOperation() *AssetUpdateFeedProducersOperation
NewAssetUpdateFeedProducersOperation creates a new AssetUpdateFeedProducersOperation
func (AssetUpdateFeedProducersOperation) Marshal ¶
func (p AssetUpdateFeedProducersOperation) Marshal(enc *util.TypeEncoder) error
func (*AssetUpdateFeedProducersOperation) MarshalJSON ¶
func (j *AssetUpdateFeedProducersOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetUpdateFeedProducersOperation) MarshalJSONBuf ¶
func (j *AssetUpdateFeedProducersOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetUpdateFeedProducersOperation) Type ¶
func (p AssetUpdateFeedProducersOperation) Type() types.OperationType
func (*AssetUpdateFeedProducersOperation) UnmarshalJSON ¶
func (j *AssetUpdateFeedProducersOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetUpdateFeedProducersOperation) UnmarshalJSONFFLexer ¶
func (j *AssetUpdateFeedProducersOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetUpdateOperation ¶
type AssetUpdateOperation struct { types.OperationFee AssetToUpdate types.GrapheneID `json:"asset_to_update"` Issuer types.GrapheneID `json:"issuer"` Extensions types.Extensions `json:"extensions"` NewIssuer *types.GrapheneID `json:"new_issuer"` NewOptions types.AssetOptions `json:"new_options"` }
func NewAssetUpdateOperation ¶
func NewAssetUpdateOperation() *AssetUpdateOperation
NewAssetUpdateOperation creates a new AssetUpdateOperation
func (AssetUpdateOperation) Marshal ¶
func (p AssetUpdateOperation) Marshal(enc *util.TypeEncoder) error
func (*AssetUpdateOperation) MarshalJSON ¶
func (j *AssetUpdateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetUpdateOperation) MarshalJSONBuf ¶
func (j *AssetUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetUpdateOperation) Type ¶
func (p AssetUpdateOperation) Type() types.OperationType
func (*AssetUpdateOperation) UnmarshalJSON ¶
func (j *AssetUpdateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetUpdateOperation) UnmarshalJSONFFLexer ¶
func (j *AssetUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BalanceClaimOperation ¶
type BalanceClaimOperation struct { types.OperationFee BalanceToClaim types.GrapheneID `json:"balance_to_claim"` BalanceOwnerKey types.PublicKey `json:"balance_owner_key"` DepositToAccount types.GrapheneID `json:"deposit_to_account"` TotalClaimed types.AssetAmount `json:"total_claimed"` }
func NewBalanceClaimOperation ¶
func NewBalanceClaimOperation() *BalanceClaimOperation
NewBalanceClaimOperation creates a new BalanceClaimOperation
func (BalanceClaimOperation) Marshal ¶
func (p BalanceClaimOperation) Marshal(enc *util.TypeEncoder) error
func (*BalanceClaimOperation) MarshalJSON ¶
func (j *BalanceClaimOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BalanceClaimOperation) MarshalJSONBuf ¶
func (j *BalanceClaimOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (BalanceClaimOperation) Type ¶
func (p BalanceClaimOperation) Type() types.OperationType
func (*BalanceClaimOperation) UnmarshalJSON ¶
func (j *BalanceClaimOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BalanceClaimOperation) UnmarshalJSONFFLexer ¶
func (j *BalanceClaimOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BidCollateralOperation ¶
type BidCollateralOperation struct { types.OperationFee AdditionalCollateral types.AssetAmount `json:"additional_collateral"` Bidder types.GrapheneID `json:"bidder"` DebtCovered types.AssetAmount `json:"debt_covered"` Extensions types.Extensions `json:"extensions"` }
func NewBidCollateralOperation ¶
func NewBidCollateralOperation() *BidCollateralOperation
NewBidCollateralOperation creates a new BidCollateralOperation
func (BidCollateralOperation) Marshal ¶
func (p BidCollateralOperation) Marshal(enc *util.TypeEncoder) error
func (*BidCollateralOperation) MarshalJSON ¶
func (j *BidCollateralOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BidCollateralOperation) MarshalJSONBuf ¶
func (j *BidCollateralOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (BidCollateralOperation) Type ¶
func (p BidCollateralOperation) Type() types.OperationType
func (*BidCollateralOperation) UnmarshalJSON ¶
func (j *BidCollateralOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BidCollateralOperation) UnmarshalJSONFFLexer ¶
func (j *BidCollateralOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type CallOrderUpdateOperation ¶
type CallOrderUpdateOperation struct { types.OperationFee DeltaCollateral types.AssetAmount `json:"delta_collateral"` DeltaDebt types.AssetAmount `json:"delta_debt"` FundingAccount types.GrapheneID `json:"funding_account"` Extensions types.CallOrderUpdateExtensions `json:"extensions"` }
func NewCallOrderUpdateOperation ¶
func NewCallOrderUpdateOperation(acct types.GrapheneID) *CallOrderUpdateOperation
func (CallOrderUpdateOperation) Marshal ¶
func (p CallOrderUpdateOperation) Marshal(enc *util.TypeEncoder) error
func (*CallOrderUpdateOperation) MarshalJSON ¶
func (j *CallOrderUpdateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*CallOrderUpdateOperation) MarshalJSONBuf ¶
func (j *CallOrderUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (CallOrderUpdateOperation) Type ¶
func (p CallOrderUpdateOperation) Type() types.OperationType
func (*CallOrderUpdateOperation) UnmarshalJSON ¶
func (j *CallOrderUpdateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*CallOrderUpdateOperation) UnmarshalJSONFFLexer ¶
func (j *CallOrderUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type FillOrderOperation ¶
type FillOrderOperation struct { types.OperationFee OrderID types.GrapheneID `json:"order_id"` AccountID types.GrapheneID `json:"account_id"` Pays types.AssetAmount `json:"pays"` Receives types.AssetAmount `json:"receives"` IsMaker bool `json:"is_maker"` FillPrice types.Price `json:"fill_price"` }
virtual order
func NewFillOrderOperation ¶
func NewFillOrderOperation() *FillOrderOperation
NewFillOrderOperation creates a new FillOrderOperation
func (FillOrderOperation) Marshal ¶
func (p FillOrderOperation) Marshal(enc *util.TypeEncoder) error
func (*FillOrderOperation) MarshalJSON ¶
func (j *FillOrderOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*FillOrderOperation) MarshalJSONBuf ¶
func (j *FillOrderOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (FillOrderOperation) Type ¶
func (p FillOrderOperation) Type() types.OperationType
func (*FillOrderOperation) UnmarshalJSON ¶
func (j *FillOrderOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*FillOrderOperation) UnmarshalJSONFFLexer ¶
func (j *FillOrderOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type LimitOrderCancelOperation ¶
type LimitOrderCancelOperation struct { types.OperationFee FeePayingAccount types.GrapheneID `json:"fee_paying_account"` Order types.GrapheneID `json:"order"` Extensions types.Extensions `json:"extensions"` }
func NewLimitOrderCancelOperation ¶
func NewLimitOrderCancelOperation(order types.GrapheneID) *LimitOrderCancelOperation
func (LimitOrderCancelOperation) Marshal ¶
func (p LimitOrderCancelOperation) Marshal(enc *util.TypeEncoder) error
func (*LimitOrderCancelOperation) MarshalJSON ¶
func (j *LimitOrderCancelOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*LimitOrderCancelOperation) MarshalJSONBuf ¶
func (j *LimitOrderCancelOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (LimitOrderCancelOperation) Type ¶
func (p LimitOrderCancelOperation) Type() types.OperationType
func (*LimitOrderCancelOperation) UnmarshalJSON ¶
func (j *LimitOrderCancelOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*LimitOrderCancelOperation) UnmarshalJSONFFLexer ¶
func (j *LimitOrderCancelOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type LimitOrderCreateOperation ¶
type LimitOrderCreateOperation struct { types.OperationFee Seller types.GrapheneID `json:"seller"` AmountToSell types.AssetAmount `json:"amount_to_sell"` MinToReceive types.AssetAmount `json:"min_to_receive"` Expiration types.Time `json:"expiration"` FillOrKill bool `json:"fill_or_kill"` Extensions types.Extensions `json:"extensions"` }
LimitOrderCreateOperation instructs the blockchain to attempt to sell one asset for another. The blockchain will atempt to sell amount_to_sell.asset_id for as much min_to_receive.asset_id as possible. The fee will be paid by the seller’s account. Market fees will apply as specified by the issuer of both the selling asset and the receiving asset as a percentage of the amount exchanged. If either the selling asset or the receiving asset is white list restricted, the order will only be created if the seller is on the white list of the restricted asset type. Market orders are matched in the order they are included in the block chain.
func NewLimitOrderCreateOperation ¶
func NewLimitOrderCreateOperation() *LimitOrderCreateOperation
func (LimitOrderCreateOperation) Marshal ¶
func (p LimitOrderCreateOperation) Marshal(enc *util.TypeEncoder) error
func (*LimitOrderCreateOperation) MarshalJSON ¶
func (j *LimitOrderCreateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*LimitOrderCreateOperation) MarshalJSONBuf ¶
func (j *LimitOrderCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (LimitOrderCreateOperation) Type ¶
func (p LimitOrderCreateOperation) Type() types.OperationType
func (*LimitOrderCreateOperation) UnmarshalJSON ¶
func (j *LimitOrderCreateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*LimitOrderCreateOperation) UnmarshalJSONFFLexer ¶
func (j *LimitOrderCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type OverrideTransferOperation ¶
type OverrideTransferOperation struct { types.OperationFee Amount types.AssetAmount `json:"amount"` Extensions types.Extensions `json:"extensions"` From types.GrapheneID `json:"from"` Issuer types.GrapheneID `json:"issuer"` Memo *types.Memo `json:"memo,omitempty"` To types.GrapheneID `json:"to"` }
func NewOverrideTransferOperation ¶
func NewOverrideTransferOperation() *OverrideTransferOperation
NewOverrideTransferOperation creates a new OverrideTransferOperation
func (OverrideTransferOperation) Marshal ¶
func (p OverrideTransferOperation) Marshal(enc *util.TypeEncoder) error
func (*OverrideTransferOperation) MarshalJSON ¶
func (j *OverrideTransferOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*OverrideTransferOperation) MarshalJSONBuf ¶
func (j *OverrideTransferOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (OverrideTransferOperation) Type ¶
func (p OverrideTransferOperation) Type() types.OperationType
func (*OverrideTransferOperation) UnmarshalJSON ¶
func (j *OverrideTransferOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*OverrideTransferOperation) UnmarshalJSONFFLexer ¶
func (j *OverrideTransferOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type ProposalCreateOperation ¶
type ProposalCreateOperation struct { types.OperationFee ExpirationTime types.Time `json:"expiration_time"` Extensions types.Extensions `json:"extensions"` FeePayingAccount types.GrapheneID `json:"fee_paying_account"` ReviewPeriodSeconds *types.UInt32 `json:"review_period_seconds,omitempty"` ProposedOps types.OperationEnvelopeHolders `json:"proposed_ops"` }
func NewProposalCreateOperation ¶
func NewProposalCreateOperation() *ProposalCreateOperation
NewProposalCreateOperation creates a new ProposalCreateOperation
func (ProposalCreateOperation) Marshal ¶
func (p ProposalCreateOperation) Marshal(enc *util.TypeEncoder) error
func (*ProposalCreateOperation) MarshalJSON ¶
func (j *ProposalCreateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*ProposalCreateOperation) MarshalJSONBuf ¶
func (j *ProposalCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (ProposalCreateOperation) Type ¶
func (p ProposalCreateOperation) Type() types.OperationType
func (*ProposalCreateOperation) UnmarshalJSON ¶
func (j *ProposalCreateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*ProposalCreateOperation) UnmarshalJSONFFLexer ¶
func (j *ProposalCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type ProposalDeleteOperation ¶
type ProposalDeleteOperation struct { types.OperationFee Extensions types.Extensions `json:"extensions"` FeePayingAccount types.GrapheneID `json:"fee_paying_account"` Proposal types.GrapheneID `json:"proposal"` UsingOwnerAuthority bool `json:"using_owner_authority"` }
func NewProposalDeleteOperation ¶
func NewProposalDeleteOperation() *ProposalDeleteOperation
NewProposalDeleteOperation creates a new ProposalDeleteOperation
func (ProposalDeleteOperation) Marshal ¶
func (p ProposalDeleteOperation) Marshal(enc *util.TypeEncoder) error
func (*ProposalDeleteOperation) MarshalJSON ¶
func (j *ProposalDeleteOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*ProposalDeleteOperation) MarshalJSONBuf ¶
func (j *ProposalDeleteOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (ProposalDeleteOperation) Type ¶
func (p ProposalDeleteOperation) Type() types.OperationType
func (*ProposalDeleteOperation) UnmarshalJSON ¶
func (j *ProposalDeleteOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*ProposalDeleteOperation) UnmarshalJSONFFLexer ¶
func (j *ProposalDeleteOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type ProposalUpdateOperation ¶
type ProposalUpdateOperation struct { types.OperationFee ActiveApprovalsToAdd types.GrapheneIDs `json:"active_approvals_to_add"` ActiveApprovalsToRemove types.GrapheneIDs `json:"active_approvals_to_remove"` Extensions types.Extensions `json:"extensions"` FeePayingAccount types.GrapheneID `json:"fee_paying_account"` KeyApprovalsToAdd types.GrapheneIDs `json:"key_approvals_to_add"` KeyApprovalsToRemove types.GrapheneIDs `json:"key_approvals_to_remove"` OwnerApprovalsToAdd types.GrapheneIDs `json:"owner_approvals_to_add"` OwnerApprovalsToRemove types.GrapheneIDs `json:"owner_approvals_to_remove"` Proposal types.GrapheneID `json:"proposal"` }
func NewProposalUpdateOperation ¶
func NewProposalUpdateOperation() *ProposalUpdateOperation
NewProposalUpdateOperation creates a new ProposalUpdateOperation
func (ProposalUpdateOperation) Marshal ¶
func (p ProposalUpdateOperation) Marshal(enc *util.TypeEncoder) error
func (*ProposalUpdateOperation) MarshalJSON ¶
func (j *ProposalUpdateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*ProposalUpdateOperation) MarshalJSONBuf ¶
func (j *ProposalUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (ProposalUpdateOperation) Type ¶
func (p ProposalUpdateOperation) Type() types.OperationType
func (*ProposalUpdateOperation) UnmarshalJSON ¶
func (j *ProposalUpdateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*ProposalUpdateOperation) UnmarshalJSONFFLexer ¶
func (j *ProposalUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type TransferOperation ¶
type TransferOperation struct { types.OperationFee From types.GrapheneID `json:"from"` To types.GrapheneID `json:"to"` Amount types.AssetAmount `json:"amount"` Memo *types.Memo `json:"memo,omitempty"` Extensions types.Extensions `json:"extensions"` }
func NewTransferOperation ¶
func NewTransferOperation() *TransferOperation
NewTransferOperation creates a new TransferOperation
func (TransferOperation) Marshal ¶
func (p TransferOperation) Marshal(enc *util.TypeEncoder) error
func (*TransferOperation) MarshalJSON ¶
func (j *TransferOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*TransferOperation) MarshalJSONBuf ¶
func (j *TransferOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (TransferOperation) Type ¶
func (p TransferOperation) Type() types.OperationType
func (*TransferOperation) UnmarshalJSON ¶
func (j *TransferOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*TransferOperation) UnmarshalJSONFFLexer ¶
func (j *TransferOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type VestingBalanceCreateOperation ¶
type VestingBalanceCreateOperation struct { types.OperationFee Amount types.AssetAmount `json:"amount"` Creator types.GrapheneID `json:"creator"` Owner types.GrapheneID `json:"owner"` Policy types.VestingPolicy `json:"policy"` }
func NewVestingBalanceCreateOperation ¶
func NewVestingBalanceCreateOperation() *VestingBalanceCreateOperation
NewVestingBalanceCreateOperation creates a new VestingBalanceCreateOperation
func (VestingBalanceCreateOperation) Marshal ¶
func (p VestingBalanceCreateOperation) Marshal(enc *util.TypeEncoder) error
func (*VestingBalanceCreateOperation) MarshalJSON ¶
func (j *VestingBalanceCreateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*VestingBalanceCreateOperation) MarshalJSONBuf ¶
func (j *VestingBalanceCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (VestingBalanceCreateOperation) Type ¶
func (p VestingBalanceCreateOperation) Type() types.OperationType
func (*VestingBalanceCreateOperation) UnmarshalJSON ¶
func (j *VestingBalanceCreateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*VestingBalanceCreateOperation) UnmarshalJSONFFLexer ¶
func (j *VestingBalanceCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type VestingBalanceWithdrawOperation ¶
type VestingBalanceWithdrawOperation struct { types.OperationFee Amount types.AssetAmount `json:"amount"` Owner types.GrapheneID `json:"owner"` VestingBalance types.GrapheneID `json:"vesting_balance"` }
func NewVestingBalanceWithdrawOperation ¶
func NewVestingBalanceWithdrawOperation() *VestingBalanceWithdrawOperation
NewVestingBalanceWithdrawOperation creates a new VestingBalanceWithdrawOperation
func (VestingBalanceWithdrawOperation) Marshal ¶
func (p VestingBalanceWithdrawOperation) Marshal(enc *util.TypeEncoder) error
func (*VestingBalanceWithdrawOperation) MarshalJSON ¶
func (j *VestingBalanceWithdrawOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*VestingBalanceWithdrawOperation) MarshalJSONBuf ¶
func (j *VestingBalanceWithdrawOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (VestingBalanceWithdrawOperation) Type ¶
func (p VestingBalanceWithdrawOperation) Type() types.OperationType
func (*VestingBalanceWithdrawOperation) UnmarshalJSON ¶
func (j *VestingBalanceWithdrawOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*VestingBalanceWithdrawOperation) UnmarshalJSONFFLexer ¶
func (j *VestingBalanceWithdrawOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type WitnessCreateOperation ¶
type WitnessCreateOperation struct { types.OperationFee BlockSigningKey types.PublicKey `json:"block_signing_key"` URL string `json:"url"` WitnessAccount types.GrapheneID `json:"witness_account"` }
func NewWitnessCreateOperation ¶
func NewWitnessCreateOperation() *WitnessCreateOperation
NewWitnessCreateOperation creates a new WitnessCreateOperation
func (WitnessCreateOperation) Marshal ¶
func (p WitnessCreateOperation) Marshal(enc *util.TypeEncoder) error
TODO: verify order
func (*WitnessCreateOperation) MarshalJSON ¶
func (j *WitnessCreateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*WitnessCreateOperation) MarshalJSONBuf ¶
func (j *WitnessCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (WitnessCreateOperation) Type ¶
func (p WitnessCreateOperation) Type() types.OperationType
func (*WitnessCreateOperation) UnmarshalJSON ¶
func (j *WitnessCreateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*WitnessCreateOperation) UnmarshalJSONFFLexer ¶
func (j *WitnessCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type WitnessUpdateOperation ¶
type WitnessUpdateOperation struct { types.OperationFee NewSigningKey *types.PublicKey `json:"new_signing_key"` NewURL string `json:"new_url"` Witness types.GrapheneID `json:"witness"` WitnessAccount types.GrapheneID `json:"witness_account"` }
func NewWitnessUpdateOperation ¶
func NewWitnessUpdateOperation() *WitnessUpdateOperation
NewWitnessUpdateOperation creates a new WitnessUpdateOperation
func (WitnessUpdateOperation) Marshal ¶
func (p WitnessUpdateOperation) Marshal(enc *util.TypeEncoder) error
func (*WitnessUpdateOperation) MarshalJSON ¶
func (j *WitnessUpdateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*WitnessUpdateOperation) MarshalJSONBuf ¶
func (j *WitnessUpdateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (WitnessUpdateOperation) Type ¶
func (p WitnessUpdateOperation) Type() types.OperationType
func (*WitnessUpdateOperation) UnmarshalJSON ¶
func (j *WitnessUpdateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*WitnessUpdateOperation) UnmarshalJSONFFLexer ¶
func (j *WitnessUpdateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type WorkerCreateOperation ¶
type WorkerCreateOperation struct { types.OperationFee DailyPay types.UInt64 `json:"daily_pay"` Initializer types.WorkerInitializer `json:"initializer"` Name string `json:"name"` Owner types.GrapheneID `json:"owner"` URL string `json:"url"` WorkBeginDate types.Time `json:"work_begin_date"` WorkEndDate types.Time `json:"work_end_date"` }
func NewWorkerCreateOperation ¶
func NewWorkerCreateOperation() *WorkerCreateOperation
NewWorkerCreateOperation creates a new WorkerCreateOperation
func (WorkerCreateOperation) Marshal ¶
func (p WorkerCreateOperation) Marshal(enc *util.TypeEncoder) error
func (*WorkerCreateOperation) MarshalJSON ¶
func (j *WorkerCreateOperation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*WorkerCreateOperation) MarshalJSONBuf ¶
func (j *WorkerCreateOperation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (WorkerCreateOperation) Type ¶
func (p WorkerCreateOperation) Type() types.OperationType
func (*WorkerCreateOperation) UnmarshalJSON ¶
func (j *WorkerCreateOperation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*WorkerCreateOperation) UnmarshalJSONFFLexer ¶
func (j *WorkerCreateOperation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
Source Files ¶
- accountcreateoperation.go
- accountcreateoperation_ffjson.go
- accountupdateoperation.go
- accountupdateoperation_ffjson.go
- accountupgradeoperation.go
- accountupgradeoperation_ffjson.go
- accountwhitelistoperation.go
- accountwhitelistoperation_ffjson.go
- assetcreateoperation.go
- assetcreateoperation_ffjson.go
- assetfundfeepooloperation.go
- assetfundfeepooloperation_ffjson.go
- assetissueoperation.go
- assetissueoperation_ffjson.go
- assetpublishfeedoperation.go
- assetpublishfeedoperation_ffjson.go
- assetreserveoperation.go
- assetreserveoperation_ffjson.go
- assetsettleoperation.go
- assetsettleoperation_ffjson.go
- assetupdatebitassetoperation.go
- assetupdatebitassetoperation_ffjson.go
- assetupdatefeedproduceroperation.go
- assetupdatefeedproduceroperation_ffjson.go
- assetupdateoperation.go
- assetupdateoperation_ffjson.go
- balanceclaimoperation.go
- balanceclaimoperation_ffjson.go
- bidcolatteraloperation.go
- bidcolatteraloperation_ffjson.go
- callorderupdateoperation.go
- callorderupdateoperation_ffjson.go
- fillorderoperation.go
- fillorderoperation_ffjson.go
- limitordercanceloperation.go
- limitordercanceloperation_ffjson.go
- limitordercreateoperation.go
- limitordercreateoperation_ffjson.go
- overridetransferoperation.go
- overridetransferoperation_ffjson.go
- proposalcreateoperation.go
- proposalcreateoperation_ffjson.go
- proposaldeleteoperation.go
- proposaldeleteoperation_ffjson.go
- proposalupdateoperation.go
- proposalupdateoperation_ffjson.go
- transferoperation.go
- transferoperation_ffjson.go
- transfertoblindoperation.go
- transfertoblindoperation_ffjson.go
- vestingbalancecreateoperation.go
- vestingbalancecreateoperation_ffjson.go
- vestingbalancewithdrawoperation.go
- vestingbalancewithdrawoperation_ffjson.go
- witnesscreateoperation.go
- witnesscreateoperation_ffjson.go
- witnessupdateoperation.go
- witnessupdateoperation_ffjson.go
- workercreateoperation.go
- workercreateoperation_ffjson.go