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

Method Create

core/vm/interface.go:77–77  ·  view source on GitHub ↗

Create a new contract

(env *EVM, me ContractRef, data []byte, gas, value *big.Int)

Source from the content-addressed store, hash-verified

75 DelegateCall(env *EVM, me ContractRef, addr common.Address, data []byte, gas *big.Int) ([]byte, error)
76 // Create a new contract
77 Create(env *EVM, me ContractRef, data []byte, gas, value *big.Int) ([]byte, common.Address, error)
78}

Callers 13

TransitionDbMethod · 0.65
opCreateFunction · 0.65
CreateFunction · 0.65
StartCPUProfileMethod · 0.65
StartGoTraceMethod · 0.65
StartBlockingProfileMethod · 0.65
StartMemProfileMethod · 0.65
StartCPUProfileMethod · 0.65
writeProfileFunction · 0.65
StartGoTraceMethod · 0.65
generateRsaKeyFunction · 0.65
TestLoadRsaKey1Function · 0.65

Implementers 2

NoopEVMCallContextcore/vm/noop.go
EVMcore/vm/evm.go

Calls

no outgoing calls

Tested by 2

TestLoadRsaKey1Function · 0.52
TestLoadRsaKey2Function · 0.52