ufomarketplace-sdk-new
Version:
SDK to interact with set ufo marketplace contracts
131 lines • 3.35 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ISuperGalatic__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
{
type: "function",
name: "createGenesis",
inputs: [
{
name: "minter",
type: "address",
internalType: "address",
},
{
name: "priceUnit",
type: "uint256",
internalType: "uint256",
},
],
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
name: "createRandomGenesis",
inputs: [
{
name: "minter",
type: "address",
internalType: "address",
},
{
name: "priceUnit",
type: "uint256",
internalType: "uint256",
},
{
name: "price",
type: "uint256",
internalType: "uint256",
},
],
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
name: "getBodyInfo",
inputs: [
{
name: "tokenId",
type: "uint256",
internalType: "uint256",
},
{
name: "bodyType",
type: "uint256",
internalType: "uint256",
},
],
outputs: [
{
name: "level",
type: "uint256",
internalType: "uint256",
},
{
name: "rarity",
type: "uint256",
internalType: "uint256",
},
],
stateMutability: "view",
},
{
type: "function",
name: "initialize",
inputs: [
{
name: "_admin",
type: "address",
internalType: "address",
},
{
name: "_factory",
type: "address",
internalType: "address",
},
{
name: "_categoryId",
type: "uint256",
internalType: "uint256",
},
],
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
name: "updateBody",
inputs: [
{
name: "bodyType",
type: "uint256",
internalType: "uint256",
},
{
name: "tokenId",
type: "uint256",
internalType: "uint256",
},
],
outputs: [],
stateMutability: "nonpayable",
},
];
class ISuperGalatic__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.ISuperGalatic__factory = ISuperGalatic__factory;
ISuperGalatic__factory.abi = _abi;
//# sourceMappingURL=ISuperGalatic__factory.js.map