dequanto 0.1.74 → 0.1.78
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/lib/cjs/contracts/deploy/Deployments.js +4 -0
- package/lib/cjs/contracts/deploy/Deployments.js.map +1 -1
- package/lib/cjs/hardhat/HardhatProvider.js +1 -0
- package/lib/cjs/hardhat/HardhatProvider.js.map +1 -1
- package/lib/cjs/safe/GnosisSafeHandler.js +2 -1
- package/lib/cjs/safe/GnosisSafeHandler.js.map +1 -1
- package/lib/cjs/solidity/SlotsStorage.js +3 -6
- package/lib/cjs/solidity/SlotsStorage.js.map +1 -1
- package/lib/cjs/solidity/SolidityParser.js +12 -0
- package/lib/cjs/solidity/SolidityParser.js.map +1 -1
- package/lib/cjs/solidity/storage/SlotsStorageTransport.js +2 -2
- package/lib/cjs/solidity/storage/SlotsStorageTransport.js.map +1 -1
- package/lib/cjs/solidity/storage/handlers/SlotBytesHandler.js +1 -1
- package/lib/cjs/solidity/storage/handlers/SlotBytesHandler.js.map +1 -1
- package/lib/cjs/solidity/storage/handlers/SlotMappingHandler.js +1 -1
- package/lib/cjs/solidity/storage/handlers/SlotMappingHandler.js.map +1 -1
- package/lib/esm/contracts/deploy/Deployments.js.map +1 -1
- package/lib/esm/contracts/deploy/Deployments.mjs +4 -0
- package/lib/esm/hardhat/HardhatProvider.js.map +1 -1
- package/lib/esm/hardhat/HardhatProvider.mjs +1 -0
- package/lib/esm/safe/GnosisSafeHandler.js.map +1 -1
- package/lib/esm/safe/GnosisSafeHandler.mjs +2 -1
- package/lib/esm/solidity/SlotsStorage.js.map +1 -1
- package/lib/esm/solidity/SlotsStorage.mjs +3 -6
- package/lib/esm/solidity/SolidityParser.js.map +1 -1
- package/lib/esm/solidity/SolidityParser.mjs +12 -0
- package/lib/esm/solidity/storage/SlotsStorageTransport.js.map +1 -1
- package/lib/esm/solidity/storage/SlotsStorageTransport.mjs +2 -2
- package/lib/esm/solidity/storage/handlers/SlotBytesHandler.js.map +1 -1
- package/lib/esm/solidity/storage/handlers/SlotBytesHandler.mjs +1 -1
- package/lib/esm/solidity/storage/handlers/SlotMappingHandler.js.map +1 -1
- package/lib/esm/solidity/storage/handlers/SlotMappingHandler.mjs +1 -1
- package/lib/types/solidity/storage/SlotsStorageTransport.d.ts +1 -1
- package/package.json +1 -1
- package/src/contracts/deploy/Deployments.ts +4 -0
- package/src/hardhat/HardhatProvider.ts +1 -0
- package/src/safe/GnosisSafeHandler.ts +2 -1
- package/src/solidity/SlotsStorage.ts +3 -6
- package/src/solidity/SolidityParser.ts +12 -1
- package/src/solidity/storage/SlotsStorageTransport.ts +2 -2
- package/src/solidity/storage/handlers/SlotBytesHandler.ts +1 -1
- package/src/solidity/storage/handlers/SlotMappingHandler.ts +1 -1
- package/0xweb.json +0 -9
- package/package-bundler.json +0 -181
- package/tsconfig-build.json +0 -24
- package/tsconfig-src.json +0 -45
- package/tsconfig.esm.json +0 -12
package/package-bundler.json
DELETED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"apps": {
|
|
3
|
-
"cjs": {
|
|
4
|
-
"file": "**.ts",
|
|
5
|
-
"ignore": [
|
|
6
|
-
"bridges/.+",
|
|
7
|
-
"config/dequanto.d.ts",
|
|
8
|
-
"tokens/TokenSwapService.ts",
|
|
9
|
-
"tokens/defi/paraswap",
|
|
10
|
-
"exp.ts",
|
|
11
|
-
".spec.ts$"
|
|
12
|
-
],
|
|
13
|
-
"combine": [
|
|
14
|
-
"prebuilt/openzeppelin/**.ts"
|
|
15
|
-
],
|
|
16
|
-
"base": "/src/",
|
|
17
|
-
"outputBase": "/lib/cjs",
|
|
18
|
-
"outputExtension": "js",
|
|
19
|
-
"outputSources": "",
|
|
20
|
-
"js": [],
|
|
21
|
-
"extensions": {
|
|
22
|
-
"yml": {
|
|
23
|
-
"type": "js"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"settings": {
|
|
27
|
-
"atma-io-middleware-condcomments": {
|
|
28
|
-
"defines": {
|
|
29
|
-
"CJS": true,
|
|
30
|
-
"ESM": false
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"atma-loader-ts": {
|
|
34
|
-
"sourceMap": true,
|
|
35
|
-
"typescript": {
|
|
36
|
-
"compilerOptions": {
|
|
37
|
-
"paths": {
|
|
38
|
-
"@dequanto/*": [
|
|
39
|
-
"src/*"
|
|
40
|
-
],
|
|
41
|
-
"@dequanto-contracts/*": [
|
|
42
|
-
"src/prebuilt/*"
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
"module": "CommonJS",
|
|
46
|
-
"experimentalDecorators": true,
|
|
47
|
-
"target": "es2021",
|
|
48
|
-
"lib": [
|
|
49
|
-
"dom",
|
|
50
|
-
"es2021"
|
|
51
|
-
],
|
|
52
|
-
"esModuleInterop": true,
|
|
53
|
-
"allowSyntheticDefaultImports": true
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"esm": {
|
|
60
|
-
"file": "**.ts",
|
|
61
|
-
"ignore": [
|
|
62
|
-
"bridges/.+",
|
|
63
|
-
"config/dequanto.d.ts",
|
|
64
|
-
"tokens/TokenSwapService.ts",
|
|
65
|
-
"tokens/defi/paraswap",
|
|
66
|
-
"exp.ts",
|
|
67
|
-
".spec.ts$"
|
|
68
|
-
],
|
|
69
|
-
"combine": [
|
|
70
|
-
"prebuilt/openzeppelin/**.ts"
|
|
71
|
-
],
|
|
72
|
-
"base": "/src/",
|
|
73
|
-
"outputBase": "/lib/esm",
|
|
74
|
-
"outputExtension": "mjs",
|
|
75
|
-
"outputSources": "",
|
|
76
|
-
"js": [],
|
|
77
|
-
"extensions": {
|
|
78
|
-
"yml": {
|
|
79
|
-
"type": "js"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"settings": {
|
|
83
|
-
"atma-io-middleware-condcomments": {
|
|
84
|
-
"defines": {
|
|
85
|
-
"CJS": false,
|
|
86
|
-
"ESM": true
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"atma-loader-ts": {
|
|
90
|
-
"sourceMap": true,
|
|
91
|
-
"typescript": {
|
|
92
|
-
"compilerOptions": {
|
|
93
|
-
"paths": {
|
|
94
|
-
"@dequanto/*": [
|
|
95
|
-
"src/*"
|
|
96
|
-
],
|
|
97
|
-
"@dequanto-contracts/*": [
|
|
98
|
-
"src/prebuilt/*"
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
|
-
"module": "ES2022",
|
|
102
|
-
"experimentalDecorators": true,
|
|
103
|
-
"target": "es2021",
|
|
104
|
-
"lib": [
|
|
105
|
-
"dom",
|
|
106
|
-
"es2021"
|
|
107
|
-
],
|
|
108
|
-
"esModuleInterop": true,
|
|
109
|
-
"allowSyntheticDefaultImports": true
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"common": {
|
|
117
|
-
"defaultExtensions": {
|
|
118
|
-
"js": "ts"
|
|
119
|
-
},
|
|
120
|
-
"options": {
|
|
121
|
-
"include": {
|
|
122
|
-
"amd": true,
|
|
123
|
-
"extensionDefault": {
|
|
124
|
-
"js": "ts"
|
|
125
|
-
},
|
|
126
|
-
"routes": {
|
|
127
|
-
"@dequanto/*": [
|
|
128
|
-
"src/*"
|
|
129
|
-
],
|
|
130
|
-
"@dequanto-contracts/*": [
|
|
131
|
-
"src/prebuilt/*"
|
|
132
|
-
]
|
|
133
|
-
},
|
|
134
|
-
"map": {}
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"dynamicDependencies": [
|
|
138
|
-
"^readline$",
|
|
139
|
-
"^https?$",
|
|
140
|
-
"a-di",
|
|
141
|
-
"atma-io",
|
|
142
|
-
"atma-server",
|
|
143
|
-
"atma-logger",
|
|
144
|
-
"atma-utils",
|
|
145
|
-
"class-json",
|
|
146
|
-
"atma-formatter",
|
|
147
|
-
"appcfg",
|
|
148
|
-
"alot",
|
|
149
|
-
"memd",
|
|
150
|
-
"^@everlog",
|
|
151
|
-
"^@noble",
|
|
152
|
-
"^@scure",
|
|
153
|
-
"^debug$",
|
|
154
|
-
"^hardhat$",
|
|
155
|
-
"^child_process$",
|
|
156
|
-
"^crypto$",
|
|
157
|
-
"^fs$",
|
|
158
|
-
"^os$",
|
|
159
|
-
"^path$",
|
|
160
|
-
"^assert$",
|
|
161
|
-
"^stream$",
|
|
162
|
-
"^ws$",
|
|
163
|
-
"^@solidity-parser",
|
|
164
|
-
"^signal-exit$",
|
|
165
|
-
"^papaparse$"
|
|
166
|
-
],
|
|
167
|
-
"middlewares": {
|
|
168
|
-
"jss": [
|
|
169
|
-
"atma-io-middleware-uglify:write"
|
|
170
|
-
],
|
|
171
|
-
"ts": [
|
|
172
|
-
"atma-io-middleware-condcomments:read",
|
|
173
|
-
"atma-io-middleware-importer:read",
|
|
174
|
-
"atma-loader-ts:read"
|
|
175
|
-
],
|
|
176
|
-
"yml": [
|
|
177
|
-
"atma-io-middleware-yml:read"
|
|
178
|
-
]
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
package/tsconfig-build.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"baseUrl": "./",
|
|
4
|
-
"paths": {
|
|
5
|
-
"@dequanto/*": [ "src/*" ],
|
|
6
|
-
"@dequanto-contracts/*": [ "src/prebuilt/*" ]
|
|
7
|
-
},
|
|
8
|
-
"outDir": "./dist",
|
|
9
|
-
"module": "AMD",
|
|
10
|
-
"moduleResolution": "Node",
|
|
11
|
-
"experimentalDecorators": true,
|
|
12
|
-
"target": "ES2022",
|
|
13
|
-
"lib": ["dom", "ES2022"],
|
|
14
|
-
"esModuleInterop": true,
|
|
15
|
-
"allowSyntheticDefaultImports": true
|
|
16
|
-
},
|
|
17
|
-
"transformers": {
|
|
18
|
-
"before": ["ts-nameof"]
|
|
19
|
-
},
|
|
20
|
-
"exclude": [
|
|
21
|
-
"node_modules",
|
|
22
|
-
"db"
|
|
23
|
-
]
|
|
24
|
-
}
|
package/tsconfig-src.json
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"baseUrl": "./",
|
|
4
|
-
"paths": {
|
|
5
|
-
"@dequanto/*": [ "src/*" ],
|
|
6
|
-
"@dequanto-contracts/*": [ "src/prebuilt/*" ]
|
|
7
|
-
},
|
|
8
|
-
"typeRoots": [
|
|
9
|
-
"node_modules/@types",
|
|
10
|
-
"typings/globals",
|
|
11
|
-
"typings"
|
|
12
|
-
],
|
|
13
|
-
"types": ["node", "assertion", "mocha"],
|
|
14
|
-
|
|
15
|
-
"outDir": "./lib/types",
|
|
16
|
-
"module": "CommonJS",
|
|
17
|
-
"moduleResolution": "node",
|
|
18
|
-
"experimentalDecorators": true,
|
|
19
|
-
"target": "es2021",
|
|
20
|
-
"lib": ["dom", "es2021"],
|
|
21
|
-
"esModuleInterop": true,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"emitDeclarationOnly": true,
|
|
24
|
-
"declaration": true
|
|
25
|
-
},
|
|
26
|
-
"transformers": {
|
|
27
|
-
"before": ["ts-nameof"]
|
|
28
|
-
},
|
|
29
|
-
"include": [
|
|
30
|
-
"src/**/*"
|
|
31
|
-
],
|
|
32
|
-
"exclude": [
|
|
33
|
-
"node_modules",
|
|
34
|
-
"db",
|
|
35
|
-
"test",
|
|
36
|
-
"**/*.spec.ts",
|
|
37
|
-
"**/*.act.ts",
|
|
38
|
-
"src/tokens/TokenSwapService.ts",
|
|
39
|
-
"src/tokens/defi/paraswap/*",
|
|
40
|
-
"src/gen/ContractTemplate.ts",
|
|
41
|
-
"src/gen/ContractStorageReaderTemplate.ts",
|
|
42
|
-
"src/bridges/hop/HopBridge.ts",
|
|
43
|
-
"typings/globals/atma-utest"
|
|
44
|
-
]
|
|
45
|
-
}
|
package/tsconfig.esm.json
DELETED