Documentation ¶
Index ¶
- Constants
- Variables
- type Account
- type AccountAuthsMap
- type AccountBalance
- type AccountBalanceID
- type AccountBalanceIDs
- type AccountBalances
- type AccountCreateExtensions
- func (p AccountCreateExtensions) Length() int
- func (p AccountCreateExtensions) Marshal(enc *util.TypeEncoder) error
- func (j *AccountCreateExtensions) MarshalJSON() ([]byte, error)
- func (j *AccountCreateExtensions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *AccountCreateExtensions) UnmarshalJSON(input []byte) error
- func (j *AccountCreateExtensions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AccountCreateExtensionsType
- type AccountID
- type AccountIDs
- type AccountInfo
- type AccountOptions
- func (p AccountOptions) Marshal(enc *util.TypeEncoder) error
- func (j *AccountOptions) MarshalJSON() ([]byte, error)
- func (j *AccountOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *AccountOptions) UnmarshalJSON(input []byte) error
- func (j *AccountOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AccountStatistics
- type AccountStatisticsID
- type AccountStatisticsIDs
- type AccountTransactionHistoryID
- type AccountTransactionHistoryIDs
- type AccountUpdateExtensions
- func (p AccountUpdateExtensions) Length() int
- func (p AccountUpdateExtensions) Marshal(enc *util.TypeEncoder) error
- func (j *AccountUpdateExtensions) MarshalJSON() ([]byte, error)
- func (j *AccountUpdateExtensions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *AccountUpdateExtensions) UnmarshalJSON(input []byte) error
- func (j *AccountUpdateExtensions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type Accounts
- type ActiveSpecialAuthority
- type Address
- type AddressAuthsMap
- type Asset
- type AssetAmount
- func (p AssetAmount) Marshal(enc *util.TypeEncoder) error
- func (j *AssetAmount) MarshalJSON() ([]byte, error)
- func (j *AssetAmount) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p AssetAmount) Rate(prec float64) float64
- func (j *AssetAmount) UnmarshalJSON(input []byte) error
- func (j *AssetAmount) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- func (p AssetAmount) Valid() bool
- type AssetAmounts
- type AssetBitAssetDataID
- type AssetBitAssetDataIDs
- type AssetDynamicDataID
- type AssetDynamicDataIDs
- type AssetFeed
- type AssetFeeds
- type AssetID
- type AssetIDs
- type AssetOptions
- func (p AssetOptions) Marshal(enc *util.TypeEncoder) error
- func (j *AssetOptions) MarshalJSON() ([]byte, error)
- func (j *AssetOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *AssetOptions) UnmarshalJSON(input []byte) error
- func (j *AssetOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type AssetPermission
- type AssetType
- type Assets
- type Authority
- func (p Authority) Marshal(enc *util.TypeEncoder) error
- func (j *Authority) MarshalJSON() ([]byte, error)
- func (j *Authority) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *Authority) UnmarshalJSON(input []byte) error
- func (j *Authority) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type Balance
- type BalanceID
- type BalanceIDs
- type BitAssetData
- type BitassetOptions
- func (p BitassetOptions) Marshal(enc *util.TypeEncoder) error
- func (j *BitassetOptions) MarshalJSON() ([]byte, error)
- func (j *BitassetOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *BitassetOptions) UnmarshalJSON(input []byte) error
- func (j *BitassetOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type BlindInput
- func (p BlindInput) Marshal(enc *util.TypeEncoder) error
- func (j *BlindInput) MarshalJSON() ([]byte, error)
- func (j *BlindInput) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *BlindInput) UnmarshalJSON(input []byte) error
- func (j *BlindInput) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type BlindInputs
- type BlindOutput
- func (p BlindOutput) Marshal(enc *util.TypeEncoder) error
- func (j *BlindOutput) MarshalJSON() ([]byte, error)
- func (j *BlindOutput) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *BlindOutput) UnmarshalJSON(input []byte) error
- func (j *BlindOutput) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type BlindOutputs
- type BlindedBalanceID
- type BlindedBalanceIDs
- type Block
- type BlockHeader
- type BlockSummaryID
- type BlockSummaryIDs
- type BroadcastResponse
- type BudgetRecordID
- type BudgetRecordIDs
- type Buffer
- func (p Buffer) Bytes() []byte
- func (p *Buffer) Decrypt(cipherKey []byte) ([]byte, error)
- func (p *Buffer) Encrypt(cipherKey []byte) ([]byte, error)
- func (p *Buffer) FromString(data string) error
- func (p Buffer) Length() int
- func (p Buffer) Marshal(enc *util.TypeEncoder) error
- func (p Buffer) MarshalJSON() ([]byte, error)
- func (p Buffer) String() string
- func (p *Buffer) Unmarshal(dec *util.TypeDecoder) error
- func (p *Buffer) UnmarshalJSON(data []byte) error
- type Buffers
- type BurnWorkerInitializer
- type BuybackOptions
- func (p BuybackOptions) Marshal(enc *util.TypeEncoder) error
- func (j *BuybackOptions) MarshalJSON() ([]byte, error)
- func (j *BuybackOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *BuybackOptions) UnmarshalJSON(input []byte) error
- func (j *BuybackOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type CCDVestingPolicy
- func (p CCDVestingPolicy) Marshal(enc *util.TypeEncoder) error
- func (j *CCDVestingPolicy) MarshalJSON() ([]byte, error)
- func (j *CCDVestingPolicy) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *CCDVestingPolicy) UnmarshalJSON(input []byte) error
- func (j *CCDVestingPolicy) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type CallOrder
- type CallOrderID
- type CallOrderIDs
- type CallOrderUpdateExtensions
- func (p CallOrderUpdateExtensions) Length() int
- func (p CallOrderUpdateExtensions) Marshal(enc *util.TypeEncoder) error
- func (j *CallOrderUpdateExtensions) MarshalJSON() ([]byte, error)
- func (j *CallOrderUpdateExtensions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *CallOrderUpdateExtensions) UnmarshalJSON(input []byte) error
- func (j *CallOrderUpdateExtensions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type CallOrderUpdateExtensionsType
- type CallOrders
- type ChainPropertyID
- type ChainPropertyIDs
- type CommitteeMember
- func (p CommitteeMember) Marshal(enc *util.TypeEncoder) error
- func (j *CommitteeMember) MarshalJSON() ([]byte, error)
- func (j *CommitteeMember) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *CommitteeMember) UnmarshalJSON(input []byte) error
- func (j *CommitteeMember) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type CommitteeMemberID
- type CommitteeMemberIDs
- type CustomID
- type CustomIDs
- type DynamicGlobalProperties
- func (j *DynamicGlobalProperties) MarshalJSON() ([]byte, error)
- func (j *DynamicGlobalProperties) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p DynamicGlobalProperties) RefBlockNum() UInt16
- func (p DynamicGlobalProperties) RefBlockPrefix() (UInt32, error)
- func (j *DynamicGlobalProperties) UnmarshalJSON(input []byte) error
- func (j *DynamicGlobalProperties) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type DynamicGlobalPropertyID
- type DynamicGlobalPropertyIDs
- type Extensions
- type FeeSchedule
- type FeeScheduleParameter
- type FeeScheduleParameters
- type FixedBuffer
- type Float32
- type Float64
- type ForceSettlementID
- type ForceSettlementIDs
- type ForceSettlementOrder
- func (j *ForceSettlementOrder) MarshalJSON() ([]byte, error)
- func (j *ForceSettlementOrder) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *ForceSettlementOrder) UnmarshalJSON(input []byte) error
- func (j *ForceSettlementOrder) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type ForceSettlementOrders
- type FullAccountInfo
- type FullAccountInfos
- type GetOpFunc
- type GlobalPropertyID
- type GlobalPropertyIDs
- type GrapheneObject
- func NewAccountBalanceID(id string) GrapheneObject
- func NewAccountID(id string) GrapheneObject
- func NewAccountStatisticsID(id string) GrapheneObject
- func NewAccountTransactionHistoryID(id string) GrapheneObject
- func NewAssetBitAssetDataID(id string) GrapheneObject
- func NewAssetDynamicDataID(id string) GrapheneObject
- func NewAssetID(id string) GrapheneObject
- func NewBalanceID(id string) GrapheneObject
- func NewBlindedBalanceID(id string) GrapheneObject
- func NewBlockSummaryID(id string) GrapheneObject
- func NewBudgetRecordID(id string) GrapheneObject
- func NewCallOrderID(id string) GrapheneObject
- func NewChainPropertyID(id string) GrapheneObject
- func NewCommitteeMemberID(id string) GrapheneObject
- func NewCustomID(id string) GrapheneObject
- func NewDynamicGlobalPropertyID(id string) GrapheneObject
- func NewForceSettlementID(id string) GrapheneObject
- func NewGlobalPropertyID(id string) GrapheneObject
- func NewLimitOrderID(id string) GrapheneObject
- func NewObjectID(id string) GrapheneObject
- func NewOperationHistoryID(id string) GrapheneObject
- func NewProposalID(id string) GrapheneObject
- func NewSpecialAuthorityID(id string) GrapheneObject
- func NewTransactionID(id string) GrapheneObject
- func NewVestingBalanceID(id string) GrapheneObject
- func NewWithdrawPermissionID(id string) GrapheneObject
- func NewWitnessID(id string) GrapheneObject
- func NewWitnessScheduleID(id string) GrapheneObject
- func NewWorkerID(id string) GrapheneObject
- type GrapheneObjects
- type Info
- type Int16
- type Int32
- type Int64
- type Int8
- type KeyAuthsMap
- type LimitOrder
- type LimitOrderID
- type LimitOrderIDs
- type LimitOrders
- type LinearVestingPolicy
- func (p LinearVestingPolicy) Marshal(enc *util.TypeEncoder) error
- func (j *LinearVestingPolicy) MarshalJSON() ([]byte, error)
- func (j *LinearVestingPolicy) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *LinearVestingPolicy) UnmarshalJSON(input []byte) error
- func (j *LinearVestingPolicy) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type M
- type MarketTicker
- type MarketTrade
- type MarketTrades
- type Memo
- func (p Memo) Decrypt(priv *PrivateKey) (string, error)
- func (p *Memo) Encrypt(priv *PrivateKey, msg string) error
- func (p Memo) Marshal(enc *util.TypeEncoder) error
- func (j *Memo) MarshalJSON() ([]byte, error)
- func (j *Memo) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *Memo) UnmarshalJSON(input []byte) error
- func (j *Memo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type NoSpecialAuthority
- type NullExtension
- func (p NullExtension) Marshal(enc *util.TypeEncoder) error
- func (j *NullExtension) MarshalJSON() ([]byte, error)
- func (j *NullExtension) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *NullExtension) UnmarshalJSON(input []byte) error
- func (j *NullExtension) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type ObjectID
- func (p ObjectID) Equals(o GrapheneObject) bool
- func (p *ObjectID) FromObject(ob GrapheneObject) error
- func (p *ObjectID) FromRawData(in interface{}) error
- func (p ObjectID) ID() string
- func (p ObjectID) Instance() UInt64
- func (p ObjectID) Marshal(enc *util.TypeEncoder) error
- func (p ObjectID) MarshalJSON() ([]byte, error)
- func (p *ObjectID) MustFromObject(ob GrapheneObject)
- func (p ObjectID) ObjectType() ObjectType
- func (p *ObjectID) Parse(in string) error
- func (p ObjectID) SpaceType() SpaceType
- func (p ObjectID) String() string
- func (p *ObjectID) Unmarshal(dec *util.TypeDecoder) error
- func (p *ObjectID) UnmarshalJSON(s []byte) error
- func (p ObjectID) Valid() bool
- type ObjectIDs
- type ObjectType
- type Operation
- type OperationEnvelope
- type OperationEnvelopeHolder
- type OperationEnvelopeHolders
- type OperationFee
- type OperationHistories
- type OperationHistory
- type OperationHistoryID
- type OperationHistoryIDs
- type OperationRelativeHistories
- type OperationRelativeHistory
- func (j *OperationRelativeHistory) MarshalJSON() ([]byte, error)
- func (j *OperationRelativeHistory) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *OperationRelativeHistory) UnmarshalJSON(input []byte) error
- func (j *OperationRelativeHistory) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type OperationResult
- type OperationType
- type Operations
- func (p Operations) ApplyFees(fees AssetAmounts) error
- func (p Operations) CombinedFees() AssetAmounts
- func (p Operations) Envelopes() []OperationEnvelope
- func (p Operations) Marshal(enc *util.TypeEncoder) error
- func (p Operations) MarshalJSON() ([]byte, error)
- func (p *Operations) UnmarshalJSON(data []byte) error
- type Order
- type OrderBook
- type OwnerSpecialAuthority
- type Price
- func (p Price) Marshal(enc *util.TypeEncoder) error
- func (j *Price) MarshalJSON() ([]byte, error)
- func (j *Price) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p Price) Rate(precBase, precQuote float64) Rate
- func (j *Price) UnmarshalJSON(input []byte) error
- func (j *Price) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- func (p Price) Valid() bool
- type PriceFeed
- func (p PriceFeed) Marshal(enc *util.TypeEncoder) error
- func (j *PriceFeed) MarshalJSON() ([]byte, error)
- func (j *PriceFeed) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *PriceFeed) UnmarshalJSON(input []byte) error
- func (j *PriceFeed) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type PrivateKey
- func (p PrivateKey) Bytes() []byte
- func (p PrivateKey) ECPrivateKey() *btcec.PrivateKey
- func (p PrivateKey) Marshal(enc *util.TypeEncoder) error
- func (p PrivateKey) PublicKey() *PublicKey
- func (p PrivateKey) SharedSecret(pub *PublicKey, skLen, macLen int) (sk []byte, err error)
- func (p PrivateKey) SignCompact(hash []byte) (sig []byte, err error)
- func (p PrivateKey) ToECDSA() *ecdsa.PrivateKey
- func (p PrivateKey) ToHex() string
- func (p PrivateKey) ToWIF() string
- func (p *PrivateKey) Unmarshal(dec *util.TypeDecoder) error
- type PrivateKeys
- type ProposalID
- type ProposalIDs
- type PublicKey
- func (p PublicKey) Bytes() []byte
- func (p PublicKey) Equal(pub *PublicKey) bool
- func (p PublicKey) Marshal(enc *util.TypeEncoder) error
- func (p PublicKey) MarshalJSON() ([]byte, error)
- func (p PublicKey) MaxSharedKeyLength() int
- func (p PublicKey) String() string
- func (p *PublicKey) ToAddress() (a *Address, err error)
- func (p PublicKey) ToECDSA() *ecdsa.PublicKey
- func (p *PublicKey) UnmarshalJSON(data []byte) error
- type PublicKeys
- type Rate
- type RefundWorkerInitializer
- type Signatures
- type SignedTransaction
- func (tx SignedTransaction) Digest(chain *config.ChainConfig) ([]byte, error)
- func (p SignedTransaction) Marshal(enc *util.TypeEncoder) error
- func (j *SignedTransaction) MarshalJSON() ([]byte, error)
- func (j *SignedTransaction) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (p SignedTransaction) SerializeTrx() ([]byte, error)
- func (p SignedTransaction) ToHex() (string, error)
- func (j *SignedTransaction) UnmarshalJSON(input []byte) error
- func (j *SignedTransaction) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type SignedTransactionWithTransactionId
- type SignedTransactions
- type SpaceType
- type SpecialAuthority
- type SpecialAuthorityID
- type SpecialAuthorityIDs
- type SpecialAuthorityType
- type StealthConfirmation
- func (p StealthConfirmation) Marshal(enc *util.TypeEncoder) error
- func (j *StealthConfirmation) MarshalJSON() ([]byte, error)
- func (j *StealthConfirmation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *StealthConfirmation) UnmarshalJSON(input []byte) error
- func (j *StealthConfirmation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type String
- type TargetCollRatio
- type Time
- type TopHoldersSpecialAuthority
- func (p TopHoldersSpecialAuthority) Marshal(enc *util.TypeEncoder) error
- func (j *TopHoldersSpecialAuthority) MarshalJSON() ([]byte, error)
- func (j *TopHoldersSpecialAuthority) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *TopHoldersSpecialAuthority) UnmarshalJSON(input []byte) error
- func (j *TopHoldersSpecialAuthority) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type Transaction
- func (p *Transaction) AdjustExpiration(dur time.Duration)
- func (p Transaction) Marshal(enc *util.TypeEncoder) error
- func (j *Transaction) MarshalJSON() ([]byte, error)
- func (j *Transaction) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (j *Transaction) UnmarshalJSON(input []byte) error
- func (j *Transaction) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type TransactionID
- type TransactionIDs
- type UInt
- type UInt16
- type UInt32
- type UInt64
- type UInt8
- type Unmarshalable
- type VestingBalance
- type VestingBalanceID
- type VestingBalanceIDs
- type VestingBalanceWorkerInitializer
- type VestingBalances
- type VestingPolicy
- type VestingPolicyType
- type Volume24
- type VoteID
- type Votes
- type WithdrawPermissionID
- type WithdrawPermissionIDs
- type WitnessID
- type WitnessIDs
- type WitnessScheduleID
- type WitnessScheduleIDs
- type WorkerID
- type WorkerIDs
- type WorkerInitializer
- type WorkerInitializerType
Constants ¶
const TimeFormat = `"2006-01-02T15:04:05"`
const (
TxExpirationDefault = 30 * time.Second
)
Variables ¶
var ( ErrInvalidCurve = fmt.Errorf("invalid elliptic curve") )
var ( // ErrRPCClientNotInitialized = fmt.Errorf("RPC client is not initialized") ErrNotImplemented = fmt.Errorf("not implemented") ErrInvalidInputType = fmt.Errorf("invalid input type") ErrInvalidInputLength = fmt.Errorf("invalid input length") ErrInvalidPublicKey = fmt.Errorf("invalid PublicKey") ErrInvalidAddress = fmt.Errorf("invalid Address") ErrPublicKeyChainPrefixMismatch = fmt.Errorf("PublicKey chain prefix mismatch") ErrAddressChainPrefixMismatch = fmt.Errorf("Address chain prefix mismatch") ErrInvalidChecksum = fmt.Errorf("invalid checksum") ErrNoSigningKeyFound = fmt.Errorf("no signing key found") ErrNoVerifyingKeyFound = fmt.Errorf("no verifying key found") ErrInvalidDigestLength = fmt.Errorf("invalid digest length") ErrInvalidPrivateKeyCurve = fmt.Errorf("invalid PrivateKey curve") ErrChainConfigIsUndefined = fmt.Errorf("chain config is undefined") )
var ( EmptyBuffer = []byte{} EmptyParams = []interface{}{} )
var (
GrapheneMaxInstanceID = UInt64(math.MaxUint64 >> 16)
)
var (
OperationMap = make(map[OperationType]GetOpFunc)
)
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID AccountID `json:"id"` Name String `json:"name"` Statistics ObjectID `json:"statistics"` MembershipExpirationDate Time `json:"membership_expiration_date"` NetworkFeePercentage UInt64 `json:"network_fee_percentage"` LifetimeReferrerFeePercentage UInt64 `json:"lifetime_referrer_fee_percentage"` ReferrerRewardsPercentage UInt64 `json:"referrer_rewards_percentage"` TopNControlFlags UInt64 `json:"top_n_control_flags"` WhitelistingAccounts AccountIDs `json:"whitelisting_accounts"` BlacklistingAccounts AccountIDs `json:"blacklisting_accounts"` WhitelistedAccounts AccountIDs `json:"whitelisted_accounts"` BlacklistedAccounts AccountIDs `json:"blacklisted_accounts"` Options AccountOptions `json:"options"` Registrar AccountID `json:"registrar"` Referrer AccountID `json:"referrer"` LifetimeReferrer AccountID `json:"lifetime_referrer"` CashbackVB VestingBalanceID `json:"cashback_vb"` Owner Authority `json:"owner"` Active Authority `json:"active"` OwnerSpecialAuthority OwnerSpecialAuthority `json:"owner_special_authority"` ActiveSpecialAuthority ActiveSpecialAuthority `json:"active_special_authority"` }
func (*Account) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Account) MarshalJSONBuf ¶
func (j *Account) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Account) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Account) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AccountAuthsMap ¶
type AccountAuthsMap map[GrapheneObject]UInt16
func (AccountAuthsMap) Marshal ¶
func (p AccountAuthsMap) Marshal(enc *util.TypeEncoder) error
func (AccountAuthsMap) MarshalJSON ¶
func (p AccountAuthsMap) MarshalJSON() ([]byte, error)
func (*AccountAuthsMap) UnmarshalJSON ¶
func (p *AccountAuthsMap) UnmarshalJSON(data []byte) error
type AccountBalance ¶
type AccountBalance struct { ID AccountBalanceID `json:"id"` Owner AccountID `json:"owner"` AssetType AssetID `json:"asset_type"` Balance UInt64 `json:"balance"` MaintenanceFlag bool `json:"maintenance_flag"` }
func (*AccountBalance) MarshalJSON ¶
func (j *AccountBalance) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountBalance) MarshalJSONBuf ¶
func (j *AccountBalance) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*AccountBalance) UnmarshalJSON ¶
func (j *AccountBalance) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountBalance) UnmarshalJSONFFLexer ¶
func (j *AccountBalance) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AccountBalanceID ¶ added in v0.6.1
type AccountBalanceID struct {
ObjectID
}
func AccountBalanceIDFromObject ¶ added in v0.6.1
func AccountBalanceIDFromObject(ob GrapheneObject) AccountBalanceID
func (AccountBalanceID) Marshal ¶ added in v0.6.1
func (p AccountBalanceID) Marshal(enc *util.TypeEncoder) error
func (*AccountBalanceID) Unmarshal ¶ added in v0.6.1
func (p *AccountBalanceID) Unmarshal(dec *util.TypeDecoder) error
type AccountBalanceIDs ¶ added in v0.6.1
type AccountBalanceIDs []AccountBalanceID
func (AccountBalanceIDs) Marshal ¶ added in v0.6.1
func (p AccountBalanceIDs) Marshal(enc *util.TypeEncoder) error
type AccountBalances ¶
type AccountBalances []AccountBalance
type AccountCreateExtensions ¶
type AccountCreateExtensions struct { NullExt *NullExtension `json:"null_ext,omitempty"` OwnerSpecialAuthority *OwnerSpecialAuthority `json:"owner_special_authority,omitempty"` ActiveSpecialAuthority *ActiveSpecialAuthority `json:"active_special_authority,omitempty"` BuybackOptions *BuybackOptions `json:"buyback_options,omitempty"` }
func (AccountCreateExtensions) Length ¶
func (p AccountCreateExtensions) Length() int
func (AccountCreateExtensions) Marshal ¶
func (p AccountCreateExtensions) Marshal(enc *util.TypeEncoder) error
func (*AccountCreateExtensions) MarshalJSON ¶
func (j *AccountCreateExtensions) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountCreateExtensions) MarshalJSONBuf ¶
func (j *AccountCreateExtensions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*AccountCreateExtensions) UnmarshalJSON ¶
func (j *AccountCreateExtensions) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountCreateExtensions) UnmarshalJSONFFLexer ¶
func (j *AccountCreateExtensions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AccountCreateExtensionsType ¶
type AccountCreateExtensionsType UInt8
const ( AccountCreateExtensionsNullExt AccountCreateExtensionsType = iota AccountCreateExtensionsOwnerSpecial AccountCreateExtensionsActiveSpecial AccountCreateExtensionsBuyback )
type AccountID ¶ added in v0.6.1
type AccountID struct {
ObjectID
}
func AccountIDFromObject ¶ added in v0.6.1
func AccountIDFromObject(ob GrapheneObject) AccountID
type AccountIDs ¶ added in v0.6.1
type AccountIDs []AccountID
func (AccountIDs) Marshal ¶ added in v0.6.1
func (p AccountIDs) Marshal(enc *util.TypeEncoder) error
type AccountInfo ¶
type AccountInfo struct { Account Account `json:"account"` RegistrarName String `json:"registrar_name"` ReferrerName String `json:"referrer_name"` LifetimeReferrerName String `json:"lifetime_referrer_name"` CashbackBalance VestingBalance `json:"cashback_balance"` Balances AccountBalances `json:"balances"` VestingBalances VestingBalances `json:"vesting_balances"` LimitOrders LimitOrders `json:"limit_orders"` CallOrders CallOrders `json:"call_orders"` SettleOrders ForceSettlementOrders `json:"settle_orders"` Statistics AccountStatistics `json:"statistics"` Assets AssetIDs `json:"assets"` }
func (*AccountInfo) MarshalJSON ¶
func (j *AccountInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountInfo) MarshalJSONBuf ¶
func (j *AccountInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*AccountInfo) UnmarshalJSON ¶
func (j *AccountInfo) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountInfo) UnmarshalJSONFFLexer ¶
func (j *AccountInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AccountOptions ¶
type AccountOptions struct { MemoKey PublicKey `json:"memo_key"` VotingAccount AccountID `json:"voting_account"` NumWitness UInt16 `json:"num_witness"` NumCommittee UInt16 `json:"num_committee"` Votes Votes `json:"votes"` Extensions Extensions `json:"extensions"` }
func (AccountOptions) Marshal ¶
func (p AccountOptions) Marshal(enc *util.TypeEncoder) error
func (*AccountOptions) MarshalJSON ¶
func (j *AccountOptions) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountOptions) MarshalJSONBuf ¶
func (j *AccountOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*AccountOptions) UnmarshalJSON ¶
func (j *AccountOptions) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountOptions) UnmarshalJSONFFLexer ¶
func (j *AccountOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AccountStatistics ¶
type AccountStatistics struct { ID AccountStatisticsID `json:"id"` MostRecentOp AccountTransactionHistoryID `json:"most_recent_op"` Owner AccountID `json:"owner"` LifetimeFeesPaid UInt64 `json:"lifetime_fees_paid"` PendingFees UInt64 `json:"pending_fees"` PendingVestedFees UInt64 `json:"pending_vested_fees"` RemovedOps UInt64 `json:"removed_ops"` TotalOps UInt64 `json:"total_ops"` TotalCoreInOrders UInt64 `json:"total_core_in_orders"` }
func (*AccountStatistics) MarshalJSON ¶
func (j *AccountStatistics) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountStatistics) MarshalJSONBuf ¶
func (j *AccountStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*AccountStatistics) UnmarshalJSON ¶
func (j *AccountStatistics) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountStatistics) UnmarshalJSONFFLexer ¶
func (j *AccountStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AccountStatisticsID ¶ added in v0.6.1
type AccountStatisticsID struct {
ObjectID
}
func AccountStatisticsIDFromObject ¶ added in v0.6.1
func AccountStatisticsIDFromObject(ob GrapheneObject) AccountStatisticsID
func (AccountStatisticsID) Marshal ¶ added in v0.6.1
func (p AccountStatisticsID) Marshal(enc *util.TypeEncoder) error
func (*AccountStatisticsID) Unmarshal ¶ added in v0.6.1
func (p *AccountStatisticsID) Unmarshal(dec *util.TypeDecoder) error
type AccountStatisticsIDs ¶ added in v0.6.1
type AccountStatisticsIDs []AccountStatisticsID
func (AccountStatisticsIDs) Marshal ¶ added in v0.6.1
func (p AccountStatisticsIDs) Marshal(enc *util.TypeEncoder) error
type AccountTransactionHistoryID ¶ added in v0.6.1
type AccountTransactionHistoryID struct {
ObjectID
}
func AccountTransactionHistoryIDFromObject ¶ added in v0.6.1
func AccountTransactionHistoryIDFromObject(ob GrapheneObject) AccountTransactionHistoryID
func (AccountTransactionHistoryID) Marshal ¶ added in v0.6.1
func (p AccountTransactionHistoryID) Marshal(enc *util.TypeEncoder) error
func (*AccountTransactionHistoryID) Unmarshal ¶ added in v0.6.1
func (p *AccountTransactionHistoryID) Unmarshal(dec *util.TypeDecoder) error
type AccountTransactionHistoryIDs ¶ added in v0.6.1
type AccountTransactionHistoryIDs []AccountTransactionHistoryID
func (AccountTransactionHistoryIDs) Marshal ¶ added in v0.6.1
func (p AccountTransactionHistoryIDs) Marshal(enc *util.TypeEncoder) error
type AccountUpdateExtensions ¶
type AccountUpdateExtensions struct { NullExt *NullExtension `json:"null_ext,omitempty"` OwnerSpecialAuthority *OwnerSpecialAuthority `json:"owner_special_authority,omitempty"` ActiveSpecialAuthority *ActiveSpecialAuthority `json:"active_special_authority,omitempty"` }
func (AccountUpdateExtensions) Length ¶
func (p AccountUpdateExtensions) Length() int
func (AccountUpdateExtensions) Marshal ¶
func (p AccountUpdateExtensions) Marshal(enc *util.TypeEncoder) error
func (*AccountUpdateExtensions) MarshalJSON ¶
func (j *AccountUpdateExtensions) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AccountUpdateExtensions) MarshalJSONBuf ¶
func (j *AccountUpdateExtensions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*AccountUpdateExtensions) UnmarshalJSON ¶
func (j *AccountUpdateExtensions) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AccountUpdateExtensions) UnmarshalJSONFFLexer ¶
func (j *AccountUpdateExtensions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type Accounts ¶
type Accounts []Account
func (Accounts) Lookup ¶ added in v0.6.1
func (p Accounts) Lookup(ID GrapheneObject) *Account
type ActiveSpecialAuthority ¶
type ActiveSpecialAuthority struct {
SpecialAuthority
}
func (ActiveSpecialAuthority) Marshal ¶
func (p ActiveSpecialAuthority) Marshal(enc *util.TypeEncoder) error
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
An Address is a shortened non-reversable hash of a PublicKey.
func NewAddress ¶
func NewAddressFromString ¶
NewAddressFromString creates a new Address from string e.g.("BTSFN9r6VYzBK8EKtMewfNbfiGCr56pHDBFi")
func (Address) MarshalJSON ¶
func (*Address) UnmarshalJSON ¶
type AddressAuthsMap ¶
func (AddressAuthsMap) Marshal ¶
func (p AddressAuthsMap) Marshal(enc *util.TypeEncoder) error
func (AddressAuthsMap) MarshalJSON ¶
func (p AddressAuthsMap) MarshalJSON() ([]byte, error)
func (*AddressAuthsMap) UnmarshalJSON ¶
func (p *AddressAuthsMap) UnmarshalJSON(data []byte) error
type Asset ¶
type Asset struct { ID AssetID `json:"id"` Symbol String `json:"symbol"` Precision int `json:"precision"` Issuer AccountID `json:"issuer"` DynamicAssetDataID AssetDynamicDataID `json:"dynamic_asset_data_id"` BitassetDataID AssetBitAssetDataID `json:"bitasset_data_id"` Options AssetOptions `json:"options"` }
func (*Asset) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Asset) MarshalJSONBuf ¶
func (j *Asset) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Asset) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Asset) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetAmount ¶
func (AssetAmount) Marshal ¶
func (p AssetAmount) Marshal(enc *util.TypeEncoder) error
func (*AssetAmount) MarshalJSON ¶
func (j *AssetAmount) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetAmount) MarshalJSONBuf ¶
func (j *AssetAmount) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (AssetAmount) Rate ¶
func (p AssetAmount) Rate(prec float64) float64
func (*AssetAmount) UnmarshalJSON ¶
func (j *AssetAmount) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetAmount) UnmarshalJSONFFLexer ¶
func (j *AssetAmount) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
func (AssetAmount) Valid ¶
func (p AssetAmount) Valid() bool
type AssetAmounts ¶
type AssetAmounts []AssetAmount
type AssetBitAssetDataID ¶ added in v0.6.1
type AssetBitAssetDataID struct {
ObjectID
}
func AssetBitAssetDataIDFromObject ¶ added in v0.6.1
func AssetBitAssetDataIDFromObject(ob GrapheneObject) AssetBitAssetDataID
func (AssetBitAssetDataID) Marshal ¶ added in v0.6.1
func (p AssetBitAssetDataID) Marshal(enc *util.TypeEncoder) error
func (*AssetBitAssetDataID) Unmarshal ¶ added in v0.6.1
func (p *AssetBitAssetDataID) Unmarshal(dec *util.TypeDecoder) error
type AssetBitAssetDataIDs ¶ added in v0.6.1
type AssetBitAssetDataIDs []AssetBitAssetDataID
func (AssetBitAssetDataIDs) Marshal ¶ added in v0.6.1
func (p AssetBitAssetDataIDs) Marshal(enc *util.TypeEncoder) error
type AssetDynamicDataID ¶ added in v0.6.1
type AssetDynamicDataID struct {
ObjectID
}
func AssetDynamicDataIDFromObject ¶ added in v0.6.1
func AssetDynamicDataIDFromObject(ob GrapheneObject) AssetDynamicDataID
func (AssetDynamicDataID) Marshal ¶ added in v0.6.1
func (p AssetDynamicDataID) Marshal(enc *util.TypeEncoder) error
func (*AssetDynamicDataID) Unmarshal ¶ added in v0.6.1
func (p *AssetDynamicDataID) Unmarshal(dec *util.TypeDecoder) error
type AssetDynamicDataIDs ¶ added in v0.6.1
type AssetDynamicDataIDs []AssetDynamicDataID
func (AssetDynamicDataIDs) Marshal ¶ added in v0.6.1
func (p AssetDynamicDataIDs) Marshal(enc *util.TypeEncoder) error
type AssetFeeds ¶
type AssetFeeds []AssetFeed
type AssetID ¶ added in v0.6.1
type AssetID struct {
ObjectID
}
func AssetIDFromObject ¶ added in v0.6.1
func AssetIDFromObject(ob GrapheneObject) AssetID
type AssetOptions ¶
type AssetOptions struct { MaxSupply Int64 `json:"max_supply"` MaxMarketFee Int64 `json:"max_market_fee"` MarketFeePercent UInt16 `json:"market_fee_percent"` Flags UInt16 `json:"flags"` Description String `json:"description"` CoreExchangeRate Price `json:"core_exchange_rate"` IssuerPermissions UInt16 `json:"issuer_permissions"` BlacklistAuthorities AccountIDs `json:"blacklist_authorities"` WhitelistAuthorities AccountIDs `json:"whitelist_authorities"` BlacklistMarkets AccountIDs `json:"blacklist_markets"` WhitelistMarkets AccountIDs `json:"whitelist_markets"` Extensions Extensions `json:"extensions"` }
func (AssetOptions) Marshal ¶
func (p AssetOptions) Marshal(enc *util.TypeEncoder) error
func (*AssetOptions) MarshalJSON ¶
func (j *AssetOptions) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*AssetOptions) MarshalJSONBuf ¶
func (j *AssetOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*AssetOptions) UnmarshalJSON ¶
func (j *AssetOptions) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*AssetOptions) UnmarshalJSONFFLexer ¶
func (j *AssetOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type AssetPermission ¶
type AssetPermission Int16
const ( AssetPermissionChargeMarketFee AssetPermission = 0x01 AssetPermissionWhiteList AssetPermission = 0x02 AssetPermissionOverrideAuthority AssetPermission = 0x04 AssetPermissionTransferRestricted AssetPermission = 0x08 AssetPermissionDisableForceSettle AssetPermission = 0x10 AssetPermissionGlobalSettle AssetPermission = 0x20 AssetPermissionDisableConfidential AssetPermission = 0x40 AssetPermissionWitnessFedAsset AssetPermission = 0x80 AssetPermissionComiteeFedAsset AssetPermission = 0x100 )
func (AssetPermission) String ¶
func (i AssetPermission) String() string
type Authority ¶
type Authority struct { WeightThreshold UInt32 `json:"weight_threshold"` AccountAuths AccountAuthsMap `json:"account_auths"` KeyAuths KeyAuthsMap `json:"key_auths"` AddressAuths AddressAuthsMap `json:"address_auths"` }
func (*Authority) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Authority) MarshalJSONBuf ¶
func (j *Authority) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Authority) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Authority) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type Balance ¶
type Balance struct { ID BalanceID `json:"id"` Balance AssetAmount `json:"balance"` LastClaimDate Time `json:"last_claim_date"` Owner Address `json:"owner"` }
func (*Balance) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Balance) MarshalJSONBuf ¶
func (j *Balance) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Balance) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Balance) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BalanceID ¶ added in v0.6.1
type BalanceID struct {
ObjectID
}
func BalanceIDFromObject ¶ added in v0.6.1
func BalanceIDFromObject(ob GrapheneObject) BalanceID
type BalanceIDs ¶ added in v0.6.1
type BalanceIDs []BalanceID
func (BalanceIDs) Marshal ¶ added in v0.6.1
func (p BalanceIDs) Marshal(enc *util.TypeEncoder) error
type BitAssetData ¶
type BitAssetData struct { ID AssetBitAssetDataID `json:"id"` MembershipExpirationDate Time `json:"current_feed_publication_time"` IsPredictionMarket bool `json:"is_prediction_market"` SettlementPrice Price `json:"settlement_price"` Feeds AssetFeeds `json:"feeds"` Options BitassetOptions `json:"options"` CurrentFeed PriceFeed `json:"current_feed"` ForcedSettledVolume UInt64 `json:"force_settled_volume"` SettlementFund UInt64 `json:"settlement_fund"` }
func (*BitAssetData) MarshalJSON ¶
func (j *BitAssetData) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BitAssetData) MarshalJSONBuf ¶
func (j *BitAssetData) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*BitAssetData) UnmarshalJSON ¶
func (j *BitAssetData) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BitAssetData) UnmarshalJSONFFLexer ¶
func (j *BitAssetData) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BitassetOptions ¶
type BitassetOptions struct { FeedLifetimeSec UInt32 `json:"feed_lifetime_sec"` MinimumFeeds UInt8 `json:"minimum_feeds"` ForceSettlementDelaySec UInt32 `json:"force_settlement_delay_sec"` ForceSettlementOffsetPercent UInt16 `json:"force_settlement_offset_percent"` MaximumForceSettlementVolume UInt16 `json:"maximum_force_settlement_volume"` ShortBackingAsset AssetID `json:"short_backing_asset"` Extensions Extensions `json:"extensions"` }
func (BitassetOptions) Marshal ¶
func (p BitassetOptions) Marshal(enc *util.TypeEncoder) error
func (*BitassetOptions) MarshalJSON ¶
func (j *BitassetOptions) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BitassetOptions) MarshalJSONBuf ¶
func (j *BitassetOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*BitassetOptions) UnmarshalJSON ¶
func (j *BitassetOptions) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BitassetOptions) UnmarshalJSONFFLexer ¶
func (j *BitassetOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BlindInput ¶ added in v0.6.1
type BlindInput struct { Commitment FixedBuffer `json:"commitment"` Owner Authority `json:"owner"` }
func (BlindInput) Marshal ¶ added in v0.6.1
func (p BlindInput) Marshal(enc *util.TypeEncoder) error
func (*BlindInput) MarshalJSON ¶ added in v0.6.1
func (j *BlindInput) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BlindInput) MarshalJSONBuf ¶ added in v0.6.1
func (j *BlindInput) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*BlindInput) UnmarshalJSON ¶ added in v0.6.1
func (j *BlindInput) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BlindInput) UnmarshalJSONFFLexer ¶ added in v0.6.1
func (j *BlindInput) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BlindInputs ¶ added in v0.6.1
type BlindInputs []BlindInput
func (BlindInputs) Marshal ¶ added in v0.6.1
func (p BlindInputs) Marshal(enc *util.TypeEncoder) error
type BlindOutput ¶ added in v0.6.1
type BlindOutput struct { Commitment FixedBuffer `json:"commitment"` Owner Authority `json:"owner"` RangeProof Buffer `json:"range_proof"` StealthConfirmation *StealthConfirmation `json:"stealth_memo,omitempty"` }
func (BlindOutput) Marshal ¶ added in v0.6.1
func (p BlindOutput) Marshal(enc *util.TypeEncoder) error
func (*BlindOutput) MarshalJSON ¶ added in v0.6.1
func (j *BlindOutput) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BlindOutput) MarshalJSONBuf ¶ added in v0.6.1
func (j *BlindOutput) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*BlindOutput) UnmarshalJSON ¶ added in v0.6.1
func (j *BlindOutput) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BlindOutput) UnmarshalJSONFFLexer ¶ added in v0.6.1
func (j *BlindOutput) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BlindOutputs ¶ added in v0.6.1
type BlindOutputs []BlindOutput
func (BlindOutputs) Marshal ¶ added in v0.6.1
func (p BlindOutputs) Marshal(enc *util.TypeEncoder) error
type BlindedBalanceID ¶ added in v0.6.1
type BlindedBalanceID struct {
ObjectID
}
func BlindedBalanceIDFromObject ¶ added in v0.6.1
func BlindedBalanceIDFromObject(ob GrapheneObject) BlindedBalanceID
func (BlindedBalanceID) Marshal ¶ added in v0.6.1
func (p BlindedBalanceID) Marshal(enc *util.TypeEncoder) error
func (*BlindedBalanceID) Unmarshal ¶ added in v0.6.1
func (p *BlindedBalanceID) Unmarshal(dec *util.TypeDecoder) error
type BlindedBalanceIDs ¶ added in v0.6.1
type BlindedBalanceIDs []BlindedBalanceID
func (BlindedBalanceIDs) Marshal ¶ added in v0.6.1
func (p BlindedBalanceIDs) Marshal(enc *util.TypeEncoder) error
type Block ¶
type Block struct { Witness WitnessID `json:"witness"` TransactionMerkleRoot Buffer `json:"transaction_merkle_root"` WitnessSignature Buffer `json:"witness_signature"` Previous Buffer `json:"previous"` BlockID Buffer `json:"block_id"` TimeStamp Time `json:"timestamp"` SigningKey *PublicKey `json:"signing_key,omitempty"` Transactions SignedTransactions `json:"transactions"` TransactionIDs Buffers `json:"transaction_ids"` Extensions Extensions `json:"extensions"` }
func (*Block) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Block) MarshalJSONBuf ¶
func (j *Block) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Block) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Block) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BlockHeader ¶ added in v0.6.1
type BlockHeader struct { TransactionMerkleRoot Buffer `json:"transaction_merkle_root"` Previous Buffer `json:"previous"` TimeStamp Time `json:"timestamp"` Witness WitnessID `json:"witness"` Extensions Extensions `json:"extensions"` }
func (*BlockHeader) MarshalJSON ¶ added in v0.6.1
func (j *BlockHeader) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BlockHeader) MarshalJSONBuf ¶ added in v0.6.1
func (j *BlockHeader) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*BlockHeader) UnmarshalJSON ¶ added in v0.6.1
func (j *BlockHeader) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BlockHeader) UnmarshalJSONFFLexer ¶ added in v0.6.1
func (j *BlockHeader) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BlockSummaryID ¶ added in v0.6.1
type BlockSummaryID struct {
ObjectID
}
func BlockSummaryIDFromObject ¶ added in v0.6.1
func BlockSummaryIDFromObject(ob GrapheneObject) BlockSummaryID
func (BlockSummaryID) Marshal ¶ added in v0.6.1
func (p BlockSummaryID) Marshal(enc *util.TypeEncoder) error
func (*BlockSummaryID) Unmarshal ¶ added in v0.6.1
func (p *BlockSummaryID) Unmarshal(dec *util.TypeDecoder) error
type BlockSummaryIDs ¶ added in v0.6.1
type BlockSummaryIDs []BlockSummaryID
func (BlockSummaryIDs) Marshal ¶ added in v0.6.1
func (p BlockSummaryIDs) Marshal(enc *util.TypeEncoder) error
type BroadcastResponse ¶ added in v0.6.1
type BroadcastResponse struct { ID string `json:"id"` BlockNum UInt64 `json:"block_num"` TrxNum UInt32 `json:"trx_num"` Expired bool `json:"expired"` Trx SignedTransaction `json:"trx"` }
func (*BroadcastResponse) MarshalJSON ¶ added in v0.6.1
func (j *BroadcastResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BroadcastResponse) MarshalJSONBuf ¶ added in v0.6.1
func (j *BroadcastResponse) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*BroadcastResponse) UnmarshalJSON ¶ added in v0.6.1
func (j *BroadcastResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BroadcastResponse) UnmarshalJSONFFLexer ¶ added in v0.6.1
func (j *BroadcastResponse) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type BudgetRecordID ¶ added in v0.6.1
type BudgetRecordID struct {
ObjectID
}
func BudgetRecordIDFromObject ¶ added in v0.6.1
func BudgetRecordIDFromObject(ob GrapheneObject) BudgetRecordID
func (BudgetRecordID) Marshal ¶ added in v0.6.1
func (p BudgetRecordID) Marshal(enc *util.TypeEncoder) error
func (*BudgetRecordID) Unmarshal ¶ added in v0.6.1
func (p *BudgetRecordID) Unmarshal(dec *util.TypeDecoder) error
type BudgetRecordIDs ¶ added in v0.6.1
type BudgetRecordIDs []BudgetRecordID
func (BudgetRecordIDs) Marshal ¶ added in v0.6.1
func (p BudgetRecordIDs) Marshal(enc *util.TypeEncoder) error
type Buffer ¶
type Buffer []byte
func BufferFromString ¶
func (*Buffer) FromString ¶
func (Buffer) MarshalJSON ¶
func (*Buffer) UnmarshalJSON ¶
type BurnWorkerInitializer ¶
type BurnWorkerInitializer struct { }
func (BurnWorkerInitializer) Marshal ¶
func (p BurnWorkerInitializer) Marshal(enc *util.TypeEncoder) error
type BuybackOptions ¶
type BuybackOptions struct { AssetToBuy AssetID `json:"asset_to_buy"` AssetToBuyIssuer AccountID `json:"asset_to_buy_issuer"` Markets AssetIDs `json:"markets"` }
func (BuybackOptions) Marshal ¶
func (p BuybackOptions) Marshal(enc *util.TypeEncoder) error
func (*BuybackOptions) MarshalJSON ¶
func (j *BuybackOptions) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*BuybackOptions) MarshalJSONBuf ¶
func (j *BuybackOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*BuybackOptions) UnmarshalJSON ¶
func (j *BuybackOptions) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*BuybackOptions) UnmarshalJSONFFLexer ¶
func (j *BuybackOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type CCDVestingPolicy ¶
type CCDVestingPolicy struct { StartClaim Time `json:"start_claim"` CoinSecondsEarnedLastUpdate Time `json:"coin_seconds_earned_last_update"` VestingSeconds UInt32 `json:"vesting_seconds"` CoinSecondsEarned UInt64 `json:"coin_seconds_earned"` //UInt128!! }
TODO: CoinSecondsEarned is UInt128! Since golang has no 128 bit uint, check marshal and implement this later.
func (CCDVestingPolicy) Marshal ¶
func (p CCDVestingPolicy) Marshal(enc *util.TypeEncoder) error
TODO: check order!
func (*CCDVestingPolicy) MarshalJSON ¶
func (j *CCDVestingPolicy) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*CCDVestingPolicy) MarshalJSONBuf ¶
func (j *CCDVestingPolicy) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*CCDVestingPolicy) UnmarshalJSON ¶
func (j *CCDVestingPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*CCDVestingPolicy) UnmarshalJSONFFLexer ¶
func (j *CCDVestingPolicy) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type CallOrder ¶
type CallOrder struct { ID CallOrderID `json:"id"` Borrower AccountID `json:"borrower"` Collateral Int64 `json:"collateral"` Debt Int64 `json:"debt"` CallPrice Price `json:"call_price"` }
func (*CallOrder) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*CallOrder) MarshalJSONBuf ¶
func (j *CallOrder) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*CallOrder) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*CallOrder) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type CallOrderID ¶ added in v0.6.1
type CallOrderID struct {
ObjectID
}
func CallOrderIDFromObject ¶ added in v0.6.1
func CallOrderIDFromObject(ob GrapheneObject) CallOrderID
func (CallOrderID) Marshal ¶ added in v0.6.1
func (p CallOrderID) Marshal(enc *util.TypeEncoder) error
func (*CallOrderID) Unmarshal ¶ added in v0.6.1
func (p *CallOrderID) Unmarshal(dec *util.TypeDecoder) error
type CallOrderIDs ¶ added in v0.6.1
type CallOrderIDs []CallOrderID
func (CallOrderIDs) Marshal ¶ added in v0.6.1
func (p CallOrderIDs) Marshal(enc *util.TypeEncoder) error
type CallOrderUpdateExtensions ¶
type CallOrderUpdateExtensions struct {
TargetCollateralRatio *TargetCollRatio `json:"target_collateral_ratio,omitempty"`
}
func (CallOrderUpdateExtensions) Length ¶
func (p CallOrderUpdateExtensions) Length() int
func (CallOrderUpdateExtensions) Marshal ¶
func (p CallOrderUpdateExtensions) Marshal(enc *util.TypeEncoder) error
func (*CallOrderUpdateExtensions) MarshalJSON ¶
func (j *CallOrderUpdateExtensions) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*CallOrderUpdateExtensions) MarshalJSONBuf ¶
func (j *CallOrderUpdateExtensions) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*CallOrderUpdateExtensions) UnmarshalJSON ¶
func (j *CallOrderUpdateExtensions) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*CallOrderUpdateExtensions) UnmarshalJSONFFLexer ¶
func (j *CallOrderUpdateExtensions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type CallOrderUpdateExtensionsType ¶
type CallOrderUpdateExtensionsType UInt8
const (
CallOrderUpdateExtensionsTypeTargetRatio CallOrderUpdateExtensionsType = iota
)
type CallOrders ¶
type CallOrders []CallOrder
type ChainPropertyID ¶ added in v0.6.1
type ChainPropertyID struct {
ObjectID
}
func ChainPropertyIDFromObject ¶ added in v0.6.1
func ChainPropertyIDFromObject(ob GrapheneObject) ChainPropertyID
func (ChainPropertyID) Marshal ¶ added in v0.6.1
func (p ChainPropertyID) Marshal(enc *util.TypeEncoder) error
func (*ChainPropertyID) Unmarshal ¶ added in v0.6.1
func (p *ChainPropertyID) Unmarshal(dec *util.TypeDecoder) error
type ChainPropertyIDs ¶ added in v0.6.1
type ChainPropertyIDs []ChainPropertyID
func (ChainPropertyIDs) Marshal ¶ added in v0.6.1
func (p ChainPropertyIDs) Marshal(enc *util.TypeEncoder) error
type CommitteeMember ¶ added in v0.6.1
type CommitteeMember struct { ID CommitteeMemberID `json:"id"` CommitteeMemberAccount AccountID `json:"committee_member_account"` TotalVotes UInt64 `json:"total_votes"` URL String `json:"url"` VoteID VoteID `json:"vote_id"` }
func (CommitteeMember) Marshal ¶ added in v0.6.1
func (p CommitteeMember) Marshal(enc *util.TypeEncoder) error
func (*CommitteeMember) MarshalJSON ¶ added in v0.6.1
func (j *CommitteeMember) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*CommitteeMember) MarshalJSONBuf ¶ added in v0.6.1
func (j *CommitteeMember) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*CommitteeMember) UnmarshalJSON ¶ added in v0.6.1
func (j *CommitteeMember) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*CommitteeMember) UnmarshalJSONFFLexer ¶ added in v0.6.1
func (j *CommitteeMember) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type CommitteeMemberID ¶ added in v0.6.1
type CommitteeMemberID struct {
ObjectID
}
func CommitteeMemberIDFromObject ¶ added in v0.6.1
func CommitteeMemberIDFromObject(ob GrapheneObject) CommitteeMemberID
func (CommitteeMemberID) Marshal ¶ added in v0.6.1
func (p CommitteeMemberID) Marshal(enc *util.TypeEncoder) error
func (*CommitteeMemberID) Unmarshal ¶ added in v0.6.1
func (p *CommitteeMemberID) Unmarshal(dec *util.TypeDecoder) error
type CommitteeMemberIDs ¶ added in v0.6.1
type CommitteeMemberIDs []CommitteeMemberID
func (CommitteeMemberIDs) Marshal ¶ added in v0.6.1
func (p CommitteeMemberIDs) Marshal(enc *util.TypeEncoder) error
type CustomID ¶ added in v0.6.1
type CustomID struct {
ObjectID
}
func CustomIDFromObject ¶ added in v0.6.1
func CustomIDFromObject(ob GrapheneObject) CustomID
type DynamicGlobalProperties ¶
type DynamicGlobalProperties struct { ID DynamicGlobalPropertyID `json:"id"` CurrentWitness WitnessID `json:"current_witness"` LastBudgetTime Time `json:"last_budget_time"` Time Time `json:"time"` NextMaintenanceTime Time `json:"next_maintenance_time"` AccountsRegisteredThisInterval int `json:"accounts_registered_this_interval"` DynamicFlags int `json:"dynamic_flags"` HeadBlockID String `json:"head_block_id"` RecentSlotsFilled String `json:"recent_slots_filled"` HeadBlockNumber UInt32 `json:"head_block_number"` LastIrreversibleBlockNum UInt32 `json:"last_irreversible_block_num"` CurrentAslot int64 `json:"current_aslot"` WitnessBudget int64 `json:"witness_budget"` RecentlyMissedCount int64 `json:"recently_missed_count"` }
func (*DynamicGlobalProperties) MarshalJSON ¶
func (j *DynamicGlobalProperties) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*DynamicGlobalProperties) MarshalJSONBuf ¶
func (j *DynamicGlobalProperties) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (DynamicGlobalProperties) RefBlockNum ¶
func (p DynamicGlobalProperties) RefBlockNum() UInt16
func (DynamicGlobalProperties) RefBlockPrefix ¶
func (p DynamicGlobalProperties) RefBlockPrefix() (UInt32, error)
func (*DynamicGlobalProperties) UnmarshalJSON ¶
func (j *DynamicGlobalProperties) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*DynamicGlobalProperties) UnmarshalJSONFFLexer ¶
func (j *DynamicGlobalProperties) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type DynamicGlobalPropertyID ¶ added in v0.6.1
type DynamicGlobalPropertyID struct {
ObjectID
}
func DynamicGlobalPropertyIDFromObject ¶ added in v0.6.1
func DynamicGlobalPropertyIDFromObject(ob GrapheneObject) DynamicGlobalPropertyID
func (DynamicGlobalPropertyID) Marshal ¶ added in v0.6.1
func (p DynamicGlobalPropertyID) Marshal(enc *util.TypeEncoder) error
func (*DynamicGlobalPropertyID) Unmarshal ¶ added in v0.6.1
func (p *DynamicGlobalPropertyID) Unmarshal(dec *util.TypeDecoder) error
type DynamicGlobalPropertyIDs ¶ added in v0.6.1
type DynamicGlobalPropertyIDs []DynamicGlobalPropertyID
func (DynamicGlobalPropertyIDs) Marshal ¶ added in v0.6.1
func (p DynamicGlobalPropertyIDs) Marshal(enc *util.TypeEncoder) error
type Extensions ¶
type Extensions struct {
// contains filtered or unexported fields
}
func (Extensions) Marshal ¶
func (p Extensions) Marshal(enc *util.TypeEncoder) error
TODO refactor and test
func (Extensions) MarshalJSON ¶ added in v0.6.1
func (p Extensions) MarshalJSON() ([]byte, error)
func (*Extensions) UnmarshalJSON ¶ added in v0.6.1
func (p *Extensions) UnmarshalJSON(data []byte) error
UnmarshalJSON sets *m to a copy of data.
type FeeSchedule ¶ added in v0.6.1
type FeeSchedule struct { Scale UInt32 `json:"scale"` Parameters FeeScheduleParameters `json:"parameters"` }
func (FeeSchedule) Marshal ¶ added in v0.6.1
func (p FeeSchedule) Marshal(enc *util.TypeEncoder) error
type FeeScheduleParameter ¶ added in v0.6.1
type FeeScheduleParameter struct { OperationType OperationType Params M }
func (FeeScheduleParameter) Marshal ¶ added in v0.6.1
func (p FeeScheduleParameter) Marshal(enc *util.TypeEncoder) error
func (FeeScheduleParameter) MarshalJSON ¶ added in v0.6.1
func (p FeeScheduleParameter) MarshalJSON() ([]byte, error)
func (*FeeScheduleParameter) UnmarshalJSON ¶ added in v0.6.1
func (p *FeeScheduleParameter) UnmarshalJSON(data []byte) error
type FeeScheduleParameters ¶ added in v0.6.1
type FeeScheduleParameters []FeeScheduleParameter
func (FeeScheduleParameters) Marshal ¶ added in v0.6.1
func (p FeeScheduleParameters) Marshal(enc *util.TypeEncoder) error
type FixedBuffer ¶ added in v0.6.1
type FixedBuffer struct {
Buffer
}
func (FixedBuffer) Marshal ¶ added in v0.6.1
func (p FixedBuffer) Marshal(enc *util.TypeEncoder) error
type ForceSettlementID ¶ added in v0.6.1
type ForceSettlementID struct {
ObjectID
}
func ForceSettlementIDFromObject ¶ added in v0.6.1
func ForceSettlementIDFromObject(ob GrapheneObject) ForceSettlementID
func (ForceSettlementID) Marshal ¶ added in v0.6.1
func (p ForceSettlementID) Marshal(enc *util.TypeEncoder) error
func (*ForceSettlementID) Unmarshal ¶ added in v0.6.1
func (p *ForceSettlementID) Unmarshal(dec *util.TypeDecoder) error
type ForceSettlementIDs ¶ added in v0.6.1
type ForceSettlementIDs []ForceSettlementID
func (ForceSettlementIDs) Marshal ¶ added in v0.6.1
func (p ForceSettlementIDs) Marshal(enc *util.TypeEncoder) error
type ForceSettlementOrder ¶ added in v0.6.1
type ForceSettlementOrder struct { ID ForceSettlementID `json:"id"` Owner AccountID `json:"owner"` SettlementDate Time `json:"settlement_date"` Balance AssetAmount `json:"balance"` }
func (*ForceSettlementOrder) MarshalJSON ¶ added in v0.6.1
func (j *ForceSettlementOrder) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*ForceSettlementOrder) MarshalJSONBuf ¶ added in v0.6.1
func (j *ForceSettlementOrder) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*ForceSettlementOrder) UnmarshalJSON ¶ added in v0.6.1
func (j *ForceSettlementOrder) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*ForceSettlementOrder) UnmarshalJSONFFLexer ¶ added in v0.6.1
func (j *ForceSettlementOrder) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type ForceSettlementOrders ¶ added in v0.6.1
type ForceSettlementOrders []ForceSettlementOrder
type FullAccountInfo ¶
type FullAccountInfo struct { ID AccountID AccountInfo AccountInfo }
func (FullAccountInfo) MarshalJSON ¶
func (p FullAccountInfo) MarshalJSON() ([]byte, error)
func (*FullAccountInfo) UnmarshalJSON ¶
func (p *FullAccountInfo) UnmarshalJSON(data []byte) error
type FullAccountInfos ¶
type FullAccountInfos []FullAccountInfo
type GlobalPropertyID ¶ added in v0.6.1
type GlobalPropertyID struct {
ObjectID
}
func GlobalPropertyIDFromObject ¶ added in v0.6.1
func GlobalPropertyIDFromObject(ob GrapheneObject) GlobalPropertyID
func (GlobalPropertyID) Marshal ¶ added in v0.6.1
func (p GlobalPropertyID) Marshal(enc *util.TypeEncoder) error
func (*GlobalPropertyID) Unmarshal ¶ added in v0.6.1
func (p *GlobalPropertyID) Unmarshal(dec *util.TypeDecoder) error
type GlobalPropertyIDs ¶ added in v0.6.1
type GlobalPropertyIDs []GlobalPropertyID
func (GlobalPropertyIDs) Marshal ¶ added in v0.6.1
func (p GlobalPropertyIDs) Marshal(enc *util.TypeEncoder) error
type GrapheneObject ¶
type GrapheneObject interface { util.TypeMarshaler util.TypeUnmarshaler UnmarshalJSON(s []byte) error MarshalJSON() ([]byte, error) ID() string String() string ObjectType() ObjectType SpaceType() SpaceType Instance() UInt64 Equals(id GrapheneObject) bool Valid() bool }
func NewAccountBalanceID ¶ added in v0.6.1
func NewAccountBalanceID(id string) GrapheneObject
NewAccountBalanceID creates an new AccountBalanceID object
func NewAccountID ¶ added in v0.6.1
func NewAccountID(id string) GrapheneObject
NewAccountID creates an new AccountID object
func NewAccountStatisticsID ¶ added in v0.6.1
func NewAccountStatisticsID(id string) GrapheneObject
NewAccountStatisticsID creates an new AccountStatisticsID object
func NewAccountTransactionHistoryID ¶ added in v0.6.1
func NewAccountTransactionHistoryID(id string) GrapheneObject
NewAccountTransactionHistoryID creates an new AccountTransactionHistoryID object
func NewAssetBitAssetDataID ¶ added in v0.6.1
func NewAssetBitAssetDataID(id string) GrapheneObject
NewAssetBitAssetDataID creates an new AssetBitAssetDataID object
func NewAssetDynamicDataID ¶ added in v0.6.1
func NewAssetDynamicDataID(id string) GrapheneObject
NewAssetDynamicDataID creates an new AssetDynamicDataID object
func NewAssetID ¶ added in v0.6.1
func NewAssetID(id string) GrapheneObject
NewAssetID creates an new AssetID object
func NewBalanceID ¶ added in v0.6.1
func NewBalanceID(id string) GrapheneObject
NewBalanceID creates an new BalanceID object
func NewBlindedBalanceID ¶ added in v0.6.1
func NewBlindedBalanceID(id string) GrapheneObject
NewBlindedBalanceID creates an new BlindedBalanceID object
func NewBlockSummaryID ¶ added in v0.6.1
func NewBlockSummaryID(id string) GrapheneObject
NewBlockSummaryID creates an new BlockSummaryID object
func NewBudgetRecordID ¶ added in v0.6.1
func NewBudgetRecordID(id string) GrapheneObject
NewBudgetRecordID creates an new BudgetRecordID object
func NewCallOrderID ¶ added in v0.6.1
func NewCallOrderID(id string) GrapheneObject
NewCallOrderID creates an new CallOrderID object
func NewChainPropertyID ¶ added in v0.6.1
func NewChainPropertyID(id string) GrapheneObject
NewChainPropertyID creates an new ChainPropertyID object
func NewCommitteeMemberID ¶ added in v0.6.1
func NewCommitteeMemberID(id string) GrapheneObject
NewCommitteeMemberID creates an new CommitteeMemberID object
func NewCustomID ¶ added in v0.6.1
func NewCustomID(id string) GrapheneObject
NewCustomID creates an new CustomID object
func NewDynamicGlobalPropertyID ¶ added in v0.6.1
func NewDynamicGlobalPropertyID(id string) GrapheneObject
NewDynamicGlobalPropertyID creates an new DynamicGlobalPropertyID object
func NewForceSettlementID ¶ added in v0.6.1
func NewForceSettlementID(id string) GrapheneObject
NewForceSettlementID creates an new ForceSettlementID object
func NewGlobalPropertyID ¶ added in v0.6.1
func NewGlobalPropertyID(id string) GrapheneObject
NewGlobalPropertyID creates an new GlobalPropertyID object
func NewLimitOrderID ¶ added in v0.6.1
func NewLimitOrderID(id string) GrapheneObject
NewLimitOrderID creates an new LimitOrderID object
func NewObjectID ¶ added in v0.6.1
func NewObjectID(id string) GrapheneObject
NewObjectID creates an new ObjectID object
func NewOperationHistoryID ¶ added in v0.6.1
func NewOperationHistoryID(id string) GrapheneObject
NewOperationHistoryID creates an new OperationHistoryID object
func NewProposalID ¶ added in v0.6.1
func NewProposalID(id string) GrapheneObject
NewProposalID creates an new ProposalID object
func NewSpecialAuthorityID ¶ added in v0.6.1
func NewSpecialAuthorityID(id string) GrapheneObject
NewSpecialAuthorityID creates an new SpecialAuthorityID object
func NewTransactionID ¶ added in v0.6.1
func NewTransactionID(id string) GrapheneObject
NewTransactionID creates an new TransactionID object
func NewVestingBalanceID ¶ added in v0.6.1
func NewVestingBalanceID(id string) GrapheneObject
NewVestingBalanceID creates an new VestingBalanceID object
func NewWithdrawPermissionID ¶ added in v0.6.1
func NewWithdrawPermissionID(id string) GrapheneObject
NewWithdrawPermissionID creates an new WithdrawPermissionID object
func NewWitnessID ¶ added in v0.6.1
func NewWitnessID(id string) GrapheneObject
NewWitnessID creates an new WitnessID object
func NewWitnessScheduleID ¶ added in v0.6.1
func NewWitnessScheduleID(id string) GrapheneObject
NewWitnessScheduleID creates an new WitnessScheduleID object
func NewWorkerID ¶ added in v0.6.1
func NewWorkerID(id string) GrapheneObject
NewWorkerID creates an new WorkerID object
type GrapheneObjects ¶
type GrapheneObjects []GrapheneObject
func (GrapheneObjects) String ¶
func (p GrapheneObjects) String() string
func (GrapheneObjects) ToStrings ¶
func (p GrapheneObjects) ToStrings() []string
type Info ¶ added in v0.6.1
type Info struct { ActiveCommitteeMembers CommitteeMemberIDs `json:"active_committee_members"` ActiveWitnesses WitnessIDs `json:"active_witnesses"` ChainID String `json:"chain_id"` HeadBlockAge String `json:"head_block_age"` HeadBlockID Buffer `json:"head_block_id"` HeadBlockNum UInt64 `json:"head_block_num"` NextMaintenanceTime String `json:"next_maintenance_time"` Participation String `json:"participation"` }
type KeyAuthsMap ¶
func (KeyAuthsMap) Marshal ¶
func (p KeyAuthsMap) Marshal(enc *util.TypeEncoder) error
func (KeyAuthsMap) MarshalJSON ¶
func (p KeyAuthsMap) MarshalJSON() ([]byte, error)
func (*KeyAuthsMap) UnmarshalJSON ¶
func (p *KeyAuthsMap) UnmarshalJSON(data []byte) error
type LimitOrder ¶
type LimitOrder struct { ID LimitOrderID `json:"id"` Seller AccountID `json:"seller"` Expiration Time `json:"expiration"` ForSale UInt64 `json:"for_sale"` DeferredFee UInt64 `json:"deferred_fee"` SellPrice Price `json:"sell_price"` }
func (*LimitOrder) MarshalJSON ¶
func (j *LimitOrder) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*LimitOrder) MarshalJSONBuf ¶
func (j *LimitOrder) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*LimitOrder) UnmarshalJSON ¶
func (j *LimitOrder) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*LimitOrder) UnmarshalJSONFFLexer ¶
func (j *LimitOrder) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type LimitOrderID ¶ added in v0.6.1
type LimitOrderID struct {
ObjectID
}
func LimitOrderIDFromObject ¶ added in v0.6.1
func LimitOrderIDFromObject(ob GrapheneObject) LimitOrderID
func (LimitOrderID) Marshal ¶ added in v0.6.1
func (p LimitOrderID) Marshal(enc *util.TypeEncoder) error
func (*LimitOrderID) Unmarshal ¶ added in v0.6.1
func (p *LimitOrderID) Unmarshal(dec *util.TypeDecoder) error
type LimitOrderIDs ¶ added in v0.6.1
type LimitOrderIDs []LimitOrderID
func (LimitOrderIDs) Marshal ¶ added in v0.6.1
func (p LimitOrderIDs) Marshal(enc *util.TypeEncoder) error
type LimitOrders ¶
type LimitOrders []LimitOrder
type LinearVestingPolicy ¶
type LinearVestingPolicy struct { BeginTimestamp Time `json:"begin_timestamp"` VestingCliffSeconds UInt32 `json:"vesting_cliff_seconds"` VestingDurationSeconds UInt32 `json:"vesting_duration_seconds"` }
func (LinearVestingPolicy) Marshal ¶
func (p LinearVestingPolicy) Marshal(enc *util.TypeEncoder) error
func (*LinearVestingPolicy) MarshalJSON ¶
func (j *LinearVestingPolicy) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*LinearVestingPolicy) MarshalJSONBuf ¶
func (j *LinearVestingPolicy) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*LinearVestingPolicy) UnmarshalJSON ¶
func (j *LinearVestingPolicy) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*LinearVestingPolicy) UnmarshalJSONFFLexer ¶
func (j *LinearVestingPolicy) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type MarketTicker ¶ added in v0.6.1
type MarketTicker struct { Time Time `json:"time"` Base String `json:"base"` Quote String `json:"quote"` Latest Float64 `json:"latest"` LowestAsk Float64 `json:"lowest_ask"` HighestBid Float64 `json:"highest_bid"` PercentChange Float64 `json:"percent_change"` BaseVolume Float64 `json:"base_volume"` QuoteVolume Float64 `json:"quote_volume"` }
type MarketTrade ¶
type MarketTrade struct { DateTime Time `json:"date"` Price Float64 `json:"price"` Amount Float64 `json:"amount"` Value Float64 `json:"value"` }
func (*MarketTrade) MarshalJSON ¶
func (j *MarketTrade) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*MarketTrade) MarshalJSONBuf ¶
func (j *MarketTrade) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*MarketTrade) UnmarshalJSON ¶
func (j *MarketTrade) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*MarketTrade) UnmarshalJSONFFLexer ¶
func (j *MarketTrade) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type MarketTrades ¶
type MarketTrades []MarketTrade
type Memo ¶
type Memo struct { From PublicKey `json:"from"` To PublicKey `json:"to"` Nonce UInt64 `json:"nonce"` Message Buffer `json:"message"` }
func (Memo) Decrypt ¶
func (p Memo) Decrypt(priv *PrivateKey) (string, error)
Decrypt calculates a shared secret by the receivers private key and the senders public key, then decrypts the given memo message.
func (*Memo) Encrypt ¶
func (p *Memo) Encrypt(priv *PrivateKey, msg string) error
Encrypt calculates a shared secret by the senders private key and the recipients public key, then encrypts the given memo message.
func (*Memo) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Memo) MarshalJSONBuf ¶
func (j *Memo) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Memo) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Memo) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type NoSpecialAuthority ¶
type NoSpecialAuthority struct{}
func (*NoSpecialAuthority) MarshalJSON ¶
func (j *NoSpecialAuthority) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*NoSpecialAuthority) MarshalJSONBuf ¶
func (j *NoSpecialAuthority) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*NoSpecialAuthority) UnmarshalJSON ¶
func (j *NoSpecialAuthority) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*NoSpecialAuthority) UnmarshalJSONFFLexer ¶
func (j *NoSpecialAuthority) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type NullExtension ¶
type NullExtension struct{}
func (NullExtension) Marshal ¶
func (p NullExtension) Marshal(enc *util.TypeEncoder) error
func (*NullExtension) MarshalJSON ¶
func (j *NullExtension) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*NullExtension) MarshalJSONBuf ¶
func (j *NullExtension) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*NullExtension) UnmarshalJSON ¶
func (j *NullExtension) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*NullExtension) UnmarshalJSONFFLexer ¶
func (j *NullExtension) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type ObjectID ¶ added in v0.6.1
type ObjectID struct {
// contains filtered or unexported fields
}
func ObjectIDFromObject ¶ added in v0.6.1
func ObjectIDFromObject(ob GrapheneObject) ObjectID
func (ObjectID) Equals ¶ added in v0.6.1
func (p ObjectID) Equals(o GrapheneObject) bool
func (*ObjectID) FromObject ¶ added in v0.6.1
func (p *ObjectID) FromObject(ob GrapheneObject) error
func (*ObjectID) FromRawData ¶ added in v0.6.1
func (ObjectID) MarshalJSON ¶ added in v0.6.1
func (*ObjectID) MustFromObject ¶ added in v0.6.1
func (p *ObjectID) MustFromObject(ob GrapheneObject)
func (ObjectID) ObjectType ¶ added in v0.6.1
func (p ObjectID) ObjectType() ObjectType
ObjectType returns the objects ObjectType
func (*ObjectID) Unmarshal ¶ added in v0.6.1
func (p *ObjectID) Unmarshal(dec *util.TypeDecoder) error
func (*ObjectID) UnmarshalJSON ¶ added in v0.6.1
type ObjectType ¶
type ObjectType UInt8
const ( ObjectTypeBase ObjectType = iota + 1 ObjectTypeAccount ObjectTypeAsset ObjectTypeForceSettlement ObjectTypeCommitteeMember ObjectTypeWitness ObjectTypeLimitOrder ObjectTypeCallOrder ObjectTypeCustom ObjectTypeProposal ObjectTypeOperationHistory ObjectTypeWithdrawPermission ObjectTypeVestingBalance ObjectTypeWorker ObjectTypeBalance )
for SpaceTypeProtocol
const ( ObjectTypeGlobalProperty ObjectType = iota + 1 ObjectTypeDynamicGlobalProperty ObjectTypeAssetDynamicData ObjectTypeAssetBitAssetData ObjectTypeAccountBalance ObjectTypeAccountStatistics ObjectTypeTransaction ObjectTypeBlockSummary ObjectTypeAccountTransactionHistory ObjectTypeBlindedBalance ObjectTypeChainProperty ObjectTypeWitnessSchedule ObjectTypeBudgetRecord ObjectTypeSpecialAuthority )
for SpaceTypeImplementation
func (ObjectType) String ¶
func (i ObjectType) String() string
type Operation ¶
type Operation interface { util.TypeMarshaler SetFee(fee AssetAmount) GetFee() AssetAmount Type() OperationType MarshalFeeScheduleParams(M, *util.TypeEncoder) error }
type OperationEnvelope ¶
type OperationEnvelope struct { Type OperationType Operation Operation }
func (OperationEnvelope) Marshal ¶
func (p OperationEnvelope) Marshal(enc *util.TypeEncoder) error
func (OperationEnvelope) MarshalJSON ¶
func (p OperationEnvelope) MarshalJSON() ([]byte, error)
func (*OperationEnvelope) UnmarshalJSON ¶
func (p *OperationEnvelope) UnmarshalJSON(data []byte) error
type OperationEnvelopeHolder ¶
type OperationEnvelopeHolder struct {
Op OperationEnvelope `json:"op"`
}
type OperationEnvelopeHolders ¶
type OperationEnvelopeHolders []OperationEnvelopeHolder
func (OperationEnvelopeHolders) Marshal ¶
func (p OperationEnvelopeHolders) Marshal(enc *util.TypeEncoder) error
type OperationFee ¶
type OperationFee struct {
Fee *AssetAmount `json:"fee,omitempty"`
}
func (OperationFee) GetFee ¶
func (p OperationFee) GetFee() AssetAmount
func (*OperationFee) MarshalFeeScheduleParams ¶ added in v0.6.1
func (p *OperationFee) MarshalFeeScheduleParams(params M, enc *util.TypeEncoder) error
func (*OperationFee) SetFee ¶
func (p *OperationFee) SetFee(fee AssetAmount)
type OperationHistories ¶
type OperationHistories []OperationHistory
type OperationHistory ¶
type OperationHistory struct { ID OperationHistoryID `json:"id"` BlockNum UInt32 `json:"block_num"` TrxInBlock UInt16 `json:"trx_in_block"` OpInTrx UInt16 `json:"op_in_trx"` VirtualOp UInt16 `json:"virtual_op"` Operation OperationEnvelope `json:"op"` Result OperationResult `json:"result"` }
func (*OperationHistory) MarshalJSON ¶
func (j *OperationHistory) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*OperationHistory) MarshalJSONBuf ¶
func (j *OperationHistory) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*OperationHistory) UnmarshalJSON ¶
func (j *OperationHistory) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*OperationHistory) UnmarshalJSONFFLexer ¶
func (j *OperationHistory) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type OperationHistoryID ¶ added in v0.6.1
type OperationHistoryID struct {
ObjectID
}
func OperationHistoryIDFromObject ¶ added in v0.6.1
func OperationHistoryIDFromObject(ob GrapheneObject) OperationHistoryID
func (OperationHistoryID) Marshal ¶ added in v0.6.1
func (p OperationHistoryID) Marshal(enc *util.TypeEncoder) error
func (*OperationHistoryID) Unmarshal ¶ added in v0.6.1
func (p *OperationHistoryID) Unmarshal(dec *util.TypeDecoder) error
type OperationHistoryIDs ¶ added in v0.6.1
type OperationHistoryIDs []OperationHistoryID
func (OperationHistoryIDs) Marshal ¶ added in v0.6.1
func (p OperationHistoryIDs) Marshal(enc *util.TypeEncoder) error
type OperationRelativeHistories ¶
type OperationRelativeHistories []OperationRelativeHistory
type OperationRelativeHistory ¶
type OperationRelativeHistory struct { Memo Buffer `json:"memo"` Description String `json:"description"` Op OperationHistory `json:"op"` }
func (*OperationRelativeHistory) MarshalJSON ¶
func (j *OperationRelativeHistory) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*OperationRelativeHistory) MarshalJSONBuf ¶
func (j *OperationRelativeHistory) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*OperationRelativeHistory) UnmarshalJSON ¶
func (j *OperationRelativeHistory) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*OperationRelativeHistory) UnmarshalJSONFFLexer ¶
func (j *OperationRelativeHistory) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type OperationResult ¶
type OperationResult interface { }
type OperationType ¶
type OperationType UInt8
const ( OperationTypeTransfer OperationType = iota //0 OperationTypeLimitOrderCreate //1 OperationTypeLimitOrderCancel //2 OperationTypeCallOrderUpdate //3 OperationTypeFillOrder //4 OperationTypeAccountCreate //5 OperationTypeAccountUpdate //6 OperationTypeAccountWhitelist //7 OperationTypeAccountUpgrade //8 OperationTypeAccountTransfer //9 OperationTypeAssetCreate //10 OperationTypeAssetUpdate //11 OperationTypeAssetUpdateBitasset //12 OperationTypeAssetUpdateFeedProducers //13 OperationTypeAssetIssue //14 OperationTypeAssetReserve //15 OperationTypeAssetFundFeePool //16 OperationTypeAssetSettle //17 OperationTypeAssetGlobalSettle //18 OperationTypeAssetPublishFeed //19 OperationTypeWitnessCreate //20 OperationTypeWitnessUpdate //21 OperationTypeProposalCreate //22 OperationTypeProposalUpdate //23 OperationTypeProposalDelete //24 OperationTypeWithdrawPermissionCreate //25 OperationTypeWithdrawPermissionUpdate //26 OperationTypeWithdrawPermissionClaim //27 OperationTypeWithdrawPermissionDelete //28 OperationTypeCommitteeMemberCreate //29 OperationTypeCommitteeMemberUpdate //30 OperationTypeCommitteeMemberUpdateGlobalParameters //31 OperationTypeVestingBalanceCreate //32 OperationTypeVestingBalanceWithdraw //33 OperationTypeWorkerCreate //34 OperationTypeCustom //35 OperationTypeAssert //36 OperationTypeBalanceClaim //37 OperationTypeOverrideTransfer //38 OperationTypeTransferToBlind //39 OperationTypeBlindTransfer ///40 OperationTypeTransferFromBlind //41 OperationTypeAssetSettleCancel ///42 OperationTypeAssetClaimFees //43 OperationTypeFBADistribute ///44 OperationTypeBidCollateral //45 OperationTypeExecuteBid ///46 )
func (OperationType) OperationName ¶
func (p OperationType) OperationName() string
func (OperationType) String ¶
func (i OperationType) String() string
type Operations ¶
type Operations []Operation
func (Operations) ApplyFees ¶
func (p Operations) ApplyFees(fees AssetAmounts) error
func (Operations) CombinedFees ¶
func (p Operations) CombinedFees() AssetAmounts
func (Operations) Envelopes ¶
func (p Operations) Envelopes() []OperationEnvelope
func (Operations) Marshal ¶
func (p Operations) Marshal(enc *util.TypeEncoder) error
func (Operations) MarshalJSON ¶
func (p Operations) MarshalJSON() ([]byte, error)
func (*Operations) UnmarshalJSON ¶
func (p *Operations) UnmarshalJSON(data []byte) error
type Order ¶
type Order struct { Base Float64 `json:"base"` Quote Float64 `json:"quote"` Price Float64 `json:"price"` }
func (*Order) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Order) MarshalJSONBuf ¶
func (j *Order) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Order) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Order) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type OrderBook ¶
type OrderBook struct { Base AssetID `json:"base"` Asks []Order `json:"asks"` Quote AssetID `json:"quote"` Bids []Order `json:"bids"` }
func (*OrderBook) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*OrderBook) MarshalJSONBuf ¶
func (j *OrderBook) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*OrderBook) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*OrderBook) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type OwnerSpecialAuthority ¶
type OwnerSpecialAuthority struct {
SpecialAuthority
}
func (OwnerSpecialAuthority) Marshal ¶
func (p OwnerSpecialAuthority) Marshal(enc *util.TypeEncoder) error
type Price ¶
type Price struct { Base AssetAmount `json:"base"` Quote AssetAmount `json:"quote"` }
func (*Price) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Price) MarshalJSONBuf ¶
func (j *Price) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Price) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Price) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type PriceFeed ¶
type PriceFeed struct { MaintenanceCollateralRatio UInt16 `json:"maintenance_collateral_ratio"` MaximumShortSqueezeRatio UInt16 `json:"maximum_short_squeeze_ratio"` SettlementPrice Price `json:"settlement_price"` CoreExchangeRate Price `json:"core_exchange_rate"` }
func (*PriceFeed) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*PriceFeed) MarshalJSONBuf ¶
func (j *PriceFeed) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*PriceFeed) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*PriceFeed) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
func NewPrivateKeyFromWif ¶
func NewPrivateKeyFromWif(wifPrivateKey string) (*PrivateKey, error)
func (PrivateKey) Bytes ¶
func (p PrivateKey) Bytes() []byte
func (PrivateKey) ECPrivateKey ¶
func (p PrivateKey) ECPrivateKey() *btcec.PrivateKey
func (PrivateKey) Marshal ¶
func (p PrivateKey) Marshal(enc *util.TypeEncoder) error
func (PrivateKey) PublicKey ¶
func (p PrivateKey) PublicKey() *PublicKey
func (PrivateKey) SharedSecret ¶
func (p PrivateKey) SharedSecret(pub *PublicKey, skLen, macLen int) (sk []byte, err error)
func (PrivateKey) SignCompact ¶
func (p PrivateKey) SignCompact(hash []byte) (sig []byte, err error)
func (PrivateKey) ToECDSA ¶
func (p PrivateKey) ToECDSA() *ecdsa.PrivateKey
func (PrivateKey) ToHex ¶
func (p PrivateKey) ToHex() string
func (PrivateKey) ToWIF ¶
func (p PrivateKey) ToWIF() string
func (*PrivateKey) Unmarshal ¶
func (p *PrivateKey) Unmarshal(dec *util.TypeDecoder) error
type PrivateKeys ¶
type PrivateKeys []PrivateKey
type ProposalID ¶ added in v0.6.1
type ProposalID struct {
ObjectID
}
func ProposalIDFromObject ¶ added in v0.6.1
func ProposalIDFromObject(ob GrapheneObject) ProposalID
func (ProposalID) Marshal ¶ added in v0.6.1
func (p ProposalID) Marshal(enc *util.TypeEncoder) error
func (*ProposalID) Unmarshal ¶ added in v0.6.1
func (p *ProposalID) Unmarshal(dec *util.TypeDecoder) error
type ProposalIDs ¶ added in v0.6.1
type ProposalIDs []ProposalID
func (ProposalIDs) Marshal ¶ added in v0.6.1
func (p ProposalIDs) Marshal(enc *util.TypeEncoder) error
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
func NewPublicKeyFromString ¶
NewPublicKeyFromString creates a new PublicKey from string e.g.("BTS6K35Bajw29N4fjP4XADHtJ7bEj2xHJ8CoY2P2s1igXTB5oMBhR")
func (PublicKey) MarshalJSON ¶
func (PublicKey) MaxSharedKeyLength ¶
MaxSharedKeyLength returns the maximum length of the shared key the public key can produce.
func (*PublicKey) UnmarshalJSON ¶
type PublicKeys ¶
type PublicKeys []PublicKey
func (PublicKeys) Marshal ¶ added in v0.6.1
func (p PublicKeys) Marshal(enc *util.TypeEncoder) error
type RefundWorkerInitializer ¶
type RefundWorkerInitializer struct { }
func (RefundWorkerInitializer) Marshal ¶
func (p RefundWorkerInitializer) Marshal(enc *util.TypeEncoder) error
type Signatures ¶
type Signatures []Buffer
func (Signatures) Marshal ¶
func (p Signatures) Marshal(enc *util.TypeEncoder) error
func (*Signatures) Reset ¶
func (p *Signatures) Reset()
type SignedTransaction ¶
type SignedTransaction struct { Transaction Signatures Signatures `json:"signatures"` }
func NewSignedTransaction ¶
func NewSignedTransaction() *SignedTransaction
NewSignedTransaction creates an new SignedTransaction
func NewSignedTransactionWithBlockData ¶
func NewSignedTransactionWithBlockData(props *DynamicGlobalProperties) (*SignedTransaction, error)
NewSignedTransactionWithBlockData creates a new SignedTransaction and initializes relevant Blockdata fields and expiration.
func (SignedTransaction) Digest ¶
func (tx SignedTransaction) Digest(chain *config.ChainConfig) ([]byte, error)
Digest calculates ths sha256 hash of the transaction.
func (SignedTransaction) Marshal ¶
func (p SignedTransaction) Marshal(enc *util.TypeEncoder) error
func (*SignedTransaction) MarshalJSON ¶
func (j *SignedTransaction) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*SignedTransaction) MarshalJSONBuf ¶
func (j *SignedTransaction) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (SignedTransaction) SerializeTrx ¶
func (p SignedTransaction) SerializeTrx() ([]byte, error)
SerializeTrx serializes the transaction wihout signatures.
func (SignedTransaction) ToHex ¶
func (p SignedTransaction) ToHex() (string, error)
ToHex returns th hex representation of the underlying transaction + signatures.
func (*SignedTransaction) UnmarshalJSON ¶
func (j *SignedTransaction) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*SignedTransaction) UnmarshalJSONFFLexer ¶
func (j *SignedTransaction) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type SignedTransactionWithTransactionId ¶
type SignedTransactionWithTransactionId struct { TransactionId string SignedTransaction SignedTransaction }
func (SignedTransactionWithTransactionId) Marshal ¶
func (p SignedTransactionWithTransactionId) Marshal(enc *util.TypeEncoder) error
func (SignedTransactionWithTransactionId) MarshalJSON ¶
func (p SignedTransactionWithTransactionId) MarshalJSON() ([]byte, error)
func (*SignedTransactionWithTransactionId) UnmarshalJSON ¶
func (p *SignedTransactionWithTransactionId) UnmarshalJSON(data []byte) error
type SignedTransactions ¶
type SignedTransactions []SignedTransaction
type SpecialAuthority ¶ added in v0.6.1
type SpecialAuthority struct { Type SpecialAuthorityType Auth interface{} }
func (SpecialAuthority) Marshal ¶ added in v0.6.1
func (p SpecialAuthority) Marshal(enc *util.TypeEncoder) error
func (SpecialAuthority) MarshalJSON ¶ added in v0.6.1
func (p SpecialAuthority) MarshalJSON() ([]byte, error)
func (*SpecialAuthority) UnmarshalJSON ¶ added in v0.6.1
func (p *SpecialAuthority) UnmarshalJSON(data []byte) error
type SpecialAuthorityID ¶ added in v0.6.1
type SpecialAuthorityID struct {
ObjectID
}
func SpecialAuthorityIDFromObject ¶ added in v0.6.1
func SpecialAuthorityIDFromObject(ob GrapheneObject) SpecialAuthorityID
func (SpecialAuthorityID) Marshal ¶ added in v0.6.1
func (p SpecialAuthorityID) Marshal(enc *util.TypeEncoder) error
func (*SpecialAuthorityID) Unmarshal ¶ added in v0.6.1
func (p *SpecialAuthorityID) Unmarshal(dec *util.TypeDecoder) error
type SpecialAuthorityIDs ¶ added in v0.6.1
type SpecialAuthorityIDs []SpecialAuthorityID
func (SpecialAuthorityIDs) Marshal ¶ added in v0.6.1
func (p SpecialAuthorityIDs) Marshal(enc *util.TypeEncoder) error
type SpecialAuthorityType ¶
type SpecialAuthorityType UInt8
const ( SpecialAuthorityTypeNoSpecial SpecialAuthorityType = iota SpecialAuthorityTypeTopHolders )
type StealthConfirmation ¶ added in v0.6.1
type StealthConfirmation struct { OneTimeKey PublicKey `json:"one_time_key"` To *PublicKey `json:"to,omitempty"` EncryptedMemo Buffer `json:"encrypted_memo"` }
func (StealthConfirmation) Marshal ¶ added in v0.6.1
func (p StealthConfirmation) Marshal(enc *util.TypeEncoder) error
func (*StealthConfirmation) MarshalJSON ¶ added in v0.6.1
func (j *StealthConfirmation) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*StealthConfirmation) MarshalJSONBuf ¶ added in v0.6.1
func (j *StealthConfirmation) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*StealthConfirmation) UnmarshalJSON ¶ added in v0.6.1
func (j *StealthConfirmation) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*StealthConfirmation) UnmarshalJSONFFLexer ¶ added in v0.6.1
func (j *StealthConfirmation) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type String ¶ added in v0.6.1
type String struct {
// contains filtered or unexported fields
}
func (String) MarshalJSON ¶ added in v0.6.1
func (*String) UnmarshalJSON ¶ added in v0.6.1
type TargetCollRatio ¶
type TargetCollRatio UInt16
func (TargetCollRatio) Marshal ¶
func (p TargetCollRatio) Marshal(enc *util.TypeEncoder) error
type TopHoldersSpecialAuthority ¶
type TopHoldersSpecialAuthority struct { Asset AssetID `json:"asset"` NumTopHolders UInt8 `json:"num_top_holders"` }
func (TopHoldersSpecialAuthority) Marshal ¶
func (p TopHoldersSpecialAuthority) Marshal(enc *util.TypeEncoder) error
func (*TopHoldersSpecialAuthority) MarshalJSON ¶
func (j *TopHoldersSpecialAuthority) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*TopHoldersSpecialAuthority) MarshalJSONBuf ¶
func (j *TopHoldersSpecialAuthority) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*TopHoldersSpecialAuthority) UnmarshalJSON ¶
func (j *TopHoldersSpecialAuthority) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*TopHoldersSpecialAuthority) UnmarshalJSONFFLexer ¶
func (j *TopHoldersSpecialAuthority) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type Transaction ¶
type Transaction struct { RefBlockNum UInt16 `json:"ref_block_num"` RefBlockPrefix UInt32 `json:"ref_block_prefix"` Expiration Time `json:"expiration"` Operations Operations `json:"operations"` Extensions Extensions `json:"extensions"` }
func (*Transaction) AdjustExpiration ¶
func (p *Transaction) AdjustExpiration(dur time.Duration)
AdjustExpiration extends expiration by given duration.
func (Transaction) Marshal ¶
func (p Transaction) Marshal(enc *util.TypeEncoder) error
func (*Transaction) MarshalJSON ¶ added in v0.6.1
func (j *Transaction) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*Transaction) MarshalJSONBuf ¶ added in v0.6.1
func (j *Transaction) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Transaction) UnmarshalJSON ¶ added in v0.6.1
func (j *Transaction) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*Transaction) UnmarshalJSONFFLexer ¶ added in v0.6.1
func (j *Transaction) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type TransactionID ¶ added in v0.6.1
type TransactionID struct {
ObjectID
}
func TransactionIDFromObject ¶ added in v0.6.1
func TransactionIDFromObject(ob GrapheneObject) TransactionID
func (TransactionID) Marshal ¶ added in v0.6.1
func (p TransactionID) Marshal(enc *util.TypeEncoder) error
func (*TransactionID) Unmarshal ¶ added in v0.6.1
func (p *TransactionID) Unmarshal(dec *util.TypeDecoder) error
type TransactionIDs ¶ added in v0.6.1
type TransactionIDs []TransactionID
func (TransactionIDs) Marshal ¶ added in v0.6.1
func (p TransactionIDs) Marshal(enc *util.TypeEncoder) error
type Unmarshalable ¶ added in v0.6.1
type VestingBalance ¶
type VestingBalance struct { ID VestingBalanceID `json:"id"` Balance AssetAmount `json:"balance"` Owner AccountID `json:"owner"` Policy VestingPolicy `json:"policy"` }
func (*VestingBalance) MarshalJSON ¶
func (j *VestingBalance) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*VestingBalance) MarshalJSONBuf ¶
func (j *VestingBalance) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*VestingBalance) UnmarshalJSON ¶
func (j *VestingBalance) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*VestingBalance) UnmarshalJSONFFLexer ¶
func (j *VestingBalance) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type VestingBalanceID ¶ added in v0.6.1
type VestingBalanceID struct {
ObjectID
}
func VestingBalanceIDFromObject ¶ added in v0.6.1
func VestingBalanceIDFromObject(ob GrapheneObject) VestingBalanceID
func (VestingBalanceID) Marshal ¶ added in v0.6.1
func (p VestingBalanceID) Marshal(enc *util.TypeEncoder) error
func (*VestingBalanceID) Unmarshal ¶ added in v0.6.1
func (p *VestingBalanceID) Unmarshal(dec *util.TypeDecoder) error
type VestingBalanceIDs ¶ added in v0.6.1
type VestingBalanceIDs []VestingBalanceID
func (VestingBalanceIDs) Marshal ¶ added in v0.6.1
func (p VestingBalanceIDs) Marshal(enc *util.TypeEncoder) error
type VestingBalanceWorkerInitializer ¶
type VestingBalanceWorkerInitializer struct {
PayVestingPeriodDays UInt16 `json:"pay_vesting_period_days"`
}
func (VestingBalanceWorkerInitializer) Marshal ¶
func (p VestingBalanceWorkerInitializer) Marshal(enc *util.TypeEncoder) error
type VestingBalances ¶
type VestingBalances []VestingBalance
type VestingPolicy ¶
type VestingPolicy struct {
// contains filtered or unexported fields
}
func (VestingPolicy) Marshal ¶
func (p VestingPolicy) Marshal(enc *util.TypeEncoder) error
func (VestingPolicy) MarshalJSON ¶
func (p VestingPolicy) MarshalJSON() ([]byte, error)
func (*VestingPolicy) UnmarshalJSON ¶
func (p *VestingPolicy) UnmarshalJSON(data []byte) error
type VestingPolicyType ¶
type VestingPolicyType UInt8
const ( VestingPolicyTypeLinear VestingPolicyType = iota VestingPolicyTypeCCD )
type Volume24 ¶
type Volume24 struct { Base String `json:"base"` BaseVolume Float64 `json:"base_volume"` Quote String `json:"quote"` QuoteVolume Float64 `json:"quote_volume"` Time Time `json:"time"` }
func (*Volume24) MarshalJSON ¶
MarshalJSON marshal bytes to json - template
func (*Volume24) MarshalJSONBuf ¶
func (j *Volume24) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*Volume24) UnmarshalJSON ¶
UnmarshalJSON umarshall json - template of ffjson
func (*Volume24) UnmarshalJSONFFLexer ¶
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type VoteID ¶
type VoteID struct {
// contains filtered or unexported fields
}
func (VoteID) MarshalJSON ¶
func (*VoteID) UnmarshalJSON ¶
type WithdrawPermissionID ¶ added in v0.6.1
type WithdrawPermissionID struct {
ObjectID
}
func WithdrawPermissionIDFromObject ¶ added in v0.6.1
func WithdrawPermissionIDFromObject(ob GrapheneObject) WithdrawPermissionID
func (WithdrawPermissionID) Marshal ¶ added in v0.6.1
func (p WithdrawPermissionID) Marshal(enc *util.TypeEncoder) error
func (*WithdrawPermissionID) Unmarshal ¶ added in v0.6.1
func (p *WithdrawPermissionID) Unmarshal(dec *util.TypeDecoder) error
type WithdrawPermissionIDs ¶ added in v0.6.1
type WithdrawPermissionIDs []WithdrawPermissionID
func (WithdrawPermissionIDs) Marshal ¶ added in v0.6.1
func (p WithdrawPermissionIDs) Marshal(enc *util.TypeEncoder) error
type WitnessID ¶ added in v0.6.1
type WitnessID struct {
ObjectID
}
func WitnessIDFromObject ¶ added in v0.6.1
func WitnessIDFromObject(ob GrapheneObject) WitnessID
type WitnessIDs ¶ added in v0.6.1
type WitnessIDs []WitnessID
func (WitnessIDs) Marshal ¶ added in v0.6.1
func (p WitnessIDs) Marshal(enc *util.TypeEncoder) error
type WitnessScheduleID ¶ added in v0.6.1
type WitnessScheduleID struct {
ObjectID
}
func WitnessScheduleIDFromObject ¶ added in v0.6.1
func WitnessScheduleIDFromObject(ob GrapheneObject) WitnessScheduleID
func (WitnessScheduleID) Marshal ¶ added in v0.6.1
func (p WitnessScheduleID) Marshal(enc *util.TypeEncoder) error
func (*WitnessScheduleID) Unmarshal ¶ added in v0.6.1
func (p *WitnessScheduleID) Unmarshal(dec *util.TypeDecoder) error
type WitnessScheduleIDs ¶ added in v0.6.1
type WitnessScheduleIDs []WitnessScheduleID
func (WitnessScheduleIDs) Marshal ¶ added in v0.6.1
func (p WitnessScheduleIDs) Marshal(enc *util.TypeEncoder) error
type WorkerID ¶ added in v0.6.1
type WorkerID struct {
ObjectID
}
func WorkerIDFromObject ¶ added in v0.6.1
func WorkerIDFromObject(ob GrapheneObject) WorkerID
type WorkerInitializer ¶
type WorkerInitializer struct { Type WorkerInitializerType Initializer interface{} }
func (WorkerInitializer) Marshal ¶
func (p WorkerInitializer) Marshal(enc *util.TypeEncoder) error
func (WorkerInitializer) MarshalJSON ¶
func (p WorkerInitializer) MarshalJSON() ([]byte, error)
func (*WorkerInitializer) UnmarshalJSON ¶
func (p *WorkerInitializer) UnmarshalJSON(data []byte) error
type WorkerInitializerType ¶
type WorkerInitializerType UInt8
const ( WorkerInitializerTypeRefund WorkerInitializerType = iota WorkerInitializerTypeVestingBalance WorkerInitializerTypeBurn )
Source Files ¶
- account.go
- account_ffjson.go
- accountbalance.go
- accountbalance_ffjson.go
- accountextensions.go
- accountextensions_ffjson.go
- accountoptions.go
- accountoptions_ffjson.go
- accountstatistics.go
- accountstatistics_ffjson.go
- address.go
- asset.go
- asset_ffjson.go
- assetamount.go
- assetamount_ffjson.go
- assetfeed.go
- assetoptions.go
- assetoptions_ffjson.go
- assetpermission_string.go
- assettype_string.go
- authority.go
- authority_ffjson.go
- balance.go
- balance_ffjson.go
- bitassetdata.go
- bitassetdata_ffjson.go
- blindinout.go
- blindinout_ffjson.go
- block.go
- block_ffjson.go
- broadcastresponse.go
- broadcastresponse_ffjson.go
- callorder.go
- callorder_ffjson.go
- callorderupdateextensions.go
- callorderupdateextensions_ffjson.go
- committeemember.go
- committeemember_ffjson.go
- dynamicglobalproperties.go
- dynamicglobalproperties_ffjson.go
- extensions.go
- extensions_ffjson.go
- feeschedule.go
- forcesettlementorder.go
- forcesettlementorder_ffjson.go
- fullaccount.go
- fullaccount_ffjson.go
- gen.go
- gen_accountbalanceid.go
- gen_accountid.go
- gen_accountstatisticsid.go
- gen_accounttransactionhistoryid.go
- gen_assetbitassetdataid.go
- gen_assetdynamicdataid.go
- gen_assetid.go
- gen_balanceid.go
- gen_blindedbalanceid.go
- gen_blocksummaryid.go
- gen_budgetrecordid.go
- gen_callorderid.go
- gen_chainpropertyid.go
- gen_committeememberid.go
- gen_customid.go
- gen_dynamicglobalpropertyid.go
- gen_forcesettlementid.go
- gen_globalpropertyid.go
- gen_limitorderid.go
- gen_operationhistoryid.go
- gen_proposalid.go
- gen_specialauthorityid.go
- gen_transactionid.go
- gen_vestingbalanceid.go
- gen_withdrawpermissionid.go
- gen_witnessid.go
- gen_witnessscheduleid.go
- gen_workerid.go
- info.go
- limitorder.go
- limitorder_ffjson.go
- marketticker.go
- markettrade.go
- markettrade_ffjson.go
- memo.go
- memo_ffjson.go
- objectid.go
- objecttype_string.go
- operationfee.go
- operationhistory.go
- operationhistory_ffjson.go
- operations.go
- operationtype_string.go
- orderbook.go
- orderbook_ffjson.go
- price.go
- price_ffjson.go
- pricefeed.go
- pricefeed_ffjson.go
- privatekey.go
- publickey.go
- signature.go
- signature_ffjson.go
- signedtransaction.go
- signedtransaction_ffjson.go
- spacetype_string.go
- transaction.go
- transaction_ffjson.go
- types.go
- vestingbalance.go
- vestingbalance_ffjson.go
- vestingpolicy.go
- vestingpolicy_ffjson.go
- volume24.go
- volume24_ffjson.go
- vote.go
- workerinitializer.go