Constructors

Properties

Methods

Constructors

Properties

abi: readonly [{
    inputs: readonly [{
        components: readonly [{
            internalType: "address";
            name: "permit2";
            type: "address";
        }, {
            internalType: "address";
            name: "weth9";
            type: "address";
        }];
        internalType: "struct RouterParameters";
        name: "params";
        type: "tuple";
    }];
    stateMutability: "nonpayable";
    type: "constructor";
}, {
    inputs: readonly [];
    name: "BalanceTooLow";
    type: "error";
}, {
    inputs: readonly [];
    name: "BuyPunkFailed";
    type: "error";
}, {
    inputs: readonly [];
    name: "ContractLocked";
    type: "error";
}, {
    inputs: readonly [];
    name: "ETHNotAccepted";
    type: "error";
}, {
    inputs: readonly [{
        internalType: "uint256";
        name: "commandIndex";
        type: "uint256";
    }, {
        internalType: "bytes";
        name: "message";
        type: "bytes";
    }];
    name: "ExecutionFailed";
    type: "error";
}, {
    inputs: readonly [];
    name: "FromAddressIsNotOwner";
    type: "error";
}, {
    inputs: readonly [];
    name: "InsufficientETH";
    type: "error";
}, {
    inputs: readonly [];
    name: "InsufficientToken";
    type: "error";
}, {
    inputs: readonly [];
    name: "InvalidBips";
    type: "error";
}, {
    inputs: readonly [{
        internalType: "uint256";
        name: "commandType";
        type: "uint256";
    }];
    name: "InvalidCommandType";
    type: "error";
}, {
    inputs: readonly [];
    name: "InvalidOwnerERC1155";
    type: "error";
}, {
    inputs: readonly [];
    name: "InvalidOwnerERC721";
    type: "error";
}, {
    inputs: readonly [];
    name: "LengthMismatch";
    type: "error";
}, {
    inputs: readonly [];
    name: "SwapCanceled";
    type: "error";
}, {
    inputs: readonly [];
    name: "TransactionDeadlinePassed";
    type: "error";
}, {
    inputs: readonly [];
    name: "UnsafeCast";
    type: "error";
}, {
    inputs: readonly [{
        internalType: "bytes";
        name: "tt";
        type: "bytes";
    }];
    name: "debugError";
    type: "error";
}, {
    inputs: readonly [];
    name: "WETH9";
    outputs: readonly [{
        internalType: "contract IWETH9";
        name: "";
        type: "address";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "bytes32";
        name: "cancelIdentifier";
        type: "bytes32";
    }];
    name: "cancelSwap";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "bytes32";
        name: "cancelIdentifier";
        type: "bytes32";
    }, {
        internalType: "bool";
        name: "state";
        type: "bool";
    }];
    name: "cancelSwap";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "bytes";
        name: "commands";
        type: "bytes";
    }, {
        internalType: "bytes[]";
        name: "inputs";
        type: "bytes[]";
    }];
    name: "execute";
    outputs: readonly [];
    stateMutability: "payable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "bytes";
        name: "commands";
        type: "bytes";
    }, {
        internalType: "bytes[]";
        name: "inputs";
        type: "bytes[]";
    }, {
        internalType: "uint256";
        name: "deadline";
        type: "uint256";
    }];
    name: "execute";
    outputs: readonly [];
    stateMutability: "payable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "uint256";
        name: "purchasedTokens";
        type: "uint256";
    }, {
        internalType: "bytes";
        name: "data";
        type: "bytes";
    }];
    name: "onCatalystCall";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "";
        type: "address";
    }, {
        internalType: "bytes32";
        name: "";
        type: "bytes32";
    }];
    name: "swapIdentifier";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    stateMutability: "payable";
    type: "receive";
}] = _abi

Methods