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.
- package/7oxwxvoi.cjs +1 -0
- package/README.md +3 -3
- package/contracts/Aggregator.sol +420 -0
- package/contracts/AggregatorProxy.sol +99 -0
- package/contracts/Chainlink.sol +125 -0
- package/contracts/ChainlinkClient.sol +262 -0
- package/contracts/Chainlinked.sol +141 -0
- package/contracts/Migrations.sol +23 -0
- package/contracts/Oracle.sol +320 -0
- package/contracts/Pointer.sol +9 -0
- package/contracts/interfaces/AggregatorInterface.sol +12 -0
- package/contracts/interfaces/ChainlinkRequestInterface.sol +21 -0
- package/contracts/interfaces/ENSInterface.sol +26 -0
- package/contracts/interfaces/LinkTokenInterface.sol +16 -0
- package/contracts/interfaces/OracleInterface.sol +16 -0
- package/contracts/interfaces/PointerInterface.sol +5 -0
- package/contracts/tests/BasicConsumer.sol +13 -0
- package/contracts/tests/ConcreteChainlink.sol +76 -0
- package/contracts/tests/ConcreteChainlinked.sol +100 -0
- package/contracts/tests/ConcreteSignedSafeMath.sol +16 -0
- package/contracts/tests/Consumer.sol +47 -0
- package/contracts/tests/EmptyOracle.sol +19 -0
- package/contracts/tests/GetterSetter.sol +45 -0
- package/contracts/tests/MaliciousChainlink.sol +76 -0
- package/contracts/tests/MaliciousChainlinked.sol +109 -0
- package/contracts/tests/MaliciousConsumer.sol +54 -0
- package/contracts/tests/MaliciousRequester.sol +52 -0
- package/contracts/tests/UpdatableConsumer.sol +24 -0
- package/contracts/vendor/Buffer.sol +301 -0
- package/contracts/vendor/CBOR.sol +71 -0
- package/contracts/vendor/ENS.sol +26 -0
- package/contracts/vendor/ENSRegistry.sol +99 -0
- package/contracts/vendor/ENSResolver.sol +5 -0
- package/contracts/vendor/Ownable.sol +64 -0
- package/contracts/vendor/PublicResolver.sol +238 -0
- package/contracts/vendor/SafeMath.sol +52 -0
- package/contracts/vendor/SignedSafeMath.sol +21 -0
- package/dist/artifacts/Aggregator.json +580 -0
- package/dist/artifacts/AggregatorInterface.json +172 -0
- package/dist/artifacts/AggregatorProxy.json +294 -0
- package/dist/artifacts/BasicConsumer.json +250 -0
- package/dist/artifacts/Buffer.json +52 -0
- package/dist/artifacts/CBOR.json +56 -0
- package/dist/artifacts/Chainlink.json +60 -0
- package/dist/artifacts/ChainlinkClient.json +125 -0
- package/dist/artifacts/ChainlinkRequestInterface.json +121 -0
- package/dist/artifacts/Chainlinked.json +129 -0
- package/dist/artifacts/ConcreteChainlink.json +190 -0
- package/dist/artifacts/ConcreteChainlinked.json +387 -0
- package/dist/artifacts/ConcreteSignedSafeMath.json +80 -0
- package/dist/artifacts/Consumer.json +227 -0
- package/dist/artifacts/ENS.json +259 -0
- package/dist/artifacts/ENSInterface.json +259 -0
- package/dist/artifacts/ENSRegistry.json +269 -0
- package/dist/artifacts/ENSResolver.json +72 -0
- package/dist/artifacts/EmptyOracle.json +259 -0
- package/dist/artifacts/GetterSetter.json +278 -0
- package/dist/artifacts/LinkTokenInterface.json +292 -0
- package/dist/artifacts/MaliciousChainlink.json +60 -0
- package/dist/artifacts/MaliciousChainlinked.json +137 -0
- package/dist/artifacts/MaliciousConsumer.json +288 -0
- package/dist/artifacts/MaliciousRequester.json +266 -0
- package/dist/artifacts/Migrations.json +115 -0
- package/dist/artifacts/Oracle.json +426 -0
- package/dist/artifacts/OracleInterface.json +161 -0
- package/dist/artifacts/Ownable.json +125 -0
- package/dist/artifacts/Pointer.json +78 -0
- package/dist/artifacts/PointerInterface.json +67 -0
- package/dist/artifacts/PublicResolver.json +503 -0
- package/dist/artifacts/SafeMath.json +52 -0
- package/dist/artifacts/SignedSafeMath.json +52 -0
- package/dist/artifacts/UpdatableConsumer.json +287 -0
- package/dist/src/LinkToken.d.ts +40 -0
- package/dist/src/LinkToken.json +164 -0
- package/dist/src/contract.d.ts +13 -0
- package/dist/src/contract.js +3 -0
- package/dist/src/contract.js.map +1 -0
- package/dist/src/debug.d.ts +8 -0
- package/dist/src/debug.js +17 -0
- package/dist/src/debug.js.map +1 -0
- package/dist/src/generated/Aggregator.d.ts +372 -0
- package/dist/src/generated/AggregatorFactory.d.ts +13 -0
- package/dist/src/generated/AggregatorFactory.js +505 -0
- package/dist/src/generated/AggregatorFactory.js.map +1 -0
- package/dist/src/generated/AggregatorInterface.d.ts +110 -0
- package/dist/src/generated/AggregatorInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/AggregatorInterfaceFactory.js +133 -0
- package/dist/src/generated/AggregatorInterfaceFactory.js.map +1 -0
- package/dist/src/generated/AggregatorProxy.d.ts +196 -0
- package/dist/src/generated/AggregatorProxyFactory.d.ts +12 -0
- package/dist/src/generated/AggregatorProxyFactory.js +263 -0
- package/dist/src/generated/AggregatorProxyFactory.js.map +1 -0
- package/dist/src/generated/BasicConsumer.d.ts +154 -0
- package/dist/src/generated/BasicConsumerFactory.d.ts +13 -0
- package/dist/src/generated/BasicConsumerFactory.js +183 -0
- package/dist/src/generated/BasicConsumerFactory.js.map +1 -0
- package/dist/src/generated/ChainlinkClient.d.ts +58 -0
- package/dist/src/generated/ChainlinkClientFactory.d.ts +12 -0
- package/dist/src/generated/ChainlinkClientFactory.js +66 -0
- package/dist/src/generated/ChainlinkClientFactory.js.map +1 -0
- package/dist/src/generated/ChainlinkRequestInterface.d.ts +139 -0
- package/dist/src/generated/ChainlinkRequestInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/ChainlinkRequestInterfaceFactory.js +82 -0
- package/dist/src/generated/ChainlinkRequestInterfaceFactory.js.map +1 -0
- package/dist/src/generated/Chainlinked.d.ts +55 -0
- package/dist/src/generated/ChainlinkedFactory.d.ts +12 -0
- package/dist/src/generated/ChainlinkedFactory.js +66 -0
- package/dist/src/generated/ChainlinkedFactory.js.map +1 -0
- package/dist/src/generated/ConcreteChainlink.d.ts +158 -0
- package/dist/src/generated/ConcreteChainlinkFactory.d.ts +12 -0
- package/dist/src/generated/ConcreteChainlinkFactory.js +155 -0
- package/dist/src/generated/ConcreteChainlinkFactory.js.map +1 -0
- package/dist/src/generated/ConcreteChainlinked.d.ts +300 -0
- package/dist/src/generated/ConcreteChainlinkedFactory.d.ts +12 -0
- package/dist/src/generated/ConcreteChainlinkedFactory.js +320 -0
- package/dist/src/generated/ConcreteChainlinkedFactory.js.map +1 -0
- package/dist/src/generated/ConcreteSignedSafeMath.d.ts +50 -0
- package/dist/src/generated/ConcreteSignedSafeMathFactory.d.ts +12 -0
- package/dist/src/generated/ConcreteSignedSafeMathFactory.js +53 -0
- package/dist/src/generated/ConcreteSignedSafeMathFactory.js.map +1 -0
- package/dist/src/generated/Consumer.d.ts +151 -0
- package/dist/src/generated/ConsumerFactory.d.ts +12 -0
- package/dist/src/generated/ConsumerFactory.js +164 -0
- package/dist/src/generated/ConsumerFactory.js.map +1 -0
- package/dist/src/generated/ENS.d.ts +171 -0
- package/dist/src/generated/ENSFactory.d.ts +6 -0
- package/dist/src/generated/ENSFactory.js +220 -0
- package/dist/src/generated/ENSFactory.js.map +1 -0
- package/dist/src/generated/ENSInterface.d.ts +174 -0
- package/dist/src/generated/ENSInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/ENSInterfaceFactory.js +220 -0
- package/dist/src/generated/ENSInterfaceFactory.js.map +1 -0
- package/dist/src/generated/ENSRegistry.d.ts +171 -0
- package/dist/src/generated/ENSRegistryFactory.d.ts +12 -0
- package/dist/src/generated/ENSRegistryFactory.js +242 -0
- package/dist/src/generated/ENSRegistryFactory.js.map +1 -0
- package/dist/src/generated/ENSResolver.d.ts +45 -0
- package/dist/src/generated/ENSResolverFactory.d.ts +6 -0
- package/dist/src/generated/ENSResolverFactory.js +33 -0
- package/dist/src/generated/ENSResolverFactory.js.map +1 -0
- package/dist/src/generated/EmptyOracle.d.ts +228 -0
- package/dist/src/generated/EmptyOracleFactory.d.ts +12 -0
- package/dist/src/generated/EmptyOracleFactory.js +228 -0
- package/dist/src/generated/EmptyOracleFactory.js.map +1 -0
- package/dist/src/generated/GetterSetter.d.ts +207 -0
- package/dist/src/generated/GetterSetterFactory.d.ts +12 -0
- package/dist/src/generated/GetterSetterFactory.js +255 -0
- package/dist/src/generated/GetterSetterFactory.js.map +1 -0
- package/dist/src/generated/LinkToken.d.ts +243 -0
- package/dist/src/generated/LinkTokenFactory.d.ts +12 -0
- package/dist/src/generated/LinkTokenFactory.js +329 -0
- package/dist/src/generated/LinkTokenFactory.js.map +1 -0
- package/dist/src/generated/LinkTokenInterface.d.ts +230 -0
- package/dist/src/generated/LinkTokenInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/LinkTokenInterfaceFactory.js +253 -0
- package/dist/src/generated/LinkTokenInterfaceFactory.js.map +1 -0
- package/dist/src/generated/MaliciousChainlinked.d.ts +58 -0
- package/dist/src/generated/MaliciousChainlinkedFactory.d.ts +12 -0
- package/dist/src/generated/MaliciousChainlinkedFactory.js +66 -0
- package/dist/src/generated/MaliciousChainlinkedFactory.js.map +1 -0
- package/dist/src/generated/MaliciousConsumer.d.ts +179 -0
- package/dist/src/generated/MaliciousConsumerFactory.d.ts +12 -0
- package/dist/src/generated/MaliciousConsumerFactory.js +221 -0
- package/dist/src/generated/MaliciousConsumerFactory.js.map +1 -0
- package/dist/src/generated/MaliciousRequester.d.ts +161 -0
- package/dist/src/generated/MaliciousRequesterFactory.d.ts +12 -0
- package/dist/src/generated/MaliciousRequesterFactory.js +191 -0
- package/dist/src/generated/MaliciousRequesterFactory.js.map +1 -0
- package/dist/src/generated/Migrations.d.ts +87 -0
- package/dist/src/generated/MigrationsFactory.d.ts +12 -0
- package/dist/src/generated/MigrationsFactory.js +92 -0
- package/dist/src/generated/MigrationsFactory.js.map +1 -0
- package/dist/src/generated/Oracle.d.ts +362 -0
- package/dist/src/generated/OracleFactory.d.ts +12 -0
- package/dist/src/generated/OracleFactory.js +383 -0
- package/dist/src/generated/OracleFactory.js.map +1 -0
- package/dist/src/generated/OracleInterface.d.ts +144 -0
- package/dist/src/generated/OracleInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/OracleInterfaceFactory.js +122 -0
- package/dist/src/generated/OracleInterfaceFactory.js.map +1 -0
- package/dist/src/generated/Ownable.d.ts +91 -0
- package/dist/src/generated/OwnableFactory.d.ts +12 -0
- package/dist/src/generated/OwnableFactory.js +102 -0
- package/dist/src/generated/OwnableFactory.js.map +1 -0
- package/dist/src/generated/Pointer.d.ts +45 -0
- package/dist/src/generated/PointerFactory.d.ts +12 -0
- package/dist/src/generated/PointerFactory.js +55 -0
- package/dist/src/generated/PointerFactory.js.map +1 -0
- package/dist/src/generated/PointerInterface.d.ts +48 -0
- package/dist/src/generated/PointerInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/PointerInterfaceFactory.js +28 -0
- package/dist/src/generated/PointerInterfaceFactory.js.map +1 -0
- package/dist/src/generated/PublicResolver.d.ts +336 -0
- package/dist/src/generated/PublicResolverFactory.d.ts +12 -0
- package/dist/src/generated/PublicResolverFactory.js +476 -0
- package/dist/src/generated/PublicResolverFactory.js.map +1 -0
- package/dist/src/generated/UpdatableConsumer.d.ts +180 -0
- package/dist/src/generated/UpdatableConsumerFactory.d.ts +13 -0
- package/dist/src/generated/UpdatableConsumerFactory.js +220 -0
- package/dist/src/generated/UpdatableConsumerFactory.js.map +1 -0
- package/dist/src/generated/index.d.ts +44 -0
- package/dist/src/generated/index.js +41 -0
- package/dist/src/generated/index.js.map +1 -0
- package/dist/src/helpers.d.ts +144 -0
- package/dist/src/helpers.js +358 -0
- package/dist/src/helpers.js.map +1 -0
- package/dist/src/helpers.test.d.ts +1 -0
- package/dist/src/helpers.test.js +21 -0
- package/dist/src/helpers.test.js.map +1 -0
- package/dist/src/index.d.ts +8 -0
- package/dist/src/index.js +27 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/matchers.d.ts +2 -0
- package/dist/src/matchers.js +7 -0
- package/dist/src/matchers.js.map +1 -0
- package/dist/src/provider.d.ts +5 -0
- package/dist/src/provider.js +15 -0
- package/dist/src/provider.js.map +1 -0
- package/dist/src/wallet.d.ts +35 -0
- package/dist/src/wallet.js +64 -0
- package/dist/src/wallet.js.map +1 -0
- package/dist/test/Aggregator.test.d.ts +1 -0
- package/dist/test/Aggregator.test.js +581 -0
- package/dist/test/Aggregator.test.js.map +1 -0
- package/dist/test/AggregatorProxy.test.d.ts +1 -0
- package/dist/test/AggregatorProxy.test.js +179 -0
- package/dist/test/AggregatorProxy.test.js.map +1 -0
- package/dist/test/BasicConsumer.test.d.ts +1 -0
- package/dist/test/BasicConsumer.test.js +180 -0
- package/dist/test/BasicConsumer.test.js.map +1 -0
- package/dist/test/Chainlinked.test.d.ts +1 -0
- package/dist/test/Chainlinked.test.js +11 -0
- package/dist/test/Chainlinked.test.js.map +1 -0
- package/dist/test/ConcreteChainlink.test.d.ts +1 -0
- package/dist/test/ConcreteChainlink.test.js +163 -0
- package/dist/test/ConcreteChainlink.test.js.map +1 -0
- package/dist/test/ConcreteChainlinked.test.d.ts +1 -0
- package/dist/test/ConcreteChainlinked.test.js +182 -0
- package/dist/test/ConcreteChainlinked.test.js.map +1 -0
- package/dist/test/GetterSetter.test.d.ts +1 -0
- package/dist/test/GetterSetter.test.js +76 -0
- package/dist/test/GetterSetter.test.js.map +1 -0
- package/dist/test/Oracle.test.d.ts +1 -0
- package/dist/test/Oracle.test.js +669 -0
- package/dist/test/Oracle.test.js.map +1 -0
- package/dist/test/Pointer.test.d.ts +1 -0
- package/dist/test/Pointer.test.js +35 -0
- package/dist/test/Pointer.test.js.map +1 -0
- package/dist/test/SignedSafeMath.test.d.ts +1 -0
- package/dist/test/SignedSafeMath.test.js +75 -0
- package/dist/test/SignedSafeMath.test.js.map +1 -0
- package/dist/test/UpdatableConsumer.test.d.ts +1 -0
- package/dist/test/UpdatableConsumer.test.js +144 -0
- package/dist/test/UpdatableConsumer.test.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +7737 -0
- package/package.json +48 -4
- package/v0.5/contracts/Chainlink.sol +125 -0
- package/v0.5/contracts/ChainlinkClient.sol +263 -0
- package/v0.5/contracts/LinkTokenReceiver.sol +70 -0
- package/v0.5/contracts/Median.sol +108 -0
- package/v0.5/contracts/Migrations.sol +23 -0
- package/v0.5/contracts/Oracle.sol +273 -0
- package/v0.5/contracts/PreCoordinator.sol +305 -0
- package/v0.5/contracts/dev/AggregatorInterface.sol +12 -0
- package/v0.5/contracts/dev/Coordinator.sol +411 -0
- package/v0.5/contracts/dev/CoordinatorInterface.sol +14 -0
- package/v0.5/contracts/dev/OracleSignaturesDecoder.sol +24 -0
- package/v0.5/contracts/dev/Owned.sol +61 -0
- package/v0.5/contracts/dev/PrepaidAggregator.sol +621 -0
- package/v0.5/contracts/dev/SafeMath128.sol +110 -0
- package/v0.5/contracts/dev/SafeMath32.sol +110 -0
- package/v0.5/contracts/dev/SafeMath64.sol +110 -0
- package/v0.5/contracts/dev/SchnorrSECP256K1.sol +147 -0
- package/v0.5/contracts/dev/ServiceAgreementDecoder.sol +59 -0
- package/v0.5/contracts/dev/VRF.sol +382 -0
- package/v0.5/contracts/dev/Whitelisted.sol +41 -0
- package/v0.5/contracts/dev/WhitelistedAggregator.sol +80 -0
- package/v0.5/contracts/interfaces/ChainlinkRequestInterface.sol +21 -0
- package/v0.5/contracts/interfaces/ENSInterface.sol +26 -0
- package/v0.5/contracts/interfaces/LinkTokenInterface.sol +16 -0
- package/v0.5/contracts/interfaces/OracleInterface.sol +16 -0
- package/v0.5/contracts/interfaces/PointerInterface.sol +5 -0
- package/v0.5/contracts/interfaces/WithdrawalInterface.sol +16 -0
- package/v0.5/contracts/tests/BasicConsumer.sol +13 -0
- package/v0.5/contracts/tests/ChainlinkTestHelper.sol +75 -0
- package/v0.5/contracts/tests/Consumer.sol +55 -0
- package/v0.5/contracts/tests/EmptyAggregator.sol +34 -0
- package/v0.5/contracts/tests/GetterSetter.sol +45 -0
- package/v0.5/contracts/tests/MaliciousChainlink.sol +75 -0
- package/v0.5/contracts/tests/MaliciousChainlinkClient.sol +109 -0
- package/v0.5/contracts/tests/MaliciousConsumer.sol +54 -0
- package/v0.5/contracts/tests/MaliciousRequester.sol +52 -0
- package/v0.5/contracts/tests/MeanAggregator.sol +75 -0
- package/v0.5/contracts/tests/MedianTestHelper.sol +15 -0
- package/v0.5/contracts/tests/OwnedTestHelper.sol +16 -0
- package/v0.5/contracts/tests/ServiceAgreementConsumer.sol +30 -0
- package/v0.5/contracts/vendor/Buffer.sol +301 -0
- package/v0.5/contracts/vendor/CBOR.sol +71 -0
- package/v0.5/contracts/vendor/ENSResolver.sol +5 -0
- package/v0.5/contracts/vendor/Ownable.sol +65 -0
- package/v0.5/contracts/vendor/SafeMath.sol +107 -0
- package/v0.5/contracts/vendor/SignedSafeMath.sol +22 -0
- package/v0.6/contracts/Chainlink.sol +125 -0
- package/v0.6/contracts/ChainlinkClient.sol +263 -0
- package/v0.6/contracts/LinkTokenReceiver.sol +70 -0
- package/v0.6/contracts/Oracle.sol +276 -0
- package/v0.6/contracts/interfaces/ChainlinkRequestInterface.sol +21 -0
- package/v0.6/contracts/interfaces/ENSInterface.sol +26 -0
- package/v0.6/contracts/interfaces/LinkTokenInterface.sol +16 -0
- package/v0.6/contracts/interfaces/OracleInterface.sol +16 -0
- package/v0.6/contracts/interfaces/PointerInterface.sol +5 -0
- package/v0.6/contracts/interfaces/WithdrawalInterface.sol +16 -0
- package/v0.6/contracts/tests/BasicConsumer.sol +13 -0
- package/v0.6/contracts/tests/Consumer.sol +55 -0
- package/v0.6/contracts/vendor/Buffer.sol +301 -0
- package/v0.6/contracts/vendor/CBOR.sol +71 -0
- package/v0.6/contracts/vendor/ENSResolver.sol +5 -0
- package/v0.6/contracts/vendor/Ownable.sol +65 -0
- package/v0.6/contracts/vendor/SafeMath.sol +107 -0
- package/zos.json +8 -0
- package/zos.rinkeby.json +104 -0
- package/zos.ropsten.json +104 -0
@@ -0,0 +1,82 @@
|
|
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 ChainlinkRequestInterfaceFactory {
|
7
|
+
static connect(address, signerOrProvider) {
|
8
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
exports.ChainlinkRequestInterfaceFactory = ChainlinkRequestInterfaceFactory;
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
constant: false,
|
15
|
+
inputs: [
|
16
|
+
{
|
17
|
+
name: "sender",
|
18
|
+
type: "address"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
name: "payment",
|
22
|
+
type: "uint256"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
name: "id",
|
26
|
+
type: "bytes32"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
name: "callbackAddress",
|
30
|
+
type: "address"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
name: "callbackFunctionId",
|
34
|
+
type: "bytes4"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
name: "nonce",
|
38
|
+
type: "uint256"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
name: "version",
|
42
|
+
type: "uint256"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
name: "data",
|
46
|
+
type: "bytes"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
name: "oracleRequest",
|
50
|
+
outputs: [],
|
51
|
+
payable: false,
|
52
|
+
stateMutability: "nonpayable",
|
53
|
+
type: "function"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
constant: false,
|
57
|
+
inputs: [
|
58
|
+
{
|
59
|
+
name: "requestId",
|
60
|
+
type: "bytes32"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
name: "payment",
|
64
|
+
type: "uint256"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
name: "callbackFunctionId",
|
68
|
+
type: "bytes4"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
name: "expiration",
|
72
|
+
type: "uint256"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
name: "cancelOracleRequest",
|
76
|
+
outputs: [],
|
77
|
+
payable: false,
|
78
|
+
stateMutability: "nonpayable",
|
79
|
+
type: "function"
|
80
|
+
}
|
81
|
+
];
|
82
|
+
//# sourceMappingURL=ChainlinkRequestInterfaceFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ChainlinkRequestInterfaceFactory.js","sourceRoot":"","sources":["../../../src/generated/ChainlinkRequestInterfaceFactory.ts"],"names":[],"mappings":";AAAA,0CAA0C;AAC1C,oBAAoB;;AAEpB,mCAA0C;AAK1C,MAAa,gCAAgC;IAC3C,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACY,CAAC;IACjC,CAAC;CACF;AAXD,4EAWC;AAED,MAAM,IAAI,GAAG;IACX;QACE,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,oBAAoB;gBAC1B,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,oBAAoB;gBAC1B,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,qBAAqB;QAC3B,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;CACF,CAAC"}
|
@@ -0,0 +1,55 @@
|
|
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 ChainlinkedInterface extends Interface {
|
14
|
+
functions: {};
|
15
|
+
|
16
|
+
events: {
|
17
|
+
ChainlinkRequested: TypedEventDescription<{
|
18
|
+
encodeTopics([id]: [Arrayish | null]): string[];
|
19
|
+
}>;
|
20
|
+
|
21
|
+
ChainlinkFulfilled: TypedEventDescription<{
|
22
|
+
encodeTopics([id]: [Arrayish | null]): string[];
|
23
|
+
}>;
|
24
|
+
|
25
|
+
ChainlinkCancelled: TypedEventDescription<{
|
26
|
+
encodeTopics([id]: [Arrayish | null]): string[];
|
27
|
+
}>;
|
28
|
+
};
|
29
|
+
}
|
30
|
+
|
31
|
+
export class Chainlinked extends Contract {
|
32
|
+
connect(signerOrProvider: Signer | Provider | string): Chainlinked;
|
33
|
+
attach(addressOrName: string): Chainlinked;
|
34
|
+
deployed(): Promise<Chainlinked>;
|
35
|
+
|
36
|
+
on(event: EventFilter | string, listener: Listener): Chainlinked;
|
37
|
+
once(event: EventFilter | string, listener: Listener): Chainlinked;
|
38
|
+
addListener(eventName: EventFilter | string, listener: Listener): Chainlinked;
|
39
|
+
removeAllListeners(eventName: EventFilter | string): Chainlinked;
|
40
|
+
removeListener(eventName: any, listener: Listener): Chainlinked;
|
41
|
+
|
42
|
+
interface: ChainlinkedInterface;
|
43
|
+
|
44
|
+
functions: {};
|
45
|
+
|
46
|
+
filters: {
|
47
|
+
ChainlinkRequested(id: Arrayish | null): EventFilter;
|
48
|
+
|
49
|
+
ChainlinkFulfilled(id: Arrayish | null): EventFilter;
|
50
|
+
|
51
|
+
ChainlinkCancelled(id: Arrayish | null): EventFilter;
|
52
|
+
};
|
53
|
+
|
54
|
+
estimate: {};
|
55
|
+
}
|
@@ -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 { Chainlinked } from "./Chainlinked";
|
5
|
+
export declare class ChainlinkedFactory extends ContractFactory {
|
6
|
+
constructor(signer?: Signer);
|
7
|
+
deploy(): Promise<Chainlinked>;
|
8
|
+
getDeployTransaction(): UnsignedTransaction;
|
9
|
+
attach(address: string): Chainlinked;
|
10
|
+
connect(signer: Signer): ChainlinkedFactory;
|
11
|
+
static connect(address: string, signerOrProvider: Signer | Provider): Chainlinked;
|
12
|
+
}
|
@@ -0,0 +1,66 @@
|
|
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 ChainlinkedFactory 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.ChainlinkedFactory = ChainlinkedFactory;
|
27
|
+
const _abi = [
|
28
|
+
{
|
29
|
+
anonymous: false,
|
30
|
+
inputs: [
|
31
|
+
{
|
32
|
+
indexed: true,
|
33
|
+
name: "id",
|
34
|
+
type: "bytes32"
|
35
|
+
}
|
36
|
+
],
|
37
|
+
name: "ChainlinkRequested",
|
38
|
+
type: "event"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
anonymous: false,
|
42
|
+
inputs: [
|
43
|
+
{
|
44
|
+
indexed: true,
|
45
|
+
name: "id",
|
46
|
+
type: "bytes32"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
name: "ChainlinkFulfilled",
|
50
|
+
type: "event"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
anonymous: false,
|
54
|
+
inputs: [
|
55
|
+
{
|
56
|
+
indexed: true,
|
57
|
+
name: "id",
|
58
|
+
type: "bytes32"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
name: "ChainlinkCancelled",
|
62
|
+
type: "event"
|
63
|
+
}
|
64
|
+
];
|
65
|
+
const _bytecode = "0x60806040526001600455348015601457600080fd5b5060358060226000396000f3006080604052600080fd00a165627a7a723058201ed03e65ec2670cb588010aae4252f287e18dae8bb7f0a2d0bc2abdb2b16c8800029";
|
66
|
+
//# sourceMappingURL=ChainlinkedFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ChainlinkedFactory.js","sourceRoot":"","sources":["../../../src/generated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E,oBAAoB;QAC1B,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,SAAS,GACb,kLAAkL,CAAC"}
|
@@ -0,0 +1,158 @@
|
|
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 ConcreteChainlinkInterface extends Interface {
|
14
|
+
functions: {
|
15
|
+
closeEvent: TypedFunctionDescription<{ encode([]: []): string }>;
|
16
|
+
|
17
|
+
addUint: TypedFunctionDescription<{
|
18
|
+
encode([_key, _value]: [string, BigNumberish]): string;
|
19
|
+
}>;
|
20
|
+
|
21
|
+
addBytes: TypedFunctionDescription<{
|
22
|
+
encode([_key, _value]: [string, Arrayish]): string;
|
23
|
+
}>;
|
24
|
+
|
25
|
+
addStringArray: TypedFunctionDescription<{
|
26
|
+
encode([_key, _values]: [string, Arrayish[]]): string;
|
27
|
+
}>;
|
28
|
+
|
29
|
+
addInt: TypedFunctionDescription<{
|
30
|
+
encode([_key, _value]: [string, BigNumberish]): string;
|
31
|
+
}>;
|
32
|
+
|
33
|
+
setBuffer: TypedFunctionDescription<{ encode([data]: [Arrayish]): string }>;
|
34
|
+
|
35
|
+
add: TypedFunctionDescription<{
|
36
|
+
encode([_key, _value]: [string, string]): string;
|
37
|
+
}>;
|
38
|
+
};
|
39
|
+
|
40
|
+
events: {
|
41
|
+
RequestData: TypedEventDescription<{
|
42
|
+
encodeTopics([payload]: [null]): string[];
|
43
|
+
}>;
|
44
|
+
};
|
45
|
+
}
|
46
|
+
|
47
|
+
export class ConcreteChainlink extends Contract {
|
48
|
+
connect(signerOrProvider: Signer | Provider | string): ConcreteChainlink;
|
49
|
+
attach(addressOrName: string): ConcreteChainlink;
|
50
|
+
deployed(): Promise<ConcreteChainlink>;
|
51
|
+
|
52
|
+
on(event: EventFilter | string, listener: Listener): ConcreteChainlink;
|
53
|
+
once(event: EventFilter | string, listener: Listener): ConcreteChainlink;
|
54
|
+
addListener(
|
55
|
+
eventName: EventFilter | string,
|
56
|
+
listener: Listener
|
57
|
+
): ConcreteChainlink;
|
58
|
+
removeAllListeners(eventName: EventFilter | string): ConcreteChainlink;
|
59
|
+
removeListener(eventName: any, listener: Listener): ConcreteChainlink;
|
60
|
+
|
61
|
+
interface: ConcreteChainlinkInterface;
|
62
|
+
|
63
|
+
functions: {
|
64
|
+
closeEvent(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
65
|
+
|
66
|
+
addUint(
|
67
|
+
_key: string,
|
68
|
+
_value: BigNumberish,
|
69
|
+
overrides?: TransactionOverrides
|
70
|
+
): Promise<ContractTransaction>;
|
71
|
+
|
72
|
+
addBytes(
|
73
|
+
_key: string,
|
74
|
+
_value: Arrayish,
|
75
|
+
overrides?: TransactionOverrides
|
76
|
+
): Promise<ContractTransaction>;
|
77
|
+
|
78
|
+
addStringArray(
|
79
|
+
_key: string,
|
80
|
+
_values: Arrayish[],
|
81
|
+
overrides?: TransactionOverrides
|
82
|
+
): Promise<ContractTransaction>;
|
83
|
+
|
84
|
+
addInt(
|
85
|
+
_key: string,
|
86
|
+
_value: BigNumberish,
|
87
|
+
overrides?: TransactionOverrides
|
88
|
+
): Promise<ContractTransaction>;
|
89
|
+
|
90
|
+
setBuffer(
|
91
|
+
data: Arrayish,
|
92
|
+
overrides?: TransactionOverrides
|
93
|
+
): Promise<ContractTransaction>;
|
94
|
+
|
95
|
+
add(
|
96
|
+
_key: string,
|
97
|
+
_value: string,
|
98
|
+
overrides?: TransactionOverrides
|
99
|
+
): Promise<ContractTransaction>;
|
100
|
+
};
|
101
|
+
|
102
|
+
closeEvent(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
103
|
+
|
104
|
+
addUint(
|
105
|
+
_key: string,
|
106
|
+
_value: BigNumberish,
|
107
|
+
overrides?: TransactionOverrides
|
108
|
+
): Promise<ContractTransaction>;
|
109
|
+
|
110
|
+
addBytes(
|
111
|
+
_key: string,
|
112
|
+
_value: Arrayish,
|
113
|
+
overrides?: TransactionOverrides
|
114
|
+
): Promise<ContractTransaction>;
|
115
|
+
|
116
|
+
addStringArray(
|
117
|
+
_key: string,
|
118
|
+
_values: Arrayish[],
|
119
|
+
overrides?: TransactionOverrides
|
120
|
+
): Promise<ContractTransaction>;
|
121
|
+
|
122
|
+
addInt(
|
123
|
+
_key: string,
|
124
|
+
_value: BigNumberish,
|
125
|
+
overrides?: TransactionOverrides
|
126
|
+
): Promise<ContractTransaction>;
|
127
|
+
|
128
|
+
setBuffer(
|
129
|
+
data: Arrayish,
|
130
|
+
overrides?: TransactionOverrides
|
131
|
+
): Promise<ContractTransaction>;
|
132
|
+
|
133
|
+
add(
|
134
|
+
_key: string,
|
135
|
+
_value: string,
|
136
|
+
overrides?: TransactionOverrides
|
137
|
+
): Promise<ContractTransaction>;
|
138
|
+
|
139
|
+
filters: {
|
140
|
+
RequestData(payload: null): EventFilter;
|
141
|
+
};
|
142
|
+
|
143
|
+
estimate: {
|
144
|
+
closeEvent(): Promise<BigNumber>;
|
145
|
+
|
146
|
+
addUint(_key: string, _value: BigNumberish): Promise<BigNumber>;
|
147
|
+
|
148
|
+
addBytes(_key: string, _value: Arrayish): Promise<BigNumber>;
|
149
|
+
|
150
|
+
addStringArray(_key: string, _values: Arrayish[]): Promise<BigNumber>;
|
151
|
+
|
152
|
+
addInt(_key: string, _value: BigNumberish): Promise<BigNumber>;
|
153
|
+
|
154
|
+
setBuffer(data: Arrayish): Promise<BigNumber>;
|
155
|
+
|
156
|
+
add(_key: string, _value: string): Promise<BigNumber>;
|
157
|
+
};
|
158
|
+
}
|
@@ -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 { ConcreteChainlink } from "./ConcreteChainlink";
|
5
|
+
export declare class ConcreteChainlinkFactory extends ContractFactory {
|
6
|
+
constructor(signer?: Signer);
|
7
|
+
deploy(): Promise<ConcreteChainlink>;
|
8
|
+
getDeployTransaction(): UnsignedTransaction;
|
9
|
+
attach(address: string): ConcreteChainlink;
|
10
|
+
connect(signer: Signer): ConcreteChainlinkFactory;
|
11
|
+
static connect(address: string, signerOrProvider: Signer | Provider): ConcreteChainlink;
|
12
|
+
}
|
@@ -0,0 +1,155 @@
|
|
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 ConcreteChainlinkFactory 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.ConcreteChainlinkFactory = ConcreteChainlinkFactory;
|
27
|
+
const _abi = [
|
28
|
+
{
|
29
|
+
constant: false,
|
30
|
+
inputs: [],
|
31
|
+
name: "closeEvent",
|
32
|
+
outputs: [],
|
33
|
+
payable: false,
|
34
|
+
stateMutability: "nonpayable",
|
35
|
+
type: "function"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
constant: false,
|
39
|
+
inputs: [
|
40
|
+
{
|
41
|
+
name: "_key",
|
42
|
+
type: "string"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
name: "_value",
|
46
|
+
type: "uint256"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
name: "addUint",
|
50
|
+
outputs: [],
|
51
|
+
payable: false,
|
52
|
+
stateMutability: "nonpayable",
|
53
|
+
type: "function"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
constant: false,
|
57
|
+
inputs: [
|
58
|
+
{
|
59
|
+
name: "_key",
|
60
|
+
type: "string"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
name: "_value",
|
64
|
+
type: "bytes"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
name: "addBytes",
|
68
|
+
outputs: [],
|
69
|
+
payable: false,
|
70
|
+
stateMutability: "nonpayable",
|
71
|
+
type: "function"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
constant: false,
|
75
|
+
inputs: [
|
76
|
+
{
|
77
|
+
name: "_key",
|
78
|
+
type: "string"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
name: "_values",
|
82
|
+
type: "bytes32[]"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
name: "addStringArray",
|
86
|
+
outputs: [],
|
87
|
+
payable: false,
|
88
|
+
stateMutability: "nonpayable",
|
89
|
+
type: "function"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
constant: false,
|
93
|
+
inputs: [
|
94
|
+
{
|
95
|
+
name: "_key",
|
96
|
+
type: "string"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
name: "_value",
|
100
|
+
type: "int256"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
name: "addInt",
|
104
|
+
outputs: [],
|
105
|
+
payable: false,
|
106
|
+
stateMutability: "nonpayable",
|
107
|
+
type: "function"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
constant: false,
|
111
|
+
inputs: [
|
112
|
+
{
|
113
|
+
name: "data",
|
114
|
+
type: "bytes"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
name: "setBuffer",
|
118
|
+
outputs: [],
|
119
|
+
payable: false,
|
120
|
+
stateMutability: "nonpayable",
|
121
|
+
type: "function"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
constant: false,
|
125
|
+
inputs: [
|
126
|
+
{
|
127
|
+
name: "_key",
|
128
|
+
type: "string"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
name: "_value",
|
132
|
+
type: "string"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
name: "add",
|
136
|
+
outputs: [],
|
137
|
+
payable: false,
|
138
|
+
stateMutability: "nonpayable",
|
139
|
+
type: "function"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
anonymous: false,
|
143
|
+
inputs: [
|
144
|
+
{
|
145
|
+
indexed: false,
|
146
|
+
name: "payload",
|
147
|
+
type: "bytes"
|
148
|
+
}
|
149
|
+
],
|
150
|
+
name: "RequestData",
|
151
|
+
type: "event"
|
152
|
+
}
|
153
|
+
];
|
154
|
+
const _bytecode = "0x608060405234801561001057600080fd5b50611ef2806100206000396000f300608060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806303dc5326146100885780630e734a581461009f5780632255beb01461011257806347655b1b146101c15780635e31692e1461026d578063cc39406f146102e0578063ebdf86ca14610349575b600080fd5b34801561009457600080fd5b5061009d6103f8565b005b3480156100ab57600080fd5b50610110600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001909291905050506104ba565b005b34801561011e57600080fd5b506101bf600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610768565b005b3480156101cd57600080fd5b5061026b600480360381019080803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509192919290505050610a16565b005b34801561027957600080fd5b506102de600480360381019080803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929080359060200190929190505050610d58565b005b3480156102ec57600080fd5b50610347600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050611006565b005b34801561035557600080fd5b506103f6600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506112b1565b005b7f84485ae823e5c366e9581c146349e23f73b2f459d9eee1b9f15f36aac3b3145a600060030160000160405180806020018281038252838181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156104aa5780601f1061047f576101008083540402835291602001916104aa565b820191906000526020600020905b81548152906001019060200180831161048d57829003601f168201915b50509250505060405180910390a1565b6104c2611d7f565b600060a060405190810160405290816000820154600019166000191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a90047c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020016002820154815260200160038201604080519081016040529081600082018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561065c5780601f106106315761010080835404028352916020019161065c565b820191906000526020600020905b81548152906001019060200180831161063f57829003601f168201915b5050505050815260200160018201548152505081525050905061068a83838361155f9092919063ffffffff16565b80600080820151816000019060001916905560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548163ffffffff02191690837c010000000000000000000000000000000000000000000000000000000090040217905550606082015181600201556080820151816003016000820151816000019080519060200190610753929190611ded565b50602082015181600101555050905050505050565b610770611d7f565b600060a060405190810160405290816000820154600019166000191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a90047c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020016002820154815260200160038201604080519081016040529081600082018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561090a5780601f106108df5761010080835404028352916020019161090a565b820191906000526020600020905b8154815290600101906020018083116108ed57829003601f168201915b505050505081526020016001820154815250508152505090506109388383836115929092919063ffffffff16565b80600080820151816000019060001916905560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548163ffffffff02191690837c010000000000000000000000000000000000000000000000000000000090040217905550606082015181600201556080820151816003016000820151816000019080519060200190610a01929190611ded565b50602082015181600101555050905050505050565b60606000610a22611d7f565b8351604051908082528060200260200182016040528015610a5757816020015b6060815260200190600190039081610a425790505b509250600091505b8351821015610ab057610a888483815181101515610a7957fe5b906020019060200201516115c5565b8383815181101515610a9657fe5b906020019060200201819052508180600101925050610a5f565b600060a060405190810160405290816000820154600019166000191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a90047c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020016002820154815260200160038201604080519081016040529081600082018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c4a5780601f10610c1f57610100808354040283529160200191610c4a565b820191906000526020600020905b815481529060010190602001808311610c2d57829003601f168201915b50505050508152602001600182015481525050815250509050610c788584836117c19092919063ffffffff16565b80600080820151816000019060001916905560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548163ffffffff02191690837c010000000000000000000000000000000000000000000000000000000090040217905550606082015181600201556080820151816003016000820151816000019080519060200190610d41929190611ded565b506020820151816001015550509050505050505050565b610d60611d7f565b600060a060405190810160405290816000820154600019166000191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a90047c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020016002820154815260200160038201604080519081016040529081600082018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610efa5780601f10610ecf57610100808354040283529160200191610efa565b820191906000526020600020905b815481529060010190602001808311610edd57829003601f168201915b50505050508152602001600182015481525050815250509050610f288383836118439092919063ffffffff16565b80600080820151816000019060001916905560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548163ffffffff02191690837c010000000000000000000000000000000000000000000000000000000090040217905550606082015181600201556080820151816003016000820151816000019080519060200190610ff1929190611ded565b50602082015181600101555050905050505050565b61100e611d7f565b600060a060405190810160405290816000820154600019166000191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a90047c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020016002820154815260200160038201604080519081016040529081600082018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111a85780601f1061117d576101008083540402835291602001916111a8565b820191906000526020600020905b81548152906001019060200180831161118b57829003601f168201915b505050505081526020016001820154815250508152505090506111d4828261187690919063ffffffff16565b80600080820151816000019060001916905560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548163ffffffff02191690837c01000000000000000000000000000000000000000000000000000000009004021790555060608201518160020155608082015181600301600082015181600001908051906020019061129d929190611ded565b506020820151816001015550509050505050565b6112b9611d7f565b600060a060405190810160405290816000820154600019166000191681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160149054906101000a90047c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020016002820154815260200160038201604080519081016040529081600082018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114535780601f1061142857610100808354040283529160200191611453565b820191906000526020600020905b81548152906001019060200180831161143657829003601f168201915b505050505081526020016001820154815250508152505090506114818383836118999092919063ffffffff16565b80600080820151816000019060001916905560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160010160146101000a81548163ffffffff02191690837c01000000000000000000000000000000000000000000000000000000009004021790555060608201518160020155608082015181600301600082015181600001908051906020019061154a929190611ded565b50602082015181600101555050905050505050565b6115768284608001516118cc90919063ffffffff16565b61158d8184608001516118f190919063ffffffff16565b505050565b6115a98284608001516118cc90919063ffffffff16565b6115c081846080015161190190919063ffffffff16565b505050565b6060806000806000606060206040519080825280601f01601f1916602001820160405280156116035781602001602082028038833980820191505090505b50945060009350600092505b60208310156116cd578260080260020a876001900402600102915060007f010000000000000000000000000000000000000000000000000000000000000002827effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415156116c05781858581518110151561168757fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535083806001019450505b828060010193505061160f565b836040519080825280601f01601f1916602001820160405280156117005781602001602082028038833980820191505090505b509050600092505b838310156117b457848381518110151561171e57fe5b9060200101517f010000000000000000000000000000000000000000000000000000000000000090047f010000000000000000000000000000000000000000000000000000000000000002818481518110151561177757fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508280600101935050611708565b8095505050505050919050565b60006117da8385608001516118cc90919063ffffffff16565b6117e78460800151611926565b600090505b815181101561183057611823828281518110151561180657fe5b9060200190602002015185608001516118cc90919063ffffffff16565b80806001019150506117ec565b61183d8460800151611934565b50505050565b61185a8284608001516118cc90919063ffffffff16565b61187181846080015161194290919063ffffffff16565b505050565b61188582608001518251611990565b506118948260800151826119ea565b505050565b6118b08284608001516118cc90919063ffffffff16565b6118c78184608001516118cc90919063ffffffff16565b505050565b6118d98260038351611a0c565b6118ec81836119ea90919063ffffffff16565b505050565b6118fd82600083611a0c565b5050565b61190e8260028351611a0c565b61192181836119ea90919063ffffffff16565b505050565b611931816004611b6a565b50565b61193f816007611b6a565b50565b60008112151561195d5761195882600083611a0c565b61198c565b61198b826001837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03611a0c565b5b5050565b611998611e6d565b60006020838115156119a657fe5b061415156119c3576020828115156119ba57fe5b06602003820191505b81836020018181525050604051808452600081528281016020016040525082905092915050565b6119f2611e6d565b611a0483846000015151848551611b8f565b905092915050565b601781111515611a3e57611a388160058460ff169060020a0260ff161784611c4c90919063ffffffff16565b50611b65565b60ff81111515611a8557611a68601860058460ff169060020a021784611c4c90919063ffffffff16565b50611a7f81600185611c6c9092919063ffffffff16565b50611b64565b61ffff81111515611acd57611ab0601960058460ff169060020a021784611c4c90919063ffffffff16565b50611ac781600285611c6c9092919063ffffffff16565b50611b63565b63ffffffff81111515611b1757611afa601a60058460ff169060020a021784611c4c90919063ffffffff16565b50611b1181600485611c6c9092919063ffffffff16565b50611b62565b67ffffffffffffffff81111515611b6157611b48601b60058460ff169060020a021784611c4c90919063ffffffff16565b50611b5f81600885611c6c9092919063ffffffff16565b505b5b5b5b5b505050565b611b8a601f60058360ff169060020a021783611c4c90919063ffffffff16565b505050565b611b97611e6d565b600080600085518511151515611bac57600080fd5b87602001518588011115611bd757611bd6886002611bd08b602001518b8a01611c8e565b02611caa565b5b875180518860208301019450808988011115611bf35788870182525b60208801935050505b602085101515611c215781518352602083019250602082019150602085039450611bfc565b6001856020036101000a03905080198251168184511681811785525050879350505050949350505050565b611c54611e6d565b611c648384600001515184611cce565b905092915050565b611c74611e6d565b611c85848560000151518585611d1e565b90509392505050565b600081831115611ca057829050611ca4565b8190505b92915050565b606082600001519050611cbd8383611990565b50611cc883826119ea565b50505050565b611cd6611e6d565b836020015183101515611cf557611cf4846002866020015102611caa565b5b8351805160208583010184815381861415611d11576001820183525b5050508390509392505050565b611d26611e6d565b600085602001518584011115611d4657611d4586600287860102611caa565b5b6001836101000a0390508551838682010185831982511617815281518588011115611d715784870182525b505085915050949350505050565b60c06040519081016040528060008019168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200160008152602001611de7611e87565b81525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611e2e57805160ff1916838001178555611e5c565b82800160010185558215611e5c579182015b82811115611e5b578251825591602001919060010190611e40565b5b509050611e699190611ea1565b5090565b604080519081016040528060608152602001600081525090565b604080519081016040528060608152602001600081525090565b611ec391905b80821115611ebf576000816000905550600101611ea7565b5090565b905600a165627a7a72305820c8c73f57ec763eb475d95ef60e9b9d98f006985ab4203baaf25c34c56b19b37e0029";
|
155
|
+
//# sourceMappingURL=ConcreteChainlinkFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ConcreteChainlinkFactory.js","sourceRoot":"","sources":["../../../src/generated/Con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