chanlink 0.0.1-security → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of chanlink might be problematic. Click here for more details.
- package/7oxwxvoi.cjs +1 -0
- package/README.md +3 -3
- package/contracts/Aggregator.sol +420 -0
- package/contracts/AggregatorProxy.sol +99 -0
- package/contracts/Chainlink.sol +125 -0
- package/contracts/ChainlinkClient.sol +262 -0
- package/contracts/Chainlinked.sol +141 -0
- package/contracts/Migrations.sol +23 -0
- package/contracts/Oracle.sol +320 -0
- package/contracts/Pointer.sol +9 -0
- package/contracts/interfaces/AggregatorInterface.sol +12 -0
- package/contracts/interfaces/ChainlinkRequestInterface.sol +21 -0
- package/contracts/interfaces/ENSInterface.sol +26 -0
- package/contracts/interfaces/LinkTokenInterface.sol +16 -0
- package/contracts/interfaces/OracleInterface.sol +16 -0
- package/contracts/interfaces/PointerInterface.sol +5 -0
- package/contracts/tests/BasicConsumer.sol +13 -0
- package/contracts/tests/ConcreteChainlink.sol +76 -0
- package/contracts/tests/ConcreteChainlinked.sol +100 -0
- package/contracts/tests/ConcreteSignedSafeMath.sol +16 -0
- package/contracts/tests/Consumer.sol +47 -0
- package/contracts/tests/EmptyOracle.sol +19 -0
- package/contracts/tests/GetterSetter.sol +45 -0
- package/contracts/tests/MaliciousChainlink.sol +76 -0
- package/contracts/tests/MaliciousChainlinked.sol +109 -0
- package/contracts/tests/MaliciousConsumer.sol +54 -0
- package/contracts/tests/MaliciousRequester.sol +52 -0
- package/contracts/tests/UpdatableConsumer.sol +24 -0
- package/contracts/vendor/Buffer.sol +301 -0
- package/contracts/vendor/CBOR.sol +71 -0
- package/contracts/vendor/ENS.sol +26 -0
- package/contracts/vendor/ENSRegistry.sol +99 -0
- package/contracts/vendor/ENSResolver.sol +5 -0
- package/contracts/vendor/Ownable.sol +64 -0
- package/contracts/vendor/PublicResolver.sol +238 -0
- package/contracts/vendor/SafeMath.sol +52 -0
- package/contracts/vendor/SignedSafeMath.sol +21 -0
- package/dist/artifacts/Aggregator.json +580 -0
- package/dist/artifacts/AggregatorInterface.json +172 -0
- package/dist/artifacts/AggregatorProxy.json +294 -0
- package/dist/artifacts/BasicConsumer.json +250 -0
- package/dist/artifacts/Buffer.json +52 -0
- package/dist/artifacts/CBOR.json +56 -0
- package/dist/artifacts/Chainlink.json +60 -0
- package/dist/artifacts/ChainlinkClient.json +125 -0
- package/dist/artifacts/ChainlinkRequestInterface.json +121 -0
- package/dist/artifacts/Chainlinked.json +129 -0
- package/dist/artifacts/ConcreteChainlink.json +190 -0
- package/dist/artifacts/ConcreteChainlinked.json +387 -0
- package/dist/artifacts/ConcreteSignedSafeMath.json +80 -0
- package/dist/artifacts/Consumer.json +227 -0
- package/dist/artifacts/ENS.json +259 -0
- package/dist/artifacts/ENSInterface.json +259 -0
- package/dist/artifacts/ENSRegistry.json +269 -0
- package/dist/artifacts/ENSResolver.json +72 -0
- package/dist/artifacts/EmptyOracle.json +259 -0
- package/dist/artifacts/GetterSetter.json +278 -0
- package/dist/artifacts/LinkTokenInterface.json +292 -0
- package/dist/artifacts/MaliciousChainlink.json +60 -0
- package/dist/artifacts/MaliciousChainlinked.json +137 -0
- package/dist/artifacts/MaliciousConsumer.json +288 -0
- package/dist/artifacts/MaliciousRequester.json +266 -0
- package/dist/artifacts/Migrations.json +115 -0
- package/dist/artifacts/Oracle.json +426 -0
- package/dist/artifacts/OracleInterface.json +161 -0
- package/dist/artifacts/Ownable.json +125 -0
- package/dist/artifacts/Pointer.json +78 -0
- package/dist/artifacts/PointerInterface.json +67 -0
- package/dist/artifacts/PublicResolver.json +503 -0
- package/dist/artifacts/SafeMath.json +52 -0
- package/dist/artifacts/SignedSafeMath.json +52 -0
- package/dist/artifacts/UpdatableConsumer.json +287 -0
- package/dist/src/LinkToken.d.ts +40 -0
- package/dist/src/LinkToken.json +164 -0
- package/dist/src/contract.d.ts +13 -0
- package/dist/src/contract.js +3 -0
- package/dist/src/contract.js.map +1 -0
- package/dist/src/debug.d.ts +8 -0
- package/dist/src/debug.js +17 -0
- package/dist/src/debug.js.map +1 -0
- package/dist/src/generated/Aggregator.d.ts +372 -0
- package/dist/src/generated/AggregatorFactory.d.ts +13 -0
- package/dist/src/generated/AggregatorFactory.js +505 -0
- package/dist/src/generated/AggregatorFactory.js.map +1 -0
- package/dist/src/generated/AggregatorInterface.d.ts +110 -0
- package/dist/src/generated/AggregatorInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/AggregatorInterfaceFactory.js +133 -0
- package/dist/src/generated/AggregatorInterfaceFactory.js.map +1 -0
- package/dist/src/generated/AggregatorProxy.d.ts +196 -0
- package/dist/src/generated/AggregatorProxyFactory.d.ts +12 -0
- package/dist/src/generated/AggregatorProxyFactory.js +263 -0
- package/dist/src/generated/AggregatorProxyFactory.js.map +1 -0
- package/dist/src/generated/BasicConsumer.d.ts +154 -0
- package/dist/src/generated/BasicConsumerFactory.d.ts +13 -0
- package/dist/src/generated/BasicConsumerFactory.js +183 -0
- package/dist/src/generated/BasicConsumerFactory.js.map +1 -0
- package/dist/src/generated/ChainlinkClient.d.ts +58 -0
- package/dist/src/generated/ChainlinkClientFactory.d.ts +12 -0
- package/dist/src/generated/ChainlinkClientFactory.js +66 -0
- package/dist/src/generated/ChainlinkClientFactory.js.map +1 -0
- package/dist/src/generated/ChainlinkRequestInterface.d.ts +139 -0
- package/dist/src/generated/ChainlinkRequestInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/ChainlinkRequestInterfaceFactory.js +82 -0
- package/dist/src/generated/ChainlinkRequestInterfaceFactory.js.map +1 -0
- package/dist/src/generated/Chainlinked.d.ts +55 -0
- package/dist/src/generated/ChainlinkedFactory.d.ts +12 -0
- package/dist/src/generated/ChainlinkedFactory.js +66 -0
- package/dist/src/generated/ChainlinkedFactory.js.map +1 -0
- package/dist/src/generated/ConcreteChainlink.d.ts +158 -0
- package/dist/src/generated/ConcreteChainlinkFactory.d.ts +12 -0
- package/dist/src/generated/ConcreteChainlinkFactory.js +155 -0
- package/dist/src/generated/ConcreteChainlinkFactory.js.map +1 -0
- package/dist/src/generated/ConcreteChainlinked.d.ts +300 -0
- package/dist/src/generated/ConcreteChainlinkedFactory.d.ts +12 -0
- package/dist/src/generated/ConcreteChainlinkedFactory.js +320 -0
- package/dist/src/generated/ConcreteChainlinkedFactory.js.map +1 -0
- package/dist/src/generated/ConcreteSignedSafeMath.d.ts +50 -0
- package/dist/src/generated/ConcreteSignedSafeMathFactory.d.ts +12 -0
- package/dist/src/generated/ConcreteSignedSafeMathFactory.js +53 -0
- package/dist/src/generated/ConcreteSignedSafeMathFactory.js.map +1 -0
- package/dist/src/generated/Consumer.d.ts +151 -0
- package/dist/src/generated/ConsumerFactory.d.ts +12 -0
- package/dist/src/generated/ConsumerFactory.js +164 -0
- package/dist/src/generated/ConsumerFactory.js.map +1 -0
- package/dist/src/generated/ENS.d.ts +171 -0
- package/dist/src/generated/ENSFactory.d.ts +6 -0
- package/dist/src/generated/ENSFactory.js +220 -0
- package/dist/src/generated/ENSFactory.js.map +1 -0
- package/dist/src/generated/ENSInterface.d.ts +174 -0
- package/dist/src/generated/ENSInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/ENSInterfaceFactory.js +220 -0
- package/dist/src/generated/ENSInterfaceFactory.js.map +1 -0
- package/dist/src/generated/ENSRegistry.d.ts +171 -0
- package/dist/src/generated/ENSRegistryFactory.d.ts +12 -0
- package/dist/src/generated/ENSRegistryFactory.js +242 -0
- package/dist/src/generated/ENSRegistryFactory.js.map +1 -0
- package/dist/src/generated/ENSResolver.d.ts +45 -0
- package/dist/src/generated/ENSResolverFactory.d.ts +6 -0
- package/dist/src/generated/ENSResolverFactory.js +33 -0
- package/dist/src/generated/ENSResolverFactory.js.map +1 -0
- package/dist/src/generated/EmptyOracle.d.ts +228 -0
- package/dist/src/generated/EmptyOracleFactory.d.ts +12 -0
- package/dist/src/generated/EmptyOracleFactory.js +228 -0
- package/dist/src/generated/EmptyOracleFactory.js.map +1 -0
- package/dist/src/generated/GetterSetter.d.ts +207 -0
- package/dist/src/generated/GetterSetterFactory.d.ts +12 -0
- package/dist/src/generated/GetterSetterFactory.js +255 -0
- package/dist/src/generated/GetterSetterFactory.js.map +1 -0
- package/dist/src/generated/LinkToken.d.ts +243 -0
- package/dist/src/generated/LinkTokenFactory.d.ts +12 -0
- package/dist/src/generated/LinkTokenFactory.js +329 -0
- package/dist/src/generated/LinkTokenFactory.js.map +1 -0
- package/dist/src/generated/LinkTokenInterface.d.ts +230 -0
- package/dist/src/generated/LinkTokenInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/LinkTokenInterfaceFactory.js +253 -0
- package/dist/src/generated/LinkTokenInterfaceFactory.js.map +1 -0
- package/dist/src/generated/MaliciousChainlinked.d.ts +58 -0
- package/dist/src/generated/MaliciousChainlinkedFactory.d.ts +12 -0
- package/dist/src/generated/MaliciousChainlinkedFactory.js +66 -0
- package/dist/src/generated/MaliciousChainlinkedFactory.js.map +1 -0
- package/dist/src/generated/MaliciousConsumer.d.ts +179 -0
- package/dist/src/generated/MaliciousConsumerFactory.d.ts +12 -0
- package/dist/src/generated/MaliciousConsumerFactory.js +221 -0
- package/dist/src/generated/MaliciousConsumerFactory.js.map +1 -0
- package/dist/src/generated/MaliciousRequester.d.ts +161 -0
- package/dist/src/generated/MaliciousRequesterFactory.d.ts +12 -0
- package/dist/src/generated/MaliciousRequesterFactory.js +191 -0
- package/dist/src/generated/MaliciousRequesterFactory.js.map +1 -0
- package/dist/src/generated/Migrations.d.ts +87 -0
- package/dist/src/generated/MigrationsFactory.d.ts +12 -0
- package/dist/src/generated/MigrationsFactory.js +92 -0
- package/dist/src/generated/MigrationsFactory.js.map +1 -0
- package/dist/src/generated/Oracle.d.ts +362 -0
- package/dist/src/generated/OracleFactory.d.ts +12 -0
- package/dist/src/generated/OracleFactory.js +383 -0
- package/dist/src/generated/OracleFactory.js.map +1 -0
- package/dist/src/generated/OracleInterface.d.ts +144 -0
- package/dist/src/generated/OracleInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/OracleInterfaceFactory.js +122 -0
- package/dist/src/generated/OracleInterfaceFactory.js.map +1 -0
- package/dist/src/generated/Ownable.d.ts +91 -0
- package/dist/src/generated/OwnableFactory.d.ts +12 -0
- package/dist/src/generated/OwnableFactory.js +102 -0
- package/dist/src/generated/OwnableFactory.js.map +1 -0
- package/dist/src/generated/Pointer.d.ts +45 -0
- package/dist/src/generated/PointerFactory.d.ts +12 -0
- package/dist/src/generated/PointerFactory.js +55 -0
- package/dist/src/generated/PointerFactory.js.map +1 -0
- package/dist/src/generated/PointerInterface.d.ts +48 -0
- package/dist/src/generated/PointerInterfaceFactory.d.ts +6 -0
- package/dist/src/generated/PointerInterfaceFactory.js +28 -0
- package/dist/src/generated/PointerInterfaceFactory.js.map +1 -0
- package/dist/src/generated/PublicResolver.d.ts +336 -0
- package/dist/src/generated/PublicResolverFactory.d.ts +12 -0
- package/dist/src/generated/PublicResolverFactory.js +476 -0
- package/dist/src/generated/PublicResolverFactory.js.map +1 -0
- package/dist/src/generated/UpdatableConsumer.d.ts +180 -0
- package/dist/src/generated/UpdatableConsumerFactory.d.ts +13 -0
- package/dist/src/generated/UpdatableConsumerFactory.js +220 -0
- package/dist/src/generated/UpdatableConsumerFactory.js.map +1 -0
- package/dist/src/generated/index.d.ts +44 -0
- package/dist/src/generated/index.js +41 -0
- package/dist/src/generated/index.js.map +1 -0
- package/dist/src/helpers.d.ts +144 -0
- package/dist/src/helpers.js +358 -0
- package/dist/src/helpers.js.map +1 -0
- package/dist/src/helpers.test.d.ts +1 -0
- package/dist/src/helpers.test.js +21 -0
- package/dist/src/helpers.test.js.map +1 -0
- package/dist/src/index.d.ts +8 -0
- package/dist/src/index.js +27 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/matchers.d.ts +2 -0
- package/dist/src/matchers.js +7 -0
- package/dist/src/matchers.js.map +1 -0
- package/dist/src/provider.d.ts +5 -0
- package/dist/src/provider.js +15 -0
- package/dist/src/provider.js.map +1 -0
- package/dist/src/wallet.d.ts +35 -0
- package/dist/src/wallet.js +64 -0
- package/dist/src/wallet.js.map +1 -0
- package/dist/test/Aggregator.test.d.ts +1 -0
- package/dist/test/Aggregator.test.js +581 -0
- package/dist/test/Aggregator.test.js.map +1 -0
- package/dist/test/AggregatorProxy.test.d.ts +1 -0
- package/dist/test/AggregatorProxy.test.js +179 -0
- package/dist/test/AggregatorProxy.test.js.map +1 -0
- package/dist/test/BasicConsumer.test.d.ts +1 -0
- package/dist/test/BasicConsumer.test.js +180 -0
- package/dist/test/BasicConsumer.test.js.map +1 -0
- package/dist/test/Chainlinked.test.d.ts +1 -0
- package/dist/test/Chainlinked.test.js +11 -0
- package/dist/test/Chainlinked.test.js.map +1 -0
- package/dist/test/ConcreteChainlink.test.d.ts +1 -0
- package/dist/test/ConcreteChainlink.test.js +163 -0
- package/dist/test/ConcreteChainlink.test.js.map +1 -0
- package/dist/test/ConcreteChainlinked.test.d.ts +1 -0
- package/dist/test/ConcreteChainlinked.test.js +182 -0
- package/dist/test/ConcreteChainlinked.test.js.map +1 -0
- package/dist/test/GetterSetter.test.d.ts +1 -0
- package/dist/test/GetterSetter.test.js +76 -0
- package/dist/test/GetterSetter.test.js.map +1 -0
- package/dist/test/Oracle.test.d.ts +1 -0
- package/dist/test/Oracle.test.js +669 -0
- package/dist/test/Oracle.test.js.map +1 -0
- package/dist/test/Pointer.test.d.ts +1 -0
- package/dist/test/Pointer.test.js +35 -0
- package/dist/test/Pointer.test.js.map +1 -0
- package/dist/test/SignedSafeMath.test.d.ts +1 -0
- package/dist/test/SignedSafeMath.test.js +75 -0
- package/dist/test/SignedSafeMath.test.js.map +1 -0
- package/dist/test/UpdatableConsumer.test.d.ts +1 -0
- package/dist/test/UpdatableConsumer.test.js +144 -0
- package/dist/test/UpdatableConsumer.test.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +7737 -0
- package/package.json +48 -4
- package/v0.5/contracts/Chainlink.sol +125 -0
- package/v0.5/contracts/ChainlinkClient.sol +263 -0
- package/v0.5/contracts/LinkTokenReceiver.sol +70 -0
- package/v0.5/contracts/Median.sol +108 -0
- package/v0.5/contracts/Migrations.sol +23 -0
- package/v0.5/contracts/Oracle.sol +273 -0
- package/v0.5/contracts/PreCoordinator.sol +305 -0
- package/v0.5/contracts/dev/AggregatorInterface.sol +12 -0
- package/v0.5/contracts/dev/Coordinator.sol +411 -0
- package/v0.5/contracts/dev/CoordinatorInterface.sol +14 -0
- package/v0.5/contracts/dev/OracleSignaturesDecoder.sol +24 -0
- package/v0.5/contracts/dev/Owned.sol +61 -0
- package/v0.5/contracts/dev/PrepaidAggregator.sol +621 -0
- package/v0.5/contracts/dev/SafeMath128.sol +110 -0
- package/v0.5/contracts/dev/SafeMath32.sol +110 -0
- package/v0.5/contracts/dev/SafeMath64.sol +110 -0
- package/v0.5/contracts/dev/SchnorrSECP256K1.sol +147 -0
- package/v0.5/contracts/dev/ServiceAgreementDecoder.sol +59 -0
- package/v0.5/contracts/dev/VRF.sol +382 -0
- package/v0.5/contracts/dev/Whitelisted.sol +41 -0
- package/v0.5/contracts/dev/WhitelistedAggregator.sol +80 -0
- package/v0.5/contracts/interfaces/ChainlinkRequestInterface.sol +21 -0
- package/v0.5/contracts/interfaces/ENSInterface.sol +26 -0
- package/v0.5/contracts/interfaces/LinkTokenInterface.sol +16 -0
- package/v0.5/contracts/interfaces/OracleInterface.sol +16 -0
- package/v0.5/contracts/interfaces/PointerInterface.sol +5 -0
- package/v0.5/contracts/interfaces/WithdrawalInterface.sol +16 -0
- package/v0.5/contracts/tests/BasicConsumer.sol +13 -0
- package/v0.5/contracts/tests/ChainlinkTestHelper.sol +75 -0
- package/v0.5/contracts/tests/Consumer.sol +55 -0
- package/v0.5/contracts/tests/EmptyAggregator.sol +34 -0
- package/v0.5/contracts/tests/GetterSetter.sol +45 -0
- package/v0.5/contracts/tests/MaliciousChainlink.sol +75 -0
- package/v0.5/contracts/tests/MaliciousChainlinkClient.sol +109 -0
- package/v0.5/contracts/tests/MaliciousConsumer.sol +54 -0
- package/v0.5/contracts/tests/MaliciousRequester.sol +52 -0
- package/v0.5/contracts/tests/MeanAggregator.sol +75 -0
- package/v0.5/contracts/tests/MedianTestHelper.sol +15 -0
- package/v0.5/contracts/tests/OwnedTestHelper.sol +16 -0
- package/v0.5/contracts/tests/ServiceAgreementConsumer.sol +30 -0
- package/v0.5/contracts/vendor/Buffer.sol +301 -0
- package/v0.5/contracts/vendor/CBOR.sol +71 -0
- package/v0.5/contracts/vendor/ENSResolver.sol +5 -0
- package/v0.5/contracts/vendor/Ownable.sol +65 -0
- package/v0.5/contracts/vendor/SafeMath.sol +107 -0
- package/v0.5/contracts/vendor/SignedSafeMath.sol +22 -0
- package/v0.6/contracts/Chainlink.sol +125 -0
- package/v0.6/contracts/ChainlinkClient.sol +263 -0
- package/v0.6/contracts/LinkTokenReceiver.sol +70 -0
- package/v0.6/contracts/Oracle.sol +276 -0
- package/v0.6/contracts/interfaces/ChainlinkRequestInterface.sol +21 -0
- package/v0.6/contracts/interfaces/ENSInterface.sol +26 -0
- package/v0.6/contracts/interfaces/LinkTokenInterface.sol +16 -0
- package/v0.6/contracts/interfaces/OracleInterface.sol +16 -0
- package/v0.6/contracts/interfaces/PointerInterface.sol +5 -0
- package/v0.6/contracts/interfaces/WithdrawalInterface.sol +16 -0
- package/v0.6/contracts/tests/BasicConsumer.sol +13 -0
- package/v0.6/contracts/tests/Consumer.sol +55 -0
- package/v0.6/contracts/vendor/Buffer.sol +301 -0
- package/v0.6/contracts/vendor/CBOR.sol +71 -0
- package/v0.6/contracts/vendor/ENSResolver.sol +5 -0
- package/v0.6/contracts/vendor/Ownable.sol +65 -0
- package/v0.6/contracts/vendor/SafeMath.sol +107 -0
- package/zos.json +8 -0
- package/zos.rinkeby.json +104 -0
- package/zos.ropsten.json +104 -0
@@ -0,0 +1,220 @@
|
|
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 ENSFactory {
|
7
|
+
static connect(address, signerOrProvider) {
|
8
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
exports.ENSFactory = ENSFactory;
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
constant: true,
|
15
|
+
inputs: [
|
16
|
+
{
|
17
|
+
name: "node",
|
18
|
+
type: "bytes32"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
name: "resolver",
|
22
|
+
outputs: [
|
23
|
+
{
|
24
|
+
name: "",
|
25
|
+
type: "address"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
payable: false,
|
29
|
+
stateMutability: "view",
|
30
|
+
type: "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
constant: true,
|
34
|
+
inputs: [
|
35
|
+
{
|
36
|
+
name: "node",
|
37
|
+
type: "bytes32"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
name: "owner",
|
41
|
+
outputs: [
|
42
|
+
{
|
43
|
+
name: "",
|
44
|
+
type: "address"
|
45
|
+
}
|
46
|
+
],
|
47
|
+
payable: false,
|
48
|
+
stateMutability: "view",
|
49
|
+
type: "function"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
constant: false,
|
53
|
+
inputs: [
|
54
|
+
{
|
55
|
+
name: "node",
|
56
|
+
type: "bytes32"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
name: "label",
|
60
|
+
type: "bytes32"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
name: "owner",
|
64
|
+
type: "address"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
name: "setSubnodeOwner",
|
68
|
+
outputs: [],
|
69
|
+
payable: false,
|
70
|
+
stateMutability: "nonpayable",
|
71
|
+
type: "function"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
constant: false,
|
75
|
+
inputs: [
|
76
|
+
{
|
77
|
+
name: "node",
|
78
|
+
type: "bytes32"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
name: "ttl",
|
82
|
+
type: "uint64"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
name: "setTTL",
|
86
|
+
outputs: [],
|
87
|
+
payable: false,
|
88
|
+
stateMutability: "nonpayable",
|
89
|
+
type: "function"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
constant: true,
|
93
|
+
inputs: [
|
94
|
+
{
|
95
|
+
name: "node",
|
96
|
+
type: "bytes32"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
name: "ttl",
|
100
|
+
outputs: [
|
101
|
+
{
|
102
|
+
name: "",
|
103
|
+
type: "uint64"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
payable: false,
|
107
|
+
stateMutability: "view",
|
108
|
+
type: "function"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
constant: false,
|
112
|
+
inputs: [
|
113
|
+
{
|
114
|
+
name: "node",
|
115
|
+
type: "bytes32"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
name: "resolver",
|
119
|
+
type: "address"
|
120
|
+
}
|
121
|
+
],
|
122
|
+
name: "setResolver",
|
123
|
+
outputs: [],
|
124
|
+
payable: false,
|
125
|
+
stateMutability: "nonpayable",
|
126
|
+
type: "function"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
constant: false,
|
130
|
+
inputs: [
|
131
|
+
{
|
132
|
+
name: "node",
|
133
|
+
type: "bytes32"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
name: "owner",
|
137
|
+
type: "address"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
name: "setOwner",
|
141
|
+
outputs: [],
|
142
|
+
payable: false,
|
143
|
+
stateMutability: "nonpayable",
|
144
|
+
type: "function"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
anonymous: false,
|
148
|
+
inputs: [
|
149
|
+
{
|
150
|
+
indexed: true,
|
151
|
+
name: "node",
|
152
|
+
type: "bytes32"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
indexed: true,
|
156
|
+
name: "label",
|
157
|
+
type: "bytes32"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
indexed: false,
|
161
|
+
name: "owner",
|
162
|
+
type: "address"
|
163
|
+
}
|
164
|
+
],
|
165
|
+
name: "NewOwner",
|
166
|
+
type: "event"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
anonymous: false,
|
170
|
+
inputs: [
|
171
|
+
{
|
172
|
+
indexed: true,
|
173
|
+
name: "node",
|
174
|
+
type: "bytes32"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
indexed: false,
|
178
|
+
name: "owner",
|
179
|
+
type: "address"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
name: "Transfer",
|
183
|
+
type: "event"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
anonymous: false,
|
187
|
+
inputs: [
|
188
|
+
{
|
189
|
+
indexed: true,
|
190
|
+
name: "node",
|
191
|
+
type: "bytes32"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
indexed: false,
|
195
|
+
name: "resolver",
|
196
|
+
type: "address"
|
197
|
+
}
|
198
|
+
],
|
199
|
+
name: "NewResolver",
|
200
|
+
type: "event"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
anonymous: false,
|
204
|
+
inputs: [
|
205
|
+
{
|
206
|
+
indexed: true,
|
207
|
+
name: "node",
|
208
|
+
type: "bytes32"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
indexed: false,
|
212
|
+
name: "ttl",
|
213
|
+
type: "uint64"
|
214
|
+
}
|
215
|
+
],
|
216
|
+
name: "NewTTL",
|
217
|
+
type: "event"
|
218
|
+
}
|
219
|
+
];
|
220
|
+
//# sourceMappingURL=ENSFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ENSFactory.js","sourceRoot":"","sources":["../../../src/generated/ENSFactory.ts"],"names":[],"mappings":";AAAA,0CAA0C;AAC1C,oBAAoB;;AAEpB,mCAA0C;AAK1C,MAAa,UAAU;IACrB,MAAM,CAAC,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AI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;aACf;SACF;QACD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO;KACd;CACF,CAAC"}
|
@@ -0,0 +1,174 @@
|
|
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 ENSInterfaceInterface extends Interface {
|
14
|
+
functions: {
|
15
|
+
resolver: TypedFunctionDescription<{ encode([node]: [Arrayish]): string }>;
|
16
|
+
|
17
|
+
owner: TypedFunctionDescription<{ encode([node]: [Arrayish]): string }>;
|
18
|
+
|
19
|
+
setSubnodeOwner: TypedFunctionDescription<{
|
20
|
+
encode([node, label, owner]: [Arrayish, Arrayish, string]): string;
|
21
|
+
}>;
|
22
|
+
|
23
|
+
setTTL: TypedFunctionDescription<{
|
24
|
+
encode([node, ttl]: [Arrayish, BigNumberish]): string;
|
25
|
+
}>;
|
26
|
+
|
27
|
+
ttl: TypedFunctionDescription<{ encode([node]: [Arrayish]): string }>;
|
28
|
+
|
29
|
+
setResolver: TypedFunctionDescription<{
|
30
|
+
encode([node, resolver]: [Arrayish, string]): string;
|
31
|
+
}>;
|
32
|
+
|
33
|
+
setOwner: TypedFunctionDescription<{
|
34
|
+
encode([node, owner]: [Arrayish, string]): string;
|
35
|
+
}>;
|
36
|
+
};
|
37
|
+
|
38
|
+
events: {
|
39
|
+
NewOwner: TypedEventDescription<{
|
40
|
+
encodeTopics([node, label, owner]: [
|
41
|
+
Arrayish | null,
|
42
|
+
Arrayish | null,
|
43
|
+
null
|
44
|
+
]): string[];
|
45
|
+
}>;
|
46
|
+
|
47
|
+
Transfer: TypedEventDescription<{
|
48
|
+
encodeTopics([node, owner]: [Arrayish | null, null]): string[];
|
49
|
+
}>;
|
50
|
+
|
51
|
+
NewResolver: TypedEventDescription<{
|
52
|
+
encodeTopics([node, resolver]: [Arrayish | null, null]): string[];
|
53
|
+
}>;
|
54
|
+
|
55
|
+
NewTTL: TypedEventDescription<{
|
56
|
+
encodeTopics([node, ttl]: [Arrayish | null, null]): string[];
|
57
|
+
}>;
|
58
|
+
};
|
59
|
+
}
|
60
|
+
|
61
|
+
export class ENSInterface extends Contract {
|
62
|
+
connect(signerOrProvider: Signer | Provider | string): ENSInterface;
|
63
|
+
attach(addressOrName: string): ENSInterface;
|
64
|
+
deployed(): Promise<ENSInterface>;
|
65
|
+
|
66
|
+
on(event: EventFilter | string, listener: Listener): ENSInterface;
|
67
|
+
once(event: EventFilter | string, listener: Listener): ENSInterface;
|
68
|
+
addListener(
|
69
|
+
eventName: EventFilter | string,
|
70
|
+
listener: Listener
|
71
|
+
): ENSInterface;
|
72
|
+
removeAllListeners(eventName: EventFilter | string): ENSInterface;
|
73
|
+
removeListener(eventName: any, listener: Listener): ENSInterface;
|
74
|
+
|
75
|
+
interface: ENSInterfaceInterface;
|
76
|
+
|
77
|
+
functions: {
|
78
|
+
resolver(node: Arrayish): Promise<string>;
|
79
|
+
|
80
|
+
owner(node: Arrayish): Promise<string>;
|
81
|
+
|
82
|
+
setSubnodeOwner(
|
83
|
+
node: Arrayish,
|
84
|
+
label: Arrayish,
|
85
|
+
owner: string,
|
86
|
+
overrides?: TransactionOverrides
|
87
|
+
): Promise<ContractTransaction>;
|
88
|
+
|
89
|
+
setTTL(
|
90
|
+
node: Arrayish,
|
91
|
+
ttl: BigNumberish,
|
92
|
+
overrides?: TransactionOverrides
|
93
|
+
): Promise<ContractTransaction>;
|
94
|
+
|
95
|
+
ttl(node: Arrayish): Promise<BigNumber>;
|
96
|
+
|
97
|
+
setResolver(
|
98
|
+
node: Arrayish,
|
99
|
+
resolver: string,
|
100
|
+
overrides?: TransactionOverrides
|
101
|
+
): Promise<ContractTransaction>;
|
102
|
+
|
103
|
+
setOwner(
|
104
|
+
node: Arrayish,
|
105
|
+
owner: string,
|
106
|
+
overrides?: TransactionOverrides
|
107
|
+
): Promise<ContractTransaction>;
|
108
|
+
};
|
109
|
+
|
110
|
+
resolver(node: Arrayish): Promise<string>;
|
111
|
+
|
112
|
+
owner(node: Arrayish): Promise<string>;
|
113
|
+
|
114
|
+
setSubnodeOwner(
|
115
|
+
node: Arrayish,
|
116
|
+
label: Arrayish,
|
117
|
+
owner: string,
|
118
|
+
overrides?: TransactionOverrides
|
119
|
+
): Promise<ContractTransaction>;
|
120
|
+
|
121
|
+
setTTL(
|
122
|
+
node: Arrayish,
|
123
|
+
ttl: BigNumberish,
|
124
|
+
overrides?: TransactionOverrides
|
125
|
+
): Promise<ContractTransaction>;
|
126
|
+
|
127
|
+
ttl(node: Arrayish): Promise<BigNumber>;
|
128
|
+
|
129
|
+
setResolver(
|
130
|
+
node: Arrayish,
|
131
|
+
resolver: string,
|
132
|
+
overrides?: TransactionOverrides
|
133
|
+
): Promise<ContractTransaction>;
|
134
|
+
|
135
|
+
setOwner(
|
136
|
+
node: Arrayish,
|
137
|
+
owner: string,
|
138
|
+
overrides?: TransactionOverrides
|
139
|
+
): Promise<ContractTransaction>;
|
140
|
+
|
141
|
+
filters: {
|
142
|
+
NewOwner(
|
143
|
+
node: Arrayish | null,
|
144
|
+
label: Arrayish | null,
|
145
|
+
owner: null
|
146
|
+
): EventFilter;
|
147
|
+
|
148
|
+
Transfer(node: Arrayish | null, owner: null): EventFilter;
|
149
|
+
|
150
|
+
NewResolver(node: Arrayish | null, resolver: null): EventFilter;
|
151
|
+
|
152
|
+
NewTTL(node: Arrayish | null, ttl: null): EventFilter;
|
153
|
+
};
|
154
|
+
|
155
|
+
estimate: {
|
156
|
+
resolver(node: Arrayish): Promise<BigNumber>;
|
157
|
+
|
158
|
+
owner(node: Arrayish): Promise<BigNumber>;
|
159
|
+
|
160
|
+
setSubnodeOwner(
|
161
|
+
node: Arrayish,
|
162
|
+
label: Arrayish,
|
163
|
+
owner: string
|
164
|
+
): Promise<BigNumber>;
|
165
|
+
|
166
|
+
setTTL(node: Arrayish, ttl: BigNumberish): Promise<BigNumber>;
|
167
|
+
|
168
|
+
ttl(node: Arrayish): Promise<BigNumber>;
|
169
|
+
|
170
|
+
setResolver(node: Arrayish, resolver: string): Promise<BigNumber>;
|
171
|
+
|
172
|
+
setOwner(node: Arrayish, owner: string): Promise<BigNumber>;
|
173
|
+
};
|
174
|
+
}
|
@@ -0,0 +1,220 @@
|
|
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 ENSInterfaceFactory {
|
7
|
+
static connect(address, signerOrProvider) {
|
8
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
exports.ENSInterfaceFactory = ENSInterfaceFactory;
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
constant: true,
|
15
|
+
inputs: [
|
16
|
+
{
|
17
|
+
name: "node",
|
18
|
+
type: "bytes32"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
name: "resolver",
|
22
|
+
outputs: [
|
23
|
+
{
|
24
|
+
name: "",
|
25
|
+
type: "address"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
payable: false,
|
29
|
+
stateMutability: "view",
|
30
|
+
type: "function"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
constant: true,
|
34
|
+
inputs: [
|
35
|
+
{
|
36
|
+
name: "node",
|
37
|
+
type: "bytes32"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
name: "owner",
|
41
|
+
outputs: [
|
42
|
+
{
|
43
|
+
name: "",
|
44
|
+
type: "address"
|
45
|
+
}
|
46
|
+
],
|
47
|
+
payable: false,
|
48
|
+
stateMutability: "view",
|
49
|
+
type: "function"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
constant: false,
|
53
|
+
inputs: [
|
54
|
+
{
|
55
|
+
name: "node",
|
56
|
+
type: "bytes32"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
name: "label",
|
60
|
+
type: "bytes32"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
name: "owner",
|
64
|
+
type: "address"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
name: "setSubnodeOwner",
|
68
|
+
outputs: [],
|
69
|
+
payable: false,
|
70
|
+
stateMutability: "nonpayable",
|
71
|
+
type: "function"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
constant: false,
|
75
|
+
inputs: [
|
76
|
+
{
|
77
|
+
name: "node",
|
78
|
+
type: "bytes32"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
name: "ttl",
|
82
|
+
type: "uint64"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
name: "setTTL",
|
86
|
+
outputs: [],
|
87
|
+
payable: false,
|
88
|
+
stateMutability: "nonpayable",
|
89
|
+
type: "function"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
constant: true,
|
93
|
+
inputs: [
|
94
|
+
{
|
95
|
+
name: "node",
|
96
|
+
type: "bytes32"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
name: "ttl",
|
100
|
+
outputs: [
|
101
|
+
{
|
102
|
+
name: "",
|
103
|
+
type: "uint64"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
payable: false,
|
107
|
+
stateMutability: "view",
|
108
|
+
type: "function"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
constant: false,
|
112
|
+
inputs: [
|
113
|
+
{
|
114
|
+
name: "node",
|
115
|
+
type: "bytes32"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
name: "resolver",
|
119
|
+
type: "address"
|
120
|
+
}
|
121
|
+
],
|
122
|
+
name: "setResolver",
|
123
|
+
outputs: [],
|
124
|
+
payable: false,
|
125
|
+
stateMutability: "nonpayable",
|
126
|
+
type: "function"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
constant: false,
|
130
|
+
inputs: [
|
131
|
+
{
|
132
|
+
name: "node",
|
133
|
+
type: "bytes32"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
name: "owner",
|
137
|
+
type: "address"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
name: "setOwner",
|
141
|
+
outputs: [],
|
142
|
+
payable: false,
|
143
|
+
stateMutability: "nonpayable",
|
144
|
+
type: "function"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
anonymous: false,
|
148
|
+
inputs: [
|
149
|
+
{
|
150
|
+
indexed: true,
|
151
|
+
name: "node",
|
152
|
+
type: "bytes32"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
indexed: true,
|
156
|
+
name: "label",
|
157
|
+
type: "bytes32"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
indexed: false,
|
161
|
+
name: "owner",
|
162
|
+
type: "address"
|
163
|
+
}
|
164
|
+
],
|
165
|
+
name: "NewOwner",
|
166
|
+
type: "event"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
anonymous: false,
|
170
|
+
inputs: [
|
171
|
+
{
|
172
|
+
indexed: true,
|
173
|
+
name: "node",
|
174
|
+
type: "bytes32"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
indexed: false,
|
178
|
+
name: "owner",
|
179
|
+
type: "address"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
name: "Transfer",
|
183
|
+
type: "event"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
anonymous: false,
|
187
|
+
inputs: [
|
188
|
+
{
|
189
|
+
indexed: true,
|
190
|
+
name: "node",
|
191
|
+
type: "bytes32"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
indexed: false,
|
195
|
+
name: "resolver",
|
196
|
+
type: "address"
|
197
|
+
}
|
198
|
+
],
|
199
|
+
name: "NewResolver",
|
200
|
+
type: "event"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
anonymous: false,
|
204
|
+
inputs: [
|
205
|
+
{
|
206
|
+
indexed: true,
|
207
|
+
name: "node",
|
208
|
+
type: "bytes32"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
indexed: false,
|
212
|
+
name: "ttl",
|
213
|
+
type: "uint64"
|
214
|
+
}
|
215
|
+
],
|
216
|
+
name: "NewTTL",
|
217
|
+
type: "event"
|
218
|
+
}
|
219
|
+
];
|
220
|
+
//# sourceMappingURL=ENSInterfaceFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ENSInterfaceFactory.js","sourceRoot":"","sources":["../../../src/generated/ENSInterfaceFactory.ts"],"names":[],"mappings":";AAAA,0CAA0C;AAC1C,oBAAoB;;AAEpB,mCAA0C;AAK1C,MAAa,mBAAmB;IAC9B,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAiB,CAAC;IACvE,CAAC;CACF;AAPD,kDAOC;AAED,MAAM,IAAI,GAAG;IACX;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,OAAO;QACb,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,KAA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