UNPKG

ufomarketplace-sdk

Version:

SDK to interact with set ufo marketplace contracts

139 lines 6.1 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Beacon__factory = void 0; const ethers_1 = require("ethers"); class Beacon__factory extends ethers_1.ContractFactory { constructor(signer) { super(_abi, _bytecode, signer); } deploy(_owner, _implementation, overrides) { return super.deploy(_owner, _implementation, overrides || {}); } getDeployTransaction(_owner, _implementation, overrides) { return super.getDeployTransaction(_owner, _implementation, overrides || {}); } attach(address) { return super.attach(address); } connect(signer) { return super.connect(signer); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.Beacon__factory = Beacon__factory; const _abi = [ { inputs: [ { internalType: "address", name: "_owner", type: "address", }, { internalType: "address", name: "_implementation", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { inputs: [], name: "impl", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_newImplementation", type: "address", }, ], name: "upgradeImplementation", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; const _bytecode = "0x608060405234801561001057600080fd5b506040516104d63803806104d683398101604081905261002f9161019f565b61003833610063565b600180546001600160a01b0319166001600160a01b03831617905561005c826100b3565b50506101d2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146101125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b0381166101775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610109565b61018081610063565b50565b80516001600160a01b038116811461019a57600080fd5b919050565b600080604083850312156101b257600080fd5b6101bb83610183565b91506101c960208401610183565b90509250929050565b6102f5806101e16000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80635c60da1b14610067578063715018a61461009057806383f94db71461009a5780638abf6077146100ad5780638da5cb5b146100c0578063f2fde38b146100d1575b600080fd5b6001546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b6100986100e4565b005b6100986100a836600461025a565b610123565b600154610074906001600160a01b031681565b6000546001600160a01b0316610074565b6100986100df36600461025a565b61016f565b6000546001600160a01b031633146101175760405162461bcd60e51b815260040161010e9061028a565b60405180910390fd5b610121600061020a565b565b6000546001600160a01b0316331461014d5760405162461bcd60e51b815260040161010e9061028a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146101995760405162461bcd60e51b815260040161010e9061028a565b6001600160a01b0381166101fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161010e565b6102078161020a565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561026c57600080fd5b81356001600160a01b038116811461028357600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212207e1b313975c7359c926f90852f23fc6084f324ae99217de6b6070d5e4f233c5764736f6c63430008070033"; //# sourceMappingURL=Beacon__factory.js.map