Instruction.is_new_contract()
Returns true if the instruction creates a new contract.
Query Example
from glider import *
def query():
ins = (
Functions()
.with_name("deploy")
.instructions()
.exec(100)
.filter(lambda x: x.is_new_contract())
)
return insOutput Example

Last updated