@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,137 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import {
6
+ Signer,
7
+ utils,
8
+ BytesLike,
9
+ Contract,
10
+ ContractFactory,
11
+ PayableOverrides,
12
+ } from "ethers";
13
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
14
+ import type { ERC1967Proxy, ERC1967ProxyInterface } from "../ERC1967Proxy";
15
+
16
+ const _abi = [
17
+ {
18
+ inputs: [
19
+ {
20
+ internalType: "address",
21
+ name: "_logic",
22
+ type: "address",
23
+ },
24
+ {
25
+ internalType: "bytes",
26
+ name: "_data",
27
+ type: "bytes",
28
+ },
29
+ ],
30
+ stateMutability: "payable",
31
+ type: "constructor",
32
+ },
33
+ {
34
+ anonymous: false,
35
+ inputs: [
36
+ {
37
+ indexed: false,
38
+ internalType: "address",
39
+ name: "previousAdmin",
40
+ type: "address",
41
+ },
42
+ {
43
+ indexed: false,
44
+ internalType: "address",
45
+ name: "newAdmin",
46
+ type: "address",
47
+ },
48
+ ],
49
+ name: "AdminChanged",
50
+ type: "event",
51
+ },
52
+ {
53
+ anonymous: false,
54
+ inputs: [
55
+ {
56
+ indexed: true,
57
+ internalType: "address",
58
+ name: "beacon",
59
+ type: "address",
60
+ },
61
+ ],
62
+ name: "BeaconUpgraded",
63
+ type: "event",
64
+ },
65
+ {
66
+ anonymous: false,
67
+ inputs: [
68
+ {
69
+ indexed: true,
70
+ internalType: "address",
71
+ name: "implementation",
72
+ type: "address",
73
+ },
74
+ ],
75
+ name: "Upgraded",
76
+ type: "event",
77
+ },
78
+ {
79
+ stateMutability: "payable",
80
+ type: "fallback",
81
+ },
82
+ {
83
+ stateMutability: "payable",
84
+ type: "receive",
85
+ },
86
+ ];
87
+
88
+ const _bytecode =
89
+ "0x60806040526040516105b93803806105b983398101604081905261002291610378565b61002e82826000610035565b50506104d3565b61003e83610061565b60008251118061004b5750805b1561005c5761005a83836100a1565b505b505050565b61006a816100cf565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100c6838360405180606001604052806027815260200161059260279139610140565b90505b92915050565b6001600160a01b0381163b6100ff5760405162461bcd60e51b81526004016100f6906103cf565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080856001600160a01b03168560405161015d9190610442565b600060405180830381855af49150503d8060008114610198576040519150601f19603f3d011682016040523d82523d6000602084013e61019d565b606091505b5090925090506101af868383876101b9565b9695505050505050565b606083156101f85782516000036101f1576001600160a01b0385163b6101f15760405162461bcd60e51b81526004016100f690610455565b5081610202565b610202838361020a565b949350505050565b81511561021a5781518083602001fd5b8060405162461bcd60e51b81526004016100f691906104c2565b60006001600160a01b0382166100c9565b61024e81610234565b811461025957600080fd5b50565b80516100c981610245565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b03821117156102a2576102a2610267565b6040525050565b60006102b460405190565b90506102c0828261027d565b919050565b60006001600160401b038211156102de576102de610267565b601f19601f83011660200192915050565b60005b8381101561030a5781810151838201526020016102f2565b50506000910152565b6000610326610321846102c5565b6102a9565b90508281526020810184848401111561034157610341600080fd5b61034c8482856102ef565b509392505050565b600082601f83011261036857610368600080fd5b8151610202848260208601610313565b6000806040838503121561038e5761038e600080fd5b600061039a858561025c565b92505060208301516001600160401b038111156103b9576103b9600080fd5b6103c585828601610354565b9150509250929050565b602080825281016100c981602d81527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60208201526c1bdd08184818dbdb9d1c9858dd609a1b604082015260600190565b600061042a825190565b6104388185602086016102ef565b9290920192915050565b600061044e8284610420565b9392505050565b602080825281016100c981601d81527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000602082015260400190565b600061049a825190565b8084526020840193506104b18185602086016102ef565b601f01601f19169290920192915050565b602080825281016100c68184610490565b60b1806104e16000396000f3fe608060405236601057600e6013565b005b600e5b601f601b6021565b6058565b565b600060537f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156076573d6000f35b3d6000fdfea2646970667358221220a284bc0cc93798dc6655bfe75d509669e9d900146e595ec010f22cf54a31790b64736f6c63430008130033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564";
90
+
91
+ export class ERC1967Proxy__factory extends ContractFactory {
92
+ constructor(
93
+ ...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
94
+ ) {
95
+ if (args.length === 1) {
96
+ super(_abi, _bytecode, args[0]);
97
+ } else {
98
+ super(...args);
99
+ }
100
+ }
101
+
102
+ deploy(
103
+ _logic: string,
104
+ _data: BytesLike,
105
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
106
+ ): Promise<ERC1967Proxy> {
107
+ return super.deploy(
108
+ _logic,
109
+ _data,
110
+ overrides || {}
111
+ ) as Promise<ERC1967Proxy>;
112
+ }
113
+ getDeployTransaction(
114
+ _logic: string,
115
+ _data: BytesLike,
116
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
117
+ ): TransactionRequest {
118
+ return super.getDeployTransaction(_logic, _data, overrides || {});
119
+ }
120
+ attach(address: string): ERC1967Proxy {
121
+ return super.attach(address) as ERC1967Proxy;
122
+ }
123
+ connect(signer: Signer): ERC1967Proxy__factory {
124
+ return super.connect(signer) as ERC1967Proxy__factory;
125
+ }
126
+ static readonly bytecode = _bytecode;
127
+ static readonly abi = _abi;
128
+ static createInterface(): ERC1967ProxyInterface {
129
+ return new utils.Interface(_abi) as ERC1967ProxyInterface;
130
+ }
131
+ static connect(
132
+ address: string,
133
+ signerOrProvider: Signer | Provider
134
+ ): ERC1967Proxy {
135
+ return new Contract(address, _abi, signerOrProvider) as ERC1967Proxy;
136
+ }
137
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ERC1967Upgrade__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: false,
14
+ internalType: "address",
15
+ name: "previousAdmin",
16
+ type: "address",
17
+ },
18
+ {
19
+ indexed: false,
20
+ internalType: "address",
21
+ name: "newAdmin",
22
+ type: "address",
23
+ },
24
+ ],
25
+ name: "AdminChanged",
26
+ type: "event",
27
+ },
28
+ {
29
+ anonymous: false,
30
+ inputs: [
31
+ {
32
+ indexed: true,
33
+ internalType: "address",
34
+ name: "beacon",
35
+ type: "address",
36
+ },
37
+ ],
38
+ name: "BeaconUpgraded",
39
+ type: "event",
40
+ },
41
+ {
42
+ anonymous: false,
43
+ inputs: [
44
+ {
45
+ indexed: true,
46
+ internalType: "address",
47
+ name: "implementation",
48
+ type: "address",
49
+ },
50
+ ],
51
+ name: "Upgraded",
52
+ type: "event",
53
+ },
54
+ ];
55
+ var ERC1967Upgrade__factory = exports.ERC1967Upgrade__factory = /** @class */ (function () {
56
+ function ERC1967Upgrade__factory() {
57
+ }
58
+ ERC1967Upgrade__factory.createInterface = function () {
59
+ return new ethers_1.utils.Interface(_abi);
60
+ };
61
+ ERC1967Upgrade__factory.connect = function (address, signerOrProvider) {
62
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
63
+ };
64
+ ERC1967Upgrade__factory.abi = _abi;
65
+ return ERC1967Upgrade__factory;
66
+ }());
@@ -0,0 +1,71 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ ERC1967Upgrade,
9
+ ERC1967UpgradeInterface,
10
+ } from "../ERC1967Upgrade";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: false,
18
+ internalType: "address",
19
+ name: "previousAdmin",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: false,
24
+ internalType: "address",
25
+ name: "newAdmin",
26
+ type: "address",
27
+ },
28
+ ],
29
+ name: "AdminChanged",
30
+ type: "event",
31
+ },
32
+ {
33
+ anonymous: false,
34
+ inputs: [
35
+ {
36
+ indexed: true,
37
+ internalType: "address",
38
+ name: "beacon",
39
+ type: "address",
40
+ },
41
+ ],
42
+ name: "BeaconUpgraded",
43
+ type: "event",
44
+ },
45
+ {
46
+ anonymous: false,
47
+ inputs: [
48
+ {
49
+ indexed: true,
50
+ internalType: "address",
51
+ name: "implementation",
52
+ type: "address",
53
+ },
54
+ ],
55
+ name: "Upgraded",
56
+ type: "event",
57
+ },
58
+ ];
59
+
60
+ export class ERC1967Upgrade__factory {
61
+ static readonly abi = _abi;
62
+ static createInterface(): ERC1967UpgradeInterface {
63
+ return new utils.Interface(_abi) as ERC1967UpgradeInterface;
64
+ }
65
+ static connect(
66
+ address: string,
67
+ signerOrProvider: Signer | Provider
68
+ ): ERC1967Upgrade {
69
+ return new Contract(address, _abi, signerOrProvider) as ERC1967Upgrade;
70
+ }
71
+ }
@@ -0,0 +1,108 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ERC20Basic__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ constant: true,
11
+ inputs: [],
12
+ name: "totalSupply",
13
+ outputs: [
14
+ {
15
+ name: "",
16
+ type: "uint256",
17
+ },
18
+ ],
19
+ payable: false,
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ {
24
+ constant: true,
25
+ inputs: [],
26
+ name: "_totalSupply",
27
+ outputs: [
28
+ {
29
+ name: "",
30
+ type: "uint256",
31
+ },
32
+ ],
33
+ payable: false,
34
+ stateMutability: "view",
35
+ type: "function",
36
+ },
37
+ {
38
+ constant: true,
39
+ inputs: [
40
+ {
41
+ name: "who",
42
+ type: "address",
43
+ },
44
+ ],
45
+ name: "balanceOf",
46
+ outputs: [
47
+ {
48
+ name: "",
49
+ type: "uint256",
50
+ },
51
+ ],
52
+ payable: false,
53
+ stateMutability: "view",
54
+ type: "function",
55
+ },
56
+ {
57
+ constant: false,
58
+ inputs: [
59
+ {
60
+ name: "to",
61
+ type: "address",
62
+ },
63
+ {
64
+ name: "value",
65
+ type: "uint256",
66
+ },
67
+ ],
68
+ name: "transfer",
69
+ outputs: [],
70
+ payable: false,
71
+ stateMutability: "nonpayable",
72
+ type: "function",
73
+ },
74
+ {
75
+ anonymous: false,
76
+ inputs: [
77
+ {
78
+ indexed: true,
79
+ name: "from",
80
+ type: "address",
81
+ },
82
+ {
83
+ indexed: true,
84
+ name: "to",
85
+ type: "address",
86
+ },
87
+ {
88
+ indexed: false,
89
+ name: "value",
90
+ type: "uint256",
91
+ },
92
+ ],
93
+ name: "Transfer",
94
+ type: "event",
95
+ },
96
+ ];
97
+ var ERC20Basic__factory = exports.ERC20Basic__factory = /** @class */ (function () {
98
+ function ERC20Basic__factory() {
99
+ }
100
+ ERC20Basic__factory.createInterface = function () {
101
+ return new ethers_1.utils.Interface(_abi);
102
+ };
103
+ ERC20Basic__factory.connect = function (address, signerOrProvider) {
104
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
105
+ };
106
+ ERC20Basic__factory.abi = _abi;
107
+ return ERC20Basic__factory;
108
+ }());
@@ -0,0 +1,110 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { ERC20Basic, ERC20BasicInterface } from "../ERC20Basic";
8
+
9
+ const _abi = [
10
+ {
11
+ constant: true,
12
+ inputs: [],
13
+ name: "totalSupply",
14
+ outputs: [
15
+ {
16
+ name: "",
17
+ type: "uint256",
18
+ },
19
+ ],
20
+ payable: false,
21
+ stateMutability: "view",
22
+ type: "function",
23
+ },
24
+ {
25
+ constant: true,
26
+ inputs: [],
27
+ name: "_totalSupply",
28
+ outputs: [
29
+ {
30
+ name: "",
31
+ type: "uint256",
32
+ },
33
+ ],
34
+ payable: false,
35
+ stateMutability: "view",
36
+ type: "function",
37
+ },
38
+ {
39
+ constant: true,
40
+ inputs: [
41
+ {
42
+ name: "who",
43
+ type: "address",
44
+ },
45
+ ],
46
+ name: "balanceOf",
47
+ outputs: [
48
+ {
49
+ name: "",
50
+ type: "uint256",
51
+ },
52
+ ],
53
+ payable: false,
54
+ stateMutability: "view",
55
+ type: "function",
56
+ },
57
+ {
58
+ constant: false,
59
+ inputs: [
60
+ {
61
+ name: "to",
62
+ type: "address",
63
+ },
64
+ {
65
+ name: "value",
66
+ type: "uint256",
67
+ },
68
+ ],
69
+ name: "transfer",
70
+ outputs: [],
71
+ payable: false,
72
+ stateMutability: "nonpayable",
73
+ type: "function",
74
+ },
75
+ {
76
+ anonymous: false,
77
+ inputs: [
78
+ {
79
+ indexed: true,
80
+ name: "from",
81
+ type: "address",
82
+ },
83
+ {
84
+ indexed: true,
85
+ name: "to",
86
+ type: "address",
87
+ },
88
+ {
89
+ indexed: false,
90
+ name: "value",
91
+ type: "uint256",
92
+ },
93
+ ],
94
+ name: "Transfer",
95
+ type: "event",
96
+ },
97
+ ];
98
+
99
+ export class ERC20Basic__factory {
100
+ static readonly abi = _abi;
101
+ static createInterface(): ERC20BasicInterface {
102
+ return new utils.Interface(_abi) as ERC20BasicInterface;
103
+ }
104
+ static connect(
105
+ address: string,
106
+ signerOrProvider: Signer | Provider
107
+ ): ERC20Basic {
108
+ return new Contract(address, _abi, signerOrProvider) as ERC20Basic;
109
+ }
110
+ }
@@ -0,0 +1,193 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ERC20__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ constant: false,
11
+ inputs: [
12
+ {
13
+ name: "spender",
14
+ type: "address",
15
+ },
16
+ {
17
+ name: "value",
18
+ type: "uint256",
19
+ },
20
+ ],
21
+ name: "approve",
22
+ outputs: [],
23
+ payable: false,
24
+ stateMutability: "nonpayable",
25
+ type: "function",
26
+ },
27
+ {
28
+ constant: true,
29
+ inputs: [],
30
+ name: "totalSupply",
31
+ outputs: [
32
+ {
33
+ name: "",
34
+ type: "uint256",
35
+ },
36
+ ],
37
+ payable: false,
38
+ stateMutability: "view",
39
+ type: "function",
40
+ },
41
+ {
42
+ constant: false,
43
+ inputs: [
44
+ {
45
+ name: "from",
46
+ type: "address",
47
+ },
48
+ {
49
+ name: "to",
50
+ type: "address",
51
+ },
52
+ {
53
+ name: "value",
54
+ type: "uint256",
55
+ },
56
+ ],
57
+ name: "transferFrom",
58
+ outputs: [],
59
+ payable: false,
60
+ stateMutability: "nonpayable",
61
+ type: "function",
62
+ },
63
+ {
64
+ constant: true,
65
+ inputs: [],
66
+ name: "_totalSupply",
67
+ outputs: [
68
+ {
69
+ name: "",
70
+ type: "uint256",
71
+ },
72
+ ],
73
+ payable: false,
74
+ stateMutability: "view",
75
+ type: "function",
76
+ },
77
+ {
78
+ constant: true,
79
+ inputs: [
80
+ {
81
+ name: "who",
82
+ type: "address",
83
+ },
84
+ ],
85
+ name: "balanceOf",
86
+ outputs: [
87
+ {
88
+ name: "",
89
+ type: "uint256",
90
+ },
91
+ ],
92
+ payable: false,
93
+ stateMutability: "view",
94
+ type: "function",
95
+ },
96
+ {
97
+ constant: false,
98
+ inputs: [
99
+ {
100
+ name: "to",
101
+ type: "address",
102
+ },
103
+ {
104
+ name: "value",
105
+ type: "uint256",
106
+ },
107
+ ],
108
+ name: "transfer",
109
+ outputs: [],
110
+ payable: false,
111
+ stateMutability: "nonpayable",
112
+ type: "function",
113
+ },
114
+ {
115
+ constant: true,
116
+ inputs: [
117
+ {
118
+ name: "owner",
119
+ type: "address",
120
+ },
121
+ {
122
+ name: "spender",
123
+ type: "address",
124
+ },
125
+ ],
126
+ name: "allowance",
127
+ outputs: [
128
+ {
129
+ name: "",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ payable: false,
134
+ stateMutability: "view",
135
+ type: "function",
136
+ },
137
+ {
138
+ anonymous: false,
139
+ inputs: [
140
+ {
141
+ indexed: true,
142
+ name: "owner",
143
+ type: "address",
144
+ },
145
+ {
146
+ indexed: true,
147
+ name: "spender",
148
+ type: "address",
149
+ },
150
+ {
151
+ indexed: false,
152
+ name: "value",
153
+ type: "uint256",
154
+ },
155
+ ],
156
+ name: "Approval",
157
+ type: "event",
158
+ },
159
+ {
160
+ anonymous: false,
161
+ inputs: [
162
+ {
163
+ indexed: true,
164
+ name: "from",
165
+ type: "address",
166
+ },
167
+ {
168
+ indexed: true,
169
+ name: "to",
170
+ type: "address",
171
+ },
172
+ {
173
+ indexed: false,
174
+ name: "value",
175
+ type: "uint256",
176
+ },
177
+ ],
178
+ name: "Transfer",
179
+ type: "event",
180
+ },
181
+ ];
182
+ var ERC20__factory = exports.ERC20__factory = /** @class */ (function () {
183
+ function ERC20__factory() {
184
+ }
185
+ ERC20__factory.createInterface = function () {
186
+ return new ethers_1.utils.Interface(_abi);
187
+ };
188
+ ERC20__factory.connect = function (address, signerOrProvider) {
189
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
190
+ };
191
+ ERC20__factory.abi = _abi;
192
+ return ERC20__factory;
193
+ }());