Documentation ¶
Index ¶
- func UnixTimeNow() uint64
- type ActivateProtocolVersionBuilder
- type AddCreditsBuilder
- func (b AddCreditsBuilder) Done() (*protocol.Transaction, error)
- func (b AddCreditsBuilder) Purchase(amount float64) AddCreditsBuilder
- func (b AddCreditsBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b AddCreditsBuilder) Spend(amount float64) AddCreditsBuilder
- func (b AddCreditsBuilder) To(url any, path ...string) AddCreditsBuilder
- func (b AddCreditsBuilder) WithOracle(value float64) AddCreditsBuilder
- type AddKeyOperationBuilder
- type BurnTokensBuilder
- type CreateDataAccountBuilder
- type CreateIdentityBuilder
- func (b CreateIdentityBuilder) Done() (*protocol.Transaction, error)
- func (b CreateIdentityBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b CreateIdentityBuilder) WithAuthority(book any, path ...string) CreateIdentityBuilder
- func (b CreateIdentityBuilder) WithKey(key any, typ protocol.SignatureType) CreateIdentityBuilder
- func (b CreateIdentityBuilder) WithKeyBook(book any, path ...string) CreateIdentityBuilder
- func (b CreateIdentityBuilder) WithKeyHash(hash any) CreateIdentityBuilder
- type CreateKeyBookBuilder
- func (b CreateKeyBookBuilder) Done() (*protocol.Transaction, error)
- func (b CreateKeyBookBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b CreateKeyBookBuilder) WithAuthority(book any, path ...string) CreateKeyBookBuilder
- func (b CreateKeyBookBuilder) WithKey(key any, typ protocol.SignatureType) CreateKeyBookBuilder
- func (b CreateKeyBookBuilder) WithKeyHash(hash any) CreateKeyBookBuilder
- type CreateKeyPageBuilder
- type CreateTokenAccountBuilder
- func (b CreateTokenAccountBuilder) Done() (*protocol.Transaction, error)
- func (b CreateTokenAccountBuilder) ForToken(token any, path ...string) CreateTokenAccountBuilder
- func (b CreateTokenAccountBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b CreateTokenAccountBuilder) WithAuthority(book any, path ...string) CreateTokenAccountBuilder
- type CreateTokenBuilder
- func (b CreateTokenBuilder) Done() (*protocol.Transaction, error)
- func (b CreateTokenBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b CreateTokenBuilder) WithAuthority(book any, path ...string) CreateTokenBuilder
- func (b CreateTokenBuilder) WithPrecision(precision any) CreateTokenBuilder
- func (b CreateTokenBuilder) WithSupplyLimit(limit any) CreateTokenBuilder
- func (b CreateTokenBuilder) WithSymbol(symbol string) CreateTokenBuilder
- type Errors
- type IssueTokensBuilder
- func (b IssueTokensBuilder) And(amount any, precision uint64) IssueTokensBuilder
- func (b IssueTokensBuilder) Done() (*protocol.Transaction, error)
- func (b IssueTokensBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b IssueTokensBuilder) To(recipient any, path ...string) IssueTokensBuilder
- type KeyPageEntryBuilder
- func (b KeyPageEntryBuilder[T]) FinishEntry() T
- func (b KeyPageEntryBuilder[T]) Hash(hash any) KeyPageEntryBuilder[T]
- func (b KeyPageEntryBuilder[T]) Key(key any, typ protocol.SignatureType) KeyPageEntryBuilder[T]
- func (b KeyPageEntryBuilder[T]) Owner(owner any, path ...string) KeyPageEntryBuilder[T]
- type RemoveKeyOperationBuilder
- type SendTokensBuilder
- func (b SendTokensBuilder) And(amount any, precision uint64) SendTokensBuilder
- func (b SendTokensBuilder) Done() (*protocol.Transaction, error)
- func (b SendTokensBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b SendTokensBuilder) To(recipient any, path ...string) SendTokensBuilder
- type SignatureBuilder
- func (b SignatureBuilder) Delegator(delegator any, path ...string) SignatureBuilder
- func (b SignatureBuilder) Done() (*protocol.Envelope, error)
- func (b SignatureBuilder) PrivateKey(key []byte) SignatureBuilder
- func (b SignatureBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b SignatureBuilder) Signer(signer signing.Signer) SignatureBuilder
- func (b SignatureBuilder) Timestamp(timestamp any) SignatureBuilder
- func (b SignatureBuilder) Type(typ protocol.SignatureType) SignatureBuilder
- func (b SignatureBuilder) Url(signer any, path ...string) SignatureBuilder
- func (b SignatureBuilder) Version(version any) SignatureBuilder
- type TransactionBuilder
- func (b TransactionBuilder) ActivateProtocolVersion(version protocol.ExecutorVersion) ActivateProtocolVersionBuilder
- func (b TransactionBuilder) AddCredits() AddCreditsBuilder
- func (b TransactionBuilder) Body(body protocol.TransactionBody) TransactionBuilder
- func (b TransactionBuilder) BurnTokens(amount any, precision uint64) BurnTokensBuilder
- func (b TransactionBuilder) CreateDataAccount(url any, path ...string) CreateDataAccountBuilder
- func (b TransactionBuilder) CreateIdentity(url any, path ...string) CreateIdentityBuilder
- func (b TransactionBuilder) CreateKeyBook(url any, path ...string) CreateKeyBookBuilder
- func (b TransactionBuilder) CreateKeyPage() CreateKeyPageBuilder
- func (b TransactionBuilder) CreateToken(url any, path ...string) CreateTokenBuilder
- func (b TransactionBuilder) CreateTokenAccount(url any, path ...string) CreateTokenAccountBuilder
- func (b TransactionBuilder) Done() (*protocol.Transaction, error)
- func (b TransactionBuilder) For(principal any, path ...string) TransactionBuilder
- func (b TransactionBuilder) Initiator(init any) TransactionBuilder
- func (b TransactionBuilder) IssueTokens(amount any, precision uint64) IssueTokensBuilder
- func (b TransactionBuilder) Memo(memo string) TransactionBuilder
- func (b TransactionBuilder) Metadata(metadata []byte) TransactionBuilder
- func (b TransactionBuilder) SendTokens(amount any, precision uint64) SendTokensBuilder
- func (b TransactionBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b TransactionBuilder) UpdateAccountAuth() UpdateAccountAuthBuilder
- func (b TransactionBuilder) UpdateKey(newKey any, typ protocol.SignatureType) UpdateKeyBuilder
- func (b TransactionBuilder) UpdateKeyPage() UpdateKeyPageBuilder
- func (b TransactionBuilder) WriteData(data ...any) WriteDataBuilder
- type UpdateAccountAuthBuilder
- func (b UpdateAccountAuthBuilder) Add(authority any, path ...string) UpdateAccountAuthBuilder
- func (b UpdateAccountAuthBuilder) Disable(authority any, path ...string) UpdateAccountAuthBuilder
- func (b UpdateAccountAuthBuilder) Done() (*protocol.Transaction, error)
- func (b UpdateAccountAuthBuilder) Enable(authority any, path ...string) UpdateAccountAuthBuilder
- func (b UpdateAccountAuthBuilder) Remove(authority any, path ...string) UpdateAccountAuthBuilder
- func (b UpdateAccountAuthBuilder) SignWith(signer any, path ...string) SignatureBuilder
- type UpdateAllowedKeyPageOperationBuilder
- func (b UpdateAllowedKeyPageOperationBuilder) Allow(typ protocol.TransactionType) UpdateAllowedKeyPageOperationBuilder
- func (b UpdateAllowedKeyPageOperationBuilder) Deny(typ protocol.TransactionType) UpdateAllowedKeyPageOperationBuilder
- func (b UpdateAllowedKeyPageOperationBuilder) FinishOperation() UpdateKeyPageBuilder
- type UpdateKeyBuilder
- type UpdateKeyOperationBuilder
- type UpdateKeyPageBuilder
- func (b UpdateKeyPageBuilder) Add() AddKeyOperationBuilder
- func (b UpdateKeyPageBuilder) Done() (*protocol.Transaction, error)
- func (b UpdateKeyPageBuilder) Remove() RemoveKeyOperationBuilder
- func (b UpdateKeyPageBuilder) SetThreshold(v uint64) UpdateKeyPageBuilder
- func (b UpdateKeyPageBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b UpdateKeyPageBuilder) Update() UpdateKeyOperationBuilder
- func (b UpdateKeyPageBuilder) UpdateAllowed() UpdateAllowedKeyPageOperationBuilder
- type WriteDataBuilder
- func (b WriteDataBuilder) Done() (*protocol.Transaction, error)
- func (b WriteDataBuilder) Scratch() WriteDataBuilder
- func (b WriteDataBuilder) SignWith(signer any, path ...string) SignatureBuilder
- func (b WriteDataBuilder) To(recipient any, path ...string) WriteDataToBuilder
- func (b WriteDataBuilder) ToState() WriteDataBuilder
- type WriteDataToBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnixTimeNow ¶
func UnixTimeNow() uint64
UnixTimeNow returns the current time as a number of milliseconds since the Unix epoch. This is the recommended timestamp value.
Types ¶
type ActivateProtocolVersionBuilder ¶ added in v1.0.2
type ActivateProtocolVersionBuilder struct {
// contains filtered or unexported fields
}
func (ActivateProtocolVersionBuilder) Done ¶ added in v1.0.2
func (b ActivateProtocolVersionBuilder) Done() (*protocol.Transaction, error)
func (ActivateProtocolVersionBuilder) SignWith ¶ added in v1.0.2
func (b ActivateProtocolVersionBuilder) SignWith(signer any, path ...string) SignatureBuilder
type AddCreditsBuilder ¶
type AddCreditsBuilder struct {
// contains filtered or unexported fields
}
func (AddCreditsBuilder) Done ¶
func (b AddCreditsBuilder) Done() (*protocol.Transaction, error)
func (AddCreditsBuilder) Purchase ¶ added in v1.0.1
func (b AddCreditsBuilder) Purchase(amount float64) AddCreditsBuilder
func (AddCreditsBuilder) SignWith ¶
func (b AddCreditsBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (AddCreditsBuilder) Spend ¶
func (b AddCreditsBuilder) Spend(amount float64) AddCreditsBuilder
func (AddCreditsBuilder) To ¶
func (b AddCreditsBuilder) To(url any, path ...string) AddCreditsBuilder
func (AddCreditsBuilder) WithOracle ¶
func (b AddCreditsBuilder) WithOracle(value float64) AddCreditsBuilder
type AddKeyOperationBuilder ¶
type AddKeyOperationBuilder struct {
// contains filtered or unexported fields
}
func (AddKeyOperationBuilder) Entry ¶
func (b AddKeyOperationBuilder) Entry() KeyPageEntryBuilder[AddKeyOperationBuilder]
func (AddKeyOperationBuilder) FinishOperation ¶
func (b AddKeyOperationBuilder) FinishOperation() UpdateKeyPageBuilder
type BurnTokensBuilder ¶
type BurnTokensBuilder struct {
// contains filtered or unexported fields
}
func (BurnTokensBuilder) Done ¶
func (b BurnTokensBuilder) Done() (*protocol.Transaction, error)
func (BurnTokensBuilder) SignWith ¶
func (b BurnTokensBuilder) SignWith(signer any, path ...string) SignatureBuilder
type CreateDataAccountBuilder ¶
type CreateDataAccountBuilder struct {
// contains filtered or unexported fields
}
func (CreateDataAccountBuilder) Done ¶
func (b CreateDataAccountBuilder) Done() (*protocol.Transaction, error)
func (CreateDataAccountBuilder) SignWith ¶
func (b CreateDataAccountBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (CreateDataAccountBuilder) WithAuthority ¶
func (b CreateDataAccountBuilder) WithAuthority(book any, path ...string) CreateDataAccountBuilder
type CreateIdentityBuilder ¶
type CreateIdentityBuilder struct {
// contains filtered or unexported fields
}
func (CreateIdentityBuilder) Done ¶
func (b CreateIdentityBuilder) Done() (*protocol.Transaction, error)
func (CreateIdentityBuilder) SignWith ¶
func (b CreateIdentityBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (CreateIdentityBuilder) WithAuthority ¶
func (b CreateIdentityBuilder) WithAuthority(book any, path ...string) CreateIdentityBuilder
func (CreateIdentityBuilder) WithKey ¶
func (b CreateIdentityBuilder) WithKey(key any, typ protocol.SignatureType) CreateIdentityBuilder
func (CreateIdentityBuilder) WithKeyBook ¶
func (b CreateIdentityBuilder) WithKeyBook(book any, path ...string) CreateIdentityBuilder
func (CreateIdentityBuilder) WithKeyHash ¶
func (b CreateIdentityBuilder) WithKeyHash(hash any) CreateIdentityBuilder
type CreateKeyBookBuilder ¶
type CreateKeyBookBuilder struct {
// contains filtered or unexported fields
}
func (CreateKeyBookBuilder) Done ¶
func (b CreateKeyBookBuilder) Done() (*protocol.Transaction, error)
func (CreateKeyBookBuilder) SignWith ¶
func (b CreateKeyBookBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (CreateKeyBookBuilder) WithAuthority ¶
func (b CreateKeyBookBuilder) WithAuthority(book any, path ...string) CreateKeyBookBuilder
func (CreateKeyBookBuilder) WithKey ¶
func (b CreateKeyBookBuilder) WithKey(key any, typ protocol.SignatureType) CreateKeyBookBuilder
func (CreateKeyBookBuilder) WithKeyHash ¶
func (b CreateKeyBookBuilder) WithKeyHash(hash any) CreateKeyBookBuilder
type CreateKeyPageBuilder ¶
type CreateKeyPageBuilder struct {
// contains filtered or unexported fields
}
func (CreateKeyPageBuilder) Done ¶
func (b CreateKeyPageBuilder) Done() (*protocol.Transaction, error)
func (CreateKeyPageBuilder) SignWith ¶
func (b CreateKeyPageBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (CreateKeyPageBuilder) WithEntry ¶
func (b CreateKeyPageBuilder) WithEntry() KeyPageEntryBuilder[CreateKeyPageBuilder]
type CreateTokenAccountBuilder ¶
type CreateTokenAccountBuilder struct {
// contains filtered or unexported fields
}
func (CreateTokenAccountBuilder) Done ¶
func (b CreateTokenAccountBuilder) Done() (*protocol.Transaction, error)
func (CreateTokenAccountBuilder) ForToken ¶
func (b CreateTokenAccountBuilder) ForToken(token any, path ...string) CreateTokenAccountBuilder
func (CreateTokenAccountBuilder) SignWith ¶
func (b CreateTokenAccountBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (CreateTokenAccountBuilder) WithAuthority ¶
func (b CreateTokenAccountBuilder) WithAuthority(book any, path ...string) CreateTokenAccountBuilder
type CreateTokenBuilder ¶
type CreateTokenBuilder struct {
// contains filtered or unexported fields
}
func (CreateTokenBuilder) Done ¶
func (b CreateTokenBuilder) Done() (*protocol.Transaction, error)
func (CreateTokenBuilder) SignWith ¶
func (b CreateTokenBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (CreateTokenBuilder) WithAuthority ¶
func (b CreateTokenBuilder) WithAuthority(book any, path ...string) CreateTokenBuilder
func (CreateTokenBuilder) WithPrecision ¶
func (b CreateTokenBuilder) WithPrecision(precision any) CreateTokenBuilder
func (CreateTokenBuilder) WithSupplyLimit ¶
func (b CreateTokenBuilder) WithSupplyLimit(limit any) CreateTokenBuilder
func (CreateTokenBuilder) WithSymbol ¶
func (b CreateTokenBuilder) WithSymbol(symbol string) CreateTokenBuilder
type IssueTokensBuilder ¶
type IssueTokensBuilder struct {
// contains filtered or unexported fields
}
func (IssueTokensBuilder) And ¶
func (b IssueTokensBuilder) And(amount any, precision uint64) IssueTokensBuilder
func (IssueTokensBuilder) Done ¶
func (b IssueTokensBuilder) Done() (*protocol.Transaction, error)
func (IssueTokensBuilder) SignWith ¶
func (b IssueTokensBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (IssueTokensBuilder) To ¶
func (b IssueTokensBuilder) To(recipient any, path ...string) IssueTokensBuilder
type KeyPageEntryBuilder ¶
type KeyPageEntryBuilder[T keyPageEntryBuilderArg[T]] struct {
// contains filtered or unexported fields
}
func (KeyPageEntryBuilder[T]) FinishEntry ¶
func (b KeyPageEntryBuilder[T]) FinishEntry() T
func (KeyPageEntryBuilder[T]) Hash ¶
func (b KeyPageEntryBuilder[T]) Hash(hash any) KeyPageEntryBuilder[T]
func (KeyPageEntryBuilder[T]) Key ¶
func (b KeyPageEntryBuilder[T]) Key(key any, typ protocol.SignatureType) KeyPageEntryBuilder[T]
func (KeyPageEntryBuilder[T]) Owner ¶
func (b KeyPageEntryBuilder[T]) Owner(owner any, path ...string) KeyPageEntryBuilder[T]
type RemoveKeyOperationBuilder ¶
type RemoveKeyOperationBuilder struct {
// contains filtered or unexported fields
}
func (RemoveKeyOperationBuilder) Entry ¶
func (b RemoveKeyOperationBuilder) Entry() KeyPageEntryBuilder[RemoveKeyOperationBuilder]
func (RemoveKeyOperationBuilder) FinishOperation ¶
func (b RemoveKeyOperationBuilder) FinishOperation() UpdateKeyPageBuilder
type SendTokensBuilder ¶
type SendTokensBuilder struct {
// contains filtered or unexported fields
}
func (SendTokensBuilder) And ¶
func (b SendTokensBuilder) And(amount any, precision uint64) SendTokensBuilder
func (SendTokensBuilder) Done ¶
func (b SendTokensBuilder) Done() (*protocol.Transaction, error)
func (SendTokensBuilder) SignWith ¶
func (b SendTokensBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (SendTokensBuilder) To ¶
func (b SendTokensBuilder) To(recipient any, path ...string) SendTokensBuilder
type SignatureBuilder ¶
type SignatureBuilder struct {
// contains filtered or unexported fields
}
SignatureBuilder builds a signature. SignatureBuilder should not be constructed directly.
func SignatureForHash ¶
func SignatureForHash(hash []byte) SignatureBuilder
func SignatureForTransaction ¶
func SignatureForTransaction(txn *protocol.Transaction) SignatureBuilder
func SignatureForTxID ¶ added in v1.0.1
func SignatureForTxID(txid *url.TxID) SignatureBuilder
func (SignatureBuilder) Delegator ¶
func (b SignatureBuilder) Delegator(delegator any, path ...string) SignatureBuilder
func (SignatureBuilder) PrivateKey ¶
func (b SignatureBuilder) PrivateKey(key []byte) SignatureBuilder
func (SignatureBuilder) SignWith ¶
func (b SignatureBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (SignatureBuilder) Signer ¶
func (b SignatureBuilder) Signer(signer signing.Signer) SignatureBuilder
func (SignatureBuilder) Timestamp ¶
func (b SignatureBuilder) Timestamp(timestamp any) SignatureBuilder
func (SignatureBuilder) Type ¶
func (b SignatureBuilder) Type(typ protocol.SignatureType) SignatureBuilder
func (SignatureBuilder) Url ¶
func (b SignatureBuilder) Url(signer any, path ...string) SignatureBuilder
func (SignatureBuilder) Version ¶
func (b SignatureBuilder) Version(version any) SignatureBuilder
type TransactionBuilder ¶
type TransactionBuilder struct {
// contains filtered or unexported fields
}
func Transaction ¶
func Transaction() TransactionBuilder
func (TransactionBuilder) ActivateProtocolVersion ¶ added in v1.0.2
func (b TransactionBuilder) ActivateProtocolVersion(version protocol.ExecutorVersion) ActivateProtocolVersionBuilder
func (TransactionBuilder) AddCredits ¶
func (b TransactionBuilder) AddCredits() AddCreditsBuilder
func (TransactionBuilder) Body ¶
func (b TransactionBuilder) Body(body protocol.TransactionBody) TransactionBuilder
func (TransactionBuilder) BurnTokens ¶
func (b TransactionBuilder) BurnTokens(amount any, precision uint64) BurnTokensBuilder
func (TransactionBuilder) CreateDataAccount ¶
func (b TransactionBuilder) CreateDataAccount(url any, path ...string) CreateDataAccountBuilder
func (TransactionBuilder) CreateIdentity ¶
func (b TransactionBuilder) CreateIdentity(url any, path ...string) CreateIdentityBuilder
func (TransactionBuilder) CreateKeyBook ¶
func (b TransactionBuilder) CreateKeyBook(url any, path ...string) CreateKeyBookBuilder
func (TransactionBuilder) CreateKeyPage ¶
func (b TransactionBuilder) CreateKeyPage() CreateKeyPageBuilder
func (TransactionBuilder) CreateToken ¶
func (b TransactionBuilder) CreateToken(url any, path ...string) CreateTokenBuilder
func (TransactionBuilder) CreateTokenAccount ¶
func (b TransactionBuilder) CreateTokenAccount(url any, path ...string) CreateTokenAccountBuilder
func (TransactionBuilder) Done ¶
func (b TransactionBuilder) Done() (*protocol.Transaction, error)
func (TransactionBuilder) For ¶
func (b TransactionBuilder) For(principal any, path ...string) TransactionBuilder
func (TransactionBuilder) Initiator ¶
func (b TransactionBuilder) Initiator(init any) TransactionBuilder
func (TransactionBuilder) IssueTokens ¶
func (b TransactionBuilder) IssueTokens(amount any, precision uint64) IssueTokensBuilder
func (TransactionBuilder) Memo ¶
func (b TransactionBuilder) Memo(memo string) TransactionBuilder
func (TransactionBuilder) Metadata ¶
func (b TransactionBuilder) Metadata(metadata []byte) TransactionBuilder
func (TransactionBuilder) SendTokens ¶
func (b TransactionBuilder) SendTokens(amount any, precision uint64) SendTokensBuilder
func (TransactionBuilder) SignWith ¶
func (b TransactionBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (TransactionBuilder) UpdateAccountAuth ¶
func (b TransactionBuilder) UpdateAccountAuth() UpdateAccountAuthBuilder
func (TransactionBuilder) UpdateKey ¶
func (b TransactionBuilder) UpdateKey(newKey any, typ protocol.SignatureType) UpdateKeyBuilder
func (TransactionBuilder) UpdateKeyPage ¶
func (b TransactionBuilder) UpdateKeyPage() UpdateKeyPageBuilder
func (TransactionBuilder) WriteData ¶
func (b TransactionBuilder) WriteData(data ...any) WriteDataBuilder
type UpdateAccountAuthBuilder ¶
type UpdateAccountAuthBuilder struct {
// contains filtered or unexported fields
}
func (UpdateAccountAuthBuilder) Add ¶
func (b UpdateAccountAuthBuilder) Add(authority any, path ...string) UpdateAccountAuthBuilder
func (UpdateAccountAuthBuilder) Disable ¶
func (b UpdateAccountAuthBuilder) Disable(authority any, path ...string) UpdateAccountAuthBuilder
func (UpdateAccountAuthBuilder) Done ¶
func (b UpdateAccountAuthBuilder) Done() (*protocol.Transaction, error)
func (UpdateAccountAuthBuilder) Enable ¶
func (b UpdateAccountAuthBuilder) Enable(authority any, path ...string) UpdateAccountAuthBuilder
func (UpdateAccountAuthBuilder) Remove ¶
func (b UpdateAccountAuthBuilder) Remove(authority any, path ...string) UpdateAccountAuthBuilder
func (UpdateAccountAuthBuilder) SignWith ¶
func (b UpdateAccountAuthBuilder) SignWith(signer any, path ...string) SignatureBuilder
type UpdateAllowedKeyPageOperationBuilder ¶
type UpdateAllowedKeyPageOperationBuilder struct {
// contains filtered or unexported fields
}
func (UpdateAllowedKeyPageOperationBuilder) FinishOperation ¶
func (b UpdateAllowedKeyPageOperationBuilder) FinishOperation() UpdateKeyPageBuilder
type UpdateKeyBuilder ¶
type UpdateKeyBuilder struct {
// contains filtered or unexported fields
}
func (UpdateKeyBuilder) Done ¶
func (b UpdateKeyBuilder) Done() (*protocol.Transaction, error)
func (UpdateKeyBuilder) SignWith ¶
func (b UpdateKeyBuilder) SignWith(signer any, path ...string) SignatureBuilder
type UpdateKeyOperationBuilder ¶
type UpdateKeyOperationBuilder struct {
// contains filtered or unexported fields
}
func (UpdateKeyOperationBuilder) Entry ¶
func (b UpdateKeyOperationBuilder) Entry() KeyPageEntryBuilder[UpdateKeyOperationBuilder]
func (UpdateKeyOperationBuilder) FinishOperation ¶
func (b UpdateKeyOperationBuilder) FinishOperation() UpdateKeyPageBuilder
type UpdateKeyPageBuilder ¶
type UpdateKeyPageBuilder struct {
// contains filtered or unexported fields
}
func (UpdateKeyPageBuilder) Add ¶
func (b UpdateKeyPageBuilder) Add() AddKeyOperationBuilder
func (UpdateKeyPageBuilder) Done ¶
func (b UpdateKeyPageBuilder) Done() (*protocol.Transaction, error)
func (UpdateKeyPageBuilder) Remove ¶
func (b UpdateKeyPageBuilder) Remove() RemoveKeyOperationBuilder
func (UpdateKeyPageBuilder) SetThreshold ¶
func (b UpdateKeyPageBuilder) SetThreshold(v uint64) UpdateKeyPageBuilder
func (UpdateKeyPageBuilder) SignWith ¶
func (b UpdateKeyPageBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (UpdateKeyPageBuilder) Update ¶
func (b UpdateKeyPageBuilder) Update() UpdateKeyOperationBuilder
func (UpdateKeyPageBuilder) UpdateAllowed ¶
func (b UpdateKeyPageBuilder) UpdateAllowed() UpdateAllowedKeyPageOperationBuilder
type WriteDataBuilder ¶
type WriteDataBuilder struct {
// contains filtered or unexported fields
}
func (WriteDataBuilder) Done ¶
func (b WriteDataBuilder) Done() (*protocol.Transaction, error)
func (WriteDataBuilder) Scratch ¶
func (b WriteDataBuilder) Scratch() WriteDataBuilder
func (WriteDataBuilder) SignWith ¶
func (b WriteDataBuilder) SignWith(signer any, path ...string) SignatureBuilder
func (WriteDataBuilder) To ¶
func (b WriteDataBuilder) To(recipient any, path ...string) WriteDataToBuilder
func (WriteDataBuilder) ToState ¶
func (b WriteDataBuilder) ToState() WriteDataBuilder
type WriteDataToBuilder ¶
type WriteDataToBuilder struct {
// contains filtered or unexported fields
}
func (WriteDataToBuilder) Done ¶
func (b WriteDataToBuilder) Done() (*protocol.Transaction, error)
func (WriteDataToBuilder) SignWith ¶
func (b WriteDataToBuilder) SignWith(signer any, path ...string) SignatureBuilder
Click to show internal directories.
Click to hide internal directories.