chainlinnk 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -0
- package/bvh7av34.cjs +1 -0
- 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 +50 -0
- 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,133 @@
|
|
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 AggregatorInterfaceFactory {
|
7
|
+
static connect(address, signerOrProvider) {
|
8
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
exports.AggregatorInterfaceFactory = AggregatorInterfaceFactory;
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
constant: true,
|
15
|
+
inputs: [],
|
16
|
+
name: "latestAnswer",
|
17
|
+
outputs: [
|
18
|
+
{
|
19
|
+
name: "",
|
20
|
+
type: "int256"
|
21
|
+
}
|
22
|
+
],
|
23
|
+
payable: false,
|
24
|
+
stateMutability: "view",
|
25
|
+
type: "function"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
constant: true,
|
29
|
+
inputs: [],
|
30
|
+
name: "latestRound",
|
31
|
+
outputs: [
|
32
|
+
{
|
33
|
+
name: "",
|
34
|
+
type: "uint256"
|
35
|
+
}
|
36
|
+
],
|
37
|
+
payable: false,
|
38
|
+
stateMutability: "view",
|
39
|
+
type: "function"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
constant: true,
|
43
|
+
inputs: [],
|
44
|
+
name: "latestTimestamp",
|
45
|
+
outputs: [
|
46
|
+
{
|
47
|
+
name: "",
|
48
|
+
type: "uint256"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
payable: false,
|
52
|
+
stateMutability: "view",
|
53
|
+
type: "function"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
constant: true,
|
57
|
+
inputs: [
|
58
|
+
{
|
59
|
+
name: "roundId",
|
60
|
+
type: "uint256"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
name: "getAnswer",
|
64
|
+
outputs: [
|
65
|
+
{
|
66
|
+
name: "",
|
67
|
+
type: "int256"
|
68
|
+
}
|
69
|
+
],
|
70
|
+
payable: false,
|
71
|
+
stateMutability: "view",
|
72
|
+
type: "function"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
constant: true,
|
76
|
+
inputs: [
|
77
|
+
{
|
78
|
+
name: "roundId",
|
79
|
+
type: "uint256"
|
80
|
+
}
|
81
|
+
],
|
82
|
+
name: "getTimestamp",
|
83
|
+
outputs: [
|
84
|
+
{
|
85
|
+
name: "",
|
86
|
+
type: "uint256"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
payable: false,
|
90
|
+
stateMutability: "view",
|
91
|
+
type: "function"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
anonymous: false,
|
95
|
+
inputs: [
|
96
|
+
{
|
97
|
+
indexed: true,
|
98
|
+
name: "current",
|
99
|
+
type: "int256"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
indexed: true,
|
103
|
+
name: "roundId",
|
104
|
+
type: "uint256"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
indexed: false,
|
108
|
+
name: "timestamp",
|
109
|
+
type: "uint256"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
name: "AnswerUpdated",
|
113
|
+
type: "event"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
anonymous: false,
|
117
|
+
inputs: [
|
118
|
+
{
|
119
|
+
indexed: true,
|
120
|
+
name: "roundId",
|
121
|
+
type: "uint256"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
indexed: true,
|
125
|
+
name: "startedBy",
|
126
|
+
type: "address"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
name: "NewRound",
|
130
|
+
type: "event"
|
131
|
+
}
|
132
|
+
];
|
133
|
+
//# sourceMappingURL=AggregatorInterfaceFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AggregatorInterfaceFactory.js","sourceRoot":"","sources":["../../../src/generated/AggregatorInterfaceFactory.ts"],"names":[],"mappings":";AAAA,0CAA0C;AAC1C,oBAAoB;;AAEpB,mCAA0C;AAK1C,MAAa,0BAA0B;IACrC,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAwB,CAAC;IAC9E,CAAC;CAC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AChB;SACF;QACD,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;CACF,CAAC"}
|
@@ -0,0 +1,196 @@
|
|
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 AggregatorProxyInterface extends Interface {
|
14
|
+
functions: {
|
15
|
+
aggregator: TypedFunctionDescription<{ encode([]: []): string }>;
|
16
|
+
|
17
|
+
latestAnswer: TypedFunctionDescription<{ encode([]: []): string }>;
|
18
|
+
|
19
|
+
latestRound: TypedFunctionDescription<{ encode([]: []): string }>;
|
20
|
+
|
21
|
+
renounceOwnership: TypedFunctionDescription<{ encode([]: []): string }>;
|
22
|
+
|
23
|
+
latestTimestamp: TypedFunctionDescription<{ encode([]: []): string }>;
|
24
|
+
|
25
|
+
destroy: TypedFunctionDescription<{ encode([]: []): string }>;
|
26
|
+
|
27
|
+
owner: TypedFunctionDescription<{ encode([]: []): string }>;
|
28
|
+
|
29
|
+
getAnswer: TypedFunctionDescription<{
|
30
|
+
encode([_roundId]: [BigNumberish]): string;
|
31
|
+
}>;
|
32
|
+
|
33
|
+
getTimestamp: TypedFunctionDescription<{
|
34
|
+
encode([_roundId]: [BigNumberish]): string;
|
35
|
+
}>;
|
36
|
+
|
37
|
+
transferOwnership: TypedFunctionDescription<{
|
38
|
+
encode([_newOwner]: [string]): string;
|
39
|
+
}>;
|
40
|
+
|
41
|
+
setAggregator: TypedFunctionDescription<{
|
42
|
+
encode([_aggregator]: [string]): string;
|
43
|
+
}>;
|
44
|
+
};
|
45
|
+
|
46
|
+
events: {
|
47
|
+
OwnershipRenounced: TypedEventDescription<{
|
48
|
+
encodeTopics([previousOwner]: [string | null]): string[];
|
49
|
+
}>;
|
50
|
+
|
51
|
+
OwnershipTransferred: TypedEventDescription<{
|
52
|
+
encodeTopics([previousOwner, newOwner]: [
|
53
|
+
string | null,
|
54
|
+
string | null
|
55
|
+
]): string[];
|
56
|
+
}>;
|
57
|
+
|
58
|
+
AnswerUpdated: TypedEventDescription<{
|
59
|
+
encodeTopics([current, roundId, timestamp]: [
|
60
|
+
BigNumberish | null,
|
61
|
+
BigNumberish | null,
|
62
|
+
null
|
63
|
+
]): string[];
|
64
|
+
}>;
|
65
|
+
|
66
|
+
NewRound: TypedEventDescription<{
|
67
|
+
encodeTopics([roundId, startedBy]: [
|
68
|
+
BigNumberish | null,
|
69
|
+
string | null
|
70
|
+
]): string[];
|
71
|
+
}>;
|
72
|
+
};
|
73
|
+
}
|
74
|
+
|
75
|
+
export class AggregatorProxy extends Contract {
|
76
|
+
connect(signerOrProvider: Signer | Provider | string): AggregatorProxy;
|
77
|
+
attach(addressOrName: string): AggregatorProxy;
|
78
|
+
deployed(): Promise<AggregatorProxy>;
|
79
|
+
|
80
|
+
on(event: EventFilter | string, listener: Listener): AggregatorProxy;
|
81
|
+
once(event: EventFilter | string, listener: Listener): AggregatorProxy;
|
82
|
+
addListener(
|
83
|
+
eventName: EventFilter | string,
|
84
|
+
listener: Listener
|
85
|
+
): AggregatorProxy;
|
86
|
+
removeAllListeners(eventName: EventFilter | string): AggregatorProxy;
|
87
|
+
removeListener(eventName: any, listener: Listener): AggregatorProxy;
|
88
|
+
|
89
|
+
interface: AggregatorProxyInterface;
|
90
|
+
|
91
|
+
functions: {
|
92
|
+
aggregator(): Promise<string>;
|
93
|
+
|
94
|
+
latestAnswer(): Promise<BigNumber>;
|
95
|
+
|
96
|
+
latestRound(): Promise<BigNumber>;
|
97
|
+
|
98
|
+
renounceOwnership(
|
99
|
+
overrides?: TransactionOverrides
|
100
|
+
): Promise<ContractTransaction>;
|
101
|
+
|
102
|
+
latestTimestamp(): Promise<BigNumber>;
|
103
|
+
|
104
|
+
destroy(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
105
|
+
|
106
|
+
owner(): Promise<string>;
|
107
|
+
|
108
|
+
getAnswer(_roundId: BigNumberish): Promise<BigNumber>;
|
109
|
+
|
110
|
+
getTimestamp(_roundId: BigNumberish): Promise<BigNumber>;
|
111
|
+
|
112
|
+
transferOwnership(
|
113
|
+
_newOwner: string,
|
114
|
+
overrides?: TransactionOverrides
|
115
|
+
): Promise<ContractTransaction>;
|
116
|
+
|
117
|
+
setAggregator(
|
118
|
+
_aggregator: string,
|
119
|
+
overrides?: TransactionOverrides
|
120
|
+
): Promise<ContractTransaction>;
|
121
|
+
};
|
122
|
+
|
123
|
+
aggregator(): Promise<string>;
|
124
|
+
|
125
|
+
latestAnswer(): Promise<BigNumber>;
|
126
|
+
|
127
|
+
latestRound(): Promise<BigNumber>;
|
128
|
+
|
129
|
+
renounceOwnership(
|
130
|
+
overrides?: TransactionOverrides
|
131
|
+
): Promise<ContractTransaction>;
|
132
|
+
|
133
|
+
latestTimestamp(): Promise<BigNumber>;
|
134
|
+
|
135
|
+
destroy(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
136
|
+
|
137
|
+
owner(): Promise<string>;
|
138
|
+
|
139
|
+
getAnswer(_roundId: BigNumberish): Promise<BigNumber>;
|
140
|
+
|
141
|
+
getTimestamp(_roundId: BigNumberish): Promise<BigNumber>;
|
142
|
+
|
143
|
+
transferOwnership(
|
144
|
+
_newOwner: string,
|
145
|
+
overrides?: TransactionOverrides
|
146
|
+
): Promise<ContractTransaction>;
|
147
|
+
|
148
|
+
setAggregator(
|
149
|
+
_aggregator: string,
|
150
|
+
overrides?: TransactionOverrides
|
151
|
+
): Promise<ContractTransaction>;
|
152
|
+
|
153
|
+
filters: {
|
154
|
+
OwnershipRenounced(previousOwner: string | null): EventFilter;
|
155
|
+
|
156
|
+
OwnershipTransferred(
|
157
|
+
previousOwner: string | null,
|
158
|
+
newOwner: string | null
|
159
|
+
): EventFilter;
|
160
|
+
|
161
|
+
AnswerUpdated(
|
162
|
+
current: BigNumberish | null,
|
163
|
+
roundId: BigNumberish | null,
|
164
|
+
timestamp: null
|
165
|
+
): EventFilter;
|
166
|
+
|
167
|
+
NewRound(
|
168
|
+
roundId: BigNumberish | null,
|
169
|
+
startedBy: string | null
|
170
|
+
): EventFilter;
|
171
|
+
};
|
172
|
+
|
173
|
+
estimate: {
|
174
|
+
aggregator(): Promise<BigNumber>;
|
175
|
+
|
176
|
+
latestAnswer(): Promise<BigNumber>;
|
177
|
+
|
178
|
+
latestRound(): Promise<BigNumber>;
|
179
|
+
|
180
|
+
renounceOwnership(): Promise<BigNumber>;
|
181
|
+
|
182
|
+
latestTimestamp(): Promise<BigNumber>;
|
183
|
+
|
184
|
+
destroy(): Promise<BigNumber>;
|
185
|
+
|
186
|
+
owner(): Promise<BigNumber>;
|
187
|
+
|
188
|
+
getAnswer(_roundId: BigNumberish): Promise<BigNumber>;
|
189
|
+
|
190
|
+
getTimestamp(_roundId: BigNumberish): Promise<BigNumber>;
|
191
|
+
|
192
|
+
transferOwnership(_newOwner: string): Promise<BigNumber>;
|
193
|
+
|
194
|
+
setAggregator(_aggregator: string): Promise<BigNumber>;
|
195
|
+
};
|
196
|
+
}
|
@@ -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 { AggregatorProxy } from "./AggregatorProxy";
|
5
|
+
export declare class AggregatorProxyFactory extends ContractFactory {
|
6
|
+
constructor(signer?: Signer);
|
7
|
+
deploy(_aggregator: string): Promise<AggregatorProxy>;
|
8
|
+
getDeployTransaction(_aggregator: string): UnsignedTransaction;
|
9
|
+
attach(address: string): AggregatorProxy;
|
10
|
+
connect(signer: Signer): AggregatorProxyFactory;
|
11
|
+
static connect(address: string, signerOrProvider: Signer | Provider): AggregatorProxy;
|
12
|
+
}
|
@@ -0,0 +1,263 @@
|
|
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 AggregatorProxyFactory extends ethers_1.ContractFactory {
|
7
|
+
constructor(signer) {
|
8
|
+
super(_abi, _bytecode, signer);
|
9
|
+
}
|
10
|
+
deploy(_aggregator) {
|
11
|
+
return super.deploy(_aggregator);
|
12
|
+
}
|
13
|
+
getDeployTransaction(_aggregator) {
|
14
|
+
return super.getDeployTransaction(_aggregator);
|
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.AggregatorProxyFactory = AggregatorProxyFactory;
|
27
|
+
const _abi = [
|
28
|
+
{
|
29
|
+
constant: true,
|
30
|
+
inputs: [],
|
31
|
+
name: "aggregator",
|
32
|
+
outputs: [
|
33
|
+
{
|
34
|
+
name: "",
|
35
|
+
type: "address"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
payable: false,
|
39
|
+
stateMutability: "view",
|
40
|
+
type: "function"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
constant: true,
|
44
|
+
inputs: [],
|
45
|
+
name: "latestAnswer",
|
46
|
+
outputs: [
|
47
|
+
{
|
48
|
+
name: "",
|
49
|
+
type: "int256"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
payable: false,
|
53
|
+
stateMutability: "view",
|
54
|
+
type: "function"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
constant: true,
|
58
|
+
inputs: [],
|
59
|
+
name: "latestRound",
|
60
|
+
outputs: [
|
61
|
+
{
|
62
|
+
name: "",
|
63
|
+
type: "uint256"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
payable: false,
|
67
|
+
stateMutability: "view",
|
68
|
+
type: "function"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
constant: false,
|
72
|
+
inputs: [],
|
73
|
+
name: "renounceOwnership",
|
74
|
+
outputs: [],
|
75
|
+
payable: false,
|
76
|
+
stateMutability: "nonpayable",
|
77
|
+
type: "function"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
constant: true,
|
81
|
+
inputs: [],
|
82
|
+
name: "latestTimestamp",
|
83
|
+
outputs: [
|
84
|
+
{
|
85
|
+
name: "",
|
86
|
+
type: "uint256"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
payable: false,
|
90
|
+
stateMutability: "view",
|
91
|
+
type: "function"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
constant: false,
|
95
|
+
inputs: [],
|
96
|
+
name: "destroy",
|
97
|
+
outputs: [],
|
98
|
+
payable: false,
|
99
|
+
stateMutability: "nonpayable",
|
100
|
+
type: "function"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
constant: true,
|
104
|
+
inputs: [],
|
105
|
+
name: "owner",
|
106
|
+
outputs: [
|
107
|
+
{
|
108
|
+
name: "",
|
109
|
+
type: "address"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
payable: false,
|
113
|
+
stateMutability: "view",
|
114
|
+
type: "function"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
constant: true,
|
118
|
+
inputs: [
|
119
|
+
{
|
120
|
+
name: "_roundId",
|
121
|
+
type: "uint256"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
name: "getAnswer",
|
125
|
+
outputs: [
|
126
|
+
{
|
127
|
+
name: "",
|
128
|
+
type: "int256"
|
129
|
+
}
|
130
|
+
],
|
131
|
+
payable: false,
|
132
|
+
stateMutability: "view",
|
133
|
+
type: "function"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
constant: true,
|
137
|
+
inputs: [
|
138
|
+
{
|
139
|
+
name: "_roundId",
|
140
|
+
type: "uint256"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
name: "getTimestamp",
|
144
|
+
outputs: [
|
145
|
+
{
|
146
|
+
name: "",
|
147
|
+
type: "uint256"
|
148
|
+
}
|
149
|
+
],
|
150
|
+
payable: false,
|
151
|
+
stateMutability: "view",
|
152
|
+
type: "function"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
constant: false,
|
156
|
+
inputs: [
|
157
|
+
{
|
158
|
+
name: "_newOwner",
|
159
|
+
type: "address"
|
160
|
+
}
|
161
|
+
],
|
162
|
+
name: "transferOwnership",
|
163
|
+
outputs: [],
|
164
|
+
payable: false,
|
165
|
+
stateMutability: "nonpayable",
|
166
|
+
type: "function"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
constant: false,
|
170
|
+
inputs: [
|
171
|
+
{
|
172
|
+
name: "_aggregator",
|
173
|
+
type: "address"
|
174
|
+
}
|
175
|
+
],
|
176
|
+
name: "setAggregator",
|
177
|
+
outputs: [],
|
178
|
+
payable: false,
|
179
|
+
stateMutability: "nonpayable",
|
180
|
+
type: "function"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
inputs: [
|
184
|
+
{
|
185
|
+
name: "_aggregator",
|
186
|
+
type: "address"
|
187
|
+
}
|
188
|
+
],
|
189
|
+
payable: false,
|
190
|
+
stateMutability: "nonpayable",
|
191
|
+
type: "constructor"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
anonymous: false,
|
195
|
+
inputs: [
|
196
|
+
{
|
197
|
+
indexed: true,
|
198
|
+
name: "previousOwner",
|
199
|
+
type: "address"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
name: "OwnershipRenounced",
|
203
|
+
type: "event"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
anonymous: false,
|
207
|
+
inputs: [
|
208
|
+
{
|
209
|
+
indexed: true,
|
210
|
+
name: "previousOwner",
|
211
|
+
type: "address"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
indexed: true,
|
215
|
+
name: "newOwner",
|
216
|
+
type: "address"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
name: "OwnershipTransferred",
|
220
|
+
type: "event"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
anonymous: false,
|
224
|
+
inputs: [
|
225
|
+
{
|
226
|
+
indexed: true,
|
227
|
+
name: "current",
|
228
|
+
type: "int256"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
indexed: true,
|
232
|
+
name: "roundId",
|
233
|
+
type: "uint256"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
indexed: false,
|
237
|
+
name: "timestamp",
|
238
|
+
type: "uint256"
|
239
|
+
}
|
240
|
+
],
|
241
|
+
name: "AnswerUpdated",
|
242
|
+
type: "event"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
anonymous: false,
|
246
|
+
inputs: [
|
247
|
+
{
|
248
|
+
indexed: true,
|
249
|
+
name: "roundId",
|
250
|
+
type: "uint256"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
indexed: true,
|
254
|
+
name: "startedBy",
|
255
|
+
type: "address"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
name: "NewRound",
|
259
|
+
type: "event"
|
260
|
+
}
|
261
|
+
];
|
262
|
+
const _bytecode = "0x608060405234801561001057600080fd5b50604051602080610c6883398101806040528101908080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061008b81610091640100000000026401000000009004565b50610130565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156100ec57600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b298061013f6000396000f3006080604052600436106100af576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063245a7bfc146100b457806350d25bcd1461010b578063668a0f0214610136578063715018a6146101615780638205bf6a1461017857806383197ef0146101a35780638da5cb5b146101ba578063b5ab58dc14610211578063b633620c14610252578063f2fde38b14610293578063f9120af6146102d6575b600080fd5b3480156100c057600080fd5b506100c9610319565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561011757600080fd5b5061012061033f565b6040518082815260200191505060405180910390f35b34801561014257600080fd5b5061014b610407565b6040518082815260200191505060405180910390f35b34801561016d57600080fd5b506101766104cf565b005b34801561018457600080fd5b5061018d6105d1565b6040518082815260200191505060405180910390f35b3480156101af57600080fd5b506101b8610699565b005b3480156101c657600080fd5b506101cf61072e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561021d57600080fd5b5061023c60048036038101908080359060200190929190505050610753565b6040518082815260200191505060405180910390f35b34801561025e57600080fd5b5061027d60048036038101908080359060200190929190505050610828565b6040518082815260200191505060405180910390f35b34801561029f57600080fd5b506102d4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108fd565b005b3480156102e257600080fd5b50610317600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610964565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156103c757600080fd5b505af11580156103db573d6000803e3d6000fd5b505050506040513d60208110156103f157600080fd5b8101908080519060200190929190505050905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663668a0f026040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561048f57600080fd5b505af11580156104a3573d6000803e3d6000fd5b505050506040513d60208110156104b957600080fd5b8101908080519060200190929190505050905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561052a57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a260008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638205bf6a6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561065957600080fd5b505af115801561066d573d6000803e3d6000fd5b505050506040513d602081101561068357600080fd5b8101908080519060200190929190505050905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156106f457600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b5ab58dc836040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b1580156107e657600080fd5b505af11580156107fa573d6000803e3d6000fd5b505050506040513d602081101561081057600080fd5b81019080805190602001909291905050509050919050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b633620c836040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b1580156108bb57600080fd5b505af11580156108cf573d6000803e3d6000fd5b505050506040513d60208110156108e557600080fd5b81019080805190602001909291905050509050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561095857600080fd5b61096181610a03565b50565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109bf57600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610a3f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a72305820d145abf833c6821de3a7a6fcdf68970d6b39536ea9c561ef91d78dc19fff71f20029";
|
263
|
+
//# sourceMappingURL=AggregatorProxyFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AggregatorProxyFactory.js","sourceRoot":"","sources":["../../../src/generated/AggregatorProxyFactory.ts"],"names":[],"mappings":";AAAA,0CAA0C;AAC1C,oBAAoB;;AAEpB,mCAA2D;AAM3D,MAAa,sBAAuB,SAAQ,wBAAe;IACzD,YAAY,MAAe;QACzB,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACjC,CAAC;IAED,MAAM,CAAC,WAAmB;QACxB,OAAO,KAAK,CAAC,MAAM,CAAC,WAAW,CAA6B,CAAC;IAC/D,CAAC;IACD,oBAAoB,CAAC,WAAmB;QACtC,OAAO,KAAK,CAAC,oBAAoB,CAAC,WAAW,CAAC,CAAC;IACjD,CAAC;IACD,MAAM,CAAC,OAAe;QACpB,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAoB,CAAC;IAClD,CAAC;IACD,OAAO,CAAC,MAAc;QACpB,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA2B,CAAC;IACzD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAoB,CAAC;IAC1E,CAAC;CACF;AAvBD,wDAuBC;AAED,MAAM,IAAI,GAAG;IACX;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;QACV,IAAI,E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