@4everland/land-v6 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +1 -0
- package/.gitmodules +3 -0
- package/README.md +9 -0
- package/package.json +96 -0
- package/tsconfig.json +11 -0
- package/types/BasicToken.d.ts +300 -0
- package/types/BlackList.d.ts +512 -0
- package/types/BlastOracleLand.d.ts +933 -0
- package/types/ChainlinkPriceFeed.d.ts +427 -0
- package/types/Console.d.ts +101 -0
- package/types/CustomPriceFeed.d.ts +214 -0
- package/types/ERC1967Proxy.d.ts +126 -0
- package/types/ERC1967Upgrade.d.ts +126 -0
- package/types/ERC20.d.ts +343 -0
- package/types/ERC20Basic.d.ts +199 -0
- package/types/ETHOracleLand.d.ts +901 -0
- package/types/FixedPriceFeed.d.ts +212 -0
- package/types/IAggregatorV3Interface.d.ts +234 -0
- package/types/IBeacon.d.ts +101 -0
- package/types/IBlast.d.ts +919 -0
- package/types/ICoin.d.ts +95 -0
- package/types/IERC1822Proxiable.d.ts +101 -0
- package/types/IERC1967.d.ts +126 -0
- package/types/IERC20.d.ts +324 -0
- package/types/IERC20Metadata.d.ts +363 -0
- package/types/IERC20Rebasing.d.ts +184 -0
- package/types/ILand.d.ts +386 -0
- package/types/ILandCore.d.ts +255 -0
- package/types/IPriceFeed.d.ts +108 -0
- package/types/IPyth.d.ts +194 -0
- package/types/IQuoter.d.ts +269 -0
- package/types/ITransparentUpgradeableProxy.d.ts +256 -0
- package/types/IUniswapV3Pool.d.ts +203 -0
- package/types/IUniswapV3PoolActions.d.ts +396 -0
- package/types/IUniswapV3PoolDerivedState.d.ts +185 -0
- package/types/IUniswapV3PoolEvents.d.ts +482 -0
- package/types/IUniswapV3PoolImmutables.d.ts +174 -0
- package/types/IUniswapV3PoolOwnerActions.d.ts +168 -0
- package/types/IUniswapV3PoolState.d.ts +438 -0
- package/types/IWETH.d.ts +374 -0
- package/types/Initializable.d.ts +92 -0
- package/types/Land.d.ts +586 -0
- package/types/LandCore.d.ts +255 -0
- package/types/LandMath.d.ts +101 -0
- package/types/LandOwnable.d.ts +134 -0
- package/types/LandOwnableUpgradeable.d.ts +148 -0
- package/types/MockDAI.d.ts +441 -0
- package/types/MockUSDC.d.ts +441 -0
- package/types/MockUSDT.d.ts +441 -0
- package/types/OracleLand.d.ts +724 -0
- package/types/Ownable.d.ts +130 -0
- package/types/Pausable.d.ts +203 -0
- package/types/Proxy.d.ts +78 -0
- package/types/ProxyAdmin.d.ts +357 -0
- package/types/PythPriceFeed.d.ts +423 -0
- package/types/StandardToken.d.ts +493 -0
- package/types/TetherToken.d.ts +1018 -0
- package/types/TransparentUpgradeableProxy.d.ts +126 -0
- package/types/UpgradedStandardToken.d.ts +630 -0
- package/types/common.d.ts +35 -0
- package/types/factories/BasicToken__factory.js +183 -0
- package/types/factories/BasicToken__factory.ts +185 -0
- package/types/factories/BlackList__factory.js +318 -0
- package/types/factories/BlackList__factory.ts +320 -0
- package/types/factories/BlastOracleLand__factory.js +656 -0
- package/types/factories/BlastOracleLand__factory.ts +649 -0
- package/types/factories/ChainlinkPriceFeed__factory.js +378 -0
- package/types/factories/ChainlinkPriceFeed__factory.ts +398 -0
- package/types/factories/Console__factory.js +76 -0
- package/types/factories/Console__factory.ts +66 -0
- package/types/factories/CustomPriceFeed__factory.js +207 -0
- package/types/factories/CustomPriceFeed__factory.ts +211 -0
- package/types/factories/ERC1967Proxy__factory.js +132 -0
- package/types/factories/ERC1967Proxy__factory.ts +137 -0
- package/types/factories/ERC1967Upgrade__factory.js +66 -0
- package/types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/types/factories/ERC20Basic__factory.js +108 -0
- package/types/factories/ERC20Basic__factory.ts +110 -0
- package/types/factories/ERC20__factory.js +193 -0
- package/types/factories/ERC20__factory.ts +192 -0
- package/types/factories/ETHOracleLand__factory.js +625 -0
- package/types/factories/ETHOracleLand__factory.ts +615 -0
- package/types/factories/FixedPriceFeed__factory.js +192 -0
- package/types/factories/FixedPriceFeed__factory.ts +203 -0
- package/types/factories/IAggregatorV3Interface__factory.js +132 -0
- package/types/factories/IAggregatorV3Interface__factory.ts +141 -0
- package/types/factories/IBeacon__factory.js +34 -0
- package/types/factories/IBeacon__factory.ts +36 -0
- package/types/factories/IBlast__factory.js +439 -0
- package/types/factories/IBlast__factory.ts +438 -0
- package/types/factories/ICoin__factory.js +34 -0
- package/types/factories/ICoin__factory.ts +33 -0
- package/types/factories/IERC1822Proxiable__factory.js +34 -0
- package/types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/types/factories/IERC1967__factory.js +66 -0
- package/types/factories/IERC1967__factory.ts +68 -0
- package/types/factories/IERC20Metadata__factory.js +243 -0
- package/types/factories/IERC20Metadata__factory.ts +248 -0
- package/types/factories/IERC20Rebasing__factory.js +83 -0
- package/types/factories/IERC20Rebasing__factory.ts +88 -0
- package/types/factories/IERC20__factory.js +204 -0
- package/types/factories/IERC20__factory.ts +203 -0
- package/types/factories/ILandCore__factory.js +143 -0
- package/types/factories/ILandCore__factory.ts +145 -0
- package/types/factories/ILand__factory.js +255 -0
- package/types/factories/ILand__factory.ts +254 -0
- package/types/factories/IPriceFeed__factory.js +40 -0
- package/types/factories/IPriceFeed__factory.ts +42 -0
- package/types/factories/IPyth__factory.js +103 -0
- package/types/factories/IPyth__factory.ts +102 -0
- package/types/factories/IQuoter__factory.js +147 -0
- package/types/factories/IQuoter__factory.ts +149 -0
- package/types/factories/ITransparentUpgradeableProxy__factory.js +136 -0
- package/types/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
- package/types/factories/IUniswapV3PoolActions__factory.js +241 -0
- package/types/factories/IUniswapV3PoolActions__factory.ts +250 -0
- package/types/factories/IUniswapV3PoolDerivedState__factory.js +79 -0
- package/types/factories/IUniswapV3PoolDerivedState__factory.ts +88 -0
- package/types/factories/IUniswapV3PoolEvents__factory.js +348 -0
- package/types/factories/IUniswapV3PoolEvents__factory.ts +357 -0
- package/types/factories/IUniswapV3PoolImmutables__factory.js +99 -0
- package/types/factories/IUniswapV3PoolImmutables__factory.ts +108 -0
- package/types/factories/IUniswapV3PoolOwnerActions__factory.js +73 -0
- package/types/factories/IUniswapV3PoolOwnerActions__factory.ts +82 -0
- package/types/factories/IUniswapV3PoolState__factory.js +267 -0
- package/types/factories/IUniswapV3PoolState__factory.ts +272 -0
- package/types/factories/IUniswapV3Pool__factory.js +114 -0
- package/types/factories/IUniswapV3Pool__factory.ts +119 -0
- package/types/factories/IWETH__factory.js +224 -0
- package/types/factories/IWETH__factory.ts +223 -0
- package/types/factories/Initializable__factory.js +34 -0
- package/types/factories/Initializable__factory.ts +36 -0
- package/types/factories/LandCore__factory.js +201 -0
- package/types/factories/LandCore__factory.ts +199 -0
- package/types/factories/LandMath__factory.js +76 -0
- package/types/factories/LandMath__factory.ts +66 -0
- package/types/factories/LandOwnableUpgradeable__factory.js +128 -0
- package/types/factories/LandOwnableUpgradeable__factory.ts +125 -0
- package/types/factories/LandOwnable__factory.js +126 -0
- package/types/factories/LandOwnable__factory.ts +118 -0
- package/types/factories/Land__factory.js +462 -0
- package/types/factories/Land__factory.ts +449 -0
- package/types/factories/MockDAI__factory.js +338 -0
- package/types/factories/MockDAI__factory.ts +328 -0
- package/types/factories/MockUSDC__factory.js +338 -0
- package/types/factories/MockUSDC__factory.ts +328 -0
- package/types/factories/MockUSDT__factory.js +338 -0
- package/types/factories/MockUSDT__factory.ts +328 -0
- package/types/factories/OracleLand__factory.js +537 -0
- package/types/factories/OracleLand__factory.ts +527 -0
- package/types/factories/Ownable__factory.js +73 -0
- package/types/factories/Ownable__factory.ts +75 -0
- package/types/factories/Pausable__factory.js +135 -0
- package/types/factories/Pausable__factory.ts +125 -0
- package/types/factories/ProxyAdmin__factory.js +212 -0
- package/types/factories/ProxyAdmin__factory.ts +202 -0
- package/types/factories/Proxy__factory.js +29 -0
- package/types/factories/Proxy__factory.ts +28 -0
- package/types/factories/PythPriceFeed__factory.js +378 -0
- package/types/factories/PythPriceFeed__factory.ts +400 -0
- package/types/factories/StandardToken__factory.js +305 -0
- package/types/factories/StandardToken__factory.ts +307 -0
- package/types/factories/TetherToken__factory.js +732 -0
- package/types/factories/TetherToken__factory.ts +749 -0
- package/types/factories/TransparentUpgradeableProxy__factory.js +137 -0
- package/types/factories/TransparentUpgradeableProxy__factory.ts +152 -0
- package/types/factories/UpgradedStandardToken__factory.js +375 -0
- package/types/factories/UpgradedStandardToken__factory.ts +384 -0
- package/types/hardhat.d.ts +573 -0
- package/types/index.js +112 -0
- package/types/index.ts +112 -0
@@ -0,0 +1,125 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
|
5
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
7
|
+
import type {
|
8
|
+
LandOwnableUpgradeable,
|
9
|
+
LandOwnableUpgradeableInterface,
|
10
|
+
} from "../LandOwnableUpgradeable";
|
11
|
+
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
anonymous: false,
|
15
|
+
inputs: [
|
16
|
+
{
|
17
|
+
indexed: false,
|
18
|
+
internalType: "uint8",
|
19
|
+
name: "version",
|
20
|
+
type: "uint8",
|
21
|
+
},
|
22
|
+
],
|
23
|
+
name: "Initialized",
|
24
|
+
type: "event",
|
25
|
+
},
|
26
|
+
{
|
27
|
+
inputs: [],
|
28
|
+
name: "LandCore",
|
29
|
+
outputs: [
|
30
|
+
{
|
31
|
+
internalType: "contract ILandCore",
|
32
|
+
name: "",
|
33
|
+
type: "address",
|
34
|
+
},
|
35
|
+
],
|
36
|
+
stateMutability: "view",
|
37
|
+
type: "function",
|
38
|
+
},
|
39
|
+
{
|
40
|
+
inputs: [],
|
41
|
+
name: "guardian",
|
42
|
+
outputs: [
|
43
|
+
{
|
44
|
+
internalType: "address",
|
45
|
+
name: "",
|
46
|
+
type: "address",
|
47
|
+
},
|
48
|
+
],
|
49
|
+
stateMutability: "view",
|
50
|
+
type: "function",
|
51
|
+
},
|
52
|
+
{
|
53
|
+
inputs: [],
|
54
|
+
name: "owner",
|
55
|
+
outputs: [
|
56
|
+
{
|
57
|
+
internalType: "address",
|
58
|
+
name: "",
|
59
|
+
type: "address",
|
60
|
+
},
|
61
|
+
],
|
62
|
+
stateMutability: "view",
|
63
|
+
type: "function",
|
64
|
+
},
|
65
|
+
{
|
66
|
+
inputs: [],
|
67
|
+
name: "paused",
|
68
|
+
outputs: [
|
69
|
+
{
|
70
|
+
internalType: "bool",
|
71
|
+
name: "",
|
72
|
+
type: "bool",
|
73
|
+
},
|
74
|
+
],
|
75
|
+
stateMutability: "view",
|
76
|
+
type: "function",
|
77
|
+
},
|
78
|
+
];
|
79
|
+
|
80
|
+
const _bytecode =
|
81
|
+
"0x608060405234801561001057600080fd5b50610334806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063452a9320146100515780635c975abb1461006f5780638da5cb5b14610084578063ce6d603f1461008c575b600080fd5b6100596100b2565b604051610066919061021d565b60405180910390f35b61007761012f565b6040516100669190610233565b6100596101a7565b6000546100a5906201000090046001600160a01b031681565b6040516100669190610271565b60008060029054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012a91906102a1565b905090565b60008060029054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610183573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012a91906102dd565b60008060029054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610106573d6000803e3d6000fd5b60006001600160a01b0382165b92915050565b610217816101fb565b82525050565b60208101610208828461020e565b801515610217565b60208101610208828461022b565b60006001600160a01b038216610208565b600061020882610241565b600061020882610252565b6102178161025d565b602081016102088284610268565b610288816101fb565b811461029357600080fd5b50565b80516102088161027f565b6000602082840312156102b6576102b6600080fd5b60006102c28484610296565b949350505050565b801515610288565b8051610208816102ca565b6000602082840312156102f2576102f2600080fd5b60006102c284846102d256fea26469706673582212209ebe9e6f117e8f069d79b6df995a24923b2c8e01b8cba65a47125135abbd322b64736f6c63430008130033";
|
82
|
+
|
83
|
+
export class LandOwnableUpgradeable__factory extends ContractFactory {
|
84
|
+
constructor(
|
85
|
+
...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
|
86
|
+
) {
|
87
|
+
if (args.length === 1) {
|
88
|
+
super(_abi, _bytecode, args[0]);
|
89
|
+
} else {
|
90
|
+
super(...args);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
deploy(
|
95
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
96
|
+
): Promise<LandOwnableUpgradeable> {
|
97
|
+
return super.deploy(overrides || {}) as Promise<LandOwnableUpgradeable>;
|
98
|
+
}
|
99
|
+
getDeployTransaction(
|
100
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
101
|
+
): TransactionRequest {
|
102
|
+
return super.getDeployTransaction(overrides || {});
|
103
|
+
}
|
104
|
+
attach(address: string): LandOwnableUpgradeable {
|
105
|
+
return super.attach(address) as LandOwnableUpgradeable;
|
106
|
+
}
|
107
|
+
connect(signer: Signer): LandOwnableUpgradeable__factory {
|
108
|
+
return super.connect(signer) as LandOwnableUpgradeable__factory;
|
109
|
+
}
|
110
|
+
static readonly bytecode = _bytecode;
|
111
|
+
static readonly abi = _abi;
|
112
|
+
static createInterface(): LandOwnableUpgradeableInterface {
|
113
|
+
return new utils.Interface(_abi) as LandOwnableUpgradeableInterface;
|
114
|
+
}
|
115
|
+
static connect(
|
116
|
+
address: string,
|
117
|
+
signerOrProvider: Signer | Provider
|
118
|
+
): LandOwnableUpgradeable {
|
119
|
+
return new Contract(
|
120
|
+
address,
|
121
|
+
_abi,
|
122
|
+
signerOrProvider
|
123
|
+
) as LandOwnableUpgradeable;
|
124
|
+
}
|
125
|
+
}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
3
|
+
/* tslint:disable */
|
4
|
+
/* eslint-disable */
|
5
|
+
var __extends = (this && this.__extends) || (function () {
|
6
|
+
var extendStatics = function (d, b) {
|
7
|
+
extendStatics = Object.setPrototypeOf ||
|
8
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
9
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
10
|
+
return extendStatics(d, b);
|
11
|
+
};
|
12
|
+
return function (d, b) {
|
13
|
+
if (typeof b !== "function" && b !== null)
|
14
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
15
|
+
extendStatics(d, b);
|
16
|
+
function __() { this.constructor = d; }
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
18
|
+
};
|
19
|
+
})();
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
21
|
+
exports.LandOwnable__factory = void 0;
|
22
|
+
var ethers_1 = require("ethers");
|
23
|
+
var _abi = [
|
24
|
+
{
|
25
|
+
inputs: [
|
26
|
+
{
|
27
|
+
internalType: "contract ILandCore",
|
28
|
+
name: "_LandCore",
|
29
|
+
type: "address",
|
30
|
+
},
|
31
|
+
],
|
32
|
+
stateMutability: "nonpayable",
|
33
|
+
type: "constructor",
|
34
|
+
},
|
35
|
+
{
|
36
|
+
inputs: [],
|
37
|
+
name: "LandCore",
|
38
|
+
outputs: [
|
39
|
+
{
|
40
|
+
internalType: "contract ILandCore",
|
41
|
+
name: "",
|
42
|
+
type: "address",
|
43
|
+
},
|
44
|
+
],
|
45
|
+
stateMutability: "view",
|
46
|
+
type: "function",
|
47
|
+
},
|
48
|
+
{
|
49
|
+
inputs: [],
|
50
|
+
name: "guardian",
|
51
|
+
outputs: [
|
52
|
+
{
|
53
|
+
internalType: "address",
|
54
|
+
name: "",
|
55
|
+
type: "address",
|
56
|
+
},
|
57
|
+
],
|
58
|
+
stateMutability: "view",
|
59
|
+
type: "function",
|
60
|
+
},
|
61
|
+
{
|
62
|
+
inputs: [],
|
63
|
+
name: "owner",
|
64
|
+
outputs: [
|
65
|
+
{
|
66
|
+
internalType: "address",
|
67
|
+
name: "",
|
68
|
+
type: "address",
|
69
|
+
},
|
70
|
+
],
|
71
|
+
stateMutability: "view",
|
72
|
+
type: "function",
|
73
|
+
},
|
74
|
+
{
|
75
|
+
inputs: [],
|
76
|
+
name: "paused",
|
77
|
+
outputs: [
|
78
|
+
{
|
79
|
+
internalType: "bool",
|
80
|
+
name: "",
|
81
|
+
type: "bool",
|
82
|
+
},
|
83
|
+
],
|
84
|
+
stateMutability: "view",
|
85
|
+
type: "function",
|
86
|
+
},
|
87
|
+
];
|
88
|
+
var _bytecode = "0x608060405234801561001057600080fd5b506040516102693803806102698339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610204806100656000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063452a9320146100515780635c975abb146100755780638da5cb5b14610091578063ce6d603f14610099575b600080fd5b6100596100a1565b604080516001600160a01b039092168252519081900360200190f35b61007d610121565b604080519115158252519081900360200190f35b610059610170565b6100596101bf565b60008060009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b505afa158015610104573d6000803e3d6000fd5b505050506040513d602081101561011a57600080fd5b5051905090565b60008060009054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b6000546001600160a01b03168156fea26469706673582212206b99b54cd48b8bbf467e17dbab7ac7aa5c1dd2d465c01eedd57c040e0b21d59c64736f6c63430007060033";
|
89
|
+
var LandOwnable__factory = exports.LandOwnable__factory = /** @class */ (function (_super) {
|
90
|
+
__extends(LandOwnable__factory, _super);
|
91
|
+
function LandOwnable__factory() {
|
92
|
+
var args = [];
|
93
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
94
|
+
args[_i] = arguments[_i];
|
95
|
+
}
|
96
|
+
var _this = this;
|
97
|
+
if (args.length === 1) {
|
98
|
+
_this = _super.call(this, _abi, _bytecode, args[0]) || this;
|
99
|
+
}
|
100
|
+
else {
|
101
|
+
_this = _super.apply(this, args) || this;
|
102
|
+
}
|
103
|
+
return _this;
|
104
|
+
}
|
105
|
+
LandOwnable__factory.prototype.deploy = function (_LandCore, overrides) {
|
106
|
+
return _super.prototype.deploy.call(this, _LandCore, overrides || {});
|
107
|
+
};
|
108
|
+
LandOwnable__factory.prototype.getDeployTransaction = function (_LandCore, overrides) {
|
109
|
+
return _super.prototype.getDeployTransaction.call(this, _LandCore, overrides || {});
|
110
|
+
};
|
111
|
+
LandOwnable__factory.prototype.attach = function (address) {
|
112
|
+
return _super.prototype.attach.call(this, address);
|
113
|
+
};
|
114
|
+
LandOwnable__factory.prototype.connect = function (signer) {
|
115
|
+
return _super.prototype.connect.call(this, signer);
|
116
|
+
};
|
117
|
+
LandOwnable__factory.createInterface = function () {
|
118
|
+
return new ethers_1.utils.Interface(_abi);
|
119
|
+
};
|
120
|
+
LandOwnable__factory.connect = function (address, signerOrProvider) {
|
121
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
122
|
+
};
|
123
|
+
LandOwnable__factory.bytecode = _bytecode;
|
124
|
+
LandOwnable__factory.abi = _abi;
|
125
|
+
return LandOwnable__factory;
|
126
|
+
}(ethers_1.ContractFactory));
|
@@ -0,0 +1,118 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
|
5
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
7
|
+
import type { LandOwnable, LandOwnableInterface } from "../LandOwnable";
|
8
|
+
|
9
|
+
const _abi = [
|
10
|
+
{
|
11
|
+
inputs: [
|
12
|
+
{
|
13
|
+
internalType: "contract ILandCore",
|
14
|
+
name: "_LandCore",
|
15
|
+
type: "address",
|
16
|
+
},
|
17
|
+
],
|
18
|
+
stateMutability: "nonpayable",
|
19
|
+
type: "constructor",
|
20
|
+
},
|
21
|
+
{
|
22
|
+
inputs: [],
|
23
|
+
name: "LandCore",
|
24
|
+
outputs: [
|
25
|
+
{
|
26
|
+
internalType: "contract ILandCore",
|
27
|
+
name: "",
|
28
|
+
type: "address",
|
29
|
+
},
|
30
|
+
],
|
31
|
+
stateMutability: "view",
|
32
|
+
type: "function",
|
33
|
+
},
|
34
|
+
{
|
35
|
+
inputs: [],
|
36
|
+
name: "guardian",
|
37
|
+
outputs: [
|
38
|
+
{
|
39
|
+
internalType: "address",
|
40
|
+
name: "",
|
41
|
+
type: "address",
|
42
|
+
},
|
43
|
+
],
|
44
|
+
stateMutability: "view",
|
45
|
+
type: "function",
|
46
|
+
},
|
47
|
+
{
|
48
|
+
inputs: [],
|
49
|
+
name: "owner",
|
50
|
+
outputs: [
|
51
|
+
{
|
52
|
+
internalType: "address",
|
53
|
+
name: "",
|
54
|
+
type: "address",
|
55
|
+
},
|
56
|
+
],
|
57
|
+
stateMutability: "view",
|
58
|
+
type: "function",
|
59
|
+
},
|
60
|
+
{
|
61
|
+
inputs: [],
|
62
|
+
name: "paused",
|
63
|
+
outputs: [
|
64
|
+
{
|
65
|
+
internalType: "bool",
|
66
|
+
name: "",
|
67
|
+
type: "bool",
|
68
|
+
},
|
69
|
+
],
|
70
|
+
stateMutability: "view",
|
71
|
+
type: "function",
|
72
|
+
},
|
73
|
+
];
|
74
|
+
|
75
|
+
const _bytecode =
|
76
|
+
"0x608060405234801561001057600080fd5b506040516102693803806102698339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610204806100656000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063452a9320146100515780635c975abb146100755780638da5cb5b14610091578063ce6d603f14610099575b600080fd5b6100596100a1565b604080516001600160a01b039092168252519081900360200190f35b61007d610121565b604080519115158252519081900360200190f35b610059610170565b6100596101bf565b60008060009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b505afa158015610104573d6000803e3d6000fd5b505050506040513d602081101561011a57600080fd5b5051905090565b60008060009054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b6000546001600160a01b03168156fea26469706673582212206b99b54cd48b8bbf467e17dbab7ac7aa5c1dd2d465c01eedd57c040e0b21d59c64736f6c63430007060033";
|
77
|
+
|
78
|
+
export class LandOwnable__factory extends ContractFactory {
|
79
|
+
constructor(
|
80
|
+
...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
|
81
|
+
) {
|
82
|
+
if (args.length === 1) {
|
83
|
+
super(_abi, _bytecode, args[0]);
|
84
|
+
} else {
|
85
|
+
super(...args);
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
deploy(
|
90
|
+
_LandCore: string,
|
91
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
92
|
+
): Promise<LandOwnable> {
|
93
|
+
return super.deploy(_LandCore, overrides || {}) as Promise<LandOwnable>;
|
94
|
+
}
|
95
|
+
getDeployTransaction(
|
96
|
+
_LandCore: string,
|
97
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
98
|
+
): TransactionRequest {
|
99
|
+
return super.getDeployTransaction(_LandCore, overrides || {});
|
100
|
+
}
|
101
|
+
attach(address: string): LandOwnable {
|
102
|
+
return super.attach(address) as LandOwnable;
|
103
|
+
}
|
104
|
+
connect(signer: Signer): LandOwnable__factory {
|
105
|
+
return super.connect(signer) as LandOwnable__factory;
|
106
|
+
}
|
107
|
+
static readonly bytecode = _bytecode;
|
108
|
+
static readonly abi = _abi;
|
109
|
+
static createInterface(): LandOwnableInterface {
|
110
|
+
return new utils.Interface(_abi) as LandOwnableInterface;
|
111
|
+
}
|
112
|
+
static connect(
|
113
|
+
address: string,
|
114
|
+
signerOrProvider: Signer | Provider
|
115
|
+
): LandOwnable {
|
116
|
+
return new Contract(address, _abi, signerOrProvider) as LandOwnable;
|
117
|
+
}
|
118
|
+
}
|