Class IUserSettings__factory

Hierarchy

  • IUserSettings__factory

Constructors

Properties

Methods

Constructors

Properties

abi: readonly [{
    inputs: readonly [];
    name: "UserSettings__InvalidAction";
    type: "error";
}, {
    inputs: readonly [];
    name: "UserSettings__InvalidArrayLength";
    type: "error";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "address";
        name: "user";
        type: "address";
    }, {
        indexed: true;
        internalType: "address";
        name: "operator";
        type: "address";
    }, {
        indexed: false;
        internalType: "enum IUserSettings.Action[]";
        name: "actions";
        type: "uint8[]";
    }, {
        indexed: false;
        internalType: "bool[]";
        name: "authorization";
        type: "bool[]";
    }];
    name: "ActionAuthorizationUpdated";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "address";
        name: "user";
        type: "address";
    }, {
        indexed: false;
        internalType: "UD60x18";
        name: "amount";
        type: "uint256";
    }];
    name: "AuthorizedCostUpdated";
    type: "event";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "user";
        type: "address";
    }, {
        internalType: "address";
        name: "operator";
        type: "address";
    }];
    name: "getActionAuthorization";
    outputs: readonly [{
        internalType: "enum IUserSettings.Action[]";
        name: "actions";
        type: "uint8[]";
    }, {
        internalType: "bool[]";
        name: "authorization";
        type: "bool[]";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "user";
        type: "address";
    }];
    name: "getAuthorizedCost";
    outputs: readonly [{
        internalType: "UD60x18";
        name: "";
        type: "uint256";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "user";
        type: "address";
    }, {
        internalType: "address";
        name: "operator";
        type: "address";
    }, {
        internalType: "enum IUserSettings.Action";
        name: "action";
        type: "uint8";
    }];
    name: "isActionAuthorized";
    outputs: readonly [{
        internalType: "bool";
        name: "";
        type: "bool";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "bytes[]";
        name: "data";
        type: "bytes[]";
    }];
    name: "multicall";
    outputs: readonly [{
        internalType: "bytes[]";
        name: "results";
        type: "bytes[]";
    }];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "operator";
        type: "address";
    }, {
        internalType: "enum IUserSettings.Action[]";
        name: "actions";
        type: "uint8[]";
    }, {
        internalType: "bool[]";
        name: "authorization";
        type: "bool[]";
    }];
    name: "setActionAuthorization";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "UD60x18";
        name: "amount";
        type: "uint256";
    }];
    name: "setAuthorizedCost";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}] = _abi

Methods

  • Parameters

    • address: string
    • Optional runner: null | ContractRunner

    Returns IUserSettings

  • Returns IUserSettingsInterface

Generated using TypeDoc