Documentation ¶
Index ¶
- func SetParent(parent *cobra.Command)
- type BatchSummary
- type Enviorment
- func (env *Enviorment) AddrDisplay(addr *cfxaddress.Address) string
- func (env *Enviorment) DecodeTx(rawTxBytes []byte) *types.UnsignedTransaction
- func (env *Enviorment) GetFromAddressOfSpace() *cfxaddress.Address
- func (env *Enviorment) GetTokenListUrl() string
- func (env *Enviorment) SignTx(tx *types.UnsignedTransaction) ([]byte, error)
- type ProcessState
- type Receiver
- type TokenList
- type TokensResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchSummary ¶ added in v1.0.4
type BatchSummary struct {
// contains filtered or unexported fields
}
func (BatchSummary) GetTotalFailCount ¶ added in v1.0.4
func (f BatchSummary) GetTotalFailCount() int
func (*BatchSummary) Merge ¶ added in v1.0.4
func (f *BatchSummary) Merge(other BatchSummary)
func (*BatchSummary) String ¶ added in v1.0.4
func (f *BatchSummary) String() string
type Enviorment ¶ added in v1.0.4
type Enviorment struct {
// contains filtered or unexported fields
}
func NewEnviorment ¶ added in v1.0.4
func NewEnviorment() *Enviorment
func (*Enviorment) AddrDisplay ¶ added in v1.0.4
func (env *Enviorment) AddrDisplay(addr *cfxaddress.Address) string
func (*Enviorment) DecodeTx ¶ added in v1.0.4
func (env *Enviorment) DecodeTx(rawTxBytes []byte) *types.UnsignedTransaction
func (*Enviorment) GetFromAddressOfSpace ¶ added in v1.0.4
func (env *Enviorment) GetFromAddressOfSpace() *cfxaddress.Address
GetFromAddressOfSpace returns cfxaddress of env.from accroding to space
func (*Enviorment) GetTokenListUrl ¶ added in v1.0.4
func (env *Enviorment) GetTokenListUrl() string
func (*Enviorment) SignTx ¶ added in v1.0.4
func (env *Enviorment) SignTx(tx *types.UnsignedTransaction) ([]byte, error)
type ProcessState ¶ added in v1.0.4
type ProcessState struct { ChainID uint32 Sender *cfxaddress.Address ReceiverListHash string TokenSymbol string TokenAddress *cfxaddress.Address SendingStartIdx int SendingBatchElems []clientRpc.BatchElem }
func (*ProcessState) UnmarshalJSON ¶ added in v1.0.4
func (s *ProcessState) UnmarshalJSON(data []byte) error
type TokensResp ¶ added in v1.0.4
Click to show internal directories.
Click to hide internal directories.