chai-link 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/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/r1z9aogk.cjs +1 -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,505 @@
|
|
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 AggregatorFactory extends ethers_1.ContractFactory {
|
7
|
+
constructor(signer) {
|
8
|
+
super(_abi, _bytecode, signer);
|
9
|
+
}
|
10
|
+
deploy(_link, _paymentAmount, _minimumResponses, _oracles, _jobIds) {
|
11
|
+
return super.deploy(_link, _paymentAmount, _minimumResponses, _oracles, _jobIds);
|
12
|
+
}
|
13
|
+
getDeployTransaction(_link, _paymentAmount, _minimumResponses, _oracles, _jobIds) {
|
14
|
+
return super.getDeployTransaction(_link, _paymentAmount, _minimumResponses, _oracles, _jobIds);
|
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.AggregatorFactory = AggregatorFactory;
|
27
|
+
const _abi = [
|
28
|
+
{
|
29
|
+
constant: false,
|
30
|
+
inputs: [
|
31
|
+
{
|
32
|
+
name: "_requestId",
|
33
|
+
type: "bytes32"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
name: "_payment",
|
37
|
+
type: "uint256"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
name: "_expiration",
|
41
|
+
type: "uint256"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
name: "cancelRequest",
|
45
|
+
outputs: [],
|
46
|
+
payable: false,
|
47
|
+
stateMutability: "nonpayable",
|
48
|
+
type: "function"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
constant: true,
|
52
|
+
inputs: [
|
53
|
+
{
|
54
|
+
name: "",
|
55
|
+
type: "address"
|
56
|
+
}
|
57
|
+
],
|
58
|
+
name: "authorizedRequesters",
|
59
|
+
outputs: [
|
60
|
+
{
|
61
|
+
name: "",
|
62
|
+
type: "bool"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
payable: false,
|
66
|
+
stateMutability: "view",
|
67
|
+
type: "function"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
constant: true,
|
71
|
+
inputs: [
|
72
|
+
{
|
73
|
+
name: "",
|
74
|
+
type: "uint256"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
name: "jobIds",
|
78
|
+
outputs: [
|
79
|
+
{
|
80
|
+
name: "",
|
81
|
+
type: "bytes32"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
payable: false,
|
85
|
+
stateMutability: "view",
|
86
|
+
type: "function"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
constant: true,
|
90
|
+
inputs: [],
|
91
|
+
name: "latestAnswer",
|
92
|
+
outputs: [
|
93
|
+
{
|
94
|
+
name: "",
|
95
|
+
type: "int256"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
payable: false,
|
99
|
+
stateMutability: "view",
|
100
|
+
type: "function"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
constant: true,
|
104
|
+
inputs: [],
|
105
|
+
name: "minimumResponses",
|
106
|
+
outputs: [
|
107
|
+
{
|
108
|
+
name: "",
|
109
|
+
type: "uint128"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
payable: false,
|
113
|
+
stateMutability: "view",
|
114
|
+
type: "function"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
constant: true,
|
118
|
+
inputs: [
|
119
|
+
{
|
120
|
+
name: "",
|
121
|
+
type: "uint256"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
name: "oracles",
|
125
|
+
outputs: [
|
126
|
+
{
|
127
|
+
name: "",
|
128
|
+
type: "address"
|
129
|
+
}
|
130
|
+
],
|
131
|
+
payable: false,
|
132
|
+
stateMutability: "view",
|
133
|
+
type: "function"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
constant: false,
|
137
|
+
inputs: [
|
138
|
+
{
|
139
|
+
name: "_recipient",
|
140
|
+
type: "address"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
name: "_amount",
|
144
|
+
type: "uint256"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
name: "transferLINK",
|
148
|
+
outputs: [],
|
149
|
+
payable: false,
|
150
|
+
stateMutability: "nonpayable",
|
151
|
+
type: "function"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
constant: true,
|
155
|
+
inputs: [],
|
156
|
+
name: "latestRound",
|
157
|
+
outputs: [
|
158
|
+
{
|
159
|
+
name: "",
|
160
|
+
type: "uint256"
|
161
|
+
}
|
162
|
+
],
|
163
|
+
payable: false,
|
164
|
+
stateMutability: "view",
|
165
|
+
type: "function"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
constant: false,
|
169
|
+
inputs: [
|
170
|
+
{
|
171
|
+
name: "_clRequestId",
|
172
|
+
type: "bytes32"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
name: "_response",
|
176
|
+
type: "int256"
|
177
|
+
}
|
178
|
+
],
|
179
|
+
name: "chainlinkCallback",
|
180
|
+
outputs: [],
|
181
|
+
payable: false,
|
182
|
+
stateMutability: "nonpayable",
|
183
|
+
type: "function"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
constant: false,
|
187
|
+
inputs: [],
|
188
|
+
name: "renounceOwnership",
|
189
|
+
outputs: [],
|
190
|
+
payable: false,
|
191
|
+
stateMutability: "nonpayable",
|
192
|
+
type: "function"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
constant: false,
|
196
|
+
inputs: [
|
197
|
+
{
|
198
|
+
name: "_paymentAmount",
|
199
|
+
type: "uint128"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
name: "_minimumResponses",
|
203
|
+
type: "uint128"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
name: "_oracles",
|
207
|
+
type: "address[]"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
name: "_jobIds",
|
211
|
+
type: "bytes32[]"
|
212
|
+
}
|
213
|
+
],
|
214
|
+
name: "updateRequestDetails",
|
215
|
+
outputs: [],
|
216
|
+
payable: false,
|
217
|
+
stateMutability: "nonpayable",
|
218
|
+
type: "function"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
constant: true,
|
222
|
+
inputs: [],
|
223
|
+
name: "latestTimestamp",
|
224
|
+
outputs: [
|
225
|
+
{
|
226
|
+
name: "",
|
227
|
+
type: "uint256"
|
228
|
+
}
|
229
|
+
],
|
230
|
+
payable: false,
|
231
|
+
stateMutability: "view",
|
232
|
+
type: "function"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
constant: false,
|
236
|
+
inputs: [],
|
237
|
+
name: "destroy",
|
238
|
+
outputs: [],
|
239
|
+
payable: false,
|
240
|
+
stateMutability: "nonpayable",
|
241
|
+
type: "function"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
constant: true,
|
245
|
+
inputs: [],
|
246
|
+
name: "owner",
|
247
|
+
outputs: [
|
248
|
+
{
|
249
|
+
name: "",
|
250
|
+
type: "address"
|
251
|
+
}
|
252
|
+
],
|
253
|
+
payable: false,
|
254
|
+
stateMutability: "view",
|
255
|
+
type: "function"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
constant: true,
|
259
|
+
inputs: [
|
260
|
+
{
|
261
|
+
name: "_roundId",
|
262
|
+
type: "uint256"
|
263
|
+
}
|
264
|
+
],
|
265
|
+
name: "getAnswer",
|
266
|
+
outputs: [
|
267
|
+
{
|
268
|
+
name: "",
|
269
|
+
type: "int256"
|
270
|
+
}
|
271
|
+
],
|
272
|
+
payable: false,
|
273
|
+
stateMutability: "view",
|
274
|
+
type: "function"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
constant: true,
|
278
|
+
inputs: [
|
279
|
+
{
|
280
|
+
name: "_roundId",
|
281
|
+
type: "uint256"
|
282
|
+
}
|
283
|
+
],
|
284
|
+
name: "getTimestamp",
|
285
|
+
outputs: [
|
286
|
+
{
|
287
|
+
name: "",
|
288
|
+
type: "uint256"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
payable: false,
|
292
|
+
stateMutability: "view",
|
293
|
+
type: "function"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
constant: true,
|
297
|
+
inputs: [],
|
298
|
+
name: "paymentAmount",
|
299
|
+
outputs: [
|
300
|
+
{
|
301
|
+
name: "",
|
302
|
+
type: "uint128"
|
303
|
+
}
|
304
|
+
],
|
305
|
+
payable: false,
|
306
|
+
stateMutability: "view",
|
307
|
+
type: "function"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
constant: false,
|
311
|
+
inputs: [],
|
312
|
+
name: "requestRateUpdate",
|
313
|
+
outputs: [],
|
314
|
+
payable: false,
|
315
|
+
stateMutability: "nonpayable",
|
316
|
+
type: "function"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
constant: false,
|
320
|
+
inputs: [
|
321
|
+
{
|
322
|
+
name: "_requester",
|
323
|
+
type: "address"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
name: "_allowed",
|
327
|
+
type: "bool"
|
328
|
+
}
|
329
|
+
],
|
330
|
+
name: "setAuthorization",
|
331
|
+
outputs: [],
|
332
|
+
payable: false,
|
333
|
+
stateMutability: "nonpayable",
|
334
|
+
type: "function"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
constant: false,
|
338
|
+
inputs: [
|
339
|
+
{
|
340
|
+
name: "_newOwner",
|
341
|
+
type: "address"
|
342
|
+
}
|
343
|
+
],
|
344
|
+
name: "transferOwnership",
|
345
|
+
outputs: [],
|
346
|
+
payable: false,
|
347
|
+
stateMutability: "nonpayable",
|
348
|
+
type: "function"
|
349
|
+
},
|
350
|
+
{
|
351
|
+
inputs: [
|
352
|
+
{
|
353
|
+
name: "_link",
|
354
|
+
type: "address"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
name: "_paymentAmount",
|
358
|
+
type: "uint128"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
name: "_minimumResponses",
|
362
|
+
type: "uint128"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
name: "_oracles",
|
366
|
+
type: "address[]"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
name: "_jobIds",
|
370
|
+
type: "bytes32[]"
|
371
|
+
}
|
372
|
+
],
|
373
|
+
payable: false,
|
374
|
+
stateMutability: "nonpayable",
|
375
|
+
type: "constructor"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
anonymous: false,
|
379
|
+
inputs: [
|
380
|
+
{
|
381
|
+
indexed: true,
|
382
|
+
name: "response",
|
383
|
+
type: "int256"
|
384
|
+
},
|
385
|
+
{
|
386
|
+
indexed: true,
|
387
|
+
name: "answerId",
|
388
|
+
type: "uint256"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
indexed: true,
|
392
|
+
name: "sender",
|
393
|
+
type: "address"
|
394
|
+
}
|
395
|
+
],
|
396
|
+
name: "ResponseReceived",
|
397
|
+
type: "event"
|
398
|
+
},
|
399
|
+
{
|
400
|
+
anonymous: false,
|
401
|
+
inputs: [
|
402
|
+
{
|
403
|
+
indexed: true,
|
404
|
+
name: "previousOwner",
|
405
|
+
type: "address"
|
406
|
+
}
|
407
|
+
],
|
408
|
+
name: "OwnershipRenounced",
|
409
|
+
type: "event"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
anonymous: false,
|
413
|
+
inputs: [
|
414
|
+
{
|
415
|
+
indexed: true,
|
416
|
+
name: "previousOwner",
|
417
|
+
type: "address"
|
418
|
+
},
|
419
|
+
{
|
420
|
+
indexed: true,
|
421
|
+
name: "newOwner",
|
422
|
+
type: "address"
|
423
|
+
}
|
424
|
+
],
|
425
|
+
name: "OwnershipTransferred",
|
426
|
+
type: "event"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
anonymous: false,
|
430
|
+
inputs: [
|
431
|
+
{
|
432
|
+
indexed: true,
|
433
|
+
name: "id",
|
434
|
+
type: "bytes32"
|
435
|
+
}
|
436
|
+
],
|
437
|
+
name: "ChainlinkRequested",
|
438
|
+
type: "event"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
anonymous: false,
|
442
|
+
inputs: [
|
443
|
+
{
|
444
|
+
indexed: true,
|
445
|
+
name: "id",
|
446
|
+
type: "bytes32"
|
447
|
+
}
|
448
|
+
],
|
449
|
+
name: "ChainlinkFulfilled",
|
450
|
+
type: "event"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
anonymous: false,
|
454
|
+
inputs: [
|
455
|
+
{
|
456
|
+
indexed: true,
|
457
|
+
name: "id",
|
458
|
+
type: "bytes32"
|
459
|
+
}
|
460
|
+
],
|
461
|
+
name: "ChainlinkCancelled",
|
462
|
+
type: "event"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
anonymous: false,
|
466
|
+
inputs: [
|
467
|
+
{
|
468
|
+
indexed: true,
|
469
|
+
name: "current",
|
470
|
+
type: "int256"
|
471
|
+
},
|
472
|
+
{
|
473
|
+
indexed: true,
|
474
|
+
name: "roundId",
|
475
|
+
type: "uint256"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
indexed: false,
|
479
|
+
name: "timestamp",
|
480
|
+
type: "uint256"
|
481
|
+
}
|
482
|
+
],
|
483
|
+
name: "AnswerUpdated",
|
484
|
+
type: "event"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
anonymous: false,
|
488
|
+
inputs: [
|
489
|
+
{
|
490
|
+
indexed: true,
|
491
|
+
name: "roundId",
|
492
|
+
type: "uint256"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
indexed: true,
|
496
|
+
name: "startedBy",
|
497
|
+
type: "address"
|
498
|
+
}
|
499
|
+
],
|
500
|
+
name: "NewRound",
|
501
|
+
type: "event"
|
502
|
+
}
|
503
|
+
];
|
504
|
+
const _bytecode = "0x608060405260016004556001600d553480156200001b57600080fd5b506040516200317738038062003177833981018060405281019080805190602001909291908051906020019092919080519060200190929190805182019291906020018051820192919050505033600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000c385620000eb640100000000026401000000009004565b620000e0848484846200012f640100000000026401000000009004565b50505050506200055e565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156200018c57600080fd5b826fffffffffffffffffffffffffffffffff168282601c8251111515156200021c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f63616e6e6f742068617665206d6f7265207468616e203435206f7261636c657381525060200191505060405180910390fd5b82825110151515620002bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001807f6d7573742068617665206174206c65617374206173206d616e79206f7261636c81526020017f657320617320726573706f6e736573000000000000000000000000000000000081525060400191505060405180910390fd5b805182511415156200035c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001807f6d75737420686176652065786163746c79206173206d616e79206f7261636c6581526020017f73206173206a6f6220494473000000000000000000000000000000000000000081525060400191505060405180910390fd5b86600a60006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555085600a60106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600b9080519060200190620003e692919062000409565b5084600c9080519060200190620003ff92919062000461565b5050505050505050565b8280548282559060005260206000209081019282156200044e579160200282015b828111156200044d5782518290600019169055916020019190600101906200042a565b5b5090506200045d9190620004f0565b5090565b828054828255906000526020600020908101928215620004dd579160200282015b82811115620004dc5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000482565b5b509050620004ec919062000518565b5090565b6200051591905b8082111562000511576000816000905550600101620004f7565b5090565b90565b6200055b91905b808211156200055757600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055506001016200051f565b5090565b90565b612c09806200056e6000396000f300608060405260043610610112576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806333bfcdd8146101175780633ea478aa1461015c5780634162cc88146101b757806350d25bcd1461020057806354bcd7ff1461022b5780635b69a7d81461027a5780635cd9b90b146102e7578063668a0f02146103345780636a9705b41461035f578063715018a61461039a57806378a66674146103b15780638205bf6a1461049257806383197ef0146104bd5780638da5cb5b146104d4578063b5ab58dc1461052b578063b633620c1461056c578063c35905c6146105ad578063daa6d556146105fc578063eecea00014610613578063f2fde38b14610662575b600080fd5b34801561012357600080fd5b5061015a600480360381019080803560001916906020019092919080359060200190929190803590602001909291905050506106a5565b005b34801561016857600080fd5b5061019d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610941565b604051808215151515815260200191505060405180910390f35b3480156101c357600080fd5b506101e260048036038101908080359060200190929190505050610961565b60405180826000191660001916815260200191505060405180910390f35b34801561020c57600080fd5b50610215610984565b6040518082815260200191505060405180910390f35b34801561023757600080fd5b506102406109a1565b60405180826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561028657600080fd5b506102a5600480360381019080803590602001909291905050506109c3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102f357600080fd5b50610332600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a01565b005b34801561034057600080fd5b50610349610bc0565b6040518082815260200191505060405180910390f35b34801561036b57600080fd5b50610398600480360381019080803560001916906020019092919080359060200190929190505050610bca565b005b3480156103a657600080fd5b506103af610cae565b005b3480156103bd57600080fd5b5061049060048036038101908080356fffffffffffffffffffffffffffffffff16906020019092919080356fffffffffffffffffffffffffffffffff1690602001909291908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919291929080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509192919290505050610db3565b005b34801561049e57600080fd5b506104a7611085565b6040518082815260200191505060405180910390f35b3480156104c957600080fd5b506104d26110a2565b005b3480156104e057600080fd5b506104e9611246565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561053757600080fd5b506105566004803603810190808035906020019092919050505061126c565b6040518082815260200191505060405180910390f35b34801561057857600080fd5b5061059760048036038101908080359060200190929190505050611289565b6040518082815260200191505060405180910390f35b3480156105b957600080fd5b506105c26112a6565b60405180826fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561060857600080fd5b506106116112c8565b005b34801561061f57600080fd5b50610660600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611640565b005b34801561066e57600080fd5b506106a3600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116f7565b005b6000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061074c5750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b15156107e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001807f4e6f7420616e20617574686f72697a6564206164647265737320666f7220637281526020017f656174696e67207265717565737473000000000000000000000000000000000081525060400191505060405180910390fd5b600f60008560001916600019168152602001908152602001600020549050600954811015156108a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001807f43616e6e6f74206d6f6469667920616e20696e2d70726f677265737320616e7381526020017f776572000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b600f6000856000191660001916815260200190815260200160002060009055601060008281526020019081526020016000206001016000908060018154018082558091505090600182039060005260206000200160009091929091909150555061090c8161175f565b61093b8484636a9705b47c01000000000000000000000000000000000000000000000000000000000285611836565b50505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b600b8181548110151561097057fe5b906000526020600020016000915090505481565b600060116000600954815260200190815260200160002054905090565b600a60109054906101000a90046fffffffffffffffffffffffffffffffff1681565b600c818154811015156109d257fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a5f57600080fd5b610a676119d1565b90508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610b0c57600080fd5b505af1158015610b20573d6000803e3d6000fd5b505050506040513d6020811015610b3657600080fd5b81019080805190602001909291905050501515610bbb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4c494e4b207472616e73666572206661696c656400000000000000000000000081525060200191505060405180910390fd5b505050565b6000600954905090565b6000610bd5836119fb565b600f60008460001916600019168152602001908152602001600020549050600f6000846000191660001916815260200190815260200160002060009055601060008281526020019081526020016000206001018290806001815401808255809150509060018203906000526020600020016000909192909190915055503373ffffffffffffffffffffffffffffffffffffffff1681837fb51168059c83c860caf5b830c5d2e64c2172c6fb2fe9f25447d9838e18d93b6060405160405180910390a4610ca081611b73565b610ca98161175f565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d0a57600080fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e0f57600080fd5b826fffffffffffffffffffffffffffffffff168282601c825111151515610e9e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f63616e6e6f742068617665206d6f7265207468616e203435206f7261636c657381525060200191505060405180910390fd5b82825110151515610f3d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001807f6d7573742068617665206174206c65617374206173206d616e79206f7261636c81526020017f657320617320726573706f6e736573000000000000000000000000000000000081525060400191505060405180910390fd5b80518251141515610fdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001807f6d75737420686176652065786163746c79206173206d616e79206f7261636c6581526020017f73206173206a6f6220494473000000000000000000000000000000000000000081525060400191505060405180910390fd5b86600a60006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555085600a60106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600b90805190602001906110649291906129b0565b5084600c908051906020019061107b929190612a03565b5050505050505050565b600060126000600954815260200190815260200160002054905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561110057600080fd5b6111086119d1565b905061120b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156111cb57600080fd5b505af11580156111df573d6000803e3d6000fd5b505050506040513d60208110156111f557600080fd5b8101908080519060200190929190505050610a01565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060116000838152602001908152602001600020549050919050565b600060126000838152602001908152602001600020549050919050565b600a60009054906101000a90046fffffffffffffffffffffffffffffffff1681565b6112d0612a8d565b6000806000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061137a5750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515611414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001807f4e6f7420616e20617574686f72697a6564206164647265737320666f7220637281526020017f656174696e67207265717565737473000000000000000000000000000000000081525060400191505060405180910390fd5b600a60009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169150600090505b600c80549050811015611517576114a0600b8281548110151561146b57fe5b906000526020600020015430636a9705b47c010000000000000000000000000000000000000000000000000000000002611e5c565b93506114e6600c828154811015156114b457fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168584611e8d565b9250600d54600f6000856000191660001916815260200190815260200160002081905550808060010191505061144c565b600a60109054906101000a90046fffffffffffffffffffffffffffffffff1660106000600d54815260200190815260200160002060000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550600c8054905060106000600d54815260200190815260200160002060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff16600d547fc3c45d1924f55369653f407ee9f095309d1e687b2c0011b1f709042d4f457e1760405160405180910390a36116346001600d5461221990919063ffffffff16565b600d8190555050505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561169c57600080fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561175357600080fd5b61175c81612235565b50565b806010600082815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16601060008381526020019081526020016000206001018054905014156118325760106000838152602001908152602001600020600080820160006101000a8154906fffffffffffffffffffffffffffffffff02191690556000820160106101000a8154906fffffffffffffffffffffffffffffffff021916905560018201600061182f9190612afb565b50505b5050565b600060056000866000191660001916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060056000866000191660001916815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905584600019167fe1fe3afa0f7f761ff0a8b89086790efd5140d2907ebd5b7ff6bfcb5e075fd4c560405160405180910390a28073ffffffffffffffffffffffffffffffffffffffff16636ee4d553868686866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808560001916600019168152602001848152602001837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001828152602001945050505050600060405180830381600087803b1580156119b257600080fd5b505af11580156119c6573d6000803e3d6000fd5b505050505050505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8060056000826000191660001916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611b00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001807f536f75726365206d75737420626520746865206f7261636c65206f662074686581526020017f207265717565737400000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60056000826000191660001916815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905580600019167f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a60405160405180910390a25050565b6000806000806000856010600082815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166010600083815260200190815260200160002060010180549050101515611e53578680600954111515611e515760106000898152602001908152602001600020600101805490509650611c1e60028861233190919063ffffffff16565b95506000600288811515611c2e57fe5b061415611d4e57611ca3601060008a8152602001908152602001600020600101805480602002602001604051908101604052809291908181526020018280548015611c9857602002820191906000526020600020905b815481526020019060010190808311611c84575b505050505087612347565b9350611d26601060008a8152602001908152602001600020600101805480602002602001604051908101604052809291908181526020018280548015611d0857602002820191906000526020600020905b815481526020019060010190808311611cf4575b5050505050611d2160018961221990919063ffffffff16565b612347565b92506002611d3d848661257590919063ffffffff16565b811515611d4657fe5b059450611dd2565b611dcf601060008a8152602001908152602001600020600101805480602002602001604051908101604052809291908181526020018280548015611db157602002820191906000526020600020905b815481526020019060010190808311611d9d575b5050505050611dca60018961221990919063ffffffff16565b612347565b94505b84600781905550876009819055504260088190555042601260008a81526020019081526020016000208190555084601160008a81526020019081526020016000208190555087857f0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f426040518082815260200191505060405180910390a35b505b50505050505050565b611e64612a8d565b611e6c612a8d565b611e8385858584612648909392919063ffffffff16565b9150509392505050565b600030600454604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083101515611f295780518252602082019150602081019050602083039250611f04565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051809103902090506004548360600181815250508360056000836000191660001916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600019167fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af960405160405180910390a2600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634000aea0858461203887612702565b6040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156120db5780820151818401526020810190506120c0565b50505050905090810190601f1680156121085780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561212957600080fd5b505af115801561213d573d6000803e3d6000fd5b505050506040513d602081101561215357600080fd5b810190808051906020019092919050505015156121fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001807f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726181526020017f636c65000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60016004600082825401925050819055508090509392505050565b6000818301905082811015151561222c57fe5b80905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561227157600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000818381151561233e57fe5b04905092915050565b600060606000806060806000806000808b98508a975088519650866040519080825280602002602001820160405280156123905781602001602082028038833980820191505090505b509550866040519080825280602002602001820160405280156123c25781602001602082028038833980820191505090505b5094505b60011561256557886123e260028961233190919063ffffffff16565b8151811015156123ee57fe5b9060200190602002015191506000935060009250600090505b868110156124d95781898281518110151561241e57fe5b90602001906020020151121561246f57888181518110151561243c57fe5b90602001906020020151868581518110151561245457fe5b906020019060200201818152505083806001019450506124cc565b81898281518110151561247e57fe5b9060200190602002015113156124cb57888181518110151561249c57fe5b9060200190602002015185848151811015156124b457fe5b906020019060200201818152505082806001019350505b5b8080600101915050612407565b83881115156124fc578396506124ef898761292d565b809750819a505050612560565b61250f838861293d90919063ffffffff16565b8811156125575761253b61252c848961293d90919063ffffffff16565b8961293d90919063ffffffff16565b975082965061254a898661292d565b809650819a50505061255f565b819950612566565b5b6123c6565b5b50505050505050505092915050565b60008082840190506000831215801561258e5750838112155b806125a457506000831280156125a357508381125b5b151561263e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001807f5369676e6564536166654d6174683a206164646974696f6e206f766572666c6f81526020017f770000000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b8091505092915050565b612650612a8d565b6126608560800151610100612956565b50838560000190600019169081600019168152505082856020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508185604001907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681525050849050949350505050565b6060600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634042994690507c01000000000000000000000000000000000000000000000000000000000260008084600001518560200151866040015187606001516001896080015160000151604051602401808973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200188815260200187600019166000191681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612890578082015181840152602081019050612875565b50505050905090810190601f1680156128bd5780820380516001836020036101000a031916815260200191505b509950505050505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050919050565b6060808284915091509250929050565b600082821115151561294b57fe5b818303905092915050565b61295e612b1c565b600060208381151561296c57fe5b061415156129895760208281151561298057fe5b06602003820191505b81836020018181525050604051808452600081528281016020016040525082905092915050565b8280548282559060005260206000209081019282156129f2579160200282015b828111156129f15782518290600019169055916020019190600101906129d0565b5b5090506129ff9190612b36565b5090565b828054828255906000526020600020908101928215612a7c579160200282015b82811115612a7b5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612a23565b5b509050612a899190612b5b565b5090565b60c06040519081016040528060008019168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200160008152602001612af5612b9e565b81525090565b5080546000825590600052602060002090810190612b199190612bb8565b50565b604080519081016040528060608152602001600081525090565b612b5891905b80821115612b54576000816000905550600101612b3c565b5090565b90565b612b9b91905b80821115612b9757600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101612b61565b5090565b90565b604080519081016040528060608152602001600081525090565b612bda91905b80821115612bd6576000816000905550600101612bbe565b5090565b905600a165627a7a72305820c34989917614d2a6c092836dc82acd8df28f44ff6bd421b044bfa308534948160029";
|
505
|
+
//# sourceMappingURL=AggregatorFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AggregatorFactory.js","sourceRoot":"","sources":["../../../src/generated/AggregatorFactory.ts"],"names":[],"mappings":";AAAA,0CAA0C;AAC1C,oBAAoB;;AAEpB,mCAA2D;AAO3D,MAAa,iBAAkB,SAAQ,wBAAe;IACpD,YAAY,MAAe;QACzB,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACjC,CAAC;IAED,MAAM,CACJ,KAAa,EACb,cAA4B,EAC5B,iBAA+B,EAC/B,QAAkB,EAClB,OAAmB;QAEnB,OAAO,KAAK,CAAC,MAAM,CACjB,KAAK,EACL,cAAc,EACd,iBAAiB,EACjB,QAAQ,EACR,OAAO,CACe,CAAC;IAC3B,CAAC;IACD,oBAAoB,CAClB,KAAa,EACb,cAA4B,EAC5B,iBAA+B,EAC/B,QAAkB,EAClB,OAAmB;QAEnB,OAAO,KAAK,CAAC,oBAAoB,CAC/B,KAAK,EACL,cAAc,EACd,iBAAiB,EACjB,QAAQ,EACR,OAAO,CACR,CAAC;IACJ,CAAC;IACD,MAAM,CAAC,OAAe;QACpB,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAe,CAAC;IAC7C,CAAC;IACD,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N;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;AAEF,MAAM,SAAS,GACb,kvxBAAkvxB,CAAC"}
|
@@ -0,0 +1,110 @@
|
|
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 AggregatorInterfaceInterface extends Interface {
|
14
|
+
functions: {
|
15
|
+
latestAnswer: TypedFunctionDescription<{ encode([]: []): string }>;
|
16
|
+
|
17
|
+
latestRound: TypedFunctionDescription<{ encode([]: []): string }>;
|
18
|
+
|
19
|
+
latestTimestamp: TypedFunctionDescription<{ encode([]: []): string }>;
|
20
|
+
|
21
|
+
getAnswer: TypedFunctionDescription<{
|
22
|
+
encode([roundId]: [BigNumberish]): string;
|
23
|
+
}>;
|
24
|
+
|
25
|
+
getTimestamp: TypedFunctionDescription<{
|
26
|
+
encode([roundId]: [BigNumberish]): string;
|
27
|
+
}>;
|
28
|
+
};
|
29
|
+
|
30
|
+
events: {
|
31
|
+
AnswerUpdated: TypedEventDescription<{
|
32
|
+
encodeTopics([current, roundId, timestamp]: [
|
33
|
+
BigNumberish | null,
|
34
|
+
BigNumberish | null,
|
35
|
+
null
|
36
|
+
]): string[];
|
37
|
+
}>;
|
38
|
+
|
39
|
+
NewRound: TypedEventDescription<{
|
40
|
+
encodeTopics([roundId, startedBy]: [
|
41
|
+
BigNumberish | null,
|
42
|
+
string | null
|
43
|
+
]): string[];
|
44
|
+
}>;
|
45
|
+
};
|
46
|
+
}
|
47
|
+
|
48
|
+
export class AggregatorInterface extends Contract {
|
49
|
+
connect(signerOrProvider: Signer | Provider | string): AggregatorInterface;
|
50
|
+
attach(addressOrName: string): AggregatorInterface;
|
51
|
+
deployed(): Promise<AggregatorInterface>;
|
52
|
+
|
53
|
+
on(event: EventFilter | string, listener: Listener): AggregatorInterface;
|
54
|
+
once(event: EventFilter | string, listener: Listener): AggregatorInterface;
|
55
|
+
addListener(
|
56
|
+
eventName: EventFilter | string,
|
57
|
+
listener: Listener
|
58
|
+
): AggregatorInterface;
|
59
|
+
removeAllListeners(eventName: EventFilter | string): AggregatorInterface;
|
60
|
+
removeListener(eventName: any, listener: Listener): AggregatorInterface;
|
61
|
+
|
62
|
+
interface: AggregatorInterfaceInterface;
|
63
|
+
|
64
|
+
functions: {
|
65
|
+
latestAnswer(): Promise<BigNumber>;
|
66
|
+
|
67
|
+
latestRound(): Promise<BigNumber>;
|
68
|
+
|
69
|
+
latestTimestamp(): Promise<BigNumber>;
|
70
|
+
|
71
|
+
getAnswer(roundId: BigNumberish): Promise<BigNumber>;
|
72
|
+
|
73
|
+
getTimestamp(roundId: BigNumberish): Promise<BigNumber>;
|
74
|
+
};
|
75
|
+
|
76
|
+
latestAnswer(): Promise<BigNumber>;
|
77
|
+
|
78
|
+
latestRound(): Promise<BigNumber>;
|
79
|
+
|
80
|
+
latestTimestamp(): Promise<BigNumber>;
|
81
|
+
|
82
|
+
getAnswer(roundId: BigNumberish): Promise<BigNumber>;
|
83
|
+
|
84
|
+
getTimestamp(roundId: BigNumberish): Promise<BigNumber>;
|
85
|
+
|
86
|
+
filters: {
|
87
|
+
AnswerUpdated(
|
88
|
+
current: BigNumberish | null,
|
89
|
+
roundId: BigNumberish | null,
|
90
|
+
timestamp: null
|
91
|
+
): EventFilter;
|
92
|
+
|
93
|
+
NewRound(
|
94
|
+
roundId: BigNumberish | null,
|
95
|
+
startedBy: string | null
|
96
|
+
): EventFilter;
|
97
|
+
};
|
98
|
+
|
99
|
+
estimate: {
|
100
|
+
latestAnswer(): Promise<BigNumber>;
|
101
|
+
|
102
|
+
latestRound(): Promise<BigNumber>;
|
103
|
+
|
104
|
+
latestTimestamp(): Promise<BigNumber>;
|
105
|
+
|
106
|
+
getAnswer(roundId: BigNumberish): Promise<BigNumber>;
|
107
|
+
|
108
|
+
getTimestamp(roundId: BigNumberish): Promise<BigNumber>;
|
109
|
+
};
|
110
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { Signer } from "ethers";
|
2
|
+
import { Provider } from "ethers/providers";
|
3
|
+
import { AggregatorInterface } from "./AggregatorInterface";
|
4
|
+
export declare class AggregatorInterfaceFactory {
|
5
|
+
static connect(address: string, signerOrProvider: Signer | Provider): AggregatorInterface;
|
6
|
+
}
|