punkkit-sdk 1.0.2 → 1.0.4
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 +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +3834 -30188
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3789 -30141
- package/dist/index.mjs.map +1 -0
- package/package.json +4 -5
package/dist/index.d.mts
CHANGED
|
@@ -138,7 +138,34 @@ declare function getPoolSqrtPrice(liqPool: Contract): Promise<bigint>;
|
|
|
138
138
|
declare function getPoolPrice(liqPool: Contract): Promise<number>;
|
|
139
139
|
declare function getCurrentTick(liqPool: Contract): Promise<number>;
|
|
140
140
|
|
|
141
|
-
declare const mutiVoucherABI:
|
|
141
|
+
declare const mutiVoucherABI: ({
|
|
142
|
+
anonymous: boolean;
|
|
143
|
+
inputs: {
|
|
144
|
+
indexed: boolean;
|
|
145
|
+
internalType: string;
|
|
146
|
+
name: string;
|
|
147
|
+
type: string;
|
|
148
|
+
}[];
|
|
149
|
+
name: string;
|
|
150
|
+
type: string;
|
|
151
|
+
outputs?: undefined;
|
|
152
|
+
stateMutability?: undefined;
|
|
153
|
+
} | {
|
|
154
|
+
inputs: {
|
|
155
|
+
internalType: string;
|
|
156
|
+
name: string;
|
|
157
|
+
type: string;
|
|
158
|
+
}[];
|
|
159
|
+
name: string;
|
|
160
|
+
outputs: {
|
|
161
|
+
internalType: string;
|
|
162
|
+
name: string;
|
|
163
|
+
type: string;
|
|
164
|
+
}[];
|
|
165
|
+
stateMutability: string;
|
|
166
|
+
type: string;
|
|
167
|
+
anonymous?: undefined;
|
|
168
|
+
})[];
|
|
142
169
|
type SignerOrProvider = Signer | providers.Provider;
|
|
143
170
|
declare function getVoucherContract(contractAddress: string, signerOrProvider: SignerOrProvider): Contract;
|
|
144
171
|
declare function createVoucher(contractAddress: string, signer: Signer, name: string, conversionRate: BigNumberish): Promise<ContractTransaction>;
|
package/dist/index.d.ts
CHANGED
|
@@ -138,7 +138,34 @@ declare function getPoolSqrtPrice(liqPool: Contract): Promise<bigint>;
|
|
|
138
138
|
declare function getPoolPrice(liqPool: Contract): Promise<number>;
|
|
139
139
|
declare function getCurrentTick(liqPool: Contract): Promise<number>;
|
|
140
140
|
|
|
141
|
-
declare const mutiVoucherABI:
|
|
141
|
+
declare const mutiVoucherABI: ({
|
|
142
|
+
anonymous: boolean;
|
|
143
|
+
inputs: {
|
|
144
|
+
indexed: boolean;
|
|
145
|
+
internalType: string;
|
|
146
|
+
name: string;
|
|
147
|
+
type: string;
|
|
148
|
+
}[];
|
|
149
|
+
name: string;
|
|
150
|
+
type: string;
|
|
151
|
+
outputs?: undefined;
|
|
152
|
+
stateMutability?: undefined;
|
|
153
|
+
} | {
|
|
154
|
+
inputs: {
|
|
155
|
+
internalType: string;
|
|
156
|
+
name: string;
|
|
157
|
+
type: string;
|
|
158
|
+
}[];
|
|
159
|
+
name: string;
|
|
160
|
+
outputs: {
|
|
161
|
+
internalType: string;
|
|
162
|
+
name: string;
|
|
163
|
+
type: string;
|
|
164
|
+
}[];
|
|
165
|
+
stateMutability: string;
|
|
166
|
+
type: string;
|
|
167
|
+
anonymous?: undefined;
|
|
168
|
+
})[];
|
|
142
169
|
type SignerOrProvider = Signer | providers.Provider;
|
|
143
170
|
declare function getVoucherContract(contractAddress: string, signerOrProvider: SignerOrProvider): Contract;
|
|
144
171
|
declare function createVoucher(contractAddress: string, signer: Signer, name: string, conversionRate: BigNumberish): Promise<ContractTransaction>;
|