Contracts.non_interface_contracts()

Adds a filter to get contracts that are not interface.

non_interface_contracts() -> Contracts

Query Example

from glider import *

def query():

  non_interface_contracts = Contracts().non_interface_contracts().exec(3)

  return non_interface_contracts

Output Example

{
    {
        "contract": "0xd705c24267ed3c55458160104994c55c6492dfcf",
        "contract_name": "Context"
    },
    {
        "contract": "0xd705c24267ed3c55458160104994c55c6492dfcf",
        "contract_name": "SafeMath"
    },
    {
        "contract": "0xd705c24267ed3c55458160104994c55c6492dfcf",
        "contract_name": "Ownable"
    }
}

Last updated