@triadxyz/triad-protocol 4.0.4 → 4.0.6
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/README.md +99 -12
- package/dist/customer.d.ts +3 -10
- package/dist/customer.js +5 -22
- package/dist/index.d.ts +7 -4
- package/dist/index.js +11 -8
- package/dist/poseidon.d.ts +0 -21
- package/dist/poseidon.js +0 -49
- package/dist/predictor.d.ts +0 -1
- package/dist/stake.d.ts +0 -1
- package/dist/trade.d.ts +0 -1
- package/dist/types/customer.d.ts +0 -6
- package/dist/types/idl_triad_protocol.json +283 -276
- package/dist/types/index.d.ts +2 -1
- package/dist/types/predictor.d.ts +0 -1
- package/dist/types/trade.d.ts +0 -1
- package/dist/types/triad_protocol.d.ts +310 -274
- package/dist/utils/constants.d.ts +0 -3
- package/dist/utils/constants.js +1 -3
- package/dist/utils/pda.d.ts +0 -1
- package/package.json +6 -10
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="@coral-xyz/anchor/node_modules/@solana/web3.js" />
|
|
2
1
|
import { Commitment, PublicKey } from '@solana/web3.js';
|
|
3
2
|
export type RpcOptions = {
|
|
4
3
|
skipPreflight?: boolean;
|
|
@@ -164,6 +163,8 @@ export type CreatePoolArgs = {
|
|
|
164
163
|
question: string;
|
|
165
164
|
}[];
|
|
166
165
|
isFast?: boolean;
|
|
166
|
+
isPyth?: boolean;
|
|
167
|
+
feedId?: PublicKey;
|
|
167
168
|
};
|
|
168
169
|
export type UpdateMarketWinningDirectionArgs = {
|
|
169
170
|
marketId: number;
|
package/dist/types/trade.d.ts
CHANGED