MCPcopy Create free account
hub / github.com/CPChain/chain / newTransactor

Function newTransactor

tools/smartcontract/deploy/util.go:114–121  ·  view source on GitHub ↗
(privateKey *ecdsa.PrivateKey, nonce *big.Int)

Source from the content-addressed store, hash-verified

112}
113
114func newTransactor(privateKey *ecdsa.PrivateKey, nonce *big.Int) *bind.TransactOpts {
115 auth := bind.NewKeyedTransactor(privateKey)
116 if nonce.Cmp(big.NewInt(-1)) > 0 {
117 auth.Nonce = nonce
118 }
119 return auth
120
121}

Callers 6

DeployCampaignFunction · 0.85
UpdateCampaignParametersFunction · 0.85
DeployRNodeFunction · 0.85
DeployRptFunction · 0.85
DeployNetworkFunction · 0.85
DeployAdmissionFunction · 0.85

Calls 1

CmpMethod · 0.80

Tested by

no test coverage detected