github.com/ChainSafe/chainbridge-core@v1.4.2/chains/evm/cli/erc20/flagVars.go (about)

     1  package erc20
     2  
     3  import (
     4  	"math/big"
     5  
     6  	"github.com/ChainSafe/chainbridge-core/crypto/secp256k1"
     7  
     8  	"github.com/ChainSafe/chainbridge-core/types"
     9  	"github.com/ethereum/go-ethereum/common"
    10  )
    11  
    12  //flag vars
    13  var (
    14  	Amount         string
    15  	Decimals       uint64
    16  	DstAddress     string
    17  	Erc20Address   string
    18  	Recipient      string
    19  	Bridge         string
    20  	DomainID       uint8
    21  	ResourceID     string
    22  	AccountAddress string
    23  	OwnerAddress   string
    24  	SpenderAddress string
    25  	Minter         string
    26  	Priority       string
    27  )
    28  
    29  //processed flag vars
    30  var (
    31  	RecipientAddress   common.Address
    32  	RealAmount         *big.Int
    33  	Erc20Addr          common.Address
    34  	MinterAddr         common.Address
    35  	BridgeAddr         common.Address
    36  	ResourceIdBytesArr types.ResourceID
    37  )
    38  
    39  // global flags
    40  var (
    41  	dstAddress    common.Address
    42  	url           string
    43  	gasLimit      uint64
    44  	gasPrice      *big.Int
    45  	senderKeyPair *secp256k1.Keypair
    46  	prepare       bool
    47  )