Skip to main content
Git Source

Functions

setPoolByteCode

the setByteCode function is expected to receive only bytes as its only parameter the makeByteCodeImmutable function is expected to receive no parameters helper function to send the byte code in chunks to the factory and then make it immutable
Parameters

slice

this function was taken from https://stackoverflow.com/questions/74443594/how-to-slice-bytes-memory-in-solidity helper function to slice bytes arrays
Parameters Returns