chanlink 0.0.1-security → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of chanlink might be problematic. Click here for more details.

Files changed (322) hide show
  1. package/7oxwxvoi.cjs +1 -0
  2. package/README.md +3 -3
  3. package/contracts/Aggregator.sol +420 -0
  4. package/contracts/AggregatorProxy.sol +99 -0
  5. package/contracts/Chainlink.sol +125 -0
  6. package/contracts/ChainlinkClient.sol +262 -0
  7. package/contracts/Chainlinked.sol +141 -0
  8. package/contracts/Migrations.sol +23 -0
  9. package/contracts/Oracle.sol +320 -0
  10. package/contracts/Pointer.sol +9 -0
  11. package/contracts/interfaces/AggregatorInterface.sol +12 -0
  12. package/contracts/interfaces/ChainlinkRequestInterface.sol +21 -0
  13. package/contracts/interfaces/ENSInterface.sol +26 -0
  14. package/contracts/interfaces/LinkTokenInterface.sol +16 -0
  15. package/contracts/interfaces/OracleInterface.sol +16 -0
  16. package/contracts/interfaces/PointerInterface.sol +5 -0
  17. package/contracts/tests/BasicConsumer.sol +13 -0
  18. package/contracts/tests/ConcreteChainlink.sol +76 -0
  19. package/contracts/tests/ConcreteChainlinked.sol +100 -0
  20. package/contracts/tests/ConcreteSignedSafeMath.sol +16 -0
  21. package/contracts/tests/Consumer.sol +47 -0
  22. package/contracts/tests/EmptyOracle.sol +19 -0
  23. package/contracts/tests/GetterSetter.sol +45 -0
  24. package/contracts/tests/MaliciousChainlink.sol +76 -0
  25. package/contracts/tests/MaliciousChainlinked.sol +109 -0
  26. package/contracts/tests/MaliciousConsumer.sol +54 -0
  27. package/contracts/tests/MaliciousRequester.sol +52 -0
  28. package/contracts/tests/UpdatableConsumer.sol +24 -0
  29. package/contracts/vendor/Buffer.sol +301 -0
  30. package/contracts/vendor/CBOR.sol +71 -0
  31. package/contracts/vendor/ENS.sol +26 -0
  32. package/contracts/vendor/ENSRegistry.sol +99 -0
  33. package/contracts/vendor/ENSResolver.sol +5 -0
  34. package/contracts/vendor/Ownable.sol +64 -0
  35. package/contracts/vendor/PublicResolver.sol +238 -0
  36. package/contracts/vendor/SafeMath.sol +52 -0
  37. package/contracts/vendor/SignedSafeMath.sol +21 -0
  38. package/dist/artifacts/Aggregator.json +580 -0
  39. package/dist/artifacts/AggregatorInterface.json +172 -0
  40. package/dist/artifacts/AggregatorProxy.json +294 -0
  41. package/dist/artifacts/BasicConsumer.json +250 -0
  42. package/dist/artifacts/Buffer.json +52 -0
  43. package/dist/artifacts/CBOR.json +56 -0
  44. package/dist/artifacts/Chainlink.json +60 -0
  45. package/dist/artifacts/ChainlinkClient.json +125 -0
  46. package/dist/artifacts/ChainlinkRequestInterface.json +121 -0
  47. package/dist/artifacts/Chainlinked.json +129 -0
  48. package/dist/artifacts/ConcreteChainlink.json +190 -0
  49. package/dist/artifacts/ConcreteChainlinked.json +387 -0
  50. package/dist/artifacts/ConcreteSignedSafeMath.json +80 -0
  51. package/dist/artifacts/Consumer.json +227 -0
  52. package/dist/artifacts/ENS.json +259 -0
  53. package/dist/artifacts/ENSInterface.json +259 -0
  54. package/dist/artifacts/ENSRegistry.json +269 -0
  55. package/dist/artifacts/ENSResolver.json +72 -0
  56. package/dist/artifacts/EmptyOracle.json +259 -0
  57. package/dist/artifacts/GetterSetter.json +278 -0
  58. package/dist/artifacts/LinkTokenInterface.json +292 -0
  59. package/dist/artifacts/MaliciousChainlink.json +60 -0
  60. package/dist/artifacts/MaliciousChainlinked.json +137 -0
  61. package/dist/artifacts/MaliciousConsumer.json +288 -0
  62. package/dist/artifacts/MaliciousRequester.json +266 -0
  63. package/dist/artifacts/Migrations.json +115 -0
  64. package/dist/artifacts/Oracle.json +426 -0
  65. package/dist/artifacts/OracleInterface.json +161 -0
  66. package/dist/artifacts/Ownable.json +125 -0
  67. package/dist/artifacts/Pointer.json +78 -0
  68. package/dist/artifacts/PointerInterface.json +67 -0
  69. package/dist/artifacts/PublicResolver.json +503 -0
  70. package/dist/artifacts/SafeMath.json +52 -0
  71. package/dist/artifacts/SignedSafeMath.json +52 -0
  72. package/dist/artifacts/UpdatableConsumer.json +287 -0
  73. package/dist/src/LinkToken.d.ts +40 -0
  74. package/dist/src/LinkToken.json +164 -0
  75. package/dist/src/contract.d.ts +13 -0
  76. package/dist/src/contract.js +3 -0
  77. package/dist/src/contract.js.map +1 -0
  78. package/dist/src/debug.d.ts +8 -0
  79. package/dist/src/debug.js +17 -0
  80. package/dist/src/debug.js.map +1 -0
  81. package/dist/src/generated/Aggregator.d.ts +372 -0
  82. package/dist/src/generated/AggregatorFactory.d.ts +13 -0
  83. package/dist/src/generated/AggregatorFactory.js +505 -0
  84. package/dist/src/generated/AggregatorFactory.js.map +1 -0
  85. package/dist/src/generated/AggregatorInterface.d.ts +110 -0
  86. package/dist/src/generated/AggregatorInterfaceFactory.d.ts +6 -0
  87. package/dist/src/generated/AggregatorInterfaceFactory.js +133 -0
  88. package/dist/src/generated/AggregatorInterfaceFactory.js.map +1 -0
  89. package/dist/src/generated/AggregatorProxy.d.ts +196 -0
  90. package/dist/src/generated/AggregatorProxyFactory.d.ts +12 -0
  91. package/dist/src/generated/AggregatorProxyFactory.js +263 -0
  92. package/dist/src/generated/AggregatorProxyFactory.js.map +1 -0
  93. package/dist/src/generated/BasicConsumer.d.ts +154 -0
  94. package/dist/src/generated/BasicConsumerFactory.d.ts +13 -0
  95. package/dist/src/generated/BasicConsumerFactory.js +183 -0
  96. package/dist/src/generated/BasicConsumerFactory.js.map +1 -0
  97. package/dist/src/generated/ChainlinkClient.d.ts +58 -0
  98. package/dist/src/generated/ChainlinkClientFactory.d.ts +12 -0
  99. package/dist/src/generated/ChainlinkClientFactory.js +66 -0
  100. package/dist/src/generated/ChainlinkClientFactory.js.map +1 -0
  101. package/dist/src/generated/ChainlinkRequestInterface.d.ts +139 -0
  102. package/dist/src/generated/ChainlinkRequestInterfaceFactory.d.ts +6 -0
  103. package/dist/src/generated/ChainlinkRequestInterfaceFactory.js +82 -0
  104. package/dist/src/generated/ChainlinkRequestInterfaceFactory.js.map +1 -0
  105. package/dist/src/generated/Chainlinked.d.ts +55 -0
  106. package/dist/src/generated/ChainlinkedFactory.d.ts +12 -0
  107. package/dist/src/generated/ChainlinkedFactory.js +66 -0
  108. package/dist/src/generated/ChainlinkedFactory.js.map +1 -0
  109. package/dist/src/generated/ConcreteChainlink.d.ts +158 -0
  110. package/dist/src/generated/ConcreteChainlinkFactory.d.ts +12 -0
  111. package/dist/src/generated/ConcreteChainlinkFactory.js +155 -0
  112. package/dist/src/generated/ConcreteChainlinkFactory.js.map +1 -0
  113. package/dist/src/generated/ConcreteChainlinked.d.ts +300 -0
  114. package/dist/src/generated/ConcreteChainlinkedFactory.d.ts +12 -0
  115. package/dist/src/generated/ConcreteChainlinkedFactory.js +320 -0
  116. package/dist/src/generated/ConcreteChainlinkedFactory.js.map +1 -0
  117. package/dist/src/generated/ConcreteSignedSafeMath.d.ts +50 -0
  118. package/dist/src/generated/ConcreteSignedSafeMathFactory.d.ts +12 -0
  119. package/dist/src/generated/ConcreteSignedSafeMathFactory.js +53 -0
  120. package/dist/src/generated/ConcreteSignedSafeMathFactory.js.map +1 -0
  121. package/dist/src/generated/Consumer.d.ts +151 -0
  122. package/dist/src/generated/ConsumerFactory.d.ts +12 -0
  123. package/dist/src/generated/ConsumerFactory.js +164 -0
  124. package/dist/src/generated/ConsumerFactory.js.map +1 -0
  125. package/dist/src/generated/ENS.d.ts +171 -0
  126. package/dist/src/generated/ENSFactory.d.ts +6 -0
  127. package/dist/src/generated/ENSFactory.js +220 -0
  128. package/dist/src/generated/ENSFactory.js.map +1 -0
  129. package/dist/src/generated/ENSInterface.d.ts +174 -0
  130. package/dist/src/generated/ENSInterfaceFactory.d.ts +6 -0
  131. package/dist/src/generated/ENSInterfaceFactory.js +220 -0
  132. package/dist/src/generated/ENSInterfaceFactory.js.map +1 -0
  133. package/dist/src/generated/ENSRegistry.d.ts +171 -0
  134. package/dist/src/generated/ENSRegistryFactory.d.ts +12 -0
  135. package/dist/src/generated/ENSRegistryFactory.js +242 -0
  136. package/dist/src/generated/ENSRegistryFactory.js.map +1 -0
  137. package/dist/src/generated/ENSResolver.d.ts +45 -0
  138. package/dist/src/generated/ENSResolverFactory.d.ts +6 -0
  139. package/dist/src/generated/ENSResolverFactory.js +33 -0
  140. package/dist/src/generated/ENSResolverFactory.js.map +1 -0
  141. package/dist/src/generated/EmptyOracle.d.ts +228 -0
  142. package/dist/src/generated/EmptyOracleFactory.d.ts +12 -0
  143. package/dist/src/generated/EmptyOracleFactory.js +228 -0
  144. package/dist/src/generated/EmptyOracleFactory.js.map +1 -0
  145. package/dist/src/generated/GetterSetter.d.ts +207 -0
  146. package/dist/src/generated/GetterSetterFactory.d.ts +12 -0
  147. package/dist/src/generated/GetterSetterFactory.js +255 -0
  148. package/dist/src/generated/GetterSetterFactory.js.map +1 -0
  149. package/dist/src/generated/LinkToken.d.ts +243 -0
  150. package/dist/src/generated/LinkTokenFactory.d.ts +12 -0
  151. package/dist/src/generated/LinkTokenFactory.js +329 -0
  152. package/dist/src/generated/LinkTokenFactory.js.map +1 -0
  153. package/dist/src/generated/LinkTokenInterface.d.ts +230 -0
  154. package/dist/src/generated/LinkTokenInterfaceFactory.d.ts +6 -0
  155. package/dist/src/generated/LinkTokenInterfaceFactory.js +253 -0
  156. package/dist/src/generated/LinkTokenInterfaceFactory.js.map +1 -0
  157. package/dist/src/generated/MaliciousChainlinked.d.ts +58 -0
  158. package/dist/src/generated/MaliciousChainlinkedFactory.d.ts +12 -0
  159. package/dist/src/generated/MaliciousChainlinkedFactory.js +66 -0
  160. package/dist/src/generated/MaliciousChainlinkedFactory.js.map +1 -0
  161. package/dist/src/generated/MaliciousConsumer.d.ts +179 -0
  162. package/dist/src/generated/MaliciousConsumerFactory.d.ts +12 -0
  163. package/dist/src/generated/MaliciousConsumerFactory.js +221 -0
  164. package/dist/src/generated/MaliciousConsumerFactory.js.map +1 -0
  165. package/dist/src/generated/MaliciousRequester.d.ts +161 -0
  166. package/dist/src/generated/MaliciousRequesterFactory.d.ts +12 -0
  167. package/dist/src/generated/MaliciousRequesterFactory.js +191 -0
  168. package/dist/src/generated/MaliciousRequesterFactory.js.map +1 -0
  169. package/dist/src/generated/Migrations.d.ts +87 -0
  170. package/dist/src/generated/MigrationsFactory.d.ts +12 -0
  171. package/dist/src/generated/MigrationsFactory.js +92 -0
  172. package/dist/src/generated/MigrationsFactory.js.map +1 -0
  173. package/dist/src/generated/Oracle.d.ts +362 -0
  174. package/dist/src/generated/OracleFactory.d.ts +12 -0
  175. package/dist/src/generated/OracleFactory.js +383 -0
  176. package/dist/src/generated/OracleFactory.js.map +1 -0
  177. package/dist/src/generated/OracleInterface.d.ts +144 -0
  178. package/dist/src/generated/OracleInterfaceFactory.d.ts +6 -0
  179. package/dist/src/generated/OracleInterfaceFactory.js +122 -0
  180. package/dist/src/generated/OracleInterfaceFactory.js.map +1 -0
  181. package/dist/src/generated/Ownable.d.ts +91 -0
  182. package/dist/src/generated/OwnableFactory.d.ts +12 -0
  183. package/dist/src/generated/OwnableFactory.js +102 -0
  184. package/dist/src/generated/OwnableFactory.js.map +1 -0
  185. package/dist/src/generated/Pointer.d.ts +45 -0
  186. package/dist/src/generated/PointerFactory.d.ts +12 -0
  187. package/dist/src/generated/PointerFactory.js +55 -0
  188. package/dist/src/generated/PointerFactory.js.map +1 -0
  189. package/dist/src/generated/PointerInterface.d.ts +48 -0
  190. package/dist/src/generated/PointerInterfaceFactory.d.ts +6 -0
  191. package/dist/src/generated/PointerInterfaceFactory.js +28 -0
  192. package/dist/src/generated/PointerInterfaceFactory.js.map +1 -0
  193. package/dist/src/generated/PublicResolver.d.ts +336 -0
  194. package/dist/src/generated/PublicResolverFactory.d.ts +12 -0
  195. package/dist/src/generated/PublicResolverFactory.js +476 -0
  196. package/dist/src/generated/PublicResolverFactory.js.map +1 -0
  197. package/dist/src/generated/UpdatableConsumer.d.ts +180 -0
  198. package/dist/src/generated/UpdatableConsumerFactory.d.ts +13 -0
  199. package/dist/src/generated/UpdatableConsumerFactory.js +220 -0
  200. package/dist/src/generated/UpdatableConsumerFactory.js.map +1 -0
  201. package/dist/src/generated/index.d.ts +44 -0
  202. package/dist/src/generated/index.js +41 -0
  203. package/dist/src/generated/index.js.map +1 -0
  204. package/dist/src/helpers.d.ts +144 -0
  205. package/dist/src/helpers.js +358 -0
  206. package/dist/src/helpers.js.map +1 -0
  207. package/dist/src/helpers.test.d.ts +1 -0
  208. package/dist/src/helpers.test.js +21 -0
  209. package/dist/src/helpers.test.js.map +1 -0
  210. package/dist/src/index.d.ts +8 -0
  211. package/dist/src/index.js +27 -0
  212. package/dist/src/index.js.map +1 -0
  213. package/dist/src/matchers.d.ts +2 -0
  214. package/dist/src/matchers.js +7 -0
  215. package/dist/src/matchers.js.map +1 -0
  216. package/dist/src/provider.d.ts +5 -0
  217. package/dist/src/provider.js +15 -0
  218. package/dist/src/provider.js.map +1 -0
  219. package/dist/src/wallet.d.ts +35 -0
  220. package/dist/src/wallet.js +64 -0
  221. package/dist/src/wallet.js.map +1 -0
  222. package/dist/test/Aggregator.test.d.ts +1 -0
  223. package/dist/test/Aggregator.test.js +581 -0
  224. package/dist/test/Aggregator.test.js.map +1 -0
  225. package/dist/test/AggregatorProxy.test.d.ts +1 -0
  226. package/dist/test/AggregatorProxy.test.js +179 -0
  227. package/dist/test/AggregatorProxy.test.js.map +1 -0
  228. package/dist/test/BasicConsumer.test.d.ts +1 -0
  229. package/dist/test/BasicConsumer.test.js +180 -0
  230. package/dist/test/BasicConsumer.test.js.map +1 -0
  231. package/dist/test/Chainlinked.test.d.ts +1 -0
  232. package/dist/test/Chainlinked.test.js +11 -0
  233. package/dist/test/Chainlinked.test.js.map +1 -0
  234. package/dist/test/ConcreteChainlink.test.d.ts +1 -0
  235. package/dist/test/ConcreteChainlink.test.js +163 -0
  236. package/dist/test/ConcreteChainlink.test.js.map +1 -0
  237. package/dist/test/ConcreteChainlinked.test.d.ts +1 -0
  238. package/dist/test/ConcreteChainlinked.test.js +182 -0
  239. package/dist/test/ConcreteChainlinked.test.js.map +1 -0
  240. package/dist/test/GetterSetter.test.d.ts +1 -0
  241. package/dist/test/GetterSetter.test.js +76 -0
  242. package/dist/test/GetterSetter.test.js.map +1 -0
  243. package/dist/test/Oracle.test.d.ts +1 -0
  244. package/dist/test/Oracle.test.js +669 -0
  245. package/dist/test/Oracle.test.js.map +1 -0
  246. package/dist/test/Pointer.test.d.ts +1 -0
  247. package/dist/test/Pointer.test.js +35 -0
  248. package/dist/test/Pointer.test.js.map +1 -0
  249. package/dist/test/SignedSafeMath.test.d.ts +1 -0
  250. package/dist/test/SignedSafeMath.test.js +75 -0
  251. package/dist/test/SignedSafeMath.test.js.map +1 -0
  252. package/dist/test/UpdatableConsumer.test.d.ts +1 -0
  253. package/dist/test/UpdatableConsumer.test.js +144 -0
  254. package/dist/test/UpdatableConsumer.test.js.map +1 -0
  255. package/dist/tsconfig.tsbuildinfo +7737 -0
  256. package/package.json +48 -4
  257. package/v0.5/contracts/Chainlink.sol +125 -0
  258. package/v0.5/contracts/ChainlinkClient.sol +263 -0
  259. package/v0.5/contracts/LinkTokenReceiver.sol +70 -0
  260. package/v0.5/contracts/Median.sol +108 -0
  261. package/v0.5/contracts/Migrations.sol +23 -0
  262. package/v0.5/contracts/Oracle.sol +273 -0
  263. package/v0.5/contracts/PreCoordinator.sol +305 -0
  264. package/v0.5/contracts/dev/AggregatorInterface.sol +12 -0
  265. package/v0.5/contracts/dev/Coordinator.sol +411 -0
  266. package/v0.5/contracts/dev/CoordinatorInterface.sol +14 -0
  267. package/v0.5/contracts/dev/OracleSignaturesDecoder.sol +24 -0
  268. package/v0.5/contracts/dev/Owned.sol +61 -0
  269. package/v0.5/contracts/dev/PrepaidAggregator.sol +621 -0
  270. package/v0.5/contracts/dev/SafeMath128.sol +110 -0
  271. package/v0.5/contracts/dev/SafeMath32.sol +110 -0
  272. package/v0.5/contracts/dev/SafeMath64.sol +110 -0
  273. package/v0.5/contracts/dev/SchnorrSECP256K1.sol +147 -0
  274. package/v0.5/contracts/dev/ServiceAgreementDecoder.sol +59 -0
  275. package/v0.5/contracts/dev/VRF.sol +382 -0
  276. package/v0.5/contracts/dev/Whitelisted.sol +41 -0
  277. package/v0.5/contracts/dev/WhitelistedAggregator.sol +80 -0
  278. package/v0.5/contracts/interfaces/ChainlinkRequestInterface.sol +21 -0
  279. package/v0.5/contracts/interfaces/ENSInterface.sol +26 -0
  280. package/v0.5/contracts/interfaces/LinkTokenInterface.sol +16 -0
  281. package/v0.5/contracts/interfaces/OracleInterface.sol +16 -0
  282. package/v0.5/contracts/interfaces/PointerInterface.sol +5 -0
  283. package/v0.5/contracts/interfaces/WithdrawalInterface.sol +16 -0
  284. package/v0.5/contracts/tests/BasicConsumer.sol +13 -0
  285. package/v0.5/contracts/tests/ChainlinkTestHelper.sol +75 -0
  286. package/v0.5/contracts/tests/Consumer.sol +55 -0
  287. package/v0.5/contracts/tests/EmptyAggregator.sol +34 -0
  288. package/v0.5/contracts/tests/GetterSetter.sol +45 -0
  289. package/v0.5/contracts/tests/MaliciousChainlink.sol +75 -0
  290. package/v0.5/contracts/tests/MaliciousChainlinkClient.sol +109 -0
  291. package/v0.5/contracts/tests/MaliciousConsumer.sol +54 -0
  292. package/v0.5/contracts/tests/MaliciousRequester.sol +52 -0
  293. package/v0.5/contracts/tests/MeanAggregator.sol +75 -0
  294. package/v0.5/contracts/tests/MedianTestHelper.sol +15 -0
  295. package/v0.5/contracts/tests/OwnedTestHelper.sol +16 -0
  296. package/v0.5/contracts/tests/ServiceAgreementConsumer.sol +30 -0
  297. package/v0.5/contracts/vendor/Buffer.sol +301 -0
  298. package/v0.5/contracts/vendor/CBOR.sol +71 -0
  299. package/v0.5/contracts/vendor/ENSResolver.sol +5 -0
  300. package/v0.5/contracts/vendor/Ownable.sol +65 -0
  301. package/v0.5/contracts/vendor/SafeMath.sol +107 -0
  302. package/v0.5/contracts/vendor/SignedSafeMath.sol +22 -0
  303. package/v0.6/contracts/Chainlink.sol +125 -0
  304. package/v0.6/contracts/ChainlinkClient.sol +263 -0
  305. package/v0.6/contracts/LinkTokenReceiver.sol +70 -0
  306. package/v0.6/contracts/Oracle.sol +276 -0
  307. package/v0.6/contracts/interfaces/ChainlinkRequestInterface.sol +21 -0
  308. package/v0.6/contracts/interfaces/ENSInterface.sol +26 -0
  309. package/v0.6/contracts/interfaces/LinkTokenInterface.sol +16 -0
  310. package/v0.6/contracts/interfaces/OracleInterface.sol +16 -0
  311. package/v0.6/contracts/interfaces/PointerInterface.sol +5 -0
  312. package/v0.6/contracts/interfaces/WithdrawalInterface.sol +16 -0
  313. package/v0.6/contracts/tests/BasicConsumer.sol +13 -0
  314. package/v0.6/contracts/tests/Consumer.sol +55 -0
  315. package/v0.6/contracts/vendor/Buffer.sol +301 -0
  316. package/v0.6/contracts/vendor/CBOR.sol +71 -0
  317. package/v0.6/contracts/vendor/ENSResolver.sol +5 -0
  318. package/v0.6/contracts/vendor/Ownable.sol +65 -0
  319. package/v0.6/contracts/vendor/SafeMath.sol +107 -0
  320. package/zos.json +8 -0
  321. package/zos.rinkeby.json +104 -0
  322. package/zos.ropsten.json +104 -0
@@ -0,0 +1,255 @@
1
+ "use strict";
2
+ /* Generated by ts-generator ver. 0.0.8 */
3
+ /* tslint:disable */
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ const ethers_1 = require("ethers");
6
+ class GetterSetterFactory extends ethers_1.ContractFactory {
7
+ constructor(signer) {
8
+ super(_abi, _bytecode, signer);
9
+ }
10
+ deploy() {
11
+ return super.deploy();
12
+ }
13
+ getDeployTransaction() {
14
+ return super.getDeployTransaction();
15
+ }
16
+ attach(address) {
17
+ return super.attach(address);
18
+ }
19
+ connect(signer) {
20
+ return super.connect(signer);
21
+ }
22
+ static connect(address, signerOrProvider) {
23
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
24
+ }
25
+ }
26
+ exports.GetterSetterFactory = GetterSetterFactory;
27
+ const _abi = [
28
+ {
29
+ constant: true,
30
+ inputs: [],
31
+ name: "requestId",
32
+ outputs: [
33
+ {
34
+ name: "",
35
+ type: "bytes32"
36
+ }
37
+ ],
38
+ payable: false,
39
+ stateMutability: "view",
40
+ type: "function"
41
+ },
42
+ {
43
+ constant: true,
44
+ inputs: [],
45
+ name: "getBytes",
46
+ outputs: [
47
+ {
48
+ name: "",
49
+ type: "bytes"
50
+ }
51
+ ],
52
+ payable: false,
53
+ stateMutability: "view",
54
+ type: "function"
55
+ },
56
+ {
57
+ constant: true,
58
+ inputs: [],
59
+ name: "getBytes32",
60
+ outputs: [
61
+ {
62
+ name: "",
63
+ type: "bytes32"
64
+ }
65
+ ],
66
+ payable: false,
67
+ stateMutability: "view",
68
+ type: "function"
69
+ },
70
+ {
71
+ constant: false,
72
+ inputs: [
73
+ {
74
+ name: "_requestId",
75
+ type: "bytes32"
76
+ },
77
+ {
78
+ name: "_value",
79
+ type: "uint256"
80
+ }
81
+ ],
82
+ name: "requestedUint256",
83
+ outputs: [],
84
+ payable: false,
85
+ stateMutability: "nonpayable",
86
+ type: "function"
87
+ },
88
+ {
89
+ constant: false,
90
+ inputs: [
91
+ {
92
+ name: "_requestId",
93
+ type: "bytes32"
94
+ },
95
+ {
96
+ name: "_value",
97
+ type: "bytes"
98
+ }
99
+ ],
100
+ name: "requestedBytes",
101
+ outputs: [],
102
+ payable: false,
103
+ stateMutability: "nonpayable",
104
+ type: "function"
105
+ },
106
+ {
107
+ constant: true,
108
+ inputs: [],
109
+ name: "getUint256",
110
+ outputs: [
111
+ {
112
+ name: "",
113
+ type: "uint256"
114
+ }
115
+ ],
116
+ payable: false,
117
+ stateMutability: "view",
118
+ type: "function"
119
+ },
120
+ {
121
+ constant: false,
122
+ inputs: [
123
+ {
124
+ name: "_value",
125
+ type: "bytes32"
126
+ }
127
+ ],
128
+ name: "setBytes32",
129
+ outputs: [],
130
+ payable: false,
131
+ stateMutability: "nonpayable",
132
+ type: "function"
133
+ },
134
+ {
135
+ constant: false,
136
+ inputs: [
137
+ {
138
+ name: "_value",
139
+ type: "uint256"
140
+ }
141
+ ],
142
+ name: "setUint256",
143
+ outputs: [],
144
+ payable: false,
145
+ stateMutability: "nonpayable",
146
+ type: "function"
147
+ },
148
+ {
149
+ constant: false,
150
+ inputs: [
151
+ {
152
+ name: "_value",
153
+ type: "bytes"
154
+ }
155
+ ],
156
+ name: "setBytes",
157
+ outputs: [],
158
+ payable: false,
159
+ stateMutability: "nonpayable",
160
+ type: "function"
161
+ },
162
+ {
163
+ constant: false,
164
+ inputs: [
165
+ {
166
+ name: "_requestId",
167
+ type: "bytes32"
168
+ },
169
+ {
170
+ name: "_value",
171
+ type: "bytes32"
172
+ }
173
+ ],
174
+ name: "requestedBytes32",
175
+ outputs: [],
176
+ payable: false,
177
+ stateMutability: "nonpayable",
178
+ type: "function"
179
+ },
180
+ {
181
+ anonymous: false,
182
+ inputs: [
183
+ {
184
+ indexed: true,
185
+ name: "from",
186
+ type: "address"
187
+ },
188
+ {
189
+ indexed: true,
190
+ name: "value",
191
+ type: "bytes32"
192
+ }
193
+ ],
194
+ name: "SetBytes32",
195
+ type: "event"
196
+ },
197
+ {
198
+ anonymous: false,
199
+ inputs: [
200
+ {
201
+ indexed: true,
202
+ name: "from",
203
+ type: "address"
204
+ },
205
+ {
206
+ indexed: true,
207
+ name: "value",
208
+ type: "uint256"
209
+ }
210
+ ],
211
+ name: "SetUint256",
212
+ type: "event"
213
+ },
214
+ {
215
+ anonymous: false,
216
+ inputs: [
217
+ {
218
+ indexed: true,
219
+ name: "from",
220
+ type: "address"
221
+ },
222
+ {
223
+ indexed: false,
224
+ name: "value",
225
+ type: "bytes"
226
+ }
227
+ ],
228
+ name: "SetBytes",
229
+ type: "event"
230
+ },
231
+ {
232
+ anonymous: false,
233
+ inputs: [
234
+ {
235
+ indexed: false,
236
+ name: "b32",
237
+ type: "bytes32"
238
+ },
239
+ {
240
+ indexed: false,
241
+ name: "u256",
242
+ type: "uint256"
243
+ },
244
+ {
245
+ indexed: false,
246
+ name: "b322",
247
+ type: "bytes32"
248
+ }
249
+ ],
250
+ name: "Output",
251
+ type: "event"
252
+ }
253
+ ];
254
+ const _bytecode = "0x608060405234801561001057600080fd5b506106bb806100206000396000f3006080604052600436106100a3576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680626d6cae146100a85780630bcd3b33146100db5780631f9030371461016b5780633345b4d01461019e57806346ddd1ff146101d95780636889597914610250578063c2b12a731461027b578063d2282dc5146102ac578063da359dc8146102d9578063ed53e51114610342575b600080fd5b3480156100b457600080fd5b506100bd610381565b60405180826000191660001916815260200191505060405180910390f35b3480156100e757600080fd5b506100f0610387565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610130578082015181840152602081019050610115565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561017757600080fd5b50610180610425565b60405180826000191660001916815260200191505060405180910390f35b3480156101aa57600080fd5b506101d760048036038101908080356000191690602001909291908035906020019092919050505061042b565b005b3480156101e557600080fd5b5061024e6004803603810190808035600019169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610443565b005b34801561025c57600080fd5b5061026561045b565b6040518082815260200191505060405180910390f35b34801561028757600080fd5b506102aa6004803603810190808035600019169060200190929190505050610461565b005b3480156102b857600080fd5b506102d7600480360381019080803590602001909291905050506104b7565b005b3480156102e557600080fd5b50610340600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610505565b005b34801561034e57600080fd5b5061037f600480360381019080803560001916906020019092919080356000191690602001909291905050506105d2565b005b60025481565b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041d5780601f106103f25761010080835404028352916020019161041d565b820191906000526020600020905b81548152906001019060200180831161040057829003601f168201915b505050505081565b60005481565b816002816000191690555061043f816104b7565b5050565b816002816000191690555061045781610505565b5050565b60015481565b806000816000191690555080600019163373ffffffffffffffffffffffffffffffffffffffff167fdc73ee99832252105ed74a404690c2f10ad1b294cbbeb0ff5cded48ef2aa437d60405160405180910390a350565b80600181905550803373ffffffffffffffffffffffffffffffffffffffff167fd943f063acdb1c6f206cf6a3f6d1ba39687bcc07feb7f44019bdbd4773c9c28d60405160405180910390a350565b806003908051906020019061051b9291906105ea565b503373ffffffffffffffffffffffffffffffffffffffff167ff22a519d38e59bc517532f666f8da532fdd5356e68d617191e82a8fdcc8abdcf826040518080602001828103825283818151815260200191508051906020019080838360005b8381101561059557808201518184015260208101905061057a565b50505050905090810190601f1680156105c25780820380516001836020036101000a031916815260200191505b509250505060405180910390a250565b81600281600019169055506105e681610461565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061062b57805160ff1916838001178555610659565b82800160010185558215610659579182015b8281111561065857825182559160200191906001019061063d565b5b509050610666919061066a565b5090565b61068c91905b80821115610688576000816000905550600101610670565b5090565b905600a165627a7a723058202eadeed356ef979c6b674d35604e5bdccdcd5091fbf0db2f12c0d3076a296d5e0029";
255
+ //# sourceMappingURL=GetterSetterFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetterSetterFactory.js","sourceRoot":"","sources":["../../../src/generated/GetterSetterFactory.ts"],"names":[],"mappings":";AAAA,0CAA0C;AAC1C,oBAAoB;;AAEpB,mCAA2D;AAM3D,MAAa,mBAAoB,SAAQ,wBAAe;IACtD,YAAY,MAAe;QACzB,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACjC,CAAC;IAED,MAAM;QACJ,OAAO,KAAK,CAAC,MAAM,EAA2B,CAAC;IACjD,CAAC;IACD,oBAAoB;QAClB,OAAO,KAAK,CAAC,oBAAoB,EAAE,CAAC;IACtC,CAAC;IACD,MAAM,CAAC,OAAe;QACpB,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAiB,CAAC;IAC/C,CAAC;IACD,OAAO,CAAC,MAAc;QACpB,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAwB,CAAC;IACtD,CAAC;IACD,MAAM,CAAC,O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AS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,SAAS,GACb,07GAA07G,CAAC"}
@@ -0,0 +1,243 @@
1
+ /* Generated by ts-generator ver. 0.0.8 */
2
+ /* tslint:disable */
3
+
4
+ import { Contract, ContractTransaction, EventFilter, Signer } from "ethers";
5
+ import { Listener, Provider } from "ethers/providers";
6
+ import { Arrayish, BigNumber, BigNumberish, Interface } from "ethers/utils";
7
+ import {
8
+ TransactionOverrides,
9
+ TypedEventDescription,
10
+ TypedFunctionDescription
11
+ } from ".";
12
+
13
+ interface LinkTokenInterface extends Interface {
14
+ functions: {
15
+ name: TypedFunctionDescription<{ encode([]: []): string }>;
16
+
17
+ approve: TypedFunctionDescription<{
18
+ encode([_spender, _value]: [string, BigNumberish]): string;
19
+ }>;
20
+
21
+ totalSupply: TypedFunctionDescription<{ encode([]: []): string }>;
22
+
23
+ transferFrom: TypedFunctionDescription<{
24
+ encode([_from, _to, _value]: [string, string, BigNumberish]): string;
25
+ }>;
26
+
27
+ decimals: TypedFunctionDescription<{ encode([]: []): string }>;
28
+
29
+ transferAndCall: TypedFunctionDescription<{
30
+ encode([_to, _value, _data]: [string, BigNumberish, Arrayish]): string;
31
+ }>;
32
+
33
+ decreaseApproval: TypedFunctionDescription<{
34
+ encode([_spender, _subtractedValue]: [string, BigNumberish]): string;
35
+ }>;
36
+
37
+ balanceOf: TypedFunctionDescription<{ encode([_owner]: [string]): string }>;
38
+
39
+ symbol: TypedFunctionDescription<{ encode([]: []): string }>;
40
+
41
+ transfer: TypedFunctionDescription<{
42
+ encode([_to, _value]: [string, BigNumberish]): string;
43
+ }>;
44
+
45
+ increaseApproval: TypedFunctionDescription<{
46
+ encode([_spender, _addedValue]: [string, BigNumberish]): string;
47
+ }>;
48
+
49
+ allowance: TypedFunctionDescription<{
50
+ encode([_owner, _spender]: [string, string]): string;
51
+ }>;
52
+ };
53
+
54
+ events: {
55
+ Transfer: TypedEventDescription<{
56
+ encodeTopics([from, to, value, data]: [
57
+ string | null,
58
+ string | null,
59
+ null,
60
+ null
61
+ ]): string[];
62
+ }>;
63
+
64
+ Approval: TypedEventDescription<{
65
+ encodeTopics([owner, spender, value]: [
66
+ string | null,
67
+ string | null,
68
+ null
69
+ ]): string[];
70
+ }>;
71
+ };
72
+ }
73
+
74
+ export class LinkToken extends Contract {
75
+ connect(signerOrProvider: Signer | Provider | string): LinkToken;
76
+ attach(addressOrName: string): LinkToken;
77
+ deployed(): Promise<LinkToken>;
78
+
79
+ on(event: EventFilter | string, listener: Listener): LinkToken;
80
+ once(event: EventFilter | string, listener: Listener): LinkToken;
81
+ addListener(eventName: EventFilter | string, listener: Listener): LinkToken;
82
+ removeAllListeners(eventName: EventFilter | string): LinkToken;
83
+ removeListener(eventName: any, listener: Listener): LinkToken;
84
+
85
+ interface: LinkTokenInterface;
86
+
87
+ functions: {
88
+ name(): Promise<string>;
89
+
90
+ approve(
91
+ _spender: string,
92
+ _value: BigNumberish,
93
+ overrides?: TransactionOverrides
94
+ ): Promise<ContractTransaction>;
95
+
96
+ totalSupply(): Promise<BigNumber>;
97
+
98
+ transferFrom(
99
+ _from: string,
100
+ _to: string,
101
+ _value: BigNumberish,
102
+ overrides?: TransactionOverrides
103
+ ): Promise<ContractTransaction>;
104
+
105
+ decimals(): Promise<number>;
106
+
107
+ transferAndCall(
108
+ _to: string,
109
+ _value: BigNumberish,
110
+ _data: Arrayish,
111
+ overrides?: TransactionOverrides
112
+ ): Promise<ContractTransaction>;
113
+
114
+ decreaseApproval(
115
+ _spender: string,
116
+ _subtractedValue: BigNumberish,
117
+ overrides?: TransactionOverrides
118
+ ): Promise<ContractTransaction>;
119
+
120
+ balanceOf(_owner: string): Promise<BigNumber>;
121
+
122
+ symbol(): Promise<string>;
123
+
124
+ transfer(
125
+ _to: string,
126
+ _value: BigNumberish,
127
+ overrides?: TransactionOverrides
128
+ ): Promise<ContractTransaction>;
129
+
130
+ increaseApproval(
131
+ _spender: string,
132
+ _addedValue: BigNumberish,
133
+ overrides?: TransactionOverrides
134
+ ): Promise<ContractTransaction>;
135
+
136
+ allowance(_owner: string, _spender: string): Promise<BigNumber>;
137
+ };
138
+
139
+ name(): Promise<string>;
140
+
141
+ approve(
142
+ _spender: string,
143
+ _value: BigNumberish,
144
+ overrides?: TransactionOverrides
145
+ ): Promise<ContractTransaction>;
146
+
147
+ totalSupply(): Promise<BigNumber>;
148
+
149
+ transferFrom(
150
+ _from: string,
151
+ _to: string,
152
+ _value: BigNumberish,
153
+ overrides?: TransactionOverrides
154
+ ): Promise<ContractTransaction>;
155
+
156
+ decimals(): Promise<number>;
157
+
158
+ transferAndCall(
159
+ _to: string,
160
+ _value: BigNumberish,
161
+ _data: Arrayish,
162
+ overrides?: TransactionOverrides
163
+ ): Promise<ContractTransaction>;
164
+
165
+ decreaseApproval(
166
+ _spender: string,
167
+ _subtractedValue: BigNumberish,
168
+ overrides?: TransactionOverrides
169
+ ): Promise<ContractTransaction>;
170
+
171
+ balanceOf(_owner: string): Promise<BigNumber>;
172
+
173
+ symbol(): Promise<string>;
174
+
175
+ transfer(
176
+ _to: string,
177
+ _value: BigNumberish,
178
+ overrides?: TransactionOverrides
179
+ ): Promise<ContractTransaction>;
180
+
181
+ increaseApproval(
182
+ _spender: string,
183
+ _addedValue: BigNumberish,
184
+ overrides?: TransactionOverrides
185
+ ): Promise<ContractTransaction>;
186
+
187
+ allowance(_owner: string, _spender: string): Promise<BigNumber>;
188
+
189
+ filters: {
190
+ Transfer(
191
+ from: string | null,
192
+ to: string | null,
193
+ value: null,
194
+ data: null
195
+ ): EventFilter;
196
+
197
+ Approval(
198
+ owner: string | null,
199
+ spender: string | null,
200
+ value: null
201
+ ): EventFilter;
202
+ };
203
+
204
+ estimate: {
205
+ name(): Promise<BigNumber>;
206
+
207
+ approve(_spender: string, _value: BigNumberish): Promise<BigNumber>;
208
+
209
+ totalSupply(): Promise<BigNumber>;
210
+
211
+ transferFrom(
212
+ _from: string,
213
+ _to: string,
214
+ _value: BigNumberish
215
+ ): Promise<BigNumber>;
216
+
217
+ decimals(): Promise<BigNumber>;
218
+
219
+ transferAndCall(
220
+ _to: string,
221
+ _value: BigNumberish,
222
+ _data: Arrayish
223
+ ): Promise<BigNumber>;
224
+
225
+ decreaseApproval(
226
+ _spender: string,
227
+ _subtractedValue: BigNumberish
228
+ ): Promise<BigNumber>;
229
+
230
+ balanceOf(_owner: string): Promise<BigNumber>;
231
+
232
+ symbol(): Promise<BigNumber>;
233
+
234
+ transfer(_to: string, _value: BigNumberish): Promise<BigNumber>;
235
+
236
+ increaseApproval(
237
+ _spender: string,
238
+ _addedValue: BigNumberish
239
+ ): Promise<BigNumber>;
240
+
241
+ allowance(_owner: string, _spender: string): Promise<BigNumber>;
242
+ };
243
+ }
@@ -0,0 +1,12 @@
1
+ import { ContractFactory, Signer } from "ethers";
2
+ import { Provider } from "ethers/providers";
3
+ import { UnsignedTransaction } from "ethers/utils/transaction";
4
+ import { LinkToken } from "./LinkToken";
5
+ export declare class LinkTokenFactory extends ContractFactory {
6
+ constructor(signer?: Signer);
7
+ deploy(): Promise<LinkToken>;
8
+ getDeployTransaction(): UnsignedTransaction;
9
+ attach(address: string): LinkToken;
10
+ connect(signer: Signer): LinkTokenFactory;
11
+ static connect(address: string, signerOrProvider: Signer | Provider): LinkToken;
12
+ }