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

Struct Message

types/transaction.go:411–420  ·  view source on GitHub ↗

Message is a fully derived transaction and implements core.Message NOTE: In a future PR this will be removed.

Source from the content-addressed store, hash-verified

409//
410// NOTE: In a future PR this will be removed.
411type Message struct {
412 to *common.Address
413 from common.Address
414 nonce uint64
415 amount *big.Int
416 gasLimit uint64
417 gasPrice *big.Int
418 data []byte
419 checkNonce bool
420}
421
422func NewMessage(from common.Address, to *common.Address, nonce uint64, amount *big.Int, gasLimit uint64, gasPrice *big.Int, data []byte, checkNonce bool) Message {
423 return Message{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected