"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MakerIlkRegistry__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: 'address',
                name: 'vat_',
                type: 'address',
            },
            {
                internalType: 'address',
                name: 'dog_',
                type: 'address',
            },
            {
                internalType: 'address',
                name: 'cat_',
                type: 'address',
            },
            {
                internalType: 'address',
                name: 'spot_',
                type: 'address',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'constructor',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'AddIlk',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'address',
                name: 'usr',
                type: 'address',
            },
        ],
        name: 'Deny',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'NameError',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'address',
                name: 'usr',
                type: 'address',
            },
        ],
        name: 'Rely',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'RemoveIlk',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'SymbolError',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'UpdateIlk',
        type: 'event',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: 'adapter',
                type: 'address',
            },
        ],
        name: 'add',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'cat',
        outputs: [
            {
                internalType: 'contract CatLike',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'class',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [],
        name: 'count',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'dec',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: 'usr',
                type: 'address',
            },
        ],
        name: 'deny',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'dog',
        outputs: [
            {
                internalType: 'contract DogLike',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
            {
                internalType: 'bytes32',
                name: 'what',
                type: 'bytes32',
            },
            {
                internalType: 'uint256',
                name: 'data',
                type: 'uint256',
            },
        ],
        name: 'file',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
            {
                internalType: 'bytes32',
                name: 'what',
                type: 'bytes32',
            },
            {
                internalType: 'string',
                name: 'data',
                type: 'string',
            },
        ],
        name: 'file',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'what',
                type: 'bytes32',
            },
            {
                internalType: 'address',
                name: 'data',
                type: 'address',
            },
        ],
        name: 'file',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
            {
                internalType: 'bytes32',
                name: 'what',
                type: 'bytes32',
            },
            {
                internalType: 'address',
                name: 'data',
                type: 'address',
            },
        ],
        name: 'file',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'gem',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: 'pos',
                type: 'uint256',
            },
        ],
        name: 'get',
        outputs: [
            {
                internalType: 'bytes32',
                name: '',
                type: 'bytes32',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: '',
                type: 'bytes32',
            },
        ],
        name: 'ilkData',
        outputs: [
            {
                internalType: 'uint96',
                name: 'pos',
                type: 'uint96',
            },
            {
                internalType: 'address',
                name: 'join',
                type: 'address',
            },
            {
                internalType: 'address',
                name: 'gem',
                type: 'address',
            },
            {
                internalType: 'uint8',
                name: 'dec',
                type: 'uint8',
            },
            {
                internalType: 'uint96',
                name: 'class',
                type: 'uint96',
            },
            {
                internalType: 'address',
                name: 'pip',
                type: 'address',
            },
            {
                internalType: 'address',
                name: 'xlip',
                type: 'address',
            },
            {
                internalType: 'string',
                name: 'name',
                type: 'string',
            },
            {
                internalType: 'string',
                name: 'symbol',
                type: 'string',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'info',
        outputs: [
            {
                internalType: 'string',
                name: 'name',
                type: 'string',
            },
            {
                internalType: 'string',
                name: 'symbol',
                type: 'string',
            },
            {
                internalType: 'uint256',
                name: 'class',
                type: 'uint256',
            },
            {
                internalType: 'uint256',
                name: 'dec',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: 'gem',
                type: 'address',
            },
            {
                internalType: 'address',
                name: 'pip',
                type: 'address',
            },
            {
                internalType: 'address',
                name: 'join',
                type: 'address',
            },
            {
                internalType: 'address',
                name: 'xlip',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'join',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [],
        name: 'list',
        outputs: [
            {
                internalType: 'bytes32[]',
                name: '',
                type: 'bytes32[]',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: 'start',
                type: 'uint256',
            },
            {
                internalType: 'uint256',
                name: 'end',
                type: 'uint256',
            },
        ],
        name: 'list',
        outputs: [
            {
                internalType: 'bytes32[]',
                name: '',
                type: 'bytes32[]',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'name',
        outputs: [
            {
                internalType: 'string',
                name: '',
                type: 'string',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'pip',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'pos',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: '_ilk',
                type: 'bytes32',
            },
            {
                internalType: 'address',
                name: '_join',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_gem',
                type: 'address',
            },
            {
                internalType: 'uint256',
                name: '_dec',
                type: 'uint256',
            },
            {
                internalType: 'uint256',
                name: '_class',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: '_pip',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_xlip',
                type: 'address',
            },
            {
                internalType: 'string',
                name: '_name',
                type: 'string',
            },
            {
                internalType: 'string',
                name: '_symbol',
                type: 'string',
            },
        ],
        name: 'put',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: 'usr',
                type: 'address',
            },
        ],
        name: 'rely',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'remove',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'removeAuth',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'spot',
        outputs: [
            {
                internalType: 'contract SpotLike',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'symbol',
        outputs: [
            {
                internalType: 'string',
                name: '',
                type: 'string',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'update',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'vat',
        outputs: [
            {
                internalType: 'contract VatLike',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        name: 'wards',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'bytes32',
                name: 'ilk',
                type: 'bytes32',
            },
        ],
        name: 'xlip',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
];
class MakerIlkRegistry__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.MakerIlkRegistry__factory = MakerIlkRegistry__factory;
MakerIlkRegistry__factory.abi = _abi;
//# sourceMappingURL=MakerIlkRegistry__factory.js.map