command

package
v0.0.0-...-eeca3e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApproveBind

func ApproveBind(ethClient *ethclient.Client, ledgerWallet accounts.Wallet, ledgerAccount accounts.Account, bep2Symbol string, bep20ContractAddr common.Address, peggyAmount *big.Int, chainId *big.Int) error

func ApproveBindAndTransferOwnershipAndRestBalanceBackToLedgerAccount

func ApproveBindAndTransferOwnershipAndRestBalanceBackToLedgerAccount(ethClient *ethclient.Client, keyStore *keystore.KeyStore, tempAccount accounts.Account, bep20ContractAddr common.Address, peggyAmount *big.Int, bep2Symbol string, bep20Owner common.Address, chainId *big.Int) error

func ApproveBindAndTransferOwnershipCmd

func ApproveBindAndTransferOwnershipCmd() *cobra.Command

func ApproveBindFromLedgerCmd

func ApproveBindFromLedgerCmd() *cobra.Command

func DeployBEP20ContractTransferTotalSupplyAndOwnershipCmd

func DeployBEP20ContractTransferTotalSupplyAndOwnershipCmd() *cobra.Command

func DeployCanonicalContractCmd

func DeployCanonicalContractCmd() *cobra.Command

func DeployContractCmd

func DeployContractCmd() *cobra.Command

func DeployContractFromTempAccount

func DeployContractFromTempAccount(ethClient *ethclient.Client, keyStore *keystore.KeyStore, tempAccount accounts.Account, contractByteCodeStr string, chainId *big.Int) (common.Address, error)

func InitKeyCmd

func InitKeyCmd() *cobra.Command

func PreCheckBind

func PreCheckBind(ethClient *ethclient.Client, bep2Symbol string, bep20ContractAddr common.Address) error

func PreCheckCmd

func PreCheckCmd() *cobra.Command

func RefundRestBNB

func RefundRestBNB(ethClient *ethclient.Client, keyStore *keystore.KeyStore, tempAccount accounts.Account, refundAddr common.Address, chainId *big.Int) error

func RefundRestBNBCmd

func RefundRestBNBCmd() *cobra.Command

func TransferTokenAndOwnership

func TransferTokenAndOwnership(ethClient *ethclient.Client, keyStore *keystore.KeyStore, tempAccount accounts.Account, tokenOwner common.Address, bep20ContractAddr common.Address, chainId *big.Int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL