hoodchain - v0.1.0
    Preparing search index...

    Variable weth9AbiConst

    weth9Abi: readonly [
        {
            inputs: readonly [];
            name: "name";
            outputs: readonly [{ type: "string" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [];
            name: "symbol";
            outputs: readonly [{ type: "string" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [];
            name: "decimals";
            outputs: readonly [{ type: "uint8" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [];
            name: "totalSupply";
            outputs: readonly [{ type: "uint256" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [{ name: "account"; type: "address" }];
            name: "balanceOf";
            outputs: readonly [{ type: "uint256" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [
                { name: "owner"; type: "address" },
                { name: "spender"; type: "address" },
            ];
            name: "allowance";
            outputs: readonly [{ type: "uint256" }];
            stateMutability: "view";
            type: "function";
        },
        {
            inputs: readonly [
                { name: "to"; type: "address" },
                { name: "amount"; type: "uint256" },
            ];
            name: "transfer";
            outputs: readonly [{ type: "bool" }];
            stateMutability: "nonpayable";
            type: "function";
        },
        {
            inputs: readonly [
                { name: "spender"; type: "address" },
                { name: "amount"; type: "uint256" },
            ];
            name: "approve";
            outputs: readonly [{ type: "bool" }];
            stateMutability: "nonpayable";
            type: "function";
        },
        {
            inputs: readonly [
                { name: "from"; type: "address" },
                { name: "to"; type: "address" },
                { name: "amount"; type: "uint256" },
            ];
            name: "transferFrom";
            outputs: readonly [{ type: "bool" }];
            stateMutability: "nonpayable";
            type: "function";
        },
        {
            inputs: readonly [
                { indexed: true; name: "from"; type: "address" },
                { indexed: true; name: "to"; type: "address" },
                { indexed: false; name: "value"; type: "uint256" },
            ];
            name: "Transfer";
            type: "event";
        },
        {
            inputs: readonly [
                { indexed: true; name: "owner"; type: "address" },
                { indexed: true; name: "spender"; type: "address" },
                { indexed: false; name: "value"; type: "uint256" },
            ];
            name: "Approval";
            type: "event";
        },
        {
            inputs: readonly [];
            name: "deposit";
            outputs: readonly [];
            stateMutability: "payable";
            type: "function";
        },
        {
            inputs: readonly [{ name: "wad"; type: "uint256" }];
            name: "withdraw";
            outputs: readonly [];
            stateMutability: "nonpayable";
            type: "function";
        },
    ] = ...

    WETH9 deposit/withdraw surface (for wrapping gas ETH before a swap).