UNPKG

ufomarketplace-sdk

Version:

SDK to interact with set ufo marketplace contracts

144 lines (139 loc) 2.65 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { TestProxy } from "../TestProxy"; export class TestProxy__factory { static connect( address: string, signerOrProvider: Signer | Provider ): TestProxy { return new Contract(address, _abi, signerOrProvider) as TestProxy; } } const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address", }, { indexed: false, internalType: "address", name: "newAdmin", type: "address", }, ], name: "AdminChanged", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address", }, ], name: "BeaconUpgraded", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address", }, ], name: "Upgraded", type: "event", }, { stateMutability: "payable", type: "fallback", }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address", }, ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address", }, ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address", }, { internalType: "bytes", name: "data", type: "bytes", }, ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function", }, { stateMutability: "payable", type: "receive", }, ];