trustblock-cli 0.9.1

human-friendly console utility that helps to interact with Trustblock from command line.
Documentation
[
    {
        "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }],
        "stateMutability": "nonpayable",
        "type": "constructor"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "bytes32",
                "name": "domainSeparator",
                "type": "bytes32"
            },
            { "indexed": false, "internalType": "bytes", "name": "domainValue", "type": "bytes" }
        ],
        "name": "DomainRegistered",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            { "indexed": false, "internalType": "address", "name": "oldOwner", "type": "address" },
            { "indexed": false, "internalType": "address", "name": "newOwner", "type": "address" }
        ],
        "name": "OwnershipTransferred",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            { "indexed": true, "internalType": "bytes32", "name": "typeHash", "type": "bytes32" },
            { "indexed": false, "internalType": "string", "name": "typeStr", "type": "string" }
        ],
        "name": "RequestTypeRegistered",
        "type": "event"
    },
    {
        "inputs": [],
        "name": "EIP712_DOMAIN_TYPE",
        "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "GENERIC_PARAMS",
        "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "components": [
                    { "internalType": "address", "name": "from", "type": "address" },
                    { "internalType": "address", "name": "to", "type": "address" },
                    { "internalType": "uint256", "name": "value", "type": "uint256" },
                    { "internalType": "uint256", "name": "gas", "type": "uint256" },
                    { "internalType": "uint256", "name": "nonce", "type": "uint256" },
                    { "internalType": "bytes", "name": "data", "type": "bytes" },
                    { "internalType": "uint256", "name": "validUntilTime", "type": "uint256" }
                ],
                "internalType": "struct ITrustblockForwarder.ForwardRequest",
                "name": "req",
                "type": "tuple"
            },
            { "internalType": "bytes32", "name": "requestTypeHash", "type": "bytes32" },
            { "internalType": "bytes", "name": "suffixData", "type": "bytes" }
        ],
        "name": "_getEncoded",
        "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
        "name": "domains",
        "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "components": [
                    { "internalType": "address", "name": "from", "type": "address" },
                    { "internalType": "address", "name": "to", "type": "address" },
                    { "internalType": "uint256", "name": "value", "type": "uint256" },
                    { "internalType": "uint256", "name": "gas", "type": "uint256" },
                    { "internalType": "uint256", "name": "nonce", "type": "uint256" },
                    { "internalType": "bytes", "name": "data", "type": "bytes" },
                    { "internalType": "uint256", "name": "validUntilTime", "type": "uint256" }
                ],
                "internalType": "struct ITrustblockForwarder.ForwardRequest",
                "name": "req",
                "type": "tuple"
            },
            { "internalType": "bytes32", "name": "domainSeparator", "type": "bytes32" },
            { "internalType": "bytes32", "name": "requestTypeHash", "type": "bytes32" },
            { "internalType": "bytes", "name": "suffixData", "type": "bytes" },
            { "internalType": "bytes", "name": "sig", "type": "bytes" }
        ],
        "name": "execute",
        "outputs": [
            { "internalType": "bool", "name": "success", "type": "bool" },
            { "internalType": "bytes", "name": "ret", "type": "bytes" }
        ],
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "inputs": [{ "internalType": "address", "name": "from", "type": "address" }],
        "name": "getNonce",
        "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "owner",
        "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            { "internalType": "string", "name": "name", "type": "string" },
            { "internalType": "string", "name": "version", "type": "string" }
        ],
        "name": "registerDomainSeparator",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            { "internalType": "string", "name": "typeName", "type": "string" },
            { "internalType": "string", "name": "typeSuffix", "type": "string" }
        ],
        "name": "registerRequestType",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }],
        "name": "supportsInterface",
        "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
        "name": "transferOwnership",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
        "name": "typeHashes",
        "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "components": [
                    { "internalType": "address", "name": "from", "type": "address" },
                    { "internalType": "address", "name": "to", "type": "address" },
                    { "internalType": "uint256", "name": "value", "type": "uint256" },
                    { "internalType": "uint256", "name": "gas", "type": "uint256" },
                    { "internalType": "uint256", "name": "nonce", "type": "uint256" },
                    { "internalType": "bytes", "name": "data", "type": "bytes" },
                    { "internalType": "uint256", "name": "validUntilTime", "type": "uint256" }
                ],
                "internalType": "struct ITrustblockForwarder.ForwardRequest",
                "name": "req",
                "type": "tuple"
            },
            { "internalType": "bytes32", "name": "domainSeparator", "type": "bytes32" },
            { "internalType": "bytes32", "name": "requestTypeHash", "type": "bytes32" },
            { "internalType": "bytes", "name": "suffixData", "type": "bytes" },
            { "internalType": "bytes", "name": "sig", "type": "bytes" }
        ],
        "name": "verify",
        "outputs": [],
        "stateMutability": "view",
        "type": "function"
    },
    { "stateMutability": "payable", "type": "receive" }
]