UNPKG

@cryptovoxels/marketplace-js

Version:

A simple JS sdk to interact with Voxels' marketplace

351 lines 8.83 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.WrapperRegistry__factory = void 0; const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "address", name: "_accessControlImpl", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address", }, ], name: "Paused", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "id", type: "uint256", }, { indexed: true, internalType: "address", name: "implementation_", type: "address", }, { indexed: true, internalType: "address", name: "wrapper", type: "address", }, { indexed: false, internalType: "string", name: "name", type: "string", }, ], name: "Registered", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address", }, ], name: "Unpaused", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "id", type: "uint256", }, { indexed: false, internalType: "string", name: "name", type: "string", }, ], name: "Unregistered", type: "event", }, { inputs: [ { internalType: "address", name: "_addr", type: "address", }, ], name: "fromAddress", outputs: [ { internalType: "uint256", name: "id_", type: "uint256", }, { internalType: "address", name: "implementation_", type: "address", }, { internalType: "address", name: "wrapper_", type: "address", }, { internalType: "string", name: "name_", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_addr", type: "address", }, ], name: "fromImplementationAddress", outputs: [ { internalType: "uint256", name: "id_", type: "uint256", }, { internalType: "address", name: "implementation_", type: "address", }, { internalType: "address", name: "wrapper_", type: "address", }, { internalType: "string", name: "name_", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "name__", type: "string", }, ], name: "fromName", outputs: [ { internalType: "uint256", name: "id_", type: "uint256", }, { internalType: "address", name: "implementation_", type: "address", }, { internalType: "address", name: "wrapper_", type: "address", }, { internalType: "string", name: "name_", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256", }, ], name: "getWrapper", outputs: [ { internalType: "address", name: "implementation", type: "address", }, { internalType: "address", name: "wrapper", type: "address", }, { internalType: "string", name: "name_", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_address", type: "address", }, ], name: "isRegistered", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_impl", type: "address", }, ], name: "isWrapped", outputs: [ { internalType: "bool", name: "_isWrapped", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "implementation_", type: "address", }, { internalType: "address", name: "wrapper_", type: "address", }, { internalType: "string", name: "name_", type: "string", }, ], name: "register", outputs: [ { internalType: "bool", name: "registered", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "togglePause", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256", }, ], name: "unregister", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class WrapperRegistry__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.WrapperRegistry__factory = WrapperRegistry__factory; WrapperRegistry__factory.abi = _abi; //# sourceMappingURL=WrapperRegistry__factory.js.map