@mistcash/config 0.2.0 → 0.2.2
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/dist/index.d.mts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +35 -144
- package/dist/index.mjs +35 -144
- package/jest.config.js +1 -1
- package/package.json +9 -9
- package/src/contracts.ts +33 -1
- package/src/withdraw.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypedContractV2 } from 'starknet';
|
|
2
2
|
|
|
3
|
-
declare const CHAMBER_ADDR_MAINNET
|
|
3
|
+
declare const CHAMBER_ADDR_MAINNET: `0x${string}`;
|
|
4
4
|
declare const CHAMBER_ABI: readonly [{
|
|
5
5
|
readonly type: "impl";
|
|
6
6
|
readonly name: "UpgradeableImpl";
|
|
@@ -138,6 +138,28 @@ declare const CHAMBER_ABI: readonly [{
|
|
|
138
138
|
readonly type: "core::integer::u256";
|
|
139
139
|
}];
|
|
140
140
|
readonly state_mutability: "view";
|
|
141
|
+
}, {
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
readonly name: "merkle_proof";
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly name: "index";
|
|
146
|
+
readonly type: "core::integer::u32";
|
|
147
|
+
}];
|
|
148
|
+
readonly outputs: readonly [{
|
|
149
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
150
|
+
}];
|
|
151
|
+
readonly state_mutability: "external";
|
|
152
|
+
}, {
|
|
153
|
+
readonly type: "function";
|
|
154
|
+
readonly name: "merkle_leaves";
|
|
155
|
+
readonly inputs: readonly [{
|
|
156
|
+
readonly name: "height";
|
|
157
|
+
readonly type: "core::integer::u32";
|
|
158
|
+
}];
|
|
159
|
+
readonly outputs: readonly [{
|
|
160
|
+
readonly type: "core::array::Array::<core::integer::u256>";
|
|
161
|
+
}];
|
|
162
|
+
readonly state_mutability: "external";
|
|
141
163
|
}];
|
|
142
164
|
}, {
|
|
143
165
|
readonly type: "impl";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypedContractV2 } from 'starknet';
|
|
2
2
|
|
|
3
|
-
declare const CHAMBER_ADDR_MAINNET
|
|
3
|
+
declare const CHAMBER_ADDR_MAINNET: `0x${string}`;
|
|
4
4
|
declare const CHAMBER_ABI: readonly [{
|
|
5
5
|
readonly type: "impl";
|
|
6
6
|
readonly name: "UpgradeableImpl";
|
|
@@ -138,6 +138,28 @@ declare const CHAMBER_ABI: readonly [{
|
|
|
138
138
|
readonly type: "core::integer::u256";
|
|
139
139
|
}];
|
|
140
140
|
readonly state_mutability: "view";
|
|
141
|
+
}, {
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
readonly name: "merkle_proof";
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly name: "index";
|
|
146
|
+
readonly type: "core::integer::u32";
|
|
147
|
+
}];
|
|
148
|
+
readonly outputs: readonly [{
|
|
149
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
150
|
+
}];
|
|
151
|
+
readonly state_mutability: "external";
|
|
152
|
+
}, {
|
|
153
|
+
readonly type: "function";
|
|
154
|
+
readonly name: "merkle_leaves";
|
|
155
|
+
readonly inputs: readonly [{
|
|
156
|
+
readonly name: "height";
|
|
157
|
+
readonly type: "core::integer::u32";
|
|
158
|
+
}];
|
|
159
|
+
readonly outputs: readonly [{
|
|
160
|
+
readonly type: "core::array::Array::<core::integer::u256>";
|
|
161
|
+
}];
|
|
162
|
+
readonly state_mutability: "external";
|
|
141
163
|
}];
|
|
142
164
|
}, {
|
|
143
165
|
readonly type: "impl";
|