Contract.constructor()
Returns the constructor of the contract, if exists.
Example query
from glider import *
def query():
constructors = (
Contracts()
.exec(8)
.constructor()
.filter(lambda x: not isinstance(x, NoneObject))
)
return constructorsExample output

Last updated