Documentation ¶
Index ¶
- Variables
- func ApproveERC721(mnemonic string, toAddress common.Address, contractAddr common.Address, ...) (string, error)
- func ERC721IsOwner(mnemonic string, contractAddr common.Address, tokenId *big.Int) (bool, error)
- func GetBalance(mnemonic string) (*big.Int, error)
- func GetChainId() (int, error)
- func GetERC20Balance(mnemonic string, contractAddr common.Address) (*big.Int, error)
- func GetERC721Balance(mnemonic string, contractAddr common.Address) (*big.Int, error)
- func GetNetworkInfo() (*networkInfo, error)
- func GetPath() string
- func GetRpcUrl() string
- func GetWalletAddres(mnemonic string) (string, error)
- func SetAprovalForAllErc721(mnemonic string, operatorAddr common.Address, contractAddr common.Address, ...) (string, error)
- func SignMessage(mnemonic string, message string) (string, error)
- func Transfer(mnemonic string, to common.Address, value big.Int) (string, error)
- func TransferERC20(mnemonic string, toAddress common.Address, contractAddr common.Address, ...) (string, error)
- func TransferERC721(mnemonic string, toAddress common.Address, contractAddr common.Address, ...) (string, error)
- func VerifySignature(mnemonic string, message string, signature string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrSignatureNotValid = errors.New("signature is not valid")
)
Functions ¶
func ApproveERC721 ¶
func ERC721IsOwner ¶
func GetChainId ¶
func GetERC20Balance ¶
func GetERC721Balance ¶
func GetNetworkInfo ¶
func GetNetworkInfo() (*networkInfo, error)
func GetWalletAddres ¶
func SetAprovalForAllErc721 ¶
func TransferERC20 ¶
func TransferERC721 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.