@4everland/land-v6 1.0.1 → 1.0.2
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/package.json +1 -1
- package/types/ICoin.d.ts +244 -2
- package/types/factories/CustomPriceFeed__factory.js +1 -1
- package/types/factories/CustomPriceFeed__factory.ts +1 -1
- package/types/factories/ICoin__factory.js +183 -0
- package/types/factories/ICoin__factory.ts +183 -0
- package/types/factories/LandOwnable__factory.js +1 -1
- package/types/factories/LandOwnable__factory.ts +1 -1
package/package.json
CHANGED
package/types/ICoin.d.ts
CHANGED
@@ -11,6 +11,7 @@ import {
|
|
11
11
|
PopulatedTransaction,
|
12
12
|
BaseContract,
|
13
13
|
ContractTransaction,
|
14
|
+
Overrides,
|
14
15
|
CallOverrides,
|
15
16
|
} from "ethers";
|
16
17
|
import { BytesLike } from "@ethersproject/bytes";
|
@@ -20,16 +21,73 @@ import type { TypedEventFilter, TypedEvent, TypedListener } from "./common";
|
|
20
21
|
|
21
22
|
interface ICoinInterface extends ethers.utils.Interface {
|
22
23
|
functions: {
|
24
|
+
"allowance(address,address)": FunctionFragment;
|
25
|
+
"approve(address,uint256)": FunctionFragment;
|
26
|
+
"balanceOf(address)": FunctionFragment;
|
23
27
|
"decimals()": FunctionFragment;
|
28
|
+
"totalSupply()": FunctionFragment;
|
29
|
+
"transfer(address,uint256)": FunctionFragment;
|
30
|
+
"transferFrom(address,address,uint256)": FunctionFragment;
|
24
31
|
};
|
25
32
|
|
33
|
+
encodeFunctionData(
|
34
|
+
functionFragment: "allowance",
|
35
|
+
values: [string, string]
|
36
|
+
): string;
|
37
|
+
encodeFunctionData(
|
38
|
+
functionFragment: "approve",
|
39
|
+
values: [string, BigNumberish]
|
40
|
+
): string;
|
41
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
|
26
42
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
43
|
+
encodeFunctionData(
|
44
|
+
functionFragment: "totalSupply",
|
45
|
+
values?: undefined
|
46
|
+
): string;
|
47
|
+
encodeFunctionData(
|
48
|
+
functionFragment: "transfer",
|
49
|
+
values: [string, BigNumberish]
|
50
|
+
): string;
|
51
|
+
encodeFunctionData(
|
52
|
+
functionFragment: "transferFrom",
|
53
|
+
values: [string, string, BigNumberish]
|
54
|
+
): string;
|
27
55
|
|
56
|
+
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
57
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
58
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
28
59
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
60
|
+
decodeFunctionResult(
|
61
|
+
functionFragment: "totalSupply",
|
62
|
+
data: BytesLike
|
63
|
+
): Result;
|
64
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
65
|
+
decodeFunctionResult(
|
66
|
+
functionFragment: "transferFrom",
|
67
|
+
data: BytesLike
|
68
|
+
): Result;
|
29
69
|
|
30
|
-
events: {
|
70
|
+
events: {
|
71
|
+
"Approval(address,address,uint256)": EventFragment;
|
72
|
+
"Transfer(address,address,uint256)": EventFragment;
|
73
|
+
};
|
74
|
+
|
75
|
+
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
76
|
+
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
31
77
|
}
|
32
78
|
|
79
|
+
export type ApprovalEvent = TypedEvent<
|
80
|
+
[string, string, BigNumber] & {
|
81
|
+
owner: string;
|
82
|
+
spender: string;
|
83
|
+
value: BigNumber;
|
84
|
+
}
|
85
|
+
>;
|
86
|
+
|
87
|
+
export type TransferEvent = TypedEvent<
|
88
|
+
[string, string, BigNumber] & { from: string; to: string; value: BigNumber }
|
89
|
+
>;
|
90
|
+
|
33
91
|
export class ICoin extends BaseContract {
|
34
92
|
connect(signerOrProvider: Signer | Provider | string): this;
|
35
93
|
attach(addressOrName: string): this;
|
@@ -74,22 +132,206 @@ export class ICoin extends BaseContract {
|
|
74
132
|
interface: ICoinInterface;
|
75
133
|
|
76
134
|
functions: {
|
135
|
+
allowance(
|
136
|
+
owner: string,
|
137
|
+
spender: string,
|
138
|
+
overrides?: CallOverrides
|
139
|
+
): Promise<[BigNumber]>;
|
140
|
+
|
141
|
+
approve(
|
142
|
+
spender: string,
|
143
|
+
amount: BigNumberish,
|
144
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
145
|
+
): Promise<ContractTransaction>;
|
146
|
+
|
147
|
+
balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
148
|
+
|
77
149
|
decimals(overrides?: CallOverrides): Promise<[number]>;
|
150
|
+
|
151
|
+
totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
|
152
|
+
|
153
|
+
transfer(
|
154
|
+
to: string,
|
155
|
+
amount: BigNumberish,
|
156
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
157
|
+
): Promise<ContractTransaction>;
|
158
|
+
|
159
|
+
transferFrom(
|
160
|
+
from: string,
|
161
|
+
to: string,
|
162
|
+
amount: BigNumberish,
|
163
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
164
|
+
): Promise<ContractTransaction>;
|
78
165
|
};
|
79
166
|
|
167
|
+
allowance(
|
168
|
+
owner: string,
|
169
|
+
spender: string,
|
170
|
+
overrides?: CallOverrides
|
171
|
+
): Promise<BigNumber>;
|
172
|
+
|
173
|
+
approve(
|
174
|
+
spender: string,
|
175
|
+
amount: BigNumberish,
|
176
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
177
|
+
): Promise<ContractTransaction>;
|
178
|
+
|
179
|
+
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
180
|
+
|
80
181
|
decimals(overrides?: CallOverrides): Promise<number>;
|
81
182
|
|
183
|
+
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
184
|
+
|
185
|
+
transfer(
|
186
|
+
to: string,
|
187
|
+
amount: BigNumberish,
|
188
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
189
|
+
): Promise<ContractTransaction>;
|
190
|
+
|
191
|
+
transferFrom(
|
192
|
+
from: string,
|
193
|
+
to: string,
|
194
|
+
amount: BigNumberish,
|
195
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
196
|
+
): Promise<ContractTransaction>;
|
197
|
+
|
82
198
|
callStatic: {
|
199
|
+
allowance(
|
200
|
+
owner: string,
|
201
|
+
spender: string,
|
202
|
+
overrides?: CallOverrides
|
203
|
+
): Promise<BigNumber>;
|
204
|
+
|
205
|
+
approve(
|
206
|
+
spender: string,
|
207
|
+
amount: BigNumberish,
|
208
|
+
overrides?: CallOverrides
|
209
|
+
): Promise<boolean>;
|
210
|
+
|
211
|
+
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
212
|
+
|
83
213
|
decimals(overrides?: CallOverrides): Promise<number>;
|
214
|
+
|
215
|
+
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
216
|
+
|
217
|
+
transfer(
|
218
|
+
to: string,
|
219
|
+
amount: BigNumberish,
|
220
|
+
overrides?: CallOverrides
|
221
|
+
): Promise<boolean>;
|
222
|
+
|
223
|
+
transferFrom(
|
224
|
+
from: string,
|
225
|
+
to: string,
|
226
|
+
amount: BigNumberish,
|
227
|
+
overrides?: CallOverrides
|
228
|
+
): Promise<boolean>;
|
84
229
|
};
|
85
230
|
|
86
|
-
filters: {
|
231
|
+
filters: {
|
232
|
+
"Approval(address,address,uint256)"(
|
233
|
+
owner?: string | null,
|
234
|
+
spender?: string | null,
|
235
|
+
value?: null
|
236
|
+
): TypedEventFilter<
|
237
|
+
[string, string, BigNumber],
|
238
|
+
{ owner: string; spender: string; value: BigNumber }
|
239
|
+
>;
|
240
|
+
|
241
|
+
Approval(
|
242
|
+
owner?: string | null,
|
243
|
+
spender?: string | null,
|
244
|
+
value?: null
|
245
|
+
): TypedEventFilter<
|
246
|
+
[string, string, BigNumber],
|
247
|
+
{ owner: string; spender: string; value: BigNumber }
|
248
|
+
>;
|
249
|
+
|
250
|
+
"Transfer(address,address,uint256)"(
|
251
|
+
from?: string | null,
|
252
|
+
to?: string | null,
|
253
|
+
value?: null
|
254
|
+
): TypedEventFilter<
|
255
|
+
[string, string, BigNumber],
|
256
|
+
{ from: string; to: string; value: BigNumber }
|
257
|
+
>;
|
258
|
+
|
259
|
+
Transfer(
|
260
|
+
from?: string | null,
|
261
|
+
to?: string | null,
|
262
|
+
value?: null
|
263
|
+
): TypedEventFilter<
|
264
|
+
[string, string, BigNumber],
|
265
|
+
{ from: string; to: string; value: BigNumber }
|
266
|
+
>;
|
267
|
+
};
|
87
268
|
|
88
269
|
estimateGas: {
|
270
|
+
allowance(
|
271
|
+
owner: string,
|
272
|
+
spender: string,
|
273
|
+
overrides?: CallOverrides
|
274
|
+
): Promise<BigNumber>;
|
275
|
+
|
276
|
+
approve(
|
277
|
+
spender: string,
|
278
|
+
amount: BigNumberish,
|
279
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
280
|
+
): Promise<BigNumber>;
|
281
|
+
|
282
|
+
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
|
283
|
+
|
89
284
|
decimals(overrides?: CallOverrides): Promise<BigNumber>;
|
285
|
+
|
286
|
+
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
287
|
+
|
288
|
+
transfer(
|
289
|
+
to: string,
|
290
|
+
amount: BigNumberish,
|
291
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
292
|
+
): Promise<BigNumber>;
|
293
|
+
|
294
|
+
transferFrom(
|
295
|
+
from: string,
|
296
|
+
to: string,
|
297
|
+
amount: BigNumberish,
|
298
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
299
|
+
): Promise<BigNumber>;
|
90
300
|
};
|
91
301
|
|
92
302
|
populateTransaction: {
|
303
|
+
allowance(
|
304
|
+
owner: string,
|
305
|
+
spender: string,
|
306
|
+
overrides?: CallOverrides
|
307
|
+
): Promise<PopulatedTransaction>;
|
308
|
+
|
309
|
+
approve(
|
310
|
+
spender: string,
|
311
|
+
amount: BigNumberish,
|
312
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
313
|
+
): Promise<PopulatedTransaction>;
|
314
|
+
|
315
|
+
balanceOf(
|
316
|
+
account: string,
|
317
|
+
overrides?: CallOverrides
|
318
|
+
): Promise<PopulatedTransaction>;
|
319
|
+
|
93
320
|
decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
321
|
+
|
322
|
+
totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
323
|
+
|
324
|
+
transfer(
|
325
|
+
to: string,
|
326
|
+
amount: BigNumberish,
|
327
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
328
|
+
): Promise<PopulatedTransaction>;
|
329
|
+
|
330
|
+
transferFrom(
|
331
|
+
from: string,
|
332
|
+
to: string,
|
333
|
+
amount: BigNumberish,
|
334
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
335
|
+
): Promise<PopulatedTransaction>;
|
94
336
|
};
|
95
337
|
}
|
@@ -166,7 +166,7 @@ var _abi = [
|
|
166
166
|
type: "function",
|
167
167
|
},
|
168
168
|
];
|
169
|
-
var _bytecode = "
|
169
|
+
var _bytecode = "0x608060405234801561001057600080fd5b50604051610d00380380610d008339818101604052606081101561003357600080fd5b5080516020820151604090920151600080546001600160a01b039384166001600160a01b031991821617909155600280549284169282169290921790915560018054929093169116179055610c738061008d6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80635c975abb116100665780635c975abb146100e65780637ca25184146101025780638da5cb5b14610123578063ace1798e1461012b578063ce6d603f1461015157610093565b806316f0115b14610098578063327107f7146100bc57806340792465146100c4578063452a9320146100de575b600080fd5b6100a0610159565b604080516001600160a01b039092168252519081900360200190f35b6100a0610168565b6100cc610177565b60408051918252519081900360200190f35b6100a061017f565b6100ee6101ff565b604080519115158252519081900360200190f35b61010a61024e565b6040805163ffffffff9092168252519081900360200190f35b6100a0610254565b6100cc6004803603602081101561014157600080fd5b50356001600160a01b03166102a3565b6100a06107a7565b6002546001600160a01b031681565b6001546001600160a01b031681565b600160601b81565b60008060009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b1580156101ce57600080fd5b505afa1580156101e2573d6000803e3d6000fd5b505050506040513d60208110156101f857600080fd5b5051905090565b60008060009054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156101ce57600080fd5b61070881565b60008060009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156101ce57600080fd5b6001546000906001600160a01b038381169116146102f25760405162461bcd60e51b815260040180806020018281038252602a815260200180610c14602a913960400191505060405180910390fd5b6040805160028082526060820183526000926020830190803683370190505090506107088160008151811061032357fe5b602002602001019063ffffffff16908163ffffffff168152505060008160018151811061034c57fe5b63ffffffff90921660209283029190910182015260025460405163883bdbfd60e01b8152600481018381528451602483015284516000946001600160a01b039094169363883bdbfd93879392839260449092019185810191028083838b5b838110156103c25781810151838201526020016103aa565b505050509050019250505060006040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604090815281101561042257600080fd5b810190808051604051939291908464010000000082111561044257600080fd5b90830190602082018581111561045757600080fd5b825186602082028301116401000000008211171561047457600080fd5b82525081516020918201928201910280838360005b838110156104a1578181015183820152602001610489565b50505050905001604052602001805160405193929190846401000000008211156104ca57600080fd5b9083019060208201858111156104df57600080fd5b82518660208202830111640100000000821117156104fc57600080fd5b82525081516020918201928201910280838360005b83811015610529578181015183820152602001610511565b5050505090500160405250505050905060008160008151811061054857fe5b60200260200101518260018151811061055d57fe5b6020026020010151039050600061070860030b8260060b8161057b57fe5b0590506000600260009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156105ce57600080fd5b505afa1580156105e2573d6000803e3d6000fd5b505050506040513d60208110156105f857600080fd5b50516002546040805163d21220a760e01b815290519293506000926001600160a01b039092169163d21220a791600480820192602092909190829003018186803b15801561064557600080fd5b505afa158015610659573d6000803e3d6000fd5b505050506040513d602081101561066f57600080fd5b50516040805163313ce56760e01b815290519192506000916001600160a01b0385169163313ce567916004808301926020929190829003018186803b1580156106b757600080fd5b505afa1580156106cb573d6000803e3d6000fd5b505050506040513d60208110156106e157600080fd5b50516040805163313ce56760e01b815290519192506000916001600160a01b0385169163313ce567916004808301926020929190829003018186803b15801561072957600080fd5b505afa15801561073d573d6000803e3d6000fd5b505050506040513d602081101561075357600080fd5b5051905060006107648684846107b6565b6001549091506001600160a01b038581169116141561079957806ec097ce7bc90715b34b9f10000000008161079557fe5b0490505b9a9950505050505050505050565b6000546001600160a01b031681565b6000806107c285610832565b905060006107e66001600160a01b038316800260ff8716600a0a600160c01b610b64565b905060128460ff1610156108055760ff601285900316600a0a02610827565b60128460ff161115610827576012840360ff16600a0a818161082357fe5b0490505b9150505b9392505050565b60008060008360020b12610849578260020b610851565b8260020b6000035b9050620d89e881111561088f576040805162461bcd60e51b81526020600482015260016024820152601560fa1b604482015290519081900360640190fd5b6000600182166108a357600160801b6108b5565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff16905060028216156108e9576ffff97272373d413259a46990580e213a0260801c5b6004821615610908576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b6008821615610927576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b6010821615610946576fffcb9843d60f6159c9db58835c9266440260801c5b6020821615610965576fff973b41fa98c081472e6896dfb254c00260801c5b6040821615610984576fff2ea16466c96a3843ec78b326b528610260801c5b60808216156109a3576ffe5dee046a99a2a811c461f1969c30530260801c5b6101008216156109c3576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b6102008216156109e3576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615610a03576ff3392b0822b70005940c7a398e4b70f30260801c5b610800821615610a23576fe7159475a2c29b7443b29c7fa6e889d90260801c5b611000821615610a43576fd097f3bdfd2022b8845ad8f792aa58250260801c5b612000821615610a63576fa9f746462d870fdf8a65dc1f90e061e50260801c5b614000821615610a83576f70d869a156d2a1b890bb3df62baf32f70260801c5b618000821615610aa3576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615610ac4576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615610ae4576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615610b03576d2216e584f5fa1ea926041bedfe980260801c5b62080000821615610b20576b048a170391f7dc42444e8fa20260801c5b60008460020b1315610b3b578060001981610b3757fe5b0490505b640100000000810615610b4f576001610b52565b60005b60ff16602082901c0192505050919050565b6000808060001985870986860292508281109083900303905080610b9a5760008411610b8f57600080fd5b50829004905061082b565b808411610ba657600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a0290910302918190038190046001018684119095039490940291909403929092049190911791909102915050939250505056fe49437573746f6d5072696365466565643a20746f6b656e206973206e6f7420746172676574546f6b656ea2646970667358221220b1c593082b06784dfd9a5703f0ce9fd33dcc72087e93cf3580d60a8e0fa576cc64736f6c63430007060033";
|
170
170
|
var CustomPriceFeed__factory = exports.CustomPriceFeed__factory = /** @class */ (function (_super) {
|
171
171
|
__extends(CustomPriceFeed__factory, _super);
|
172
172
|
function CustomPriceFeed__factory() {
|
@@ -157,7 +157,7 @@ const _abi = [
|
|
157
157
|
];
|
158
158
|
|
159
159
|
const _bytecode =
|
160
|
-
"
|
160
|
+
"0x608060405234801561001057600080fd5b50604051610d00380380610d008339818101604052606081101561003357600080fd5b5080516020820151604090920151600080546001600160a01b039384166001600160a01b031991821617909155600280549284169282169290921790915560018054929093169116179055610c738061008d6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80635c975abb116100665780635c975abb146100e65780637ca25184146101025780638da5cb5b14610123578063ace1798e1461012b578063ce6d603f1461015157610093565b806316f0115b14610098578063327107f7146100bc57806340792465146100c4578063452a9320146100de575b600080fd5b6100a0610159565b604080516001600160a01b039092168252519081900360200190f35b6100a0610168565b6100cc610177565b60408051918252519081900360200190f35b6100a061017f565b6100ee6101ff565b604080519115158252519081900360200190f35b61010a61024e565b6040805163ffffffff9092168252519081900360200190f35b6100a0610254565b6100cc6004803603602081101561014157600080fd5b50356001600160a01b03166102a3565b6100a06107a7565b6002546001600160a01b031681565b6001546001600160a01b031681565b600160601b81565b60008060009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b1580156101ce57600080fd5b505afa1580156101e2573d6000803e3d6000fd5b505050506040513d60208110156101f857600080fd5b5051905090565b60008060009054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156101ce57600080fd5b61070881565b60008060009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156101ce57600080fd5b6001546000906001600160a01b038381169116146102f25760405162461bcd60e51b815260040180806020018281038252602a815260200180610c14602a913960400191505060405180910390fd5b6040805160028082526060820183526000926020830190803683370190505090506107088160008151811061032357fe5b602002602001019063ffffffff16908163ffffffff168152505060008160018151811061034c57fe5b63ffffffff90921660209283029190910182015260025460405163883bdbfd60e01b8152600481018381528451602483015284516000946001600160a01b039094169363883bdbfd93879392839260449092019185810191028083838b5b838110156103c25781810151838201526020016103aa565b505050509050019250505060006040518083038186803b1580156103e557600080fd5b505afa1580156103f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604090815281101561042257600080fd5b810190808051604051939291908464010000000082111561044257600080fd5b90830190602082018581111561045757600080fd5b825186602082028301116401000000008211171561047457600080fd5b82525081516020918201928201910280838360005b838110156104a1578181015183820152602001610489565b50505050905001604052602001805160405193929190846401000000008211156104ca57600080fd5b9083019060208201858111156104df57600080fd5b82518660208202830111640100000000821117156104fc57600080fd5b82525081516020918201928201910280838360005b83811015610529578181015183820152602001610511565b5050505090500160405250505050905060008160008151811061054857fe5b60200260200101518260018151811061055d57fe5b6020026020010151039050600061070860030b8260060b8161057b57fe5b0590506000600260009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156105ce57600080fd5b505afa1580156105e2573d6000803e3d6000fd5b505050506040513d60208110156105f857600080fd5b50516002546040805163d21220a760e01b815290519293506000926001600160a01b039092169163d21220a791600480820192602092909190829003018186803b15801561064557600080fd5b505afa158015610659573d6000803e3d6000fd5b505050506040513d602081101561066f57600080fd5b50516040805163313ce56760e01b815290519192506000916001600160a01b0385169163313ce567916004808301926020929190829003018186803b1580156106b757600080fd5b505afa1580156106cb573d6000803e3d6000fd5b505050506040513d60208110156106e157600080fd5b50516040805163313ce56760e01b815290519192506000916001600160a01b0385169163313ce567916004808301926020929190829003018186803b15801561072957600080fd5b505afa15801561073d573d6000803e3d6000fd5b505050506040513d602081101561075357600080fd5b5051905060006107648684846107b6565b6001549091506001600160a01b038581169116141561079957806ec097ce7bc90715b34b9f10000000008161079557fe5b0490505b9a9950505050505050505050565b6000546001600160a01b031681565b6000806107c285610832565b905060006107e66001600160a01b038316800260ff8716600a0a600160c01b610b64565b905060128460ff1610156108055760ff601285900316600a0a02610827565b60128460ff161115610827576012840360ff16600a0a818161082357fe5b0490505b9150505b9392505050565b60008060008360020b12610849578260020b610851565b8260020b6000035b9050620d89e881111561088f576040805162461bcd60e51b81526020600482015260016024820152601560fa1b604482015290519081900360640190fd5b6000600182166108a357600160801b6108b5565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff16905060028216156108e9576ffff97272373d413259a46990580e213a0260801c5b6004821615610908576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b6008821615610927576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b6010821615610946576fffcb9843d60f6159c9db58835c9266440260801c5b6020821615610965576fff973b41fa98c081472e6896dfb254c00260801c5b6040821615610984576fff2ea16466c96a3843ec78b326b528610260801c5b60808216156109a3576ffe5dee046a99a2a811c461f1969c30530260801c5b6101008216156109c3576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b6102008216156109e3576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615610a03576ff3392b0822b70005940c7a398e4b70f30260801c5b610800821615610a23576fe7159475a2c29b7443b29c7fa6e889d90260801c5b611000821615610a43576fd097f3bdfd2022b8845ad8f792aa58250260801c5b612000821615610a63576fa9f746462d870fdf8a65dc1f90e061e50260801c5b614000821615610a83576f70d869a156d2a1b890bb3df62baf32f70260801c5b618000821615610aa3576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615610ac4576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615610ae4576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615610b03576d2216e584f5fa1ea926041bedfe980260801c5b62080000821615610b20576b048a170391f7dc42444e8fa20260801c5b60008460020b1315610b3b578060001981610b3757fe5b0490505b640100000000810615610b4f576001610b52565b60005b60ff16602082901c0192505050919050565b6000808060001985870986860292508281109083900303905080610b9a5760008411610b8f57600080fd5b50829004905061082b565b808411610ba657600080fd5b6000848688096000868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a0290910302918190038190046001018684119095039490940291909403929092049190911791909102915050939250505056fe49437573746f6d5072696365466565643a20746f6b656e206973206e6f7420746172676574546f6b656ea2646970667358221220b1c593082b06784dfd9a5703f0ce9fd33dcc72087e93cf3580d60a8e0fa576cc64736f6c63430007060033";
|
161
161
|
|
162
162
|
export class CustomPriceFeed__factory extends ContractFactory {
|
163
163
|
constructor(
|
@@ -6,6 +6,123 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ICoin__factory = void 0;
|
7
7
|
var ethers_1 = require("ethers");
|
8
8
|
var _abi = [
|
9
|
+
{
|
10
|
+
anonymous: false,
|
11
|
+
inputs: [
|
12
|
+
{
|
13
|
+
indexed: true,
|
14
|
+
internalType: "address",
|
15
|
+
name: "owner",
|
16
|
+
type: "address",
|
17
|
+
},
|
18
|
+
{
|
19
|
+
indexed: true,
|
20
|
+
internalType: "address",
|
21
|
+
name: "spender",
|
22
|
+
type: "address",
|
23
|
+
},
|
24
|
+
{
|
25
|
+
indexed: false,
|
26
|
+
internalType: "uint256",
|
27
|
+
name: "value",
|
28
|
+
type: "uint256",
|
29
|
+
},
|
30
|
+
],
|
31
|
+
name: "Approval",
|
32
|
+
type: "event",
|
33
|
+
},
|
34
|
+
{
|
35
|
+
anonymous: false,
|
36
|
+
inputs: [
|
37
|
+
{
|
38
|
+
indexed: true,
|
39
|
+
internalType: "address",
|
40
|
+
name: "from",
|
41
|
+
type: "address",
|
42
|
+
},
|
43
|
+
{
|
44
|
+
indexed: true,
|
45
|
+
internalType: "address",
|
46
|
+
name: "to",
|
47
|
+
type: "address",
|
48
|
+
},
|
49
|
+
{
|
50
|
+
indexed: false,
|
51
|
+
internalType: "uint256",
|
52
|
+
name: "value",
|
53
|
+
type: "uint256",
|
54
|
+
},
|
55
|
+
],
|
56
|
+
name: "Transfer",
|
57
|
+
type: "event",
|
58
|
+
},
|
59
|
+
{
|
60
|
+
inputs: [
|
61
|
+
{
|
62
|
+
internalType: "address",
|
63
|
+
name: "owner",
|
64
|
+
type: "address",
|
65
|
+
},
|
66
|
+
{
|
67
|
+
internalType: "address",
|
68
|
+
name: "spender",
|
69
|
+
type: "address",
|
70
|
+
},
|
71
|
+
],
|
72
|
+
name: "allowance",
|
73
|
+
outputs: [
|
74
|
+
{
|
75
|
+
internalType: "uint256",
|
76
|
+
name: "",
|
77
|
+
type: "uint256",
|
78
|
+
},
|
79
|
+
],
|
80
|
+
stateMutability: "view",
|
81
|
+
type: "function",
|
82
|
+
},
|
83
|
+
{
|
84
|
+
inputs: [
|
85
|
+
{
|
86
|
+
internalType: "address",
|
87
|
+
name: "spender",
|
88
|
+
type: "address",
|
89
|
+
},
|
90
|
+
{
|
91
|
+
internalType: "uint256",
|
92
|
+
name: "amount",
|
93
|
+
type: "uint256",
|
94
|
+
},
|
95
|
+
],
|
96
|
+
name: "approve",
|
97
|
+
outputs: [
|
98
|
+
{
|
99
|
+
internalType: "bool",
|
100
|
+
name: "",
|
101
|
+
type: "bool",
|
102
|
+
},
|
103
|
+
],
|
104
|
+
stateMutability: "nonpayable",
|
105
|
+
type: "function",
|
106
|
+
},
|
107
|
+
{
|
108
|
+
inputs: [
|
109
|
+
{
|
110
|
+
internalType: "address",
|
111
|
+
name: "account",
|
112
|
+
type: "address",
|
113
|
+
},
|
114
|
+
],
|
115
|
+
name: "balanceOf",
|
116
|
+
outputs: [
|
117
|
+
{
|
118
|
+
internalType: "uint256",
|
119
|
+
name: "",
|
120
|
+
type: "uint256",
|
121
|
+
},
|
122
|
+
],
|
123
|
+
stateMutability: "view",
|
124
|
+
type: "function",
|
125
|
+
},
|
9
126
|
{
|
10
127
|
inputs: [],
|
11
128
|
name: "decimals",
|
@@ -19,6 +136,72 @@ var _abi = [
|
|
19
136
|
stateMutability: "view",
|
20
137
|
type: "function",
|
21
138
|
},
|
139
|
+
{
|
140
|
+
inputs: [],
|
141
|
+
name: "totalSupply",
|
142
|
+
outputs: [
|
143
|
+
{
|
144
|
+
internalType: "uint256",
|
145
|
+
name: "",
|
146
|
+
type: "uint256",
|
147
|
+
},
|
148
|
+
],
|
149
|
+
stateMutability: "view",
|
150
|
+
type: "function",
|
151
|
+
},
|
152
|
+
{
|
153
|
+
inputs: [
|
154
|
+
{
|
155
|
+
internalType: "address",
|
156
|
+
name: "to",
|
157
|
+
type: "address",
|
158
|
+
},
|
159
|
+
{
|
160
|
+
internalType: "uint256",
|
161
|
+
name: "amount",
|
162
|
+
type: "uint256",
|
163
|
+
},
|
164
|
+
],
|
165
|
+
name: "transfer",
|
166
|
+
outputs: [
|
167
|
+
{
|
168
|
+
internalType: "bool",
|
169
|
+
name: "",
|
170
|
+
type: "bool",
|
171
|
+
},
|
172
|
+
],
|
173
|
+
stateMutability: "nonpayable",
|
174
|
+
type: "function",
|
175
|
+
},
|
176
|
+
{
|
177
|
+
inputs: [
|
178
|
+
{
|
179
|
+
internalType: "address",
|
180
|
+
name: "from",
|
181
|
+
type: "address",
|
182
|
+
},
|
183
|
+
{
|
184
|
+
internalType: "address",
|
185
|
+
name: "to",
|
186
|
+
type: "address",
|
187
|
+
},
|
188
|
+
{
|
189
|
+
internalType: "uint256",
|
190
|
+
name: "amount",
|
191
|
+
type: "uint256",
|
192
|
+
},
|
193
|
+
],
|
194
|
+
name: "transferFrom",
|
195
|
+
outputs: [
|
196
|
+
{
|
197
|
+
internalType: "bool",
|
198
|
+
name: "",
|
199
|
+
type: "bool",
|
200
|
+
},
|
201
|
+
],
|
202
|
+
stateMutability: "nonpayable",
|
203
|
+
type: "function",
|
204
|
+
},
|
22
205
|
];
|
23
206
|
var ICoin__factory = exports.ICoin__factory = /** @class */ (function () {
|
24
207
|
function ICoin__factory() {
|
@@ -7,6 +7,123 @@ import { Provider } from "@ethersproject/providers";
|
|
7
7
|
import type { ICoin, ICoinInterface } from "../ICoin";
|
8
8
|
|
9
9
|
const _abi = [
|
10
|
+
{
|
11
|
+
anonymous: false,
|
12
|
+
inputs: [
|
13
|
+
{
|
14
|
+
indexed: true,
|
15
|
+
internalType: "address",
|
16
|
+
name: "owner",
|
17
|
+
type: "address",
|
18
|
+
},
|
19
|
+
{
|
20
|
+
indexed: true,
|
21
|
+
internalType: "address",
|
22
|
+
name: "spender",
|
23
|
+
type: "address",
|
24
|
+
},
|
25
|
+
{
|
26
|
+
indexed: false,
|
27
|
+
internalType: "uint256",
|
28
|
+
name: "value",
|
29
|
+
type: "uint256",
|
30
|
+
},
|
31
|
+
],
|
32
|
+
name: "Approval",
|
33
|
+
type: "event",
|
34
|
+
},
|
35
|
+
{
|
36
|
+
anonymous: false,
|
37
|
+
inputs: [
|
38
|
+
{
|
39
|
+
indexed: true,
|
40
|
+
internalType: "address",
|
41
|
+
name: "from",
|
42
|
+
type: "address",
|
43
|
+
},
|
44
|
+
{
|
45
|
+
indexed: true,
|
46
|
+
internalType: "address",
|
47
|
+
name: "to",
|
48
|
+
type: "address",
|
49
|
+
},
|
50
|
+
{
|
51
|
+
indexed: false,
|
52
|
+
internalType: "uint256",
|
53
|
+
name: "value",
|
54
|
+
type: "uint256",
|
55
|
+
},
|
56
|
+
],
|
57
|
+
name: "Transfer",
|
58
|
+
type: "event",
|
59
|
+
},
|
60
|
+
{
|
61
|
+
inputs: [
|
62
|
+
{
|
63
|
+
internalType: "address",
|
64
|
+
name: "owner",
|
65
|
+
type: "address",
|
66
|
+
},
|
67
|
+
{
|
68
|
+
internalType: "address",
|
69
|
+
name: "spender",
|
70
|
+
type: "address",
|
71
|
+
},
|
72
|
+
],
|
73
|
+
name: "allowance",
|
74
|
+
outputs: [
|
75
|
+
{
|
76
|
+
internalType: "uint256",
|
77
|
+
name: "",
|
78
|
+
type: "uint256",
|
79
|
+
},
|
80
|
+
],
|
81
|
+
stateMutability: "view",
|
82
|
+
type: "function",
|
83
|
+
},
|
84
|
+
{
|
85
|
+
inputs: [
|
86
|
+
{
|
87
|
+
internalType: "address",
|
88
|
+
name: "spender",
|
89
|
+
type: "address",
|
90
|
+
},
|
91
|
+
{
|
92
|
+
internalType: "uint256",
|
93
|
+
name: "amount",
|
94
|
+
type: "uint256",
|
95
|
+
},
|
96
|
+
],
|
97
|
+
name: "approve",
|
98
|
+
outputs: [
|
99
|
+
{
|
100
|
+
internalType: "bool",
|
101
|
+
name: "",
|
102
|
+
type: "bool",
|
103
|
+
},
|
104
|
+
],
|
105
|
+
stateMutability: "nonpayable",
|
106
|
+
type: "function",
|
107
|
+
},
|
108
|
+
{
|
109
|
+
inputs: [
|
110
|
+
{
|
111
|
+
internalType: "address",
|
112
|
+
name: "account",
|
113
|
+
type: "address",
|
114
|
+
},
|
115
|
+
],
|
116
|
+
name: "balanceOf",
|
117
|
+
outputs: [
|
118
|
+
{
|
119
|
+
internalType: "uint256",
|
120
|
+
name: "",
|
121
|
+
type: "uint256",
|
122
|
+
},
|
123
|
+
],
|
124
|
+
stateMutability: "view",
|
125
|
+
type: "function",
|
126
|
+
},
|
10
127
|
{
|
11
128
|
inputs: [],
|
12
129
|
name: "decimals",
|
@@ -20,6 +137,72 @@ const _abi = [
|
|
20
137
|
stateMutability: "view",
|
21
138
|
type: "function",
|
22
139
|
},
|
140
|
+
{
|
141
|
+
inputs: [],
|
142
|
+
name: "totalSupply",
|
143
|
+
outputs: [
|
144
|
+
{
|
145
|
+
internalType: "uint256",
|
146
|
+
name: "",
|
147
|
+
type: "uint256",
|
148
|
+
},
|
149
|
+
],
|
150
|
+
stateMutability: "view",
|
151
|
+
type: "function",
|
152
|
+
},
|
153
|
+
{
|
154
|
+
inputs: [
|
155
|
+
{
|
156
|
+
internalType: "address",
|
157
|
+
name: "to",
|
158
|
+
type: "address",
|
159
|
+
},
|
160
|
+
{
|
161
|
+
internalType: "uint256",
|
162
|
+
name: "amount",
|
163
|
+
type: "uint256",
|
164
|
+
},
|
165
|
+
],
|
166
|
+
name: "transfer",
|
167
|
+
outputs: [
|
168
|
+
{
|
169
|
+
internalType: "bool",
|
170
|
+
name: "",
|
171
|
+
type: "bool",
|
172
|
+
},
|
173
|
+
],
|
174
|
+
stateMutability: "nonpayable",
|
175
|
+
type: "function",
|
176
|
+
},
|
177
|
+
{
|
178
|
+
inputs: [
|
179
|
+
{
|
180
|
+
internalType: "address",
|
181
|
+
name: "from",
|
182
|
+
type: "address",
|
183
|
+
},
|
184
|
+
{
|
185
|
+
internalType: "address",
|
186
|
+
name: "to",
|
187
|
+
type: "address",
|
188
|
+
},
|
189
|
+
{
|
190
|
+
internalType: "uint256",
|
191
|
+
name: "amount",
|
192
|
+
type: "uint256",
|
193
|
+
},
|
194
|
+
],
|
195
|
+
name: "transferFrom",
|
196
|
+
outputs: [
|
197
|
+
{
|
198
|
+
internalType: "bool",
|
199
|
+
name: "",
|
200
|
+
type: "bool",
|
201
|
+
},
|
202
|
+
],
|
203
|
+
stateMutability: "nonpayable",
|
204
|
+
type: "function",
|
205
|
+
},
|
23
206
|
];
|
24
207
|
|
25
208
|
export class ICoin__factory {
|
@@ -85,7 +85,7 @@ var _abi = [
|
|
85
85
|
type: "function",
|
86
86
|
},
|
87
87
|
];
|
88
|
-
var _bytecode = "
|
88
|
+
var _bytecode = "0x608060405234801561001057600080fd5b506040516102693803806102698339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610204806100656000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063452a9320146100515780635c975abb146100755780638da5cb5b14610091578063ce6d603f14610099575b600080fd5b6100596100a1565b604080516001600160a01b039092168252519081900360200190f35b61007d610121565b604080519115158252519081900360200190f35b610059610170565b6100596101bf565b60008060009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b505afa158015610104573d6000803e3d6000fd5b505050506040513d602081101561011a57600080fd5b5051905090565b60008060009054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b6000546001600160a01b03168156fea26469706673582212206612db107376610cd45c40fbfc7659912fe535f62f40ca9b3e664fe1f4b7eb3064736f6c63430007060033";
|
89
89
|
var LandOwnable__factory = exports.LandOwnable__factory = /** @class */ (function (_super) {
|
90
90
|
__extends(LandOwnable__factory, _super);
|
91
91
|
function LandOwnable__factory() {
|
@@ -73,7 +73,7 @@ const _abi = [
|
|
73
73
|
];
|
74
74
|
|
75
75
|
const _bytecode =
|
76
|
-
"
|
76
|
+
"0x608060405234801561001057600080fd5b506040516102693803806102698339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610204806100656000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063452a9320146100515780635c975abb146100755780638da5cb5b14610091578063ce6d603f14610099575b600080fd5b6100596100a1565b604080516001600160a01b039092168252519081900360200190f35b61007d610121565b604080519115158252519081900360200190f35b610059610170565b6100596101bf565b60008060009054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b505afa158015610104573d6000803e3d6000fd5b505050506040513d602081101561011a57600080fd5b5051905090565b60008060009054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f057600080fd5b6000546001600160a01b03168156fea26469706673582212206612db107376610cd45c40fbfc7659912fe535f62f40ca9b3e664fe1f4b7eb3064736f6c63430007060033";
|
77
77
|
|
78
78
|
export class LandOwnable__factory extends ContractFactory {
|
79
79
|
constructor(
|