Returns true if the instruction creates a new contract.
Last updated 4 months ago
is_new_contract() -> bool
from glider import * def query(): ins = ( Functions() .with_name("deploy") .instructions() .exec(100) .filter(lambda x: x.is_new_contract()) ) return ins
With the Glider 1.0 update, calling the function returns an []. You can then use functions, which are applied to each element of the []
[
]
exec
APIList
Instruction