ufomarketplace-sdk-new
Version:
SDK to interact with set ufo marketplace contracts
63 lines • 2.97 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UapInfo__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
{
type: "function",
name: "IS_SCRIPT",
inputs: [],
outputs: [
{
name: "",
type: "bool",
internalType: "bool",
},
],
stateMutability: "view",
},
{
type: "function",
name: "run",
inputs: [],
outputs: [],
stateMutability: "nonpayable",
},
];
const _bytecode = "0x6080604052600c805462ff00ff19166201000117905534801561002157600080fd5b50610262806100316000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063c04062261461003b578063f8ccbf4714610045575b600080fd5b61004361006c565b005b600c546100589062010000900460ff1681565b604051901515815260200160405180910390f35b6100986040518060400160405280600a815260200169626c6f636b2074696d6560b01b815250426100a2565b6100a06100eb565b565b6100e782826040516024016100b89291906101f8565b60408051601f198184030181529190526020810180516001600160e01b0316632d839cb360e21b1790526101ba565b5050565b60408051808201825260168152753d3d3d62616c616e6365206f662041646d696e3d3d3d60501b602082015290516370a0823160e01b815273bcd418c12cd9910dd5b33b1f8ee47ecc562732fc600482015273202dde4d4f51ad105ae43d6e5ebebde725227dfb916101b79183906370a082319060240160206040518083038186803b15801561017a57600080fd5b505afa15801561018e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101b291906101df565b6100a2565b50565b6101b78160006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b6000602082840312156101f157600080fd5b5051919050565b604081526000835180604084015260005b818110156102265760208187018101516060868401015201610209565b81811115610238576000606083860101525b50602083019390935250601f91909101601f19160160600191905056fea164736f6c6343000807000a";
const isSuperArgs = (xs) => xs.length > 1;
class UapInfo__factory extends ethers_1.ContractFactory {
constructor(...args) {
if (isSuperArgs(args)) {
super(...args);
}
else {
super(_abi, _bytecode, args[0]);
}
}
deploy(overrides) {
return super.deploy(overrides || {});
}
getDeployTransaction(overrides) {
return super.getDeployTransaction(overrides || {});
}
attach(address) {
return super.attach(address);
}
connect(signer) {
return super.connect(signer);
}
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.UapInfo__factory = UapInfo__factory;
UapInfo__factory.bytecode = _bytecode;
UapInfo__factory.abi = _abi;
//# sourceMappingURL=UapInfo__factory.js.map