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,329 @@
|
|
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 LinkTokenFactory extends ethers_1.ContractFactory {
|
7
|
+
constructor(signer) {
|
8
|
+
super(_abi, _bytecode, signer);
|
9
|
+
}
|
10
|
+
deploy() {
|
11
|
+
return super.deploy();
|
12
|
+
}
|
13
|
+
getDeployTransaction() {
|
14
|
+
return super.getDeployTransaction();
|
15
|
+
}
|
16
|
+
attach(address) {
|
17
|
+
return super.attach(address);
|
18
|
+
}
|
19
|
+
connect(signer) {
|
20
|
+
return super.connect(signer);
|
21
|
+
}
|
22
|
+
static connect(address, signerOrProvider) {
|
23
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
exports.LinkTokenFactory = LinkTokenFactory;
|
27
|
+
const _abi = [
|
28
|
+
{
|
29
|
+
constant: true,
|
30
|
+
inputs: [],
|
31
|
+
name: "name",
|
32
|
+
outputs: [
|
33
|
+
{
|
34
|
+
name: "",
|
35
|
+
type: "string"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
payable: false,
|
39
|
+
stateMutability: "view",
|
40
|
+
type: "function"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
constant: false,
|
44
|
+
inputs: [
|
45
|
+
{
|
46
|
+
name: "_spender",
|
47
|
+
type: "address"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
name: "_value",
|
51
|
+
type: "uint256"
|
52
|
+
}
|
53
|
+
],
|
54
|
+
name: "approve",
|
55
|
+
outputs: [
|
56
|
+
{
|
57
|
+
name: "",
|
58
|
+
type: "bool"
|
59
|
+
}
|
60
|
+
],
|
61
|
+
payable: false,
|
62
|
+
stateMutability: "nonpayable",
|
63
|
+
type: "function"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
constant: true,
|
67
|
+
inputs: [],
|
68
|
+
name: "totalSupply",
|
69
|
+
outputs: [
|
70
|
+
{
|
71
|
+
name: "",
|
72
|
+
type: "uint256"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
payable: false,
|
76
|
+
stateMutability: "view",
|
77
|
+
type: "function"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
constant: false,
|
81
|
+
inputs: [
|
82
|
+
{
|
83
|
+
name: "_from",
|
84
|
+
type: "address"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
name: "_to",
|
88
|
+
type: "address"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
name: "_value",
|
92
|
+
type: "uint256"
|
93
|
+
}
|
94
|
+
],
|
95
|
+
name: "transferFrom",
|
96
|
+
outputs: [
|
97
|
+
{
|
98
|
+
name: "",
|
99
|
+
type: "bool"
|
100
|
+
}
|
101
|
+
],
|
102
|
+
payable: false,
|
103
|
+
stateMutability: "nonpayable",
|
104
|
+
type: "function"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
constant: true,
|
108
|
+
inputs: [],
|
109
|
+
name: "decimals",
|
110
|
+
outputs: [
|
111
|
+
{
|
112
|
+
name: "",
|
113
|
+
type: "uint8"
|
114
|
+
}
|
115
|
+
],
|
116
|
+
payable: false,
|
117
|
+
stateMutability: "view",
|
118
|
+
type: "function"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
constant: false,
|
122
|
+
inputs: [
|
123
|
+
{
|
124
|
+
name: "_to",
|
125
|
+
type: "address"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
name: "_value",
|
129
|
+
type: "uint256"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
name: "_data",
|
133
|
+
type: "bytes"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
name: "transferAndCall",
|
137
|
+
outputs: [
|
138
|
+
{
|
139
|
+
name: "success",
|
140
|
+
type: "bool"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
payable: false,
|
144
|
+
stateMutability: "nonpayable",
|
145
|
+
type: "function"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
constant: false,
|
149
|
+
inputs: [
|
150
|
+
{
|
151
|
+
name: "_spender",
|
152
|
+
type: "address"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
name: "_subtractedValue",
|
156
|
+
type: "uint256"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
name: "decreaseApproval",
|
160
|
+
outputs: [
|
161
|
+
{
|
162
|
+
name: "success",
|
163
|
+
type: "bool"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
payable: false,
|
167
|
+
stateMutability: "nonpayable",
|
168
|
+
type: "function"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
constant: true,
|
172
|
+
inputs: [
|
173
|
+
{
|
174
|
+
name: "_owner",
|
175
|
+
type: "address"
|
176
|
+
}
|
177
|
+
],
|
178
|
+
name: "balanceOf",
|
179
|
+
outputs: [
|
180
|
+
{
|
181
|
+
name: "balance",
|
182
|
+
type: "uint256"
|
183
|
+
}
|
184
|
+
],
|
185
|
+
payable: false,
|
186
|
+
stateMutability: "view",
|
187
|
+
type: "function"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
constant: true,
|
191
|
+
inputs: [],
|
192
|
+
name: "symbol",
|
193
|
+
outputs: [
|
194
|
+
{
|
195
|
+
name: "",
|
196
|
+
type: "string"
|
197
|
+
}
|
198
|
+
],
|
199
|
+
payable: false,
|
200
|
+
stateMutability: "view",
|
201
|
+
type: "function"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
constant: false,
|
205
|
+
inputs: [
|
206
|
+
{
|
207
|
+
name: "_to",
|
208
|
+
type: "address"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
name: "_value",
|
212
|
+
type: "uint256"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
name: "transfer",
|
216
|
+
outputs: [
|
217
|
+
{
|
218
|
+
name: "success",
|
219
|
+
type: "bool"
|
220
|
+
}
|
221
|
+
],
|
222
|
+
payable: false,
|
223
|
+
stateMutability: "nonpayable",
|
224
|
+
type: "function"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
constant: false,
|
228
|
+
inputs: [
|
229
|
+
{
|
230
|
+
name: "_spender",
|
231
|
+
type: "address"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
name: "_addedValue",
|
235
|
+
type: "uint256"
|
236
|
+
}
|
237
|
+
],
|
238
|
+
name: "increaseApproval",
|
239
|
+
outputs: [
|
240
|
+
{
|
241
|
+
name: "success",
|
242
|
+
type: "bool"
|
243
|
+
}
|
244
|
+
],
|
245
|
+
payable: false,
|
246
|
+
stateMutability: "nonpayable",
|
247
|
+
type: "function"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
constant: true,
|
251
|
+
inputs: [
|
252
|
+
{
|
253
|
+
name: "_owner",
|
254
|
+
type: "address"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
name: "_spender",
|
258
|
+
type: "address"
|
259
|
+
}
|
260
|
+
],
|
261
|
+
name: "allowance",
|
262
|
+
outputs: [
|
263
|
+
{
|
264
|
+
name: "remaining",
|
265
|
+
type: "uint256"
|
266
|
+
}
|
267
|
+
],
|
268
|
+
payable: false,
|
269
|
+
stateMutability: "view",
|
270
|
+
type: "function"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
inputs: [],
|
274
|
+
payable: false,
|
275
|
+
stateMutability: "nonpayable",
|
276
|
+
type: "constructor"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
anonymous: false,
|
280
|
+
inputs: [
|
281
|
+
{
|
282
|
+
indexed: true,
|
283
|
+
name: "from",
|
284
|
+
type: "address"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
indexed: true,
|
288
|
+
name: "to",
|
289
|
+
type: "address"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
indexed: false,
|
293
|
+
name: "value",
|
294
|
+
type: "uint256"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
indexed: false,
|
298
|
+
name: "data",
|
299
|
+
type: "bytes"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
name: "Transfer",
|
303
|
+
type: "event"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
anonymous: false,
|
307
|
+
inputs: [
|
308
|
+
{
|
309
|
+
indexed: true,
|
310
|
+
name: "owner",
|
311
|
+
type: "address"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
indexed: true,
|
315
|
+
name: "spender",
|
316
|
+
type: "address"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
indexed: false,
|
320
|
+
name: "value",
|
321
|
+
type: "uint256"
|
322
|
+
}
|
323
|
+
],
|
324
|
+
name: "Approval",
|
325
|
+
type: "event"
|
326
|
+
}
|
327
|
+
];
|
328
|
+
const _bytecode = "0x6060604052341561000f57600080fd5b5b600160a060020a03331660009081526001602052604090206b033b2e3c9fd0803ce800000090555b5b610c51806100486000396000f300606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100bc578063095ea7b31461014757806318160ddd1461017d57806323b872dd146101a2578063313ce567146101de5780634000aea014610207578063661884631461028057806370a08231146102b657806395d89b41146102e7578063a9059cbb14610372578063d73dd623146103a8578063dd62ed3e146103de575b600080fd5b34156100c757600080fd5b6100cf610415565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010c5780820151818401525b6020016100f3565b50505050905090810190601f1680156101395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015257600080fd5b610169600160a060020a036004351660243561044c565b604051901515815260200160405180910390f35b341561018857600080fd5b610190610499565b60405190815260200160405180910390f35b34156101ad57600080fd5b610169600160a060020a03600435811690602435166044356104a9565b604051901515815260200160405180910390f35b34156101e957600080fd5b6101f16104f8565b60405160ff909116815260200160405180910390f35b341561021257600080fd5b61016960048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506104fd95505050505050565b604051901515815260200160405180910390f35b341561028b57600080fd5b610169600160a060020a036004351660243561054c565b604051901515815260200160405180910390f35b34156102c157600080fd5b610190600160a060020a0360043516610648565b60405190815260200160405180910390f35b34156102f257600080fd5b6100cf610667565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010c5780820151818401525b6020016100f3565b50505050905090810190601f1680156101395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037d57600080fd5b610169600160a060020a036004351660243561069e565b604051901515815260200160405180910390f35b34156103b357600080fd5b610169600160a060020a03600435166024356106eb565b604051901515815260200160405180910390f35b34156103e957600080fd5b610190600160a060020a0360043581169060243516610790565b60405190815260200160405180910390f35b60408051908101604052600f81527f436861696e4c696e6b20546f6b656e0000000000000000000000000000000000602082015281565b600082600160a060020a03811615801590610479575030600160a060020a031681600160a060020a031614155b151561048457600080fd5b61048e84846107bd565b91505b5b5092915050565b6b033b2e3c9fd0803ce800000081565b600082600160a060020a038116158015906104d6575030600160a060020a031681600160a060020a031614155b15156104e157600080fd5b6104ec85858561082a565b91505b5b509392505050565b601281565b600083600160a060020a0381161580159061052a575030600160a060020a031681600160a060020a031614155b151561053557600080fd5b6104ec85858561093c565b91505b5b509392505050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156105a957600160a060020a0333811660009081526002602090815260408083209388168352929052908120556105e0565b6105b9818463ffffffff610a2316565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3600191505b5092915050565b600160a060020a0381166000908152600160205260409020545b919050565b60408051908101604052600481527f4c494e4b00000000000000000000000000000000000000000000000000000000602082015281565b600082600160a060020a038116158015906106cb575030600160a060020a031681600160a060020a031614155b15156106d657600080fd5b61048e8484610a3a565b91505b5b5092915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610723908363ffffffff610afa16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a35060015b92915050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b600160a060020a03808416600081815260026020908152604080832033909516835293815283822054928252600190529182205461086e908463ffffffff610a2316565b600160a060020a0380871660009081526001602052604080822093909355908616815220546108a3908463ffffffff610afa16565b600160a060020a0385166000908152600160205260409020556108cc818463ffffffff610a2316565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b60006109488484610a3a565b5083600160a060020a031633600160a060020a03167fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16858560405182815260406020820181815290820183818151815260200191508051906020019080838360005b838110156109c35780820151818401525b6020016109aa565b50505050905090810190601f1680156109f05780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3610a0784610b14565b15610a1757610a17848484610b23565b5b5060015b9392505050565b600082821115610a2f57fe5b508082035b92915050565b600160a060020a033316600090815260016020526040812054610a63908363ffffffff610a2316565b600160a060020a033381166000908152600160205260408082209390935590851681522054610a98908363ffffffff610afa16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b600082820183811015610b0957fe5b8091505b5092915050565b6000813b908111905b50919050565b82600160a060020a03811663a4c0ed363385856040518463ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610bbd5780820151818401525b602001610ba4565b50505050905090810190601f168015610bea5780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b1515610c0a57600080fd5b6102c65a03f11515610c1b57600080fd5b5050505b505050505600a165627a7a72305820c5f438ff94e5ddaf2058efa0019e246c636c37a622e04bb67827c7374acad8d60029";
|
329
|
+
//# sourceMappingURL=LinkTokenFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LinkTokenFactory.js","sourceRoot":"","sources":["../../../src/generated/LinkTokenFactory.ts"],"names":[],"mappings":";AAAA,0CAA0C;AAC1C,oBAAoB;;AAEpB,mCAA2D;AAM3D,MAAa,gBAAiB,SAAQ,wBAAe;IACnD,YAAY,MAAe;QACzB,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACjC,CAAC;IAED,MAAM;QACJ,OAAO,KAAK,CAAC,MAAM,EAAwB,CAAC;IAC9C,CAAC;IACD,oBAAoB;QAClB,OAAO,KAAK,CAAC,oBAAoB,EAAE,CAAC;IACtC,CAAC;IACD,MAAM,CAAC,OAAe;QACpB,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAc,CAAC;IAC5C,CAAC;IACD,OAAO,CAAC,MAAc;QACpB,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAqB,CAAC;IACnD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAc,CAAC;IACpE,CAAC;CACF;AAvBD,4CAuBC;AAED,MAAM,IAAI,GAAG;IACX;QACE,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,QAAQ;aACf;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,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,EAAE;gBACR,IA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,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aACd;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,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,SAAS;gBACf,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;CACF,CAAC;AAEF,MAAM,SAAS,GACb,szMAAszM,CAAC"}
|
@@ -0,0 +1,230 @@
|
|
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 LinkTokenInterfaceInterface extends Interface {
|
14
|
+
functions: {
|
15
|
+
name: TypedFunctionDescription<{ encode([]: []): string }>;
|
16
|
+
|
17
|
+
approve: TypedFunctionDescription<{
|
18
|
+
encode([spender, value]: [string, BigNumberish]): string;
|
19
|
+
}>;
|
20
|
+
|
21
|
+
totalSupply: TypedFunctionDescription<{ encode([]: []): string }>;
|
22
|
+
|
23
|
+
transferFrom: TypedFunctionDescription<{
|
24
|
+
encode([from, to, value]: [string, string, BigNumberish]): string;
|
25
|
+
}>;
|
26
|
+
|
27
|
+
decimals: TypedFunctionDescription<{ encode([]: []): string }>;
|
28
|
+
|
29
|
+
transferAndCall: TypedFunctionDescription<{
|
30
|
+
encode([to, value, data]: [string, BigNumberish, Arrayish]): string;
|
31
|
+
}>;
|
32
|
+
|
33
|
+
decreaseApproval: TypedFunctionDescription<{
|
34
|
+
encode([spender, addedValue]: [string, BigNumberish]): string;
|
35
|
+
}>;
|
36
|
+
|
37
|
+
balanceOf: TypedFunctionDescription<{ encode([owner]: [string]): string }>;
|
38
|
+
|
39
|
+
symbol: TypedFunctionDescription<{ encode([]: []): string }>;
|
40
|
+
|
41
|
+
transfer: TypedFunctionDescription<{
|
42
|
+
encode([to, value]: [string, BigNumberish]): string;
|
43
|
+
}>;
|
44
|
+
|
45
|
+
increaseApproval: TypedFunctionDescription<{
|
46
|
+
encode([spender, subtractedValue]: [string, BigNumberish]): string;
|
47
|
+
}>;
|
48
|
+
|
49
|
+
allowance: TypedFunctionDescription<{
|
50
|
+
encode([owner, spender]: [string, string]): string;
|
51
|
+
}>;
|
52
|
+
};
|
53
|
+
|
54
|
+
events: {};
|
55
|
+
}
|
56
|
+
|
57
|
+
export class LinkTokenInterface extends Contract {
|
58
|
+
connect(signerOrProvider: Signer | Provider | string): LinkTokenInterface;
|
59
|
+
attach(addressOrName: string): LinkTokenInterface;
|
60
|
+
deployed(): Promise<LinkTokenInterface>;
|
61
|
+
|
62
|
+
on(event: EventFilter | string, listener: Listener): LinkTokenInterface;
|
63
|
+
once(event: EventFilter | string, listener: Listener): LinkTokenInterface;
|
64
|
+
addListener(
|
65
|
+
eventName: EventFilter | string,
|
66
|
+
listener: Listener
|
67
|
+
): LinkTokenInterface;
|
68
|
+
removeAllListeners(eventName: EventFilter | string): LinkTokenInterface;
|
69
|
+
removeListener(eventName: any, listener: Listener): LinkTokenInterface;
|
70
|
+
|
71
|
+
interface: LinkTokenInterfaceInterface;
|
72
|
+
|
73
|
+
functions: {
|
74
|
+
name(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
75
|
+
|
76
|
+
approve(
|
77
|
+
spender: string,
|
78
|
+
value: BigNumberish,
|
79
|
+
overrides?: TransactionOverrides
|
80
|
+
): Promise<ContractTransaction>;
|
81
|
+
|
82
|
+
totalSupply(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
83
|
+
|
84
|
+
transferFrom(
|
85
|
+
from: string,
|
86
|
+
to: string,
|
87
|
+
value: BigNumberish,
|
88
|
+
overrides?: TransactionOverrides
|
89
|
+
): Promise<ContractTransaction>;
|
90
|
+
|
91
|
+
decimals(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
92
|
+
|
93
|
+
transferAndCall(
|
94
|
+
to: string,
|
95
|
+
value: BigNumberish,
|
96
|
+
data: Arrayish,
|
97
|
+
overrides?: TransactionOverrides
|
98
|
+
): Promise<ContractTransaction>;
|
99
|
+
|
100
|
+
decreaseApproval(
|
101
|
+
spender: string,
|
102
|
+
addedValue: BigNumberish,
|
103
|
+
overrides?: TransactionOverrides
|
104
|
+
): Promise<ContractTransaction>;
|
105
|
+
|
106
|
+
balanceOf(
|
107
|
+
owner: string,
|
108
|
+
overrides?: TransactionOverrides
|
109
|
+
): Promise<ContractTransaction>;
|
110
|
+
|
111
|
+
symbol(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
112
|
+
|
113
|
+
transfer(
|
114
|
+
to: string,
|
115
|
+
value: BigNumberish,
|
116
|
+
overrides?: TransactionOverrides
|
117
|
+
): Promise<ContractTransaction>;
|
118
|
+
|
119
|
+
increaseApproval(
|
120
|
+
spender: string,
|
121
|
+
subtractedValue: BigNumberish,
|
122
|
+
overrides?: TransactionOverrides
|
123
|
+
): Promise<ContractTransaction>;
|
124
|
+
|
125
|
+
allowance(
|
126
|
+
owner: string,
|
127
|
+
spender: string,
|
128
|
+
overrides?: TransactionOverrides
|
129
|
+
): Promise<ContractTransaction>;
|
130
|
+
};
|
131
|
+
|
132
|
+
name(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
133
|
+
|
134
|
+
approve(
|
135
|
+
spender: string,
|
136
|
+
value: BigNumberish,
|
137
|
+
overrides?: TransactionOverrides
|
138
|
+
): Promise<ContractTransaction>;
|
139
|
+
|
140
|
+
totalSupply(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
141
|
+
|
142
|
+
transferFrom(
|
143
|
+
from: string,
|
144
|
+
to: string,
|
145
|
+
value: BigNumberish,
|
146
|
+
overrides?: TransactionOverrides
|
147
|
+
): Promise<ContractTransaction>;
|
148
|
+
|
149
|
+
decimals(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
150
|
+
|
151
|
+
transferAndCall(
|
152
|
+
to: string,
|
153
|
+
value: BigNumberish,
|
154
|
+
data: Arrayish,
|
155
|
+
overrides?: TransactionOverrides
|
156
|
+
): Promise<ContractTransaction>;
|
157
|
+
|
158
|
+
decreaseApproval(
|
159
|
+
spender: string,
|
160
|
+
addedValue: BigNumberish,
|
161
|
+
overrides?: TransactionOverrides
|
162
|
+
): Promise<ContractTransaction>;
|
163
|
+
|
164
|
+
balanceOf(
|
165
|
+
owner: string,
|
166
|
+
overrides?: TransactionOverrides
|
167
|
+
): Promise<ContractTransaction>;
|
168
|
+
|
169
|
+
symbol(overrides?: TransactionOverrides): Promise<ContractTransaction>;
|
170
|
+
|
171
|
+
transfer(
|
172
|
+
to: string,
|
173
|
+
value: BigNumberish,
|
174
|
+
overrides?: TransactionOverrides
|
175
|
+
): Promise<ContractTransaction>;
|
176
|
+
|
177
|
+
increaseApproval(
|
178
|
+
spender: string,
|
179
|
+
subtractedValue: BigNumberish,
|
180
|
+
overrides?: TransactionOverrides
|
181
|
+
): Promise<ContractTransaction>;
|
182
|
+
|
183
|
+
allowance(
|
184
|
+
owner: string,
|
185
|
+
spender: string,
|
186
|
+
overrides?: TransactionOverrides
|
187
|
+
): Promise<ContractTransaction>;
|
188
|
+
|
189
|
+
filters: {};
|
190
|
+
|
191
|
+
estimate: {
|
192
|
+
name(): Promise<BigNumber>;
|
193
|
+
|
194
|
+
approve(spender: string, value: BigNumberish): Promise<BigNumber>;
|
195
|
+
|
196
|
+
totalSupply(): Promise<BigNumber>;
|
197
|
+
|
198
|
+
transferFrom(
|
199
|
+
from: string,
|
200
|
+
to: string,
|
201
|
+
value: BigNumberish
|
202
|
+
): Promise<BigNumber>;
|
203
|
+
|
204
|
+
decimals(): Promise<BigNumber>;
|
205
|
+
|
206
|
+
transferAndCall(
|
207
|
+
to: string,
|
208
|
+
value: BigNumberish,
|
209
|
+
data: Arrayish
|
210
|
+
): Promise<BigNumber>;
|
211
|
+
|
212
|
+
decreaseApproval(
|
213
|
+
spender: string,
|
214
|
+
addedValue: BigNumberish
|
215
|
+
): Promise<BigNumber>;
|
216
|
+
|
217
|
+
balanceOf(owner: string): Promise<BigNumber>;
|
218
|
+
|
219
|
+
symbol(): Promise<BigNumber>;
|
220
|
+
|
221
|
+
transfer(to: string, value: BigNumberish): Promise<BigNumber>;
|
222
|
+
|
223
|
+
increaseApproval(
|
224
|
+
spender: string,
|
225
|
+
subtractedValue: BigNumberish
|
226
|
+
): Promise<BigNumber>;
|
227
|
+
|
228
|
+
allowance(owner: string, spender: string): Promise<BigNumber>;
|
229
|
+
};
|
230
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { Signer } from "ethers";
|
2
|
+
import { Provider } from "ethers/providers";
|
3
|
+
import { LinkTokenInterface } from "./LinkTokenInterface";
|
4
|
+
export declare class LinkTokenInterfaceFactory {
|
5
|
+
static connect(address: string, signerOrProvider: Signer | Provider): LinkTokenInterface;
|
6
|
+
}
|