SetCallCode sets the code of the contract and address of the backing data object
(addr *common.Address, hash common.Hash, code []byte)
| 147 | // SetCallCode sets the code of the contract and address of the backing data |
| 148 | // object |
| 149 | func (c *Contract) SetCallCode(addr *common.Address, hash common.Hash, code []byte) { |
| 150 | c.Code = code |
| 151 | c.CodeHash = hash |
| 152 | c.CodeAddr = addr |
| 153 | } |
no outgoing calls
no test coverage detected