Documentation ¶
Index ¶
- type CreateWalletPayload
- type CreateWalletPayloadBuilder
- type FromAccount
- type ToAccount
- type TransferBuilder
- func (builder *TransferBuilder) AddChange(change string)
- func (builder *TransferBuilder) AddFee(fee uint)
- func (builder *TransferBuilder) AddFrom(idents []string, source string)
- func (builder *TransferBuilder) AddItem(ident, action string, amount uint)
- func (builder *TransferBuilder) AddUdtHash(udtHash string)
- func (builder *TransferBuilder) Build() *TransferPayload
- type TransferItem
- type TransferPayload
- type WalletInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateWalletPayload ¶
type CreateWalletPayload struct { Ident string `json:"ident"` Info []*WalletInfo `json:"info"` Fee uint `json:"fee"` }
func (*CreateWalletPayload) AddFee ¶
func (walletPayload *CreateWalletPayload) AddFee(fee uint)
func (*CreateWalletPayload) AddIdent ¶
func (walletPayload *CreateWalletPayload) AddIdent(ident string)
func (*CreateWalletPayload) AddInfo ¶
func (walletPayload *CreateWalletPayload) AddInfo(udtHash string)
func (*CreateWalletPayload) Build ¶
func (walletPayload *CreateWalletPayload) Build() *CreateWalletPayload
type CreateWalletPayloadBuilder ¶
type CreateWalletPayloadBuilder struct { Ident string `json:"ident"` Info []*WalletInfo `json:"info"` Fee uint `json:"fee"` }
type FromAccount ¶
type TransferBuilder ¶
type TransferBuilder struct { UdtHash string `json:"udt_hash,omitempty"` From *FromAccount `json:"from"` Items []*TransferItem `json:"items"` Change string `json:"change,omitempty"` Fee uint `json:"fee"` }
func (*TransferBuilder) AddChange ¶
func (builder *TransferBuilder) AddChange(change string)
func (*TransferBuilder) AddFee ¶
func (builder *TransferBuilder) AddFee(fee uint)
func (*TransferBuilder) AddFrom ¶
func (builder *TransferBuilder) AddFrom(idents []string, source string)
func (*TransferBuilder) AddItem ¶
func (builder *TransferBuilder) AddItem(ident, action string, amount uint)
func (*TransferBuilder) AddUdtHash ¶
func (builder *TransferBuilder) AddUdtHash(udtHash string)
func (*TransferBuilder) Build ¶
func (builder *TransferBuilder) Build() *TransferPayload
type TransferItem ¶
type TransferPayload ¶
type TransferPayload struct { UdtHash string `json:"udt_hash,omitempty"` From *FromAccount `json:"from"` Items []*TransferItem `json:"items"` Change string `json:"change,omitempty"` Fee uint `json:"fee"` }
type WalletInfo ¶
type WalletInfo struct {
UdtHash string `json:"udt_hash"`
}
Click to show internal directories.
Click to hide internal directories.