Documentation
¶
Index ¶
Constants ¶
View Source
const ABIERC20 = `` /* 5459-byte string literal not displayed */
View Source
const ABIERC20ForTransferWithData = `` /* 5195-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallErc20In ¶
type CallErc20In struct {
Address string `json:"address,omitempty"`
Owner string `json:"owner,omitempty"`
Spender string `json:"spender,omitempty"`
From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
Recipient string `json:"recipient,omitempty"`
Amount string `json:"amount,omitempty"`
Memo string `json:"data,omitempty"`
}
for call contract
type UnpackErc20 ¶
type UnpackErc20 struct {
Function string
CallErc20In
}
for call contract
func UnpackPayloadForErc20 ¶
func UnpackPayloadForErc20(payload string) (*UnpackErc20, error)
Click to show internal directories.
Click to hide internal directories.