@sonarwatch/portfolio-plugins 0.5.43 → 0.5.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +81 -73
- package/package.json +2 -2
- package/src/index.js +5 -0
- package/src/index.js.map +1 -1
- package/src/platforms.d.ts +3 -0
- package/src/platforms.js +16 -1
- package/src/platforms.js.map +1 -1
- package/src/plugins/maker/abis.d.ts +256 -0
- package/src/plugins/maker/abis.js +183 -0
- package/src/plugins/maker/abis.js.map +1 -0
- package/src/plugins/maker/constants.d.ts +8 -0
- package/src/plugins/maker/constants.js +12 -0
- package/src/plugins/maker/constants.js.map +1 -0
- package/src/plugins/maker/index.d.ts +4 -0
- package/src/plugins/maker/index.js +10 -0
- package/src/plugins/maker/index.js.map +1 -0
- package/src/plugins/maker/sdaiJob.d.ts +3 -0
- package/src/plugins/maker/sdaiJob.js +50 -0
- package/src/plugins/maker/sdaiJob.js.map +1 -0
- package/src/plugins/morpho/aaveV3CollateralFetcher.js +1 -1
- package/src/plugins/morpho/aaveV3CollateralFetcher.js.map +1 -1
- package/src/plugins/morpho/aaveV3SupplyOnlyFetcher.js +1 -1
- package/src/plugins/morpho/aaveV3SupplyOnlyFetcher.js.map +1 -1
- package/src/plugins/orders/clobs-solana/MarketJobExecutorGenerator.d.ts +3 -0
- package/src/plugins/orders/clobs-solana/MarketJobExecutorGenerator.js +52 -0
- package/src/plugins/orders/clobs-solana/MarketJobExecutorGenerator.js.map +1 -0
- package/src/plugins/orders/clobs-solana/constants.d.ts +7 -0
- package/src/plugins/orders/clobs-solana/constants.js +43 -0
- package/src/plugins/orders/clobs-solana/constants.js.map +1 -0
- package/src/plugins/orders/clobs-solana/filters.d.ts +5 -0
- package/src/plugins/orders/clobs-solana/filters.js +22 -0
- package/src/plugins/orders/clobs-solana/filters.js.map +1 -0
- package/src/plugins/orders/clobs-solana/openbookFetcher.d.ts +3 -0
- package/src/plugins/orders/clobs-solana/openbookFetcher.js +102 -0
- package/src/plugins/orders/clobs-solana/openbookFetcher.js.map +1 -0
- package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.d.ts +3 -0
- package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js +156 -0
- package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js.map +1 -0
- package/src/plugins/orders/clobs-solana/structs.d.ts +208 -0
- package/src/plugins/orders/clobs-solana/structs.js +199 -0
- package/src/plugins/orders/clobs-solana/structs.js.map +1 -0
- package/src/plugins/orders/clobs-solana/types.d.ts +18 -0
- package/src/plugins/orders/clobs-solana/types.js +3 -0
- package/src/plugins/orders/clobs-solana/types.js.map +1 -0
- package/src/plugins/orders/constants.d.ts +3 -0
- package/src/plugins/orders/constants.js +7 -0
- package/src/plugins/orders/constants.js.map +1 -0
- package/src/plugins/orders/index.d.ts +4 -0
- package/src/plugins/orders/index.js +52 -0
- package/src/plugins/orders/index.js.map +1 -0
- package/src/plugins/orders/jupiter/filters.d.ts +2 -0
- package/src/plugins/orders/jupiter/filters.js +25 -0
- package/src/plugins/orders/jupiter/filters.js.map +1 -0
- package/src/plugins/orders/jupiter/limitFetcher.d.ts +3 -0
- package/src/plugins/orders/jupiter/limitFetcher.js +80 -0
- package/src/plugins/orders/jupiter/limitFetcher.js.map +1 -0
- package/src/plugins/orders/jupiter/struct.d.ts +22 -0
- package/src/plugins/orders/jupiter/struct.js +24 -0
- package/src/plugins/orders/jupiter/struct.js.map +1 -0
- package/src/plugins/top-tokens/forcedAddresses.js +14 -1
- package/src/plugins/top-tokens/forcedAddresses.js.map +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,82 +2,90 @@
|
|
2
2
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
4
4
|
|
5
|
-
## [0.5.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
## [0.5.42](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.41...plugins-0.5.42) (2023-08-14)
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
## [0.5.41](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.40...plugins-0.5.41) (2023-08-14)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
## [0.5.40](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.39...plugins-0.5.40) (2023-08-14)
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
## [0.5.39](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.38...plugins-0.5.39) (2023-08-14)
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
## [0.5.38](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.37...plugins-0.5.38) (2023-08-14)
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
## [0.5.37](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.36...plugins-0.5.37) (2023-08-14)
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
## [0.5.36](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.35...plugins-0.5.36) (2023-08-14)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
## [0.5.35](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.34...plugins-0.5.35) (2023-08-14)
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
## [0.5.34](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.33...plugins-0.5.34) (2023-08-14)
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
## [0.5.33](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.32...plugins-0.5.33) (2023-08-14)
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
## [0.5.32](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.31...plugins-0.5.32) (2023-08-14)
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
## [0.5.31](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.30...plugins-0.5.31) (2023-08-14)
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
## [0.5.30](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.29...plugins-0.5.30) (2023-08-12)
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
## [0.5.29](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.28...plugins-0.5.29) (2023-08-11)
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
## [0.5.28](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.27...plugins-0.5.28) (2023-08-11)
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
## [0.5.27](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.26...plugins-0.5.27) (2023-08-11)
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
## [0.5.26](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.25...plugins-0.5.26) (2023-08-10)
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
## [0.5.25](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.24...plugins-0.5.25) (2023-08-10)
|
5
|
+
## [0.5.45](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.44...plugins-0.5.45) (2023-08-17)
|
78
6
|
|
79
7
|
|
80
8
|
|
9
|
+
## [0.5.44](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.43...plugins-0.5.44) (2023-08-16)
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## [0.5.43](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.42...plugins-0.5.43) (2023-08-16)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
## [0.5.42](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.41...plugins-0.5.42) (2023-08-14)
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
## [0.5.41](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.40...plugins-0.5.41) (2023-08-14)
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
## [0.5.40](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.39...plugins-0.5.40) (2023-08-14)
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
## [0.5.39](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.38...plugins-0.5.39) (2023-08-14)
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
## [0.5.38](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.37...plugins-0.5.38) (2023-08-14)
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
## [0.5.37](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.36...plugins-0.5.37) (2023-08-14)
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
## [0.5.36](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.35...plugins-0.5.36) (2023-08-14)
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
## [0.5.35](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.34...plugins-0.5.35) (2023-08-14)
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
## [0.5.34](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.33...plugins-0.5.34) (2023-08-14)
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
## [0.5.33](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.32...plugins-0.5.33) (2023-08-14)
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
## [0.5.32](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.31...plugins-0.5.32) (2023-08-14)
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
## [0.5.31](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.30...plugins-0.5.31) (2023-08-14)
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
## [0.5.30](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.29...plugins-0.5.30) (2023-08-12)
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
## [0.5.29](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.28...plugins-0.5.29) (2023-08-11)
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
## [0.5.28](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.27...plugins-0.5.28) (2023-08-11)
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
## [0.5.27](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.26...plugins-0.5.27) (2023-08-11)
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
## [0.5.26](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.25...plugins-0.5.26) (2023-08-10)
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
## [0.5.25](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.24...plugins-0.5.25) (2023-08-10)
|
86
|
+
|
87
|
+
|
88
|
+
|
81
89
|
## [0.5.24](https://github.com/sonarwatch/portfolio/compare/plugins-0.5.23...plugins-0.5.24) (2023-08-10)
|
82
90
|
|
83
91
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sonarwatch/portfolio-plugins",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.45",
|
4
4
|
"type": "commonjs",
|
5
5
|
"generators": "./generators.json",
|
6
6
|
"dependencies": {
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"web3-v1": "npm:web3@^1.5.0"
|
31
31
|
},
|
32
32
|
"peerDependencies": {
|
33
|
-
"@sonarwatch/portfolio-core": "0.5.
|
33
|
+
"@sonarwatch/portfolio-core": "0.5.45"
|
34
34
|
},
|
35
35
|
"main": "./src/index.js",
|
36
36
|
"types": "./src/index.d.ts"
|
package/src/index.js
CHANGED
@@ -41,6 +41,7 @@ const cetus_1 = require("./plugins/cetus");
|
|
41
41
|
const turbos_1 = require("./plugins/turbos");
|
42
42
|
const thala_1 = require("./plugins/thala");
|
43
43
|
const tensor_1 = require("./plugins/tensor");
|
44
|
+
const orders_1 = require("./plugins/orders");
|
44
45
|
const aave_1 = require("./plugins/aave");
|
45
46
|
const staking_aptos_1 = require("./plugins/staking-aptos");
|
46
47
|
const morpho_1 = require("./plugins/morpho");
|
@@ -50,6 +51,7 @@ const top_tokens_1 = require("./plugins/top-tokens");
|
|
50
51
|
const pancakeswap_1 = require("./plugins/pancakeswap");
|
51
52
|
const liquidswap_1 = require("./plugins/liquidswap");
|
52
53
|
const auxexchange_1 = require("./plugins/auxexchange");
|
54
|
+
const maker_1 = require("./plugins/maker");
|
53
55
|
const getFetchersByAddressSystem_1 = require("./utils/misc/getFetchersByAddressSystem");
|
54
56
|
__exportStar(require("./Cache"), exports);
|
55
57
|
__exportStar(require("./Fetcher"), exports);
|
@@ -75,7 +77,9 @@ exports.jobs = [
|
|
75
77
|
...auxexchange_1.jobs,
|
76
78
|
...saber_1.jobs,
|
77
79
|
...aave_1.jobs,
|
80
|
+
...orders_1.jobs,
|
78
81
|
...morpho_1.jobs,
|
82
|
+
...maker_1.jobs,
|
79
83
|
];
|
80
84
|
exports.fetchers = [
|
81
85
|
...tokens_1.fetchers,
|
@@ -93,6 +97,7 @@ exports.fetchers = [
|
|
93
97
|
...turbos_1.fetchers,
|
94
98
|
...staking_aptos_1.fetchers,
|
95
99
|
...aave_1.fetchers,
|
100
|
+
...orders_1.fetchers,
|
96
101
|
...morpho_1.fetchers,
|
97
102
|
];
|
98
103
|
exports.fetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.fetchers);
|
package/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0DAA4C;AAC5C,6CAG0B;AAC1B,yDAGgC;AAChC,iDAAkE;AAClE,iDAG4B;AAC5B,2CAAoD;AACpD,6CAG0B;AAC1B,+CAG2B;AAC3B,yCAA4E;AAC5E,+CAAwD;AACxD,2CAA+E;AAC/E,6CAG0B;AAC1B,2CAA+E;AAC/E,6CAA8D;AAC9D,yCAA4E;AAC5E,2DAA2E;AAC3E,6CA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,CAAC;AAEpD,QAAA,IAAI,GAAU;IACzB,GAAG,aAAU;IACb,GAAG,mBAAe;IAClB,GAAG,YAAS;IACZ,GAAG,eAAY;IACf,GAAG,cAAW;IACd,GAAG,aAAU;IACb,GAAG,cAAW;IACd,GAAG,WAAQ;IACX,GAAG,YAAS;IACZ,GAAG,YAAS;IACZ,GAAG,YAAS;IACZ,GAAG,aAAU;IACb,GAAG,iBAAa;IAChB,GAAG,kBAAe;IAClB,GAAG,iBAAc;IACjB,GAAG,kBAAe;IAClB,GAAG,YAAS;IACZ,GAAG,WAAQ;IACX,GAAG,aAAU;IACb,GAAG,aAAU;IACb,GAAG,YAAS;CACb,CAAC;AAEW,QAAA,QAAQ,GAAc;IACjC,GAAG,iBAAc;IACjB,GAAG,uBAAmB;IACtB,GAAG,iBAAc;IACjB,GAAG,mBAAgB;IACnB,GAAG,mBAAgB;IACnB,GAAG,iBAAc;IACjB,GAAG,gBAAa;IAChB,GAAG,kBAAe;IAClB,GAAG,eAAY;IACf,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,iBAAc;IACjB,GAAG,wBAAoB;IACvB,GAAG,eAAY;IACf,GAAG,iBAAc;IACjB,GAAG,iBAAc;CAClB,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC"}
|
package/src/platforms.d.ts
CHANGED
@@ -23,4 +23,7 @@ export declare const turbosPlatform: Platform;
|
|
23
23
|
export declare const meeiroPlatform: Platform;
|
24
24
|
export declare const nativeStakePlatform: Platform;
|
25
25
|
export declare const saberPlatform: Platform;
|
26
|
+
export declare const jupiterPlatform: Platform;
|
27
|
+
export declare const serumPlatform: Platform;
|
28
|
+
export declare const openbookPlatform: Platform;
|
26
29
|
export declare const morphoPlatform: Platform;
|
package/src/platforms.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.morphoPlatform = exports.saberPlatform = exports.nativeStakePlatform = exports.meeiroPlatform = exports.turbosPlatform = exports.cetusPlatform = exports.mangoPlatform = exports.driftPlatform = exports.meteoraPlatform = exports.orcaPlatform = exports.solendPlatform = exports.raydiumPlatform = exports.animeswapPlatform = exports.dittoPlatform = exports.liquidswapPlatform = exports.pancakeswapPlatform = exports.auxExchangePlatform = exports.tortugaPlatform = exports.thalaPlatform = exports.tensorPlatform = exports.marginfiPlatform = exports.aavePlatform = exports.marinadePlatform = exports.walletNftsPlatform = exports.walletTokensPlatform = void 0;
|
3
|
+
exports.morphoPlatform = exports.openbookPlatform = exports.serumPlatform = exports.jupiterPlatform = exports.saberPlatform = exports.nativeStakePlatform = exports.meeiroPlatform = exports.turbosPlatform = exports.cetusPlatform = exports.mangoPlatform = exports.driftPlatform = exports.meteoraPlatform = exports.orcaPlatform = exports.solendPlatform = exports.raydiumPlatform = exports.animeswapPlatform = exports.dittoPlatform = exports.liquidswapPlatform = exports.pancakeswapPlatform = exports.auxExchangePlatform = exports.tortugaPlatform = exports.thalaPlatform = exports.tensorPlatform = exports.marginfiPlatform = exports.aavePlatform = exports.marinadePlatform = exports.walletNftsPlatform = exports.walletTokensPlatform = void 0;
|
4
4
|
exports.walletTokensPlatform = {
|
5
5
|
id: 'wallet-tokens',
|
6
6
|
name: 'Tokens',
|
@@ -121,6 +121,21 @@ exports.saberPlatform = {
|
|
121
121
|
name: 'Saber',
|
122
122
|
image: 'https://alpha.sonar.watch/img/platforms/saber.png',
|
123
123
|
};
|
124
|
+
exports.jupiterPlatform = {
|
125
|
+
id: 'jupiter',
|
126
|
+
name: 'Jupiter',
|
127
|
+
image: 'https://alpha.sonar.watch/img/platforms/jupiter.png',
|
128
|
+
};
|
129
|
+
exports.serumPlatform = {
|
130
|
+
id: 'serum',
|
131
|
+
name: 'Serum',
|
132
|
+
image: 'https://alpha.sonar.watch/img/platforms/serum.png',
|
133
|
+
};
|
134
|
+
exports.openbookPlatform = {
|
135
|
+
id: 'openbook',
|
136
|
+
name: 'OpenBook',
|
137
|
+
image: 'https://alpha.sonar.watch/img/platforms/openbook.png',
|
138
|
+
};
|
124
139
|
exports.morphoPlatform = {
|
125
140
|
id: 'morpho',
|
126
141
|
name: 'Morpho',
|
package/src/platforms.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platforms.js","sourceRoot":"","sources":["../../../../packages/plugins/src/platforms.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAa;IAC5C,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,2DAA2D;CACnE,CAAC;AACW,QAAA,kBAAkB,GAAa;IAC1C,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,yDAAyD;CACjE,CAAC;AACW,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,sDAAsD;CAC9D,CAAC;AACW,QAAA,YAAY,GAAa;IACpC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,kDAAkD;CAC1D,CAAC;AACW,QAAA,gBAAgB,GAAa;IACxC,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,sDAAsD;CAC9D,CAAC;AACW,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,oDAAoD;CAC5D,CAAC;AACW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,mDAAmD;CAC3D,CAAC;AACW,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,qDAAqD;CAC7D,CAAC;AACW,QAAA,mBAAmB,GAAa;IAC3C,EAAE,EAA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AAc,GAAa;IACtC,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,oDAAoD;CAC5D,CAAC"}
|
@@ -0,0 +1,256 @@
|
|
1
|
+
export declare const potAbi: readonly [{
|
2
|
+
readonly inputs: readonly [{
|
3
|
+
readonly internalType: "address";
|
4
|
+
readonly name: "vat_";
|
5
|
+
readonly type: "address";
|
6
|
+
}];
|
7
|
+
readonly payable: false;
|
8
|
+
readonly stateMutability: "nonpayable";
|
9
|
+
readonly type: "constructor";
|
10
|
+
}, {
|
11
|
+
readonly anonymous: true;
|
12
|
+
readonly inputs: readonly [{
|
13
|
+
readonly indexed: true;
|
14
|
+
readonly internalType: "bytes4";
|
15
|
+
readonly name: "sig";
|
16
|
+
readonly type: "bytes4";
|
17
|
+
}, {
|
18
|
+
readonly indexed: true;
|
19
|
+
readonly internalType: "address";
|
20
|
+
readonly name: "usr";
|
21
|
+
readonly type: "address";
|
22
|
+
}, {
|
23
|
+
readonly indexed: true;
|
24
|
+
readonly internalType: "bytes32";
|
25
|
+
readonly name: "arg1";
|
26
|
+
readonly type: "bytes32";
|
27
|
+
}, {
|
28
|
+
readonly indexed: true;
|
29
|
+
readonly internalType: "bytes32";
|
30
|
+
readonly name: "arg2";
|
31
|
+
readonly type: "bytes32";
|
32
|
+
}, {
|
33
|
+
readonly indexed: false;
|
34
|
+
readonly internalType: "bytes";
|
35
|
+
readonly name: "data";
|
36
|
+
readonly type: "bytes";
|
37
|
+
}];
|
38
|
+
readonly name: "LogNote";
|
39
|
+
readonly type: "event";
|
40
|
+
}, {
|
41
|
+
readonly constant: true;
|
42
|
+
readonly inputs: readonly [];
|
43
|
+
readonly name: "Pie";
|
44
|
+
readonly outputs: readonly [{
|
45
|
+
readonly internalType: "uint256";
|
46
|
+
readonly name: "";
|
47
|
+
readonly type: "uint256";
|
48
|
+
}];
|
49
|
+
readonly payable: false;
|
50
|
+
readonly stateMutability: "view";
|
51
|
+
readonly type: "function";
|
52
|
+
}, {
|
53
|
+
readonly constant: false;
|
54
|
+
readonly inputs: readonly [];
|
55
|
+
readonly name: "cage";
|
56
|
+
readonly outputs: readonly [];
|
57
|
+
readonly payable: false;
|
58
|
+
readonly stateMutability: "nonpayable";
|
59
|
+
readonly type: "function";
|
60
|
+
}, {
|
61
|
+
readonly constant: true;
|
62
|
+
readonly inputs: readonly [];
|
63
|
+
readonly name: "chi";
|
64
|
+
readonly outputs: readonly [{
|
65
|
+
readonly internalType: "uint256";
|
66
|
+
readonly name: "";
|
67
|
+
readonly type: "uint256";
|
68
|
+
}];
|
69
|
+
readonly payable: false;
|
70
|
+
readonly stateMutability: "view";
|
71
|
+
readonly type: "function";
|
72
|
+
}, {
|
73
|
+
readonly constant: false;
|
74
|
+
readonly inputs: readonly [{
|
75
|
+
readonly internalType: "address";
|
76
|
+
readonly name: "guy";
|
77
|
+
readonly type: "address";
|
78
|
+
}];
|
79
|
+
readonly name: "deny";
|
80
|
+
readonly outputs: readonly [];
|
81
|
+
readonly payable: false;
|
82
|
+
readonly stateMutability: "nonpayable";
|
83
|
+
readonly type: "function";
|
84
|
+
}, {
|
85
|
+
readonly constant: false;
|
86
|
+
readonly inputs: readonly [];
|
87
|
+
readonly name: "drip";
|
88
|
+
readonly outputs: readonly [{
|
89
|
+
readonly internalType: "uint256";
|
90
|
+
readonly name: "tmp";
|
91
|
+
readonly type: "uint256";
|
92
|
+
}];
|
93
|
+
readonly payable: false;
|
94
|
+
readonly stateMutability: "nonpayable";
|
95
|
+
readonly type: "function";
|
96
|
+
}, {
|
97
|
+
readonly constant: true;
|
98
|
+
readonly inputs: readonly [];
|
99
|
+
readonly name: "dsr";
|
100
|
+
readonly outputs: readonly [{
|
101
|
+
readonly internalType: "uint256";
|
102
|
+
readonly name: "";
|
103
|
+
readonly type: "uint256";
|
104
|
+
}];
|
105
|
+
readonly payable: false;
|
106
|
+
readonly stateMutability: "view";
|
107
|
+
readonly type: "function";
|
108
|
+
}, {
|
109
|
+
readonly constant: false;
|
110
|
+
readonly inputs: readonly [{
|
111
|
+
readonly internalType: "uint256";
|
112
|
+
readonly name: "wad";
|
113
|
+
readonly type: "uint256";
|
114
|
+
}];
|
115
|
+
readonly name: "exit";
|
116
|
+
readonly outputs: readonly [];
|
117
|
+
readonly payable: false;
|
118
|
+
readonly stateMutability: "nonpayable";
|
119
|
+
readonly type: "function";
|
120
|
+
}, {
|
121
|
+
readonly constant: false;
|
122
|
+
readonly inputs: readonly [{
|
123
|
+
readonly internalType: "bytes32";
|
124
|
+
readonly name: "what";
|
125
|
+
readonly type: "bytes32";
|
126
|
+
}, {
|
127
|
+
readonly internalType: "uint256";
|
128
|
+
readonly name: "data";
|
129
|
+
readonly type: "uint256";
|
130
|
+
}];
|
131
|
+
readonly name: "file";
|
132
|
+
readonly outputs: readonly [];
|
133
|
+
readonly payable: false;
|
134
|
+
readonly stateMutability: "nonpayable";
|
135
|
+
readonly type: "function";
|
136
|
+
}, {
|
137
|
+
readonly constant: false;
|
138
|
+
readonly inputs: readonly [{
|
139
|
+
readonly internalType: "bytes32";
|
140
|
+
readonly name: "what";
|
141
|
+
readonly type: "bytes32";
|
142
|
+
}, {
|
143
|
+
readonly internalType: "address";
|
144
|
+
readonly name: "addr";
|
145
|
+
readonly type: "address";
|
146
|
+
}];
|
147
|
+
readonly name: "file";
|
148
|
+
readonly outputs: readonly [];
|
149
|
+
readonly payable: false;
|
150
|
+
readonly stateMutability: "nonpayable";
|
151
|
+
readonly type: "function";
|
152
|
+
}, {
|
153
|
+
readonly constant: false;
|
154
|
+
readonly inputs: readonly [{
|
155
|
+
readonly internalType: "uint256";
|
156
|
+
readonly name: "wad";
|
157
|
+
readonly type: "uint256";
|
158
|
+
}];
|
159
|
+
readonly name: "join";
|
160
|
+
readonly outputs: readonly [];
|
161
|
+
readonly payable: false;
|
162
|
+
readonly stateMutability: "nonpayable";
|
163
|
+
readonly type: "function";
|
164
|
+
}, {
|
165
|
+
readonly constant: true;
|
166
|
+
readonly inputs: readonly [];
|
167
|
+
readonly name: "live";
|
168
|
+
readonly outputs: readonly [{
|
169
|
+
readonly internalType: "uint256";
|
170
|
+
readonly name: "";
|
171
|
+
readonly type: "uint256";
|
172
|
+
}];
|
173
|
+
readonly payable: false;
|
174
|
+
readonly stateMutability: "view";
|
175
|
+
readonly type: "function";
|
176
|
+
}, {
|
177
|
+
readonly constant: true;
|
178
|
+
readonly inputs: readonly [{
|
179
|
+
readonly internalType: "address";
|
180
|
+
readonly name: "";
|
181
|
+
readonly type: "address";
|
182
|
+
}];
|
183
|
+
readonly name: "pie";
|
184
|
+
readonly outputs: readonly [{
|
185
|
+
readonly internalType: "uint256";
|
186
|
+
readonly name: "";
|
187
|
+
readonly type: "uint256";
|
188
|
+
}];
|
189
|
+
readonly payable: false;
|
190
|
+
readonly stateMutability: "view";
|
191
|
+
readonly type: "function";
|
192
|
+
}, {
|
193
|
+
readonly constant: false;
|
194
|
+
readonly inputs: readonly [{
|
195
|
+
readonly internalType: "address";
|
196
|
+
readonly name: "guy";
|
197
|
+
readonly type: "address";
|
198
|
+
}];
|
199
|
+
readonly name: "rely";
|
200
|
+
readonly outputs: readonly [];
|
201
|
+
readonly payable: false;
|
202
|
+
readonly stateMutability: "nonpayable";
|
203
|
+
readonly type: "function";
|
204
|
+
}, {
|
205
|
+
readonly constant: true;
|
206
|
+
readonly inputs: readonly [];
|
207
|
+
readonly name: "rho";
|
208
|
+
readonly outputs: readonly [{
|
209
|
+
readonly internalType: "uint256";
|
210
|
+
readonly name: "";
|
211
|
+
readonly type: "uint256";
|
212
|
+
}];
|
213
|
+
readonly payable: false;
|
214
|
+
readonly stateMutability: "view";
|
215
|
+
readonly type: "function";
|
216
|
+
}, {
|
217
|
+
readonly constant: true;
|
218
|
+
readonly inputs: readonly [];
|
219
|
+
readonly name: "vat";
|
220
|
+
readonly outputs: readonly [{
|
221
|
+
readonly internalType: "contract VatLike";
|
222
|
+
readonly name: "";
|
223
|
+
readonly type: "address";
|
224
|
+
}];
|
225
|
+
readonly payable: false;
|
226
|
+
readonly stateMutability: "view";
|
227
|
+
readonly type: "function";
|
228
|
+
}, {
|
229
|
+
readonly constant: true;
|
230
|
+
readonly inputs: readonly [];
|
231
|
+
readonly name: "vow";
|
232
|
+
readonly outputs: readonly [{
|
233
|
+
readonly internalType: "address";
|
234
|
+
readonly name: "";
|
235
|
+
readonly type: "address";
|
236
|
+
}];
|
237
|
+
readonly payable: false;
|
238
|
+
readonly stateMutability: "view";
|
239
|
+
readonly type: "function";
|
240
|
+
}, {
|
241
|
+
readonly constant: true;
|
242
|
+
readonly inputs: readonly [{
|
243
|
+
readonly internalType: "address";
|
244
|
+
readonly name: "";
|
245
|
+
readonly type: "address";
|
246
|
+
}];
|
247
|
+
readonly name: "wards";
|
248
|
+
readonly outputs: readonly [{
|
249
|
+
readonly internalType: "uint256";
|
250
|
+
readonly name: "";
|
251
|
+
readonly type: "uint256";
|
252
|
+
}];
|
253
|
+
readonly payable: false;
|
254
|
+
readonly stateMutability: "view";
|
255
|
+
readonly type: "function";
|
256
|
+
}];
|