@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.
Files changed (171) hide show
  1. package/.gitattributes +1 -0
  2. package/.gitmodules +3 -0
  3. package/README.md +9 -0
  4. package/package.json +96 -0
  5. package/tsconfig.json +11 -0
  6. package/types/BasicToken.d.ts +300 -0
  7. package/types/BlackList.d.ts +512 -0
  8. package/types/BlastOracleLand.d.ts +933 -0
  9. package/types/ChainlinkPriceFeed.d.ts +427 -0
  10. package/types/Console.d.ts +101 -0
  11. package/types/CustomPriceFeed.d.ts +214 -0
  12. package/types/ERC1967Proxy.d.ts +126 -0
  13. package/types/ERC1967Upgrade.d.ts +126 -0
  14. package/types/ERC20.d.ts +343 -0
  15. package/types/ERC20Basic.d.ts +199 -0
  16. package/types/ETHOracleLand.d.ts +901 -0
  17. package/types/FixedPriceFeed.d.ts +212 -0
  18. package/types/IAggregatorV3Interface.d.ts +234 -0
  19. package/types/IBeacon.d.ts +101 -0
  20. package/types/IBlast.d.ts +919 -0
  21. package/types/ICoin.d.ts +95 -0
  22. package/types/IERC1822Proxiable.d.ts +101 -0
  23. package/types/IERC1967.d.ts +126 -0
  24. package/types/IERC20.d.ts +324 -0
  25. package/types/IERC20Metadata.d.ts +363 -0
  26. package/types/IERC20Rebasing.d.ts +184 -0
  27. package/types/ILand.d.ts +386 -0
  28. package/types/ILandCore.d.ts +255 -0
  29. package/types/IPriceFeed.d.ts +108 -0
  30. package/types/IPyth.d.ts +194 -0
  31. package/types/IQuoter.d.ts +269 -0
  32. package/types/ITransparentUpgradeableProxy.d.ts +256 -0
  33. package/types/IUniswapV3Pool.d.ts +203 -0
  34. package/types/IUniswapV3PoolActions.d.ts +396 -0
  35. package/types/IUniswapV3PoolDerivedState.d.ts +185 -0
  36. package/types/IUniswapV3PoolEvents.d.ts +482 -0
  37. package/types/IUniswapV3PoolImmutables.d.ts +174 -0
  38. package/types/IUniswapV3PoolOwnerActions.d.ts +168 -0
  39. package/types/IUniswapV3PoolState.d.ts +438 -0
  40. package/types/IWETH.d.ts +374 -0
  41. package/types/Initializable.d.ts +92 -0
  42. package/types/Land.d.ts +586 -0
  43. package/types/LandCore.d.ts +255 -0
  44. package/types/LandMath.d.ts +101 -0
  45. package/types/LandOwnable.d.ts +134 -0
  46. package/types/LandOwnableUpgradeable.d.ts +148 -0
  47. package/types/MockDAI.d.ts +441 -0
  48. package/types/MockUSDC.d.ts +441 -0
  49. package/types/MockUSDT.d.ts +441 -0
  50. package/types/OracleLand.d.ts +724 -0
  51. package/types/Ownable.d.ts +130 -0
  52. package/types/Pausable.d.ts +203 -0
  53. package/types/Proxy.d.ts +78 -0
  54. package/types/ProxyAdmin.d.ts +357 -0
  55. package/types/PythPriceFeed.d.ts +423 -0
  56. package/types/StandardToken.d.ts +493 -0
  57. package/types/TetherToken.d.ts +1018 -0
  58. package/types/TransparentUpgradeableProxy.d.ts +126 -0
  59. package/types/UpgradedStandardToken.d.ts +630 -0
  60. package/types/common.d.ts +35 -0
  61. package/types/factories/BasicToken__factory.js +183 -0
  62. package/types/factories/BasicToken__factory.ts +185 -0
  63. package/types/factories/BlackList__factory.js +318 -0
  64. package/types/factories/BlackList__factory.ts +320 -0
  65. package/types/factories/BlastOracleLand__factory.js +656 -0
  66. package/types/factories/BlastOracleLand__factory.ts +649 -0
  67. package/types/factories/ChainlinkPriceFeed__factory.js +378 -0
  68. package/types/factories/ChainlinkPriceFeed__factory.ts +398 -0
  69. package/types/factories/Console__factory.js +76 -0
  70. package/types/factories/Console__factory.ts +66 -0
  71. package/types/factories/CustomPriceFeed__factory.js +207 -0
  72. package/types/factories/CustomPriceFeed__factory.ts +211 -0
  73. package/types/factories/ERC1967Proxy__factory.js +132 -0
  74. package/types/factories/ERC1967Proxy__factory.ts +137 -0
  75. package/types/factories/ERC1967Upgrade__factory.js +66 -0
  76. package/types/factories/ERC1967Upgrade__factory.ts +71 -0
  77. package/types/factories/ERC20Basic__factory.js +108 -0
  78. package/types/factories/ERC20Basic__factory.ts +110 -0
  79. package/types/factories/ERC20__factory.js +193 -0
  80. package/types/factories/ERC20__factory.ts +192 -0
  81. package/types/factories/ETHOracleLand__factory.js +625 -0
  82. package/types/factories/ETHOracleLand__factory.ts +615 -0
  83. package/types/factories/FixedPriceFeed__factory.js +192 -0
  84. package/types/factories/FixedPriceFeed__factory.ts +203 -0
  85. package/types/factories/IAggregatorV3Interface__factory.js +132 -0
  86. package/types/factories/IAggregatorV3Interface__factory.ts +141 -0
  87. package/types/factories/IBeacon__factory.js +34 -0
  88. package/types/factories/IBeacon__factory.ts +36 -0
  89. package/types/factories/IBlast__factory.js +439 -0
  90. package/types/factories/IBlast__factory.ts +438 -0
  91. package/types/factories/ICoin__factory.js +34 -0
  92. package/types/factories/ICoin__factory.ts +33 -0
  93. package/types/factories/IERC1822Proxiable__factory.js +34 -0
  94. package/types/factories/IERC1822Proxiable__factory.ts +39 -0
  95. package/types/factories/IERC1967__factory.js +66 -0
  96. package/types/factories/IERC1967__factory.ts +68 -0
  97. package/types/factories/IERC20Metadata__factory.js +243 -0
  98. package/types/factories/IERC20Metadata__factory.ts +248 -0
  99. package/types/factories/IERC20Rebasing__factory.js +83 -0
  100. package/types/factories/IERC20Rebasing__factory.ts +88 -0
  101. package/types/factories/IERC20__factory.js +204 -0
  102. package/types/factories/IERC20__factory.ts +203 -0
  103. package/types/factories/ILandCore__factory.js +143 -0
  104. package/types/factories/ILandCore__factory.ts +145 -0
  105. package/types/factories/ILand__factory.js +255 -0
  106. package/types/factories/ILand__factory.ts +254 -0
  107. package/types/factories/IPriceFeed__factory.js +40 -0
  108. package/types/factories/IPriceFeed__factory.ts +42 -0
  109. package/types/factories/IPyth__factory.js +103 -0
  110. package/types/factories/IPyth__factory.ts +102 -0
  111. package/types/factories/IQuoter__factory.js +147 -0
  112. package/types/factories/IQuoter__factory.ts +149 -0
  113. package/types/factories/ITransparentUpgradeableProxy__factory.js +136 -0
  114. package/types/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
  115. package/types/factories/IUniswapV3PoolActions__factory.js +241 -0
  116. package/types/factories/IUniswapV3PoolActions__factory.ts +250 -0
  117. package/types/factories/IUniswapV3PoolDerivedState__factory.js +79 -0
  118. package/types/factories/IUniswapV3PoolDerivedState__factory.ts +88 -0
  119. package/types/factories/IUniswapV3PoolEvents__factory.js +348 -0
  120. package/types/factories/IUniswapV3PoolEvents__factory.ts +357 -0
  121. package/types/factories/IUniswapV3PoolImmutables__factory.js +99 -0
  122. package/types/factories/IUniswapV3PoolImmutables__factory.ts +108 -0
  123. package/types/factories/IUniswapV3PoolOwnerActions__factory.js +73 -0
  124. package/types/factories/IUniswapV3PoolOwnerActions__factory.ts +82 -0
  125. package/types/factories/IUniswapV3PoolState__factory.js +267 -0
  126. package/types/factories/IUniswapV3PoolState__factory.ts +272 -0
  127. package/types/factories/IUniswapV3Pool__factory.js +114 -0
  128. package/types/factories/IUniswapV3Pool__factory.ts +119 -0
  129. package/types/factories/IWETH__factory.js +224 -0
  130. package/types/factories/IWETH__factory.ts +223 -0
  131. package/types/factories/Initializable__factory.js +34 -0
  132. package/types/factories/Initializable__factory.ts +36 -0
  133. package/types/factories/LandCore__factory.js +201 -0
  134. package/types/factories/LandCore__factory.ts +199 -0
  135. package/types/factories/LandMath__factory.js +76 -0
  136. package/types/factories/LandMath__factory.ts +66 -0
  137. package/types/factories/LandOwnableUpgradeable__factory.js +128 -0
  138. package/types/factories/LandOwnableUpgradeable__factory.ts +125 -0
  139. package/types/factories/LandOwnable__factory.js +126 -0
  140. package/types/factories/LandOwnable__factory.ts +118 -0
  141. package/types/factories/Land__factory.js +462 -0
  142. package/types/factories/Land__factory.ts +449 -0
  143. package/types/factories/MockDAI__factory.js +338 -0
  144. package/types/factories/MockDAI__factory.ts +328 -0
  145. package/types/factories/MockUSDC__factory.js +338 -0
  146. package/types/factories/MockUSDC__factory.ts +328 -0
  147. package/types/factories/MockUSDT__factory.js +338 -0
  148. package/types/factories/MockUSDT__factory.ts +328 -0
  149. package/types/factories/OracleLand__factory.js +537 -0
  150. package/types/factories/OracleLand__factory.ts +527 -0
  151. package/types/factories/Ownable__factory.js +73 -0
  152. package/types/factories/Ownable__factory.ts +75 -0
  153. package/types/factories/Pausable__factory.js +135 -0
  154. package/types/factories/Pausable__factory.ts +125 -0
  155. package/types/factories/ProxyAdmin__factory.js +212 -0
  156. package/types/factories/ProxyAdmin__factory.ts +202 -0
  157. package/types/factories/Proxy__factory.js +29 -0
  158. package/types/factories/Proxy__factory.ts +28 -0
  159. package/types/factories/PythPriceFeed__factory.js +378 -0
  160. package/types/factories/PythPriceFeed__factory.ts +400 -0
  161. package/types/factories/StandardToken__factory.js +305 -0
  162. package/types/factories/StandardToken__factory.ts +307 -0
  163. package/types/factories/TetherToken__factory.js +732 -0
  164. package/types/factories/TetherToken__factory.ts +749 -0
  165. package/types/factories/TransparentUpgradeableProxy__factory.js +137 -0
  166. package/types/factories/TransparentUpgradeableProxy__factory.ts +152 -0
  167. package/types/factories/UpgradedStandardToken__factory.js +375 -0
  168. package/types/factories/UpgradedStandardToken__factory.ts +384 -0
  169. package/types/hardhat.d.ts +573 -0
  170. package/types/index.js +112 -0
  171. package/types/index.ts +112 -0
@@ -0,0 +1,201 @@
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.LandCore__factory = void 0;
22
+ var ethers_1 = require("ethers");
23
+ var _abi = [
24
+ {
25
+ inputs: [
26
+ {
27
+ internalType: "address",
28
+ name: "_owner",
29
+ type: "address",
30
+ },
31
+ {
32
+ internalType: "address",
33
+ name: "_guardian",
34
+ type: "address",
35
+ },
36
+ ],
37
+ stateMutability: "nonpayable",
38
+ type: "constructor",
39
+ },
40
+ {
41
+ anonymous: false,
42
+ inputs: [
43
+ {
44
+ indexed: false,
45
+ internalType: "address",
46
+ name: "guardian",
47
+ type: "address",
48
+ },
49
+ ],
50
+ name: "GuardianSet",
51
+ type: "event",
52
+ },
53
+ {
54
+ anonymous: false,
55
+ inputs: [
56
+ {
57
+ indexed: false,
58
+ internalType: "address",
59
+ name: "oldOwner",
60
+ type: "address",
61
+ },
62
+ {
63
+ indexed: false,
64
+ internalType: "address",
65
+ name: "owner",
66
+ type: "address",
67
+ },
68
+ ],
69
+ name: "NewOwnerTransferred",
70
+ type: "event",
71
+ },
72
+ {
73
+ anonymous: false,
74
+ inputs: [],
75
+ name: "Paused",
76
+ type: "event",
77
+ },
78
+ {
79
+ anonymous: false,
80
+ inputs: [],
81
+ name: "Unpaused",
82
+ type: "event",
83
+ },
84
+ {
85
+ inputs: [],
86
+ name: "guardian",
87
+ outputs: [
88
+ {
89
+ internalType: "address",
90
+ name: "",
91
+ type: "address",
92
+ },
93
+ ],
94
+ stateMutability: "view",
95
+ type: "function",
96
+ },
97
+ {
98
+ inputs: [],
99
+ name: "owner",
100
+ outputs: [
101
+ {
102
+ internalType: "address",
103
+ name: "",
104
+ type: "address",
105
+ },
106
+ ],
107
+ stateMutability: "view",
108
+ type: "function",
109
+ },
110
+ {
111
+ inputs: [],
112
+ name: "paused",
113
+ outputs: [
114
+ {
115
+ internalType: "bool",
116
+ name: "",
117
+ type: "bool",
118
+ },
119
+ ],
120
+ stateMutability: "view",
121
+ type: "function",
122
+ },
123
+ {
124
+ inputs: [
125
+ {
126
+ internalType: "address",
127
+ name: "_guardian",
128
+ type: "address",
129
+ },
130
+ ],
131
+ name: "setGuardian",
132
+ outputs: [],
133
+ stateMutability: "nonpayable",
134
+ type: "function",
135
+ },
136
+ {
137
+ inputs: [
138
+ {
139
+ internalType: "bool",
140
+ name: "_paused",
141
+ type: "bool",
142
+ },
143
+ ],
144
+ name: "setPaused",
145
+ outputs: [],
146
+ stateMutability: "nonpayable",
147
+ type: "function",
148
+ },
149
+ {
150
+ inputs: [
151
+ {
152
+ internalType: "address",
153
+ name: "newOwner",
154
+ type: "address",
155
+ },
156
+ ],
157
+ name: "transferOwnership",
158
+ outputs: [],
159
+ stateMutability: "nonpayable",
160
+ type: "function",
161
+ },
162
+ ];
163
+ var _bytecode = "0x608060405234801561001057600080fd5b5060405161057f38038061057f83398101604081905261002f916100d3565b600080546001600160a01b038085166001600160a01b03199283161790925560018054928416929091169190911790556040517fe6c09ffe4572dc9ceaa5ddde4ae41befa655d6fdfe8052077af0970f700e942e9061008f90839061011f565b60405180910390a1505061012d565b60006001600160a01b0382165b92915050565b6100ba8161009e565b81146100c557600080fd5b50565b80516100ab816100b1565b600080604083850312156100e9576100e9600080fd5b60006100f585856100c8565b9250506020610106858286016100c8565b9150509250929050565b6101198161009e565b82525050565b602081016100ab8284610110565b6104438061013c6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806316c38b3c14610067578063452a93201461007c5780635c975abb146100a55780638a0dac4a146100c65780638da5cb5b146100d9578063f2fde38b146100ec575b600080fd5b61007a6100753660046102e2565b6100ff565b005b60015461008f906001600160a01b031681565b60405161009c919061032b565b60405180910390f35b6001546100b990600160a01b900460ff1681565b60405161009c9190610341565b61007a6100d4366004610363565b6101cb565b60005461008f906001600160a01b031681565b61007a6100fa366004610363565b61024b565b80801561011657506001546001600160a01b031633145b8061012b57506000546001600160a01b031633145b6101505760405162461bcd60e51b8152600401610147906103aa565b60405180910390fd5b6001805482158015600160a01b0260ff60a01b199092169190911790915561019e576040517f9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e75290600090a150565b6040517fa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d1693390600090a15b50565b6000546001600160a01b031633146101f55760405162461bcd60e51b8152600401610147906103db565b600180546001600160a01b0319166001600160a01b0383161790556040517fe6c09ffe4572dc9ceaa5ddde4ae41befa655d6fdfe8052077af0970f700e942e9061024090839061032b565b60405180910390a150565b6000546001600160a01b031633146102755760405162461bcd60e51b8152600401610147906103db565b600080546001600160a01b0319166001600160a01b0383161790556040517f4edd3c99927a5445842ad798b63140c14e08f5dd03affe17eec5c2b7cc3a97a79061024090339084906103eb565b8015155b81146101c857600080fd5b80356102dc816102c2565b92915050565b6000602082840312156102f7576102f7600080fd5b600061030384846102d1565b949350505050565b60006001600160a01b0382166102dc565b6103258161030b565b82525050565b602081016102dc828461031c565b801515610325565b602081016102dc8284610339565b6102c68161030b565b80356102dc8161034f565b60006020828403121561037857610378600080fd5b60006103038484610358565b600c81526000602082016b155b985d5d1a1bdc9a5e995960a21b815291505b5060200190565b602080825281016102dc81610384565b600a81526000602082016927b7363c9037bbb732b960b11b815291506103a3565b602080825281016102dc816103ba565b604081016103f9828561031c565b610406602083018461031c565b939250505056fea2646970667358221220ed441dea659a904d1dfc35d18740391597bfc6ed6bd7a3111fc1820f64f3e07364736f6c63430008130033";
164
+ var LandCore__factory = exports.LandCore__factory = /** @class */ (function (_super) {
165
+ __extends(LandCore__factory, _super);
166
+ function LandCore__factory() {
167
+ var args = [];
168
+ for (var _i = 0; _i < arguments.length; _i++) {
169
+ args[_i] = arguments[_i];
170
+ }
171
+ var _this = this;
172
+ if (args.length === 1) {
173
+ _this = _super.call(this, _abi, _bytecode, args[0]) || this;
174
+ }
175
+ else {
176
+ _this = _super.apply(this, args) || this;
177
+ }
178
+ return _this;
179
+ }
180
+ LandCore__factory.prototype.deploy = function (_owner, _guardian, overrides) {
181
+ return _super.prototype.deploy.call(this, _owner, _guardian, overrides || {});
182
+ };
183
+ LandCore__factory.prototype.getDeployTransaction = function (_owner, _guardian, overrides) {
184
+ return _super.prototype.getDeployTransaction.call(this, _owner, _guardian, overrides || {});
185
+ };
186
+ LandCore__factory.prototype.attach = function (address) {
187
+ return _super.prototype.attach.call(this, address);
188
+ };
189
+ LandCore__factory.prototype.connect = function (signer) {
190
+ return _super.prototype.connect.call(this, signer);
191
+ };
192
+ LandCore__factory.createInterface = function () {
193
+ return new ethers_1.utils.Interface(_abi);
194
+ };
195
+ LandCore__factory.connect = function (address, signerOrProvider) {
196
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
197
+ };
198
+ LandCore__factory.bytecode = _bytecode;
199
+ LandCore__factory.abi = _abi;
200
+ return LandCore__factory;
201
+ }(ethers_1.ContractFactory));
@@ -0,0 +1,199 @@
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 { LandCore, LandCoreInterface } from "../LandCore";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "address",
14
+ name: "_owner",
15
+ type: "address",
16
+ },
17
+ {
18
+ internalType: "address",
19
+ name: "_guardian",
20
+ type: "address",
21
+ },
22
+ ],
23
+ stateMutability: "nonpayable",
24
+ type: "constructor",
25
+ },
26
+ {
27
+ anonymous: false,
28
+ inputs: [
29
+ {
30
+ indexed: false,
31
+ internalType: "address",
32
+ name: "guardian",
33
+ type: "address",
34
+ },
35
+ ],
36
+ name: "GuardianSet",
37
+ type: "event",
38
+ },
39
+ {
40
+ anonymous: false,
41
+ inputs: [
42
+ {
43
+ indexed: false,
44
+ internalType: "address",
45
+ name: "oldOwner",
46
+ type: "address",
47
+ },
48
+ {
49
+ indexed: false,
50
+ internalType: "address",
51
+ name: "owner",
52
+ type: "address",
53
+ },
54
+ ],
55
+ name: "NewOwnerTransferred",
56
+ type: "event",
57
+ },
58
+ {
59
+ anonymous: false,
60
+ inputs: [],
61
+ name: "Paused",
62
+ type: "event",
63
+ },
64
+ {
65
+ anonymous: false,
66
+ inputs: [],
67
+ name: "Unpaused",
68
+ type: "event",
69
+ },
70
+ {
71
+ inputs: [],
72
+ name: "guardian",
73
+ outputs: [
74
+ {
75
+ internalType: "address",
76
+ name: "",
77
+ type: "address",
78
+ },
79
+ ],
80
+ stateMutability: "view",
81
+ type: "function",
82
+ },
83
+ {
84
+ inputs: [],
85
+ name: "owner",
86
+ outputs: [
87
+ {
88
+ internalType: "address",
89
+ name: "",
90
+ type: "address",
91
+ },
92
+ ],
93
+ stateMutability: "view",
94
+ type: "function",
95
+ },
96
+ {
97
+ inputs: [],
98
+ name: "paused",
99
+ outputs: [
100
+ {
101
+ internalType: "bool",
102
+ name: "",
103
+ type: "bool",
104
+ },
105
+ ],
106
+ stateMutability: "view",
107
+ type: "function",
108
+ },
109
+ {
110
+ inputs: [
111
+ {
112
+ internalType: "address",
113
+ name: "_guardian",
114
+ type: "address",
115
+ },
116
+ ],
117
+ name: "setGuardian",
118
+ outputs: [],
119
+ stateMutability: "nonpayable",
120
+ type: "function",
121
+ },
122
+ {
123
+ inputs: [
124
+ {
125
+ internalType: "bool",
126
+ name: "_paused",
127
+ type: "bool",
128
+ },
129
+ ],
130
+ name: "setPaused",
131
+ outputs: [],
132
+ stateMutability: "nonpayable",
133
+ type: "function",
134
+ },
135
+ {
136
+ inputs: [
137
+ {
138
+ internalType: "address",
139
+ name: "newOwner",
140
+ type: "address",
141
+ },
142
+ ],
143
+ name: "transferOwnership",
144
+ outputs: [],
145
+ stateMutability: "nonpayable",
146
+ type: "function",
147
+ },
148
+ ];
149
+
150
+ const _bytecode =
151
+ "0x608060405234801561001057600080fd5b5060405161057f38038061057f83398101604081905261002f916100d3565b600080546001600160a01b038085166001600160a01b03199283161790925560018054928416929091169190911790556040517fe6c09ffe4572dc9ceaa5ddde4ae41befa655d6fdfe8052077af0970f700e942e9061008f90839061011f565b60405180910390a1505061012d565b60006001600160a01b0382165b92915050565b6100ba8161009e565b81146100c557600080fd5b50565b80516100ab816100b1565b600080604083850312156100e9576100e9600080fd5b60006100f585856100c8565b9250506020610106858286016100c8565b9150509250929050565b6101198161009e565b82525050565b602081016100ab8284610110565b6104438061013c6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806316c38b3c14610067578063452a93201461007c5780635c975abb146100a55780638a0dac4a146100c65780638da5cb5b146100d9578063f2fde38b146100ec575b600080fd5b61007a6100753660046102e2565b6100ff565b005b60015461008f906001600160a01b031681565b60405161009c919061032b565b60405180910390f35b6001546100b990600160a01b900460ff1681565b60405161009c9190610341565b61007a6100d4366004610363565b6101cb565b60005461008f906001600160a01b031681565b61007a6100fa366004610363565b61024b565b80801561011657506001546001600160a01b031633145b8061012b57506000546001600160a01b031633145b6101505760405162461bcd60e51b8152600401610147906103aa565b60405180910390fd5b6001805482158015600160a01b0260ff60a01b199092169190911790915561019e576040517f9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e75290600090a150565b6040517fa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d1693390600090a15b50565b6000546001600160a01b031633146101f55760405162461bcd60e51b8152600401610147906103db565b600180546001600160a01b0319166001600160a01b0383161790556040517fe6c09ffe4572dc9ceaa5ddde4ae41befa655d6fdfe8052077af0970f700e942e9061024090839061032b565b60405180910390a150565b6000546001600160a01b031633146102755760405162461bcd60e51b8152600401610147906103db565b600080546001600160a01b0319166001600160a01b0383161790556040517f4edd3c99927a5445842ad798b63140c14e08f5dd03affe17eec5c2b7cc3a97a79061024090339084906103eb565b8015155b81146101c857600080fd5b80356102dc816102c2565b92915050565b6000602082840312156102f7576102f7600080fd5b600061030384846102d1565b949350505050565b60006001600160a01b0382166102dc565b6103258161030b565b82525050565b602081016102dc828461031c565b801515610325565b602081016102dc8284610339565b6102c68161030b565b80356102dc8161034f565b60006020828403121561037857610378600080fd5b60006103038484610358565b600c81526000602082016b155b985d5d1a1bdc9a5e995960a21b815291505b5060200190565b602080825281016102dc81610384565b600a81526000602082016927b7363c9037bbb732b960b11b815291506103a3565b602080825281016102dc816103ba565b604081016103f9828561031c565b610406602083018461031c565b939250505056fea2646970667358221220ed441dea659a904d1dfc35d18740391597bfc6ed6bd7a3111fc1820f64f3e07364736f6c63430008130033";
152
+
153
+ export class LandCore__factory extends ContractFactory {
154
+ constructor(
155
+ ...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
156
+ ) {
157
+ if (args.length === 1) {
158
+ super(_abi, _bytecode, args[0]);
159
+ } else {
160
+ super(...args);
161
+ }
162
+ }
163
+
164
+ deploy(
165
+ _owner: string,
166
+ _guardian: string,
167
+ overrides?: Overrides & { from?: string | Promise<string> }
168
+ ): Promise<LandCore> {
169
+ return super.deploy(
170
+ _owner,
171
+ _guardian,
172
+ overrides || {}
173
+ ) as Promise<LandCore>;
174
+ }
175
+ getDeployTransaction(
176
+ _owner: string,
177
+ _guardian: string,
178
+ overrides?: Overrides & { from?: string | Promise<string> }
179
+ ): TransactionRequest {
180
+ return super.getDeployTransaction(_owner, _guardian, overrides || {});
181
+ }
182
+ attach(address: string): LandCore {
183
+ return super.attach(address) as LandCore;
184
+ }
185
+ connect(signer: Signer): LandCore__factory {
186
+ return super.connect(signer) as LandCore__factory;
187
+ }
188
+ static readonly bytecode = _bytecode;
189
+ static readonly abi = _abi;
190
+ static createInterface(): LandCoreInterface {
191
+ return new utils.Interface(_abi) as LandCoreInterface;
192
+ }
193
+ static connect(
194
+ address: string,
195
+ signerOrProvider: Signer | Provider
196
+ ): LandCore {
197
+ return new Contract(address, _abi, signerOrProvider) as LandCore;
198
+ }
199
+ }
@@ -0,0 +1,76 @@
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.LandMath__factory = void 0;
22
+ var ethers_1 = require("ethers");
23
+ var _abi = [
24
+ {
25
+ inputs: [],
26
+ name: "DECIMAL_PRECISION",
27
+ outputs: [
28
+ {
29
+ internalType: "uint256",
30
+ name: "",
31
+ type: "uint256",
32
+ },
33
+ ],
34
+ stateMutability: "view",
35
+ type: "function",
36
+ },
37
+ ];
38
+ var _bytecode = "0x608e610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063a20baee6146038575b600080fd5b6046670de0b6b3a764000081565b60405190815260200160405180910390f3fea26469706673582212208dbe03d4202af96c25d0ec09fc3f721a771c8f232416d07fa773340b05b4923864736f6c63430008130033";
39
+ var LandMath__factory = exports.LandMath__factory = /** @class */ (function (_super) {
40
+ __extends(LandMath__factory, _super);
41
+ function LandMath__factory() {
42
+ var args = [];
43
+ for (var _i = 0; _i < arguments.length; _i++) {
44
+ args[_i] = arguments[_i];
45
+ }
46
+ var _this = this;
47
+ if (args.length === 1) {
48
+ _this = _super.call(this, _abi, _bytecode, args[0]) || this;
49
+ }
50
+ else {
51
+ _this = _super.apply(this, args) || this;
52
+ }
53
+ return _this;
54
+ }
55
+ LandMath__factory.prototype.deploy = function (overrides) {
56
+ return _super.prototype.deploy.call(this, overrides || {});
57
+ };
58
+ LandMath__factory.prototype.getDeployTransaction = function (overrides) {
59
+ return _super.prototype.getDeployTransaction.call(this, overrides || {});
60
+ };
61
+ LandMath__factory.prototype.attach = function (address) {
62
+ return _super.prototype.attach.call(this, address);
63
+ };
64
+ LandMath__factory.prototype.connect = function (signer) {
65
+ return _super.prototype.connect.call(this, signer);
66
+ };
67
+ LandMath__factory.createInterface = function () {
68
+ return new ethers_1.utils.Interface(_abi);
69
+ };
70
+ LandMath__factory.connect = function (address, signerOrProvider) {
71
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
72
+ };
73
+ LandMath__factory.bytecode = _bytecode;
74
+ LandMath__factory.abi = _abi;
75
+ return LandMath__factory;
76
+ }(ethers_1.ContractFactory));
@@ -0,0 +1,66 @@
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 { LandMath, LandMathInterface } from "../LandMath";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "DECIMAL_PRECISION",
13
+ outputs: [
14
+ {
15
+ internalType: "uint256",
16
+ name: "",
17
+ type: "uint256",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ ];
24
+
25
+ const _bytecode =
26
+ "0x608e610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063a20baee6146038575b600080fd5b6046670de0b6b3a764000081565b60405190815260200160405180910390f3fea26469706673582212208dbe03d4202af96c25d0ec09fc3f721a771c8f232416d07fa773340b05b4923864736f6c63430008130033";
27
+
28
+ export class LandMath__factory extends ContractFactory {
29
+ constructor(
30
+ ...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
31
+ ) {
32
+ if (args.length === 1) {
33
+ super(_abi, _bytecode, args[0]);
34
+ } else {
35
+ super(...args);
36
+ }
37
+ }
38
+
39
+ deploy(
40
+ overrides?: Overrides & { from?: string | Promise<string> }
41
+ ): Promise<LandMath> {
42
+ return super.deploy(overrides || {}) as Promise<LandMath>;
43
+ }
44
+ getDeployTransaction(
45
+ overrides?: Overrides & { from?: string | Promise<string> }
46
+ ): TransactionRequest {
47
+ return super.getDeployTransaction(overrides || {});
48
+ }
49
+ attach(address: string): LandMath {
50
+ return super.attach(address) as LandMath;
51
+ }
52
+ connect(signer: Signer): LandMath__factory {
53
+ return super.connect(signer) as LandMath__factory;
54
+ }
55
+ static readonly bytecode = _bytecode;
56
+ static readonly abi = _abi;
57
+ static createInterface(): LandMathInterface {
58
+ return new utils.Interface(_abi) as LandMathInterface;
59
+ }
60
+ static connect(
61
+ address: string,
62
+ signerOrProvider: Signer | Provider
63
+ ): LandMath {
64
+ return new Contract(address, _abi, signerOrProvider) as LandMath;
65
+ }
66
+ }
@@ -0,0 +1,128 @@
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.LandOwnableUpgradeable__factory = void 0;
22
+ var ethers_1 = require("ethers");
23
+ var _abi = [
24
+ {
25
+ anonymous: false,
26
+ inputs: [
27
+ {
28
+ indexed: false,
29
+ internalType: "uint8",
30
+ name: "version",
31
+ type: "uint8",
32
+ },
33
+ ],
34
+ name: "Initialized",
35
+ type: "event",
36
+ },
37
+ {
38
+ inputs: [],
39
+ name: "LandCore",
40
+ outputs: [
41
+ {
42
+ internalType: "contract ILandCore",
43
+ name: "",
44
+ type: "address",
45
+ },
46
+ ],
47
+ stateMutability: "view",
48
+ type: "function",
49
+ },
50
+ {
51
+ inputs: [],
52
+ name: "guardian",
53
+ outputs: [
54
+ {
55
+ internalType: "address",
56
+ name: "",
57
+ type: "address",
58
+ },
59
+ ],
60
+ stateMutability: "view",
61
+ type: "function",
62
+ },
63
+ {
64
+ inputs: [],
65
+ name: "owner",
66
+ outputs: [
67
+ {
68
+ internalType: "address",
69
+ name: "",
70
+ type: "address",
71
+ },
72
+ ],
73
+ stateMutability: "view",
74
+ type: "function",
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: "paused",
79
+ outputs: [
80
+ {
81
+ internalType: "bool",
82
+ name: "",
83
+ type: "bool",
84
+ },
85
+ ],
86
+ stateMutability: "view",
87
+ type: "function",
88
+ },
89
+ ];
90
+ var _bytecode = "0x608060405234801561001057600080fd5b50610334806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063452a9320146100515780635c975abb1461006f5780638da5cb5b14610084578063ce6d603f1461008c575b600080fd5b6100596100b2565b604051610066919061021d565b60405180910390f35b61007761012f565b6040516100669190610233565b6100596101a7565b6000546100a5906201000090046001600160a01b031681565b6040516100669190610271565b60008060029054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012a91906102a1565b905090565b60008060029054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610183573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061012a91906102dd565b60008060029054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610106573d6000803e3d6000fd5b60006001600160a01b0382165b92915050565b610217816101fb565b82525050565b60208101610208828461020e565b801515610217565b60208101610208828461022b565b60006001600160a01b038216610208565b600061020882610241565b600061020882610252565b6102178161025d565b602081016102088284610268565b610288816101fb565b811461029357600080fd5b50565b80516102088161027f565b6000602082840312156102b6576102b6600080fd5b60006102c28484610296565b949350505050565b801515610288565b8051610208816102ca565b6000602082840312156102f2576102f2600080fd5b60006102c284846102d256fea26469706673582212209ebe9e6f117e8f069d79b6df995a24923b2c8e01b8cba65a47125135abbd322b64736f6c63430008130033";
91
+ var LandOwnableUpgradeable__factory = exports.LandOwnableUpgradeable__factory = /** @class */ (function (_super) {
92
+ __extends(LandOwnableUpgradeable__factory, _super);
93
+ function LandOwnableUpgradeable__factory() {
94
+ var args = [];
95
+ for (var _i = 0; _i < arguments.length; _i++) {
96
+ args[_i] = arguments[_i];
97
+ }
98
+ var _this = this;
99
+ if (args.length === 1) {
100
+ _this = _super.call(this, _abi, _bytecode, args[0]) || this;
101
+ }
102
+ else {
103
+ _this = _super.apply(this, args) || this;
104
+ }
105
+ return _this;
106
+ }
107
+ LandOwnableUpgradeable__factory.prototype.deploy = function (overrides) {
108
+ return _super.prototype.deploy.call(this, overrides || {});
109
+ };
110
+ LandOwnableUpgradeable__factory.prototype.getDeployTransaction = function (overrides) {
111
+ return _super.prototype.getDeployTransaction.call(this, overrides || {});
112
+ };
113
+ LandOwnableUpgradeable__factory.prototype.attach = function (address) {
114
+ return _super.prototype.attach.call(this, address);
115
+ };
116
+ LandOwnableUpgradeable__factory.prototype.connect = function (signer) {
117
+ return _super.prototype.connect.call(this, signer);
118
+ };
119
+ LandOwnableUpgradeable__factory.createInterface = function () {
120
+ return new ethers_1.utils.Interface(_abi);
121
+ };
122
+ LandOwnableUpgradeable__factory.connect = function (address, signerOrProvider) {
123
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
124
+ };
125
+ LandOwnableUpgradeable__factory.bytecode = _bytecode;
126
+ LandOwnableUpgradeable__factory.abi = _abi;
127
+ return LandOwnableUpgradeable__factory;
128
+ }(ethers_1.ContractFactory));