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,300 @@
|
|
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 ConcreteChainlinkedInterface extends Interface {
|
14
|
+
functions: {
|
15
|
+
publicLINK: TypedFunctionDescription<{
|
16
|
+
encode([_amount]: [BigNumberish]): string;
|
17
|
+
}>;
|
18
|
+
|
19
|
+
publicCancelRequest: TypedFunctionDescription<{
|
20
|
+
encode([_requestId, _payment, _callbackFunctionId, _expiration]: [
|
21
|
+
Arrayish,
|
22
|
+
BigNumberish,
|
23
|
+
Arrayish,
|
24
|
+
BigNumberish
|
25
|
+
]): string;
|
26
|
+
}>;
|
27
|
+
|
28
|
+
publicAddExternalRequest: TypedFunctionDescription<{
|
29
|
+
encode([_oracle, _requestId]: [string, Arrayish]): string;
|
30
|
+
}>;
|
31
|
+
|
32
|
+
fulfillRequest: TypedFunctionDescription<{
|
33
|
+
encode([_requestId]: [Arrayish, Arrayish]): string;
|
34
|
+
}>;
|
35
|
+
|
36
|
+
publicRequest: TypedFunctionDescription<{
|
37
|
+
encode([_id, _address, _fulfillmentSignature, _wei]: [
|
38
|
+
Arrayish,
|
39
|
+
string,
|
40
|
+
Arrayish,
|
41
|
+
BigNumberish
|
42
|
+
]): string;
|
43
|
+
}>;
|
44
|
+
|
45
|
+
publicChainlinkToken: TypedFunctionDescription<{ encode([]: []): string }>;
|
46
|
+
|
47
|
+
publicRequestRunTo: TypedFunctionDescription<{
|
48
|
+
encode([_oracle, _id, _address, _fulfillmentSignature, _wei]: [
|
49
|
+
string,
|
50
|
+
Arrayish,
|
51
|
+
string,
|
52
|
+
Arrayish,
|
53
|
+
BigNumberish
|
54
|
+
]): string;
|
55
|
+
}>;
|
56
|
+
|
57
|
+
publicFulfillChainlinkRequest: TypedFunctionDescription<{
|
58
|
+
encode([_requestId]: [Arrayish, Arrayish]): string;
|
59
|
+
}>;
|
60
|
+
|
61
|
+
publicNewRequest: TypedFunctionDescription<{
|
62
|
+
encode([_id, _address, _fulfillmentSignature]: [
|
63
|
+
Arrayish,
|
64
|
+
string,
|
65
|
+
Arrayish
|
66
|
+
]): string;
|
67
|
+
}>;
|
68
|
+
|
69
|
+
publicOracleAddress: TypedFunctionDescription<{ encode([]: []): string }>;
|
70
|
+
};
|
71
|
+
|
72
|
+
events: {
|
73
|
+
Request: TypedEventDescription<{
|
74
|
+
encodeTopics([id, callbackAddress, callbackfunctionSelector, data]: [
|
75
|
+
null,
|
76
|
+
null,
|
77
|
+
null,
|
78
|
+
null
|
79
|
+
]): string[];
|
80
|
+
}>;
|
81
|
+
|
82
|
+
LinkAmount: TypedEventDescription<{
|
83
|
+
encodeTopics([amount]: [null]): string[];
|
84
|
+
}>;
|
85
|
+
|
86
|
+
ChainlinkRequested: TypedEventDescription<{
|
87
|
+
encodeTopics([id]: [Arrayish | null]): string[];
|
88
|
+
}>;
|
89
|
+
|
90
|
+
ChainlinkFulfilled: TypedEventDescription<{
|
91
|
+
encodeTopics([id]: [Arrayish | null]): string[];
|
92
|
+
}>;
|
93
|
+
|
94
|
+
ChainlinkCancelled: TypedEventDescription<{
|
95
|
+
encodeTopics([id]: [Arrayish | null]): string[];
|
96
|
+
}>;
|
97
|
+
};
|
98
|
+
}
|
99
|
+
|
100
|
+
export class ConcreteChainlinked extends Contract {
|
101
|
+
connect(signerOrProvider: Signer | Provider | string): ConcreteChainlinked;
|
102
|
+
attach(addressOrName: string): ConcreteChainlinked;
|
103
|
+
deployed(): Promise<ConcreteChainlinked>;
|
104
|
+
|
105
|
+
on(event: EventFilter | string, listener: Listener): ConcreteChainlinked;
|
106
|
+
once(event: EventFilter | string, listener: Listener): ConcreteChainlinked;
|
107
|
+
addListener(
|
108
|
+
eventName: EventFilter | string,
|
109
|
+
listener: Listener
|
110
|
+
): ConcreteChainlinked;
|
111
|
+
removeAllListeners(eventName: EventFilter | string): ConcreteChainlinked;
|
112
|
+
removeListener(eventName: any, listener: Listener): ConcreteChainlinked;
|
113
|
+
|
114
|
+
interface: ConcreteChainlinkedInterface;
|
115
|
+
|
116
|
+
functions: {
|
117
|
+
publicLINK(
|
118
|
+
_amount: BigNumberish,
|
119
|
+
overrides?: TransactionOverrides
|
120
|
+
): Promise<ContractTransaction>;
|
121
|
+
|
122
|
+
publicCancelRequest(
|
123
|
+
_requestId: Arrayish,
|
124
|
+
_payment: BigNumberish,
|
125
|
+
_callbackFunctionId: Arrayish,
|
126
|
+
_expiration: BigNumberish,
|
127
|
+
overrides?: TransactionOverrides
|
128
|
+
): Promise<ContractTransaction>;
|
129
|
+
|
130
|
+
publicAddExternalRequest(
|
131
|
+
_oracle: string,
|
132
|
+
_requestId: Arrayish,
|
133
|
+
overrides?: TransactionOverrides
|
134
|
+
): Promise<ContractTransaction>;
|
135
|
+
|
136
|
+
fulfillRequest(
|
137
|
+
_requestId: Arrayish,
|
138
|
+
arg1: Arrayish,
|
139
|
+
overrides?: TransactionOverrides
|
140
|
+
): Promise<ContractTransaction>;
|
141
|
+
|
142
|
+
publicRequest(
|
143
|
+
_id: Arrayish,
|
144
|
+
_address: string,
|
145
|
+
_fulfillmentSignature: Arrayish,
|
146
|
+
_wei: BigNumberish,
|
147
|
+
overrides?: TransactionOverrides
|
148
|
+
): Promise<ContractTransaction>;
|
149
|
+
|
150
|
+
publicChainlinkToken(): Promise<string>;
|
151
|
+
|
152
|
+
publicRequestRunTo(
|
153
|
+
_oracle: string,
|
154
|
+
_id: Arrayish,
|
155
|
+
_address: string,
|
156
|
+
_fulfillmentSignature: Arrayish,
|
157
|
+
_wei: BigNumberish,
|
158
|
+
overrides?: TransactionOverrides
|
159
|
+
): Promise<ContractTransaction>;
|
160
|
+
|
161
|
+
publicFulfillChainlinkRequest(
|
162
|
+
_requestId: Arrayish,
|
163
|
+
arg1: Arrayish,
|
164
|
+
overrides?: TransactionOverrides
|
165
|
+
): Promise<ContractTransaction>;
|
166
|
+
|
167
|
+
publicNewRequest(
|
168
|
+
_id: Arrayish,
|
169
|
+
_address: string,
|
170
|
+
_fulfillmentSignature: Arrayish,
|
171
|
+
overrides?: TransactionOverrides
|
172
|
+
): Promise<ContractTransaction>;
|
173
|
+
|
174
|
+
publicOracleAddress(): Promise<string>;
|
175
|
+
};
|
176
|
+
|
177
|
+
publicLINK(
|
178
|
+
_amount: BigNumberish,
|
179
|
+
overrides?: TransactionOverrides
|
180
|
+
): Promise<ContractTransaction>;
|
181
|
+
|
182
|
+
publicCancelRequest(
|
183
|
+
_requestId: Arrayish,
|
184
|
+
_payment: BigNumberish,
|
185
|
+
_callbackFunctionId: Arrayish,
|
186
|
+
_expiration: BigNumberish,
|
187
|
+
overrides?: TransactionOverrides
|
188
|
+
): Promise<ContractTransaction>;
|
189
|
+
|
190
|
+
publicAddExternalRequest(
|
191
|
+
_oracle: string,
|
192
|
+
_requestId: Arrayish,
|
193
|
+
overrides?: TransactionOverrides
|
194
|
+
): Promise<ContractTransaction>;
|
195
|
+
|
196
|
+
fulfillRequest(
|
197
|
+
_requestId: Arrayish,
|
198
|
+
arg1: Arrayish,
|
199
|
+
overrides?: TransactionOverrides
|
200
|
+
): Promise<ContractTransaction>;
|
201
|
+
|
202
|
+
publicRequest(
|
203
|
+
_id: Arrayish,
|
204
|
+
_address: string,
|
205
|
+
_fulfillmentSignature: Arrayish,
|
206
|
+
_wei: BigNumberish,
|
207
|
+
overrides?: TransactionOverrides
|
208
|
+
): Promise<ContractTransaction>;
|
209
|
+
|
210
|
+
publicChainlinkToken(): Promise<string>;
|
211
|
+
|
212
|
+
publicRequestRunTo(
|
213
|
+
_oracle: string,
|
214
|
+
_id: Arrayish,
|
215
|
+
_address: string,
|
216
|
+
_fulfillmentSignature: Arrayish,
|
217
|
+
_wei: BigNumberish,
|
218
|
+
overrides?: TransactionOverrides
|
219
|
+
): Promise<ContractTransaction>;
|
220
|
+
|
221
|
+
publicFulfillChainlinkRequest(
|
222
|
+
_requestId: Arrayish,
|
223
|
+
arg1: Arrayish,
|
224
|
+
overrides?: TransactionOverrides
|
225
|
+
): Promise<ContractTransaction>;
|
226
|
+
|
227
|
+
publicNewRequest(
|
228
|
+
_id: Arrayish,
|
229
|
+
_address: string,
|
230
|
+
_fulfillmentSignature: Arrayish,
|
231
|
+
overrides?: TransactionOverrides
|
232
|
+
): Promise<ContractTransaction>;
|
233
|
+
|
234
|
+
publicOracleAddress(): Promise<string>;
|
235
|
+
|
236
|
+
filters: {
|
237
|
+
Request(
|
238
|
+
id: null,
|
239
|
+
callbackAddress: null,
|
240
|
+
callbackfunctionSelector: null,
|
241
|
+
data: null
|
242
|
+
): EventFilter;
|
243
|
+
|
244
|
+
LinkAmount(amount: null): EventFilter;
|
245
|
+
|
246
|
+
ChainlinkRequested(id: Arrayish | null): EventFilter;
|
247
|
+
|
248
|
+
ChainlinkFulfilled(id: Arrayish | null): EventFilter;
|
249
|
+
|
250
|
+
ChainlinkCancelled(id: Arrayish | null): EventFilter;
|
251
|
+
};
|
252
|
+
|
253
|
+
estimate: {
|
254
|
+
publicLINK(_amount: BigNumberish): Promise<BigNumber>;
|
255
|
+
|
256
|
+
publicCancelRequest(
|
257
|
+
_requestId: Arrayish,
|
258
|
+
_payment: BigNumberish,
|
259
|
+
_callbackFunctionId: Arrayish,
|
260
|
+
_expiration: BigNumberish
|
261
|
+
): Promise<BigNumber>;
|
262
|
+
|
263
|
+
publicAddExternalRequest(
|
264
|
+
_oracle: string,
|
265
|
+
_requestId: Arrayish
|
266
|
+
): Promise<BigNumber>;
|
267
|
+
|
268
|
+
fulfillRequest(_requestId: Arrayish, arg1: Arrayish): Promise<BigNumber>;
|
269
|
+
|
270
|
+
publicRequest(
|
271
|
+
_id: Arrayish,
|
272
|
+
_address: string,
|
273
|
+
_fulfillmentSignature: Arrayish,
|
274
|
+
_wei: BigNumberish
|
275
|
+
): Promise<BigNumber>;
|
276
|
+
|
277
|
+
publicChainlinkToken(): Promise<BigNumber>;
|
278
|
+
|
279
|
+
publicRequestRunTo(
|
280
|
+
_oracle: string,
|
281
|
+
_id: Arrayish,
|
282
|
+
_address: string,
|
283
|
+
_fulfillmentSignature: Arrayish,
|
284
|
+
_wei: BigNumberish
|
285
|
+
): Promise<BigNumber>;
|
286
|
+
|
287
|
+
publicFulfillChainlinkRequest(
|
288
|
+
_requestId: Arrayish,
|
289
|
+
arg1: Arrayish
|
290
|
+
): Promise<BigNumber>;
|
291
|
+
|
292
|
+
publicNewRequest(
|
293
|
+
_id: Arrayish,
|
294
|
+
_address: string,
|
295
|
+
_fulfillmentSignature: Arrayish
|
296
|
+
): Promise<BigNumber>;
|
297
|
+
|
298
|
+
publicOracleAddress(): Promise<BigNumber>;
|
299
|
+
};
|
300
|
+
}
|
@@ -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 { ConcreteChainlinked } from "./ConcreteChainlinked";
|
5
|
+
export declare class ConcreteChainlinkedFactory extends ContractFactory {
|
6
|
+
constructor(signer?: Signer);
|
7
|
+
deploy(_link: string, _oracle: string): Promise<ConcreteChainlinked>;
|
8
|
+
getDeployTransaction(_link: string, _oracle: string): UnsignedTransaction;
|
9
|
+
attach(address: string): ConcreteChainlinked;
|
10
|
+
connect(signer: Signer): ConcreteChainlinkedFactory;
|
11
|
+
static connect(address: string, signerOrProvider: Signer | Provider): ConcreteChainlinked;
|
12
|
+
}
|
@@ -0,0 +1,320 @@
|
|
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 ConcreteChainlinkedFactory extends ethers_1.ContractFactory {
|
7
|
+
constructor(signer) {
|
8
|
+
super(_abi, _bytecode, signer);
|
9
|
+
}
|
10
|
+
deploy(_link, _oracle) {
|
11
|
+
return super.deploy(_link, _oracle);
|
12
|
+
}
|
13
|
+
getDeployTransaction(_link, _oracle) {
|
14
|
+
return super.getDeployTransaction(_link, _oracle);
|
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.ConcreteChainlinkedFactory = ConcreteChainlinkedFactory;
|
27
|
+
const _abi = [
|
28
|
+
{
|
29
|
+
constant: false,
|
30
|
+
inputs: [
|
31
|
+
{
|
32
|
+
name: "_amount",
|
33
|
+
type: "uint256"
|
34
|
+
}
|
35
|
+
],
|
36
|
+
name: "publicLINK",
|
37
|
+
outputs: [],
|
38
|
+
payable: false,
|
39
|
+
stateMutability: "nonpayable",
|
40
|
+
type: "function"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
constant: false,
|
44
|
+
inputs: [
|
45
|
+
{
|
46
|
+
name: "_requestId",
|
47
|
+
type: "bytes32"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
name: "_payment",
|
51
|
+
type: "uint256"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
name: "_callbackFunctionId",
|
55
|
+
type: "bytes4"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
name: "_expiration",
|
59
|
+
type: "uint256"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
name: "publicCancelRequest",
|
63
|
+
outputs: [],
|
64
|
+
payable: false,
|
65
|
+
stateMutability: "nonpayable",
|
66
|
+
type: "function"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
constant: false,
|
70
|
+
inputs: [
|
71
|
+
{
|
72
|
+
name: "_oracle",
|
73
|
+
type: "address"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
name: "_requestId",
|
77
|
+
type: "bytes32"
|
78
|
+
}
|
79
|
+
],
|
80
|
+
name: "publicAddExternalRequest",
|
81
|
+
outputs: [],
|
82
|
+
payable: false,
|
83
|
+
stateMutability: "nonpayable",
|
84
|
+
type: "function"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
constant: false,
|
88
|
+
inputs: [
|
89
|
+
{
|
90
|
+
name: "_requestId",
|
91
|
+
type: "bytes32"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
name: "",
|
95
|
+
type: "bytes32"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
name: "fulfillRequest",
|
99
|
+
outputs: [],
|
100
|
+
payable: false,
|
101
|
+
stateMutability: "nonpayable",
|
102
|
+
type: "function"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
constant: false,
|
106
|
+
inputs: [
|
107
|
+
{
|
108
|
+
name: "_id",
|
109
|
+
type: "bytes32"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
name: "_address",
|
113
|
+
type: "address"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
name: "_fulfillmentSignature",
|
117
|
+
type: "bytes"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
name: "_wei",
|
121
|
+
type: "uint256"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
name: "publicRequest",
|
125
|
+
outputs: [],
|
126
|
+
payable: false,
|
127
|
+
stateMutability: "nonpayable",
|
128
|
+
type: "function"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
constant: true,
|
132
|
+
inputs: [],
|
133
|
+
name: "publicChainlinkToken",
|
134
|
+
outputs: [
|
135
|
+
{
|
136
|
+
name: "",
|
137
|
+
type: "address"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
payable: false,
|
141
|
+
stateMutability: "view",
|
142
|
+
type: "function"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
constant: false,
|
146
|
+
inputs: [
|
147
|
+
{
|
148
|
+
name: "_oracle",
|
149
|
+
type: "address"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
name: "_id",
|
153
|
+
type: "bytes32"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
name: "_address",
|
157
|
+
type: "address"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
name: "_fulfillmentSignature",
|
161
|
+
type: "bytes"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
name: "_wei",
|
165
|
+
type: "uint256"
|
166
|
+
}
|
167
|
+
],
|
168
|
+
name: "publicRequestRunTo",
|
169
|
+
outputs: [],
|
170
|
+
payable: false,
|
171
|
+
stateMutability: "nonpayable",
|
172
|
+
type: "function"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
constant: false,
|
176
|
+
inputs: [
|
177
|
+
{
|
178
|
+
name: "_requestId",
|
179
|
+
type: "bytes32"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
name: "",
|
183
|
+
type: "bytes32"
|
184
|
+
}
|
185
|
+
],
|
186
|
+
name: "publicFulfillChainlinkRequest",
|
187
|
+
outputs: [],
|
188
|
+
payable: false,
|
189
|
+
stateMutability: "nonpayable",
|
190
|
+
type: "function"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
constant: false,
|
194
|
+
inputs: [
|
195
|
+
{
|
196
|
+
name: "_id",
|
197
|
+
type: "bytes32"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
name: "_address",
|
201
|
+
type: "address"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
name: "_fulfillmentSignature",
|
205
|
+
type: "bytes"
|
206
|
+
}
|
207
|
+
],
|
208
|
+
name: "publicNewRequest",
|
209
|
+
outputs: [],
|
210
|
+
payable: false,
|
211
|
+
stateMutability: "nonpayable",
|
212
|
+
type: "function"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
constant: true,
|
216
|
+
inputs: [],
|
217
|
+
name: "publicOracleAddress",
|
218
|
+
outputs: [
|
219
|
+
{
|
220
|
+
name: "",
|
221
|
+
type: "address"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
payable: false,
|
225
|
+
stateMutability: "view",
|
226
|
+
type: "function"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
inputs: [
|
230
|
+
{
|
231
|
+
name: "_link",
|
232
|
+
type: "address"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
name: "_oracle",
|
236
|
+
type: "address"
|
237
|
+
}
|
238
|
+
],
|
239
|
+
payable: false,
|
240
|
+
stateMutability: "nonpayable",
|
241
|
+
type: "constructor"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
anonymous: false,
|
245
|
+
inputs: [
|
246
|
+
{
|
247
|
+
indexed: false,
|
248
|
+
name: "id",
|
249
|
+
type: "bytes32"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
indexed: false,
|
253
|
+
name: "callbackAddress",
|
254
|
+
type: "address"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
indexed: false,
|
258
|
+
name: "callbackfunctionSelector",
|
259
|
+
type: "bytes4"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
indexed: false,
|
263
|
+
name: "data",
|
264
|
+
type: "bytes"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
name: "Request",
|
268
|
+
type: "event"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
anonymous: false,
|
272
|
+
inputs: [
|
273
|
+
{
|
274
|
+
indexed: false,
|
275
|
+
name: "amount",
|
276
|
+
type: "uint256"
|
277
|
+
}
|
278
|
+
],
|
279
|
+
name: "LinkAmount",
|
280
|
+
type: "event"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
anonymous: false,
|
284
|
+
inputs: [
|
285
|
+
{
|
286
|
+
indexed: true,
|
287
|
+
name: "id",
|
288
|
+
type: "bytes32"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
name: "ChainlinkRequested",
|
292
|
+
type: "event"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
anonymous: false,
|
296
|
+
inputs: [
|
297
|
+
{
|
298
|
+
indexed: true,
|
299
|
+
name: "id",
|
300
|
+
type: "bytes32"
|
301
|
+
}
|
302
|
+
],
|
303
|
+
name: "ChainlinkFulfilled",
|
304
|
+
type: "event"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
anonymous: false,
|
308
|
+
inputs: [
|
309
|
+
{
|
310
|
+
indexed: true,
|
311
|
+
name: "id",
|
312
|
+
type: "bytes32"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
name: "ChainlinkCancelled",
|
316
|
+
type: "event"
|
317
|
+
}
|
318
|
+
];
|
319
|
+
const _bytecode = "0x6080604052600160045534801561001557600080fd5b5060405160408062001836833981018060405281019080805190602001909291908051906020019092919050505061005b8261007a640100000000026401000000009004565b61007381610095640100000000026401000000009004565b5050610138565b610092816100b0640100000000026401000000009004565b50565b6100ad816100f4640100000000026401000000009004565b50565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6116ee80620001486000396000f3006080604052600436106100a4576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633f14df82146100a9578063448d6c10146100d65780635491ec6a146101445780635d64e3101461019557806366a4f350146101d457806398bb2b2d14610275578063a1179a27146102cc578063ad7e401c1461038d578063d9a26716146103cc578063f7ea03ff14610463575b600080fd5b3480156100b557600080fd5b506100d4600480360381019080803590602001909291905050506104ba565b005b3480156100e257600080fd5b5061014260048036038101908080356000191690602001909291908035906020019092919080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690602001909291908035906020019092919050505061050e565b005b34801561015057600080fd5b50610193600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035600019169060200190929190505050610520565b005b3480156101a157600080fd5b506101d26004803603810190808035600019169060200190929190803560001916906020019092919050505061052e565b005b3480156101e057600080fd5b506102736004803603810190808035600019169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001909291905050506106a7565b005b34801561028157600080fd5b5061028a610730565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102d857600080fd5b5061038b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035600019169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192908035906020019092919050505061073f565b005b34801561039957600080fd5b506103ca600480360381019080803560001916906020019092919080356000191690602001909291905050506107ca565b005b3480156103d857600080fd5b506104616004803603810190808035600019169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091929192905050506107d7565b005b34801561046f57600080fd5b5061047861098e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b7f81c82a6ea1ed1cf28a5376c6d13caab9047c853ec5107907ec9431c50ec1a85c6104f682670de0b6b3a764000061099d90919063ffffffff16565b6040518082815260200191505060405180910390a150565b61051a848484846109d5565b50505050565b61052a8282610b70565b5050565b8160056000826000191660001916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610633576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001807f536f75726365206d75737420626520746865206f7261636c65206f662074686581526020017f207265717565737400000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60056000826000191660001916815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905580600019167f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a60405160405180910390a2505050565b6106af611620565b61071c8585856040518082805190602001908083835b6020831015156106ea57805182526020820191506020810190506020830392506106c5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020610b7e565b90506107288183610b9a565b505050505050565b600061073a610bae565b905090565b610747611620565b6107b48585856040518082805190602001908083835b602083101515610782578051825260208201915060208101905060208303925061075d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020610b7e565b90506107c1868284610bbd565b50505050505050565b6107d382610bd3565b5050565b6107df611620565b61084c8484846040518082805190602001908083835b60208310151561081a57805182526020820191506020810190506020830392506107f5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020610b7e565b90507f6ae3654efc50e419eaebe21a0569020545587e83c4409cfb1d3a4217cbed8a218160000151826020015183604001518460800151600001516040518085600019166000191681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561094b578082015181840152602081019050610930565b50505050905090810190601f1680156109785780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a150505050565b6000610998610d4b565b905090565b6000808314156109b057600090506109cf565b81830290508183828115156109c157fe5b041415156109cb57fe5b8090505b92915050565b600060056000866000191660001916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060056000866000191660001916815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905584600019167fe1fe3afa0f7f761ff0a8b89086790efd5140d2907ebd5b7ff6bfcb5e075fd4c560405160405180910390a28073ffffffffffffffffffffffffffffffffffffffff16636ee4d553868686866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808560001916600019168152602001848152602001837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001828152602001945050505050600060405180830381600087803b158015610b5157600080fd5b505af1158015610b65573d6000803e3d6000fd5b505050505050505050565b610b7a8282610d5a565b5050565b610b86611620565b610b91848484610e99565b90509392505050565b6000610ba68383610eca565b905092915050565b6000610bb8610f01565b905090565b6000610bca848484610f2b565b90509392505050565b8060056000826000191660001916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cd8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001807f536f75726365206d75737420626520746865206f7261636c65206f662074686581526020017f207265717565737400000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60056000826000191660001916815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905580600019167f7cc135e0cebb02c3480ae5d74d377283180a2601f8f644edf7987b009316c63a60405160405180910390a25050565b6000610d556112b7565b905090565b80600073ffffffffffffffffffffffffffffffffffffffff1660056000836000191660001916815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515610e3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f5265717565737420697320616c72656164792070656e64696e6700000000000081525060200191505060405180910390fd5b8260056000846000191660001916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b610ea1611620565b610ea9611620565b610ec0858585846112e1909392919063ffffffff16565b9150509392505050565b6000610ef9600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168484610f2b565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600030600454604051602001808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166c01000000000000000000000000028152601401828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083101515610fc75780518252602082019150602081019050602083039250610fa2565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051809103902090506004548360600181815250508360056000836000191660001916815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600019167fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af960405160405180910390a2600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634000aea085846110d68761139b565b6040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561117957808201518184015260208101905061115e565b50505050905090810190601f1680156111a65780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b1580156111c757600080fd5b505af11580156111db573d6000803e3d6000fd5b505050506040513d60208110156111f157600080fd5b8101908080519060200190929190505050151561129c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001807f756e61626c6520746f207472616e73666572416e6443616c6c20746f206f726181526020017f636c65000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60016004600082825401925050819055508090509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6112e9611620565b6112f985608001516101006115c6565b50838560000190600019169081600019168152505082856020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508185604001907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681525050849050949350505050565b6060600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634042994690507c01000000000000000000000000000000000000000000000000000000000260008084600001518560200151866040015187606001516001896080015160000151604051602401808973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200188815260200187600019166000191681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561152957808201518184015260208101905061150e565b50505050905090810190601f1680156115565780820380516001836020036101000a031916815260200191505b509950505050505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050919050565b6115ce61168e565b60006020838115156115dc57fe5b061415156115f9576020828115156115f057fe5b06602003820191505b81836020018181525050604051808452600081528281016020016040525082905092915050565b60c06040519081016040528060008019168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001600081526020016116886116a8565b81525090565b604080519081016040528060608152602001600081525090565b6040805190810160405280606081526020016000815250905600a165627a7a72305820430c534ae893cd9df6ba2b9bfaee7b27386e6b9be1d2d8c94199452da106e1da0029";
|
320
|
+
//# sourceMappingURL=ConcreteChainlinkedFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ConcreteChainlinkedFactory.js","sourceRoot":"","sources":["../../../src/generated/ConcreteChainlinkedFactory.ts"],"names":[],"mappings":";AAAA,0CAA0C;AAC1C,oBAAoB;;AAEpB,mCAA2D;AAM3D,MAAa,0BAA2B,SAAQ,wBAAe;IAC7D,YAAY,MAAe;QACzB,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACjC,CAAC;IAED,MAAM,CAAC,KAAa,EAAE,OAAe;QACnC,OAAO,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAiC,CAAC;IACtE,CAAC;IACD,oBAAoB,CAAC,KAAa,EAAE,OAAe;QACjD,OAAO,KAAK,CAAC,oBAAoB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IACD,MAAM,CAAC,OAAe;QACpB,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAwB,CAAC;IACtD,CAAC;IACD,OAAO,CAAC,MAAc;QACpB,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA+B,CAAC;IAC7D,CAAC;IACD,MAAM,CAAC,OAAO,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