@ottochain/sdk 2.4.0 → 2.6.0
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/cjs/apps/compute/index.js +33 -0
- package/dist/cjs/apps/compute/state-machines/compute-rule110.js +164 -0
- package/dist/cjs/apps/compute/state-machines/index.js +9 -0
- package/dist/cjs/apps/contracts/index.js +1 -1
- package/dist/cjs/apps/contracts/state-machines/contract-agreement.js +126 -148
- package/dist/cjs/apps/contracts/state-machines/contract-escrow.js +153 -174
- package/dist/cjs/apps/contracts/state-machines/contract-universal.js +46 -58
- package/dist/cjs/apps/corporate/state-machines/corp-board.js +415 -481
- package/dist/cjs/apps/corporate/state-machines/corp-entity.js +368 -440
- package/dist/cjs/apps/corporate/state-machines/corp-securities.js +532 -647
- package/dist/cjs/apps/corporate/state-machines/corp-shareholders.js +499 -603
- package/dist/cjs/apps/governance/index.js +7 -7
- package/dist/cjs/apps/governance/state-machines/dao-multisig.js +170 -209
- package/dist/cjs/apps/governance/state-machines/dao-reputation.js +161 -214
- package/dist/cjs/apps/governance/state-machines/dao-single.js +92 -92
- package/dist/cjs/apps/governance/state-machines/dao-token.js +169 -223
- package/dist/cjs/apps/governance/state-machines/governance-simple.js +185 -217
- package/dist/cjs/apps/governance/state-machines/governance-universal.js +64 -64
- package/dist/cjs/apps/identity/constants.js +16 -24
- package/dist/cjs/apps/identity/index.js +1 -1
- package/dist/cjs/apps/identity/state-machines/identity-agent.js +124 -158
- package/dist/cjs/apps/identity/state-machines/identity-oracle.js +151 -169
- package/dist/cjs/apps/identity/state-machines/identity-registry.js +89 -115
- package/dist/cjs/apps/identity/state-machines/identity-universal.js +51 -57
- package/dist/cjs/apps/index.js +4 -1
- package/dist/cjs/apps/lending/assets.js +41 -17
- package/dist/cjs/apps/lending/credit-scoring.js +4 -4
- package/dist/cjs/apps/lending/eligibility.js +9 -25
- package/dist/cjs/apps/lending/index.js +1 -1
- package/dist/cjs/apps/lending/state-machines/lending-zk-loan.js +177 -156
- package/dist/cjs/apps/markets/index.js +1 -1
- package/dist/cjs/apps/markets/state-machines/market-auction.js +115 -134
- package/dist/cjs/apps/markets/state-machines/market-crowdfund.js +122 -137
- package/dist/cjs/apps/markets/state-machines/market-group-buy.js +158 -177
- package/dist/cjs/apps/markets/state-machines/market-prediction.js +193 -227
- package/dist/cjs/apps/markets/state-machines/market-universal.js +65 -80
- package/dist/cjs/apps/oracles/index.js +1 -1
- package/dist/cjs/apps/privacy/index.js +67 -0
- package/dist/cjs/apps/privacy/state-machines/index.js +17 -0
- package/dist/cjs/apps/privacy/state-machines/mixer-ddhRing.js +286 -0
- package/dist/cjs/apps/privacy/state-machines/note-pool.js +476 -0
- package/dist/cjs/apps/staked-pool/assets.js +103 -0
- package/dist/cjs/apps/staked-pool/base.js +498 -0
- package/dist/cjs/apps/staked-pool/consumer.js +55 -0
- package/dist/cjs/apps/staked-pool/index.js +83 -0
- package/dist/cjs/apps/staked-pool/state-machines/index.js +12 -0
- package/dist/cjs/apps/staked-pool/state-machines/staked-pool-base.js +49 -0
- package/dist/cjs/apps/staked-pool/state-machines/staked-pool-oracle.js +131 -0
- package/dist/cjs/generated/google/protobuf/struct.js +1 -1
- package/dist/cjs/generated/google/protobuf/timestamp.js +1 -1
- package/dist/cjs/generated/ottochain/apps/contracts/v1/contract.js +1 -1
- package/dist/cjs/generated/ottochain/apps/corporate/v1/corporate.js +1 -1
- package/dist/cjs/generated/ottochain/apps/governance/v1/governance.js +1 -1
- package/dist/cjs/generated/ottochain/apps/identity/v1/attestation.js +1 -1
- package/dist/cjs/generated/ottochain/apps/identity/v1/identity.js +1 -1
- package/dist/cjs/generated/ottochain/apps/markets/v1/market.js +1 -1
- package/dist/cjs/generated/ottochain/v1/common.js +1 -1
- package/dist/cjs/generated/ottochain/v1/fiber.js +40 -2
- package/dist/cjs/generated/ottochain/v1/messages.js +1 -1
- package/dist/cjs/generated/ottochain/v1/records.js +1 -1
- package/dist/cjs/index.js +21 -3
- package/dist/cjs/ottochain/genesis-manifest.js +6 -0
- package/dist/cjs/ottochain/metagraph-client.js +63 -11
- package/dist/cjs/ottochain/snapshot.js +2 -4
- package/dist/cjs/ottochain/transaction.js +10 -0
- package/dist/cjs/privacy/sealed-bid.js +85 -82
- package/dist/cjs/privacy/shield-app.js +32 -32
- package/dist/cjs/schema/effects.js +145 -1
- package/dist/cjs/schema/fiber-app.js +139 -5
- package/dist/cjs/schema/guard-lint.js +3 -12
- package/dist/cjs/schema/guards.js +38 -38
- package/dist/cjs/templates/asset-policy.js +190 -0
- package/dist/cjs/templates/index.js +86 -0
- package/dist/cjs/templates/machine.js +130 -0
- package/dist/cjs/templates/migration.js +39 -0
- package/dist/cjs/templates/state-shape.js +38 -0
- package/dist/cjs/validation.js +1 -3
- package/dist/esm/apps/compute/index.js +29 -0
- package/dist/esm/apps/compute/state-machines/compute-rule110.js +161 -0
- package/dist/esm/apps/compute/state-machines/index.js +5 -0
- package/dist/esm/apps/contracts/index.js +4 -4
- package/dist/esm/apps/contracts/state-machines/contract-agreement.js +128 -150
- package/dist/esm/apps/contracts/state-machines/contract-escrow.js +155 -176
- package/dist/esm/apps/contracts/state-machines/contract-universal.js +47 -59
- package/dist/esm/apps/corporate/index.js +2 -2
- package/dist/esm/apps/corporate/state-machines/corp-board.js +418 -484
- package/dist/esm/apps/corporate/state-machines/corp-entity.js +371 -443
- package/dist/esm/apps/corporate/state-machines/corp-securities.js +535 -650
- package/dist/esm/apps/corporate/state-machines/corp-shareholders.js +502 -606
- package/dist/esm/apps/governance/index.js +10 -10
- package/dist/esm/apps/governance/state-machines/dao-multisig.js +172 -211
- package/dist/esm/apps/governance/state-machines/dao-reputation.js +163 -216
- package/dist/esm/apps/governance/state-machines/dao-single.js +94 -94
- package/dist/esm/apps/governance/state-machines/dao-token.js +171 -225
- package/dist/esm/apps/governance/state-machines/governance-simple.js +187 -219
- package/dist/esm/apps/governance/state-machines/governance-universal.js +65 -65
- package/dist/esm/apps/identity/constants.js +18 -26
- package/dist/esm/apps/identity/index.js +8 -8
- package/dist/esm/apps/identity/state-machines/identity-agent.js +125 -159
- package/dist/esm/apps/identity/state-machines/identity-oracle.js +153 -171
- package/dist/esm/apps/identity/state-machines/identity-registry.js +91 -117
- package/dist/esm/apps/identity/state-machines/identity-universal.js +52 -58
- package/dist/esm/apps/index.js +9 -6
- package/dist/esm/apps/lending/assets.js +41 -17
- package/dist/esm/apps/lending/credit-scoring.js +6 -6
- package/dist/esm/apps/lending/eligibility.js +10 -26
- package/dist/esm/apps/lending/index.js +5 -5
- package/dist/esm/apps/lending/state-machines/lending-zk-loan.js +178 -157
- package/dist/esm/apps/markets/index.js +5 -5
- package/dist/esm/apps/markets/state-machines/market-auction.js +117 -136
- package/dist/esm/apps/markets/state-machines/market-crowdfund.js +124 -139
- package/dist/esm/apps/markets/state-machines/market-group-buy.js +160 -179
- package/dist/esm/apps/markets/state-machines/market-prediction.js +195 -229
- package/dist/esm/apps/markets/state-machines/market-universal.js +66 -81
- package/dist/esm/apps/oracles/index.js +3 -3
- package/dist/esm/apps/privacy/index.js +56 -0
- package/dist/esm/apps/privacy/state-machines/index.js +6 -0
- package/dist/esm/apps/privacy/state-machines/mixer-ddhRing.js +282 -0
- package/dist/esm/apps/privacy/state-machines/note-pool.js +470 -0
- package/dist/esm/apps/staked-pool/assets.js +91 -0
- package/dist/esm/apps/staked-pool/base.js +493 -0
- package/dist/esm/apps/staked-pool/consumer.js +49 -0
- package/dist/esm/apps/staked-pool/index.js +60 -0
- package/dist/esm/apps/staked-pool/state-machines/index.js +6 -0
- package/dist/esm/apps/staked-pool/state-machines/staked-pool-base.js +46 -0
- package/dist/esm/apps/staked-pool/state-machines/staked-pool-oracle.js +127 -0
- package/dist/esm/generated/google/protobuf/struct.js +1 -1
- package/dist/esm/generated/google/protobuf/timestamp.js +1 -1
- package/dist/esm/generated/ottochain/apps/contracts/v1/contract.js +1 -1
- package/dist/esm/generated/ottochain/apps/corporate/v1/corporate.js +1 -1
- package/dist/esm/generated/ottochain/apps/governance/v1/governance.js +1 -1
- package/dist/esm/generated/ottochain/apps/identity/v1/attestation.js +1 -1
- package/dist/esm/generated/ottochain/apps/identity/v1/identity.js +1 -1
- package/dist/esm/generated/ottochain/apps/markets/v1/market.js +1 -1
- package/dist/esm/generated/ottochain/v1/common.js +1 -1
- package/dist/esm/generated/ottochain/v1/fiber.js +40 -2
- package/dist/esm/generated/ottochain/v1/messages.js +1 -1
- package/dist/esm/generated/ottochain/v1/records.js +1 -1
- package/dist/esm/index.js +10 -4
- package/dist/esm/ottochain/genesis-manifest.js +6 -0
- package/dist/esm/ottochain/metagraph-client.js +63 -11
- package/dist/esm/ottochain/snapshot.js +2 -4
- package/dist/esm/ottochain/transaction.js +8 -0
- package/dist/esm/privacy/index.js +2 -2
- package/dist/esm/privacy/sealed-bid.js +87 -84
- package/dist/esm/privacy/shield-app.js +33 -33
- package/dist/esm/schema/effects.js +137 -0
- package/dist/esm/schema/fiber-app.js +134 -5
- package/dist/esm/schema/guard-lint.js +3 -12
- package/dist/esm/schema/guards.js +36 -37
- package/dist/esm/templates/asset-policy.js +182 -0
- package/dist/esm/templates/index.js +41 -0
- package/dist/esm/templates/machine.js +125 -0
- package/dist/esm/templates/migration.js +34 -0
- package/dist/esm/templates/state-shape.js +34 -0
- package/dist/esm/validation.js +1 -3
- package/dist/esm/zk/index.js +4 -4
- package/dist/types/apps/compute/index.d.ts +176 -0
- package/dist/types/apps/compute/state-machines/compute-rule110.d.ts +157 -0
- package/dist/types/apps/compute/state-machines/index.d.ts +5 -0
- package/dist/types/apps/contracts/index.d.ts +14 -14
- package/dist/types/apps/contracts/state-machines/contract-agreement.d.ts +3 -3
- package/dist/types/apps/contracts/state-machines/contract-escrow.d.ts +3 -3
- package/dist/types/apps/contracts/state-machines/contract-universal.d.ts +4 -4
- package/dist/types/apps/corporate/index.d.ts +162 -162
- package/dist/types/apps/corporate/state-machines/corp-board.d.ts +88 -88
- package/dist/types/apps/corporate/state-machines/corp-entity.d.ts +14 -14
- package/dist/types/apps/corporate/state-machines/corp-securities.d.ts +18 -18
- package/dist/types/apps/corporate/state-machines/corp-shareholders.d.ts +43 -43
- package/dist/types/apps/governance/index.d.ts +81 -81
- package/dist/types/apps/governance/state-machines/dao-multisig.d.ts +16 -16
- package/dist/types/apps/governance/state-machines/dao-reputation.d.ts +22 -22
- package/dist/types/apps/governance/state-machines/dao-token.d.ts +21 -21
- package/dist/types/apps/governance/state-machines/governance-simple.d.ts +11 -11
- package/dist/types/apps/governance/state-machines/governance-universal.d.ts +4 -4
- package/dist/types/apps/identity/constants.d.ts +2 -2
- package/dist/types/apps/identity/index.d.ts +70 -70
- package/dist/types/apps/identity/state-machines/identity-agent.d.ts +23 -23
- package/dist/types/apps/identity/state-machines/identity-oracle.d.ts +11 -11
- package/dist/types/apps/identity/state-machines/identity-registry.d.ts +27 -27
- package/dist/types/apps/identity/state-machines/identity-universal.d.ts +4 -4
- package/dist/types/apps/index.d.ts +9 -6
- package/dist/types/apps/lending/assets.d.ts +2 -2
- package/dist/types/apps/lending/credit-scoring.d.ts +5 -5
- package/dist/types/apps/lending/eligibility.d.ts +2 -2
- package/dist/types/apps/lending/index.d.ts +20 -12
- package/dist/types/apps/lending/state-machines/lending-zk-loan.d.ts +15 -7
- package/dist/types/apps/markets/index.d.ts +76 -76
- package/dist/types/apps/markets/state-machines/market-auction.d.ts +12 -12
- package/dist/types/apps/markets/state-machines/market-crowdfund.d.ts +19 -19
- package/dist/types/apps/markets/state-machines/market-group-buy.d.ts +18 -18
- package/dist/types/apps/markets/state-machines/market-prediction.d.ts +15 -15
- package/dist/types/apps/markets/state-machines/market-universal.d.ts +7 -7
- package/dist/types/apps/oracles/index.d.ts +1 -1
- package/dist/types/apps/privacy/index.d.ts +328 -0
- package/dist/types/apps/privacy/state-machines/index.d.ts +6 -0
- package/dist/types/apps/privacy/state-machines/mixer-ddhRing.d.ts +337 -0
- package/dist/types/apps/privacy/state-machines/note-pool.d.ts +196 -0
- package/dist/types/apps/staked-pool/assets.d.ts +53 -0
- package/dist/types/apps/staked-pool/base.d.ts +80 -0
- package/dist/types/apps/staked-pool/consumer.d.ts +29 -0
- package/dist/types/apps/staked-pool/index.d.ts +51 -0
- package/dist/types/apps/staked-pool/state-machines/index.d.ts +6 -0
- package/dist/types/apps/staked-pool/state-machines/staked-pool-base.d.ts +8 -0
- package/dist/types/apps/staked-pool/state-machines/staked-pool-oracle.d.ts +34 -0
- package/dist/types/generated/openapi.d.ts +13 -0
- package/dist/types/generated/ottochain/v1/fiber.d.ts +7 -0
- package/dist/types/index.d.ts +3 -3
- package/dist/types/openapi.d.ts +4 -2
- package/dist/types/ottochain/genesis-manifest.d.ts +6 -0
- package/dist/types/ottochain/index.d.ts +1 -1
- package/dist/types/ottochain/metagraph-client.d.ts +69 -15
- package/dist/types/ottochain/transaction.d.ts +9 -1
- package/dist/types/ottochain/types.d.ts +1 -1
- package/dist/types/privacy/index.d.ts +2 -2
- package/dist/types/privacy/sealed-bid.d.ts +9 -9
- package/dist/types/privacy/shield-app.d.ts +1 -1
- package/dist/types/schema/effects.d.ts +132 -0
- package/dist/types/schema/fiber-app.d.ts +281 -0
- package/dist/types/schema/guards.d.ts +12 -0
- package/dist/types/templates/asset-policy.d.ts +119 -0
- package/dist/types/templates/index.d.ts +26 -0
- package/dist/types/templates/machine.d.ts +139 -0
- package/dist/types/templates/migration.d.ts +34 -0
- package/dist/types/templates/state-shape.d.ts +30 -0
- package/dist/types/zk/index.d.ts +4 -4
- package/package.json +31 -13
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
*
|
|
20
20
|
* @packageDocumentation
|
|
21
21
|
*/
|
|
22
|
-
export { Type, State, Commitment, Resolution, Market, CreateMarketRequest, CommitToMarketRequest, SubmitResolutionRequest, CancelMarketRequest, MarketDefinition, typeFromJSON, typeToJSON, stateFromJSON, stateToJSON, } from
|
|
23
|
-
export { Type as MarketType, State as MarketState, typeFromJSON as marketTypeFromJSON, typeToJSON as marketTypeToJSON, stateFromJSON as marketStateFromJSON, stateToJSON as marketStateToJSON, } from
|
|
24
|
-
import { marketUniversalDef, marketPredictionDef, marketAuctionDef, marketCrowdfundDef, marketGroupBuyDef } from
|
|
25
|
-
import type { FiberAppDefinition } from
|
|
26
|
-
export { marketUniversalDef, marketPredictionDef, marketAuctionDef, marketCrowdfundDef, marketGroupBuyDef
|
|
22
|
+
export { Type, State, Commitment, Resolution, Market, CreateMarketRequest, CommitToMarketRequest, SubmitResolutionRequest, CancelMarketRequest, MarketDefinition, typeFromJSON, typeToJSON, stateFromJSON, stateToJSON, } from '../../generated/ottochain/apps/markets/v1/market.js';
|
|
23
|
+
export { Type as MarketType, State as MarketState, typeFromJSON as marketTypeFromJSON, typeToJSON as marketTypeToJSON, stateFromJSON as marketStateFromJSON, stateToJSON as marketStateToJSON, } from '../../generated/ottochain/apps/markets/v1/market.js';
|
|
24
|
+
import { marketUniversalDef, marketPredictionDef, marketAuctionDef, marketCrowdfundDef, marketGroupBuyDef } from './state-machines/index.js';
|
|
25
|
+
import type { FiberAppDefinition } from '../../schema/fiber-app.js';
|
|
26
|
+
export { marketUniversalDef, marketPredictionDef, marketAuctionDef, marketCrowdfundDef, marketGroupBuyDef };
|
|
27
27
|
/** All market state machine definitions */
|
|
28
28
|
export declare const MARKETS_DEFINITIONS: {
|
|
29
29
|
readonly universal: {
|
|
@@ -124,7 +124,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
124
124
|
readonly to: "OPEN";
|
|
125
125
|
readonly eventName: "open";
|
|
126
126
|
readonly guard: {
|
|
127
|
-
readonly
|
|
127
|
+
readonly '==': readonly [1, 1];
|
|
128
128
|
};
|
|
129
129
|
readonly effect: {
|
|
130
130
|
readonly merge: readonly [{
|
|
@@ -142,7 +142,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
142
142
|
readonly to: "CANCELLED";
|
|
143
143
|
readonly eventName: "cancel";
|
|
144
144
|
readonly guard: {
|
|
145
|
-
readonly
|
|
145
|
+
readonly '==': readonly [1, 1];
|
|
146
146
|
};
|
|
147
147
|
readonly effect: {
|
|
148
148
|
readonly merge: readonly [{
|
|
@@ -160,7 +160,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
160
160
|
readonly to: "OPEN";
|
|
161
161
|
readonly eventName: "commit";
|
|
162
162
|
readonly guard: {
|
|
163
|
-
readonly
|
|
163
|
+
readonly '>': readonly [{
|
|
164
164
|
readonly var: "event.amount";
|
|
165
165
|
}, 0];
|
|
166
166
|
};
|
|
@@ -169,7 +169,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
169
169
|
readonly var: "state";
|
|
170
170
|
}, {
|
|
171
171
|
readonly totalCommitted: {
|
|
172
|
-
readonly
|
|
172
|
+
readonly '+': readonly [{
|
|
173
173
|
readonly var: "state.totalCommitted";
|
|
174
174
|
}, {
|
|
175
175
|
readonly var: "event.amount";
|
|
@@ -183,7 +183,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
183
183
|
readonly to: "CLOSED";
|
|
184
184
|
readonly eventName: "close";
|
|
185
185
|
readonly guard: {
|
|
186
|
-
readonly
|
|
186
|
+
readonly '==': readonly [1, 1];
|
|
187
187
|
};
|
|
188
188
|
readonly effect: {
|
|
189
189
|
readonly merge: readonly [{
|
|
@@ -201,7 +201,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
201
201
|
readonly to: "SETTLED";
|
|
202
202
|
readonly eventName: "settle";
|
|
203
203
|
readonly guard: {
|
|
204
|
-
readonly
|
|
204
|
+
readonly '==': readonly [1, 1];
|
|
205
205
|
};
|
|
206
206
|
readonly effect: {
|
|
207
207
|
readonly merge: readonly [{
|
|
@@ -219,7 +219,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
219
219
|
readonly to: "CANCELLED";
|
|
220
220
|
readonly eventName: "cancel";
|
|
221
221
|
readonly guard: {
|
|
222
|
-
readonly
|
|
222
|
+
readonly '==': readonly [1, 1];
|
|
223
223
|
};
|
|
224
224
|
readonly effect: {
|
|
225
225
|
readonly merge: readonly [{
|
|
@@ -528,7 +528,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
528
528
|
readonly eventName: "take_position";
|
|
529
529
|
readonly guard: {
|
|
530
530
|
readonly and: readonly [{
|
|
531
|
-
readonly
|
|
531
|
+
readonly '>': readonly [{
|
|
532
532
|
readonly var: "event.amount";
|
|
533
533
|
}, 0];
|
|
534
534
|
}, {
|
|
@@ -539,11 +539,11 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
539
539
|
}];
|
|
540
540
|
}, {
|
|
541
541
|
readonly or: readonly [{
|
|
542
|
-
readonly
|
|
542
|
+
readonly '!': readonly [{
|
|
543
543
|
readonly var: "state.deadline";
|
|
544
544
|
}];
|
|
545
545
|
}, {
|
|
546
|
-
readonly
|
|
546
|
+
readonly '<=': readonly [{
|
|
547
547
|
readonly var: "$ordinal";
|
|
548
548
|
}, {
|
|
549
549
|
readonly var: "state.deadline";
|
|
@@ -569,7 +569,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
569
569
|
}];
|
|
570
570
|
};
|
|
571
571
|
readonly totalPool: {
|
|
572
|
-
readonly
|
|
572
|
+
readonly '+': readonly [{
|
|
573
573
|
readonly var: "state.totalPool";
|
|
574
574
|
}, {
|
|
575
575
|
readonly var: "event.amount";
|
|
@@ -587,7 +587,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
587
587
|
readonly and: readonly [{
|
|
588
588
|
readonly var: "state.deadline";
|
|
589
589
|
}, {
|
|
590
|
-
readonly
|
|
590
|
+
readonly '>=': readonly [{
|
|
591
591
|
readonly var: "$ordinal";
|
|
592
592
|
}, {
|
|
593
593
|
readonly var: "state.deadline";
|
|
@@ -639,7 +639,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
639
639
|
readonly eventName: "submit_resolution";
|
|
640
640
|
readonly guard: {
|
|
641
641
|
readonly and: readonly [import("../../index.js").GuardRule, {
|
|
642
|
-
readonly
|
|
642
|
+
readonly '!': readonly [{
|
|
643
643
|
readonly in: readonly [{
|
|
644
644
|
readonly var: "event.agent";
|
|
645
645
|
}, {
|
|
@@ -683,7 +683,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
683
683
|
readonly eventName: "finalize";
|
|
684
684
|
readonly guard: {
|
|
685
685
|
readonly and: readonly [import("../../index.js").GuardRule, {
|
|
686
|
-
readonly
|
|
686
|
+
readonly '>=': readonly [{
|
|
687
687
|
readonly count: {
|
|
688
688
|
readonly var: "state.resolutions";
|
|
689
689
|
};
|
|
@@ -713,12 +713,12 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
713
713
|
readonly eventName: "dispute";
|
|
714
714
|
readonly guard: {
|
|
715
715
|
readonly and: readonly [{
|
|
716
|
-
readonly
|
|
716
|
+
readonly '>': readonly [{
|
|
717
717
|
readonly length: readonly [{
|
|
718
718
|
readonly filter: readonly [{
|
|
719
719
|
readonly var: "state.positions";
|
|
720
720
|
}, {
|
|
721
|
-
readonly
|
|
721
|
+
readonly '===': readonly [{
|
|
722
722
|
readonly var: "agent";
|
|
723
723
|
}, {
|
|
724
724
|
readonly var: "event.agent";
|
|
@@ -786,12 +786,12 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
786
786
|
readonly to: "REFUNDED";
|
|
787
787
|
readonly eventName: "invalidate";
|
|
788
788
|
readonly guard: {
|
|
789
|
-
readonly
|
|
789
|
+
readonly '>=': readonly [{
|
|
790
790
|
readonly length: readonly [{
|
|
791
791
|
readonly filter: readonly [{
|
|
792
792
|
readonly var: "state.resolutions";
|
|
793
793
|
}, {
|
|
794
|
-
readonly
|
|
794
|
+
readonly '===': readonly [{
|
|
795
795
|
readonly var: "outcome";
|
|
796
796
|
}, "INVALID"];
|
|
797
797
|
}];
|
|
@@ -818,19 +818,19 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
818
818
|
readonly eventName: "claim";
|
|
819
819
|
readonly guard: {
|
|
820
820
|
readonly and: readonly [{
|
|
821
|
-
readonly
|
|
821
|
+
readonly '>': readonly [{
|
|
822
822
|
readonly length: readonly [{
|
|
823
823
|
readonly filter: readonly [{
|
|
824
824
|
readonly var: "state.positions";
|
|
825
825
|
}, {
|
|
826
826
|
readonly and: readonly [{
|
|
827
|
-
readonly
|
|
827
|
+
readonly '===': readonly [{
|
|
828
828
|
readonly var: "agent";
|
|
829
829
|
}, {
|
|
830
830
|
readonly var: "event.agent";
|
|
831
831
|
}];
|
|
832
832
|
}, {
|
|
833
|
-
readonly
|
|
833
|
+
readonly '===': readonly [{
|
|
834
834
|
readonly var: "outcome";
|
|
835
835
|
}, {
|
|
836
836
|
readonly var: "state.finalOutcome";
|
|
@@ -840,7 +840,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
840
840
|
}];
|
|
841
841
|
}, 0];
|
|
842
842
|
}, {
|
|
843
|
-
readonly
|
|
843
|
+
readonly '!': readonly [{
|
|
844
844
|
readonly in: readonly [{
|
|
845
845
|
readonly var: "event.agent";
|
|
846
846
|
}, {
|
|
@@ -1081,21 +1081,21 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1081
1081
|
readonly eventName: "bid";
|
|
1082
1082
|
readonly guard: {
|
|
1083
1083
|
readonly and: readonly [import("../../index.js").GuardRule, {
|
|
1084
|
-
readonly
|
|
1084
|
+
readonly '>=': readonly [{
|
|
1085
1085
|
readonly var: "event.amount";
|
|
1086
1086
|
}, {
|
|
1087
1087
|
readonly var: "state.minBid";
|
|
1088
1088
|
}];
|
|
1089
1089
|
}, {
|
|
1090
1090
|
readonly or: readonly [{
|
|
1091
|
-
readonly
|
|
1091
|
+
readonly '!': readonly [{
|
|
1092
1092
|
readonly var: "state.highBid";
|
|
1093
1093
|
}];
|
|
1094
1094
|
}, {
|
|
1095
|
-
readonly
|
|
1095
|
+
readonly '>=': readonly [{
|
|
1096
1096
|
readonly var: "event.amount";
|
|
1097
1097
|
}, {
|
|
1098
|
-
readonly
|
|
1098
|
+
readonly '+': readonly [{
|
|
1099
1099
|
readonly var: "state.highBid";
|
|
1100
1100
|
}, {
|
|
1101
1101
|
readonly var: "state.bidIncrement";
|
|
@@ -1104,11 +1104,11 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1104
1104
|
}];
|
|
1105
1105
|
}, {
|
|
1106
1106
|
readonly or: readonly [{
|
|
1107
|
-
readonly
|
|
1107
|
+
readonly '!': readonly [{
|
|
1108
1108
|
readonly var: "state.deadline";
|
|
1109
1109
|
}];
|
|
1110
1110
|
}, {
|
|
1111
|
-
readonly
|
|
1111
|
+
readonly '<=': readonly [{
|
|
1112
1112
|
readonly var: "$ordinal";
|
|
1113
1113
|
}, {
|
|
1114
1114
|
readonly var: "state.deadline";
|
|
@@ -1156,7 +1156,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1156
1156
|
readonly and: readonly [{
|
|
1157
1157
|
readonly var: "state.deadline";
|
|
1158
1158
|
}, {
|
|
1159
|
-
readonly
|
|
1159
|
+
readonly '>=': readonly [{
|
|
1160
1160
|
readonly var: "$ordinal";
|
|
1161
1161
|
}, {
|
|
1162
1162
|
readonly var: "state.deadline";
|
|
@@ -1184,11 +1184,11 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1184
1184
|
readonly var: "state.highBidder";
|
|
1185
1185
|
}, {
|
|
1186
1186
|
readonly or: readonly [{
|
|
1187
|
-
readonly
|
|
1187
|
+
readonly '!': readonly [{
|
|
1188
1188
|
readonly var: "state.reservePrice";
|
|
1189
1189
|
}];
|
|
1190
1190
|
}, {
|
|
1191
|
-
readonly
|
|
1191
|
+
readonly '>=': readonly [{
|
|
1192
1192
|
readonly var: "state.highBid";
|
|
1193
1193
|
}, {
|
|
1194
1194
|
readonly var: "state.reservePrice";
|
|
@@ -1219,14 +1219,14 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1219
1219
|
readonly eventName: "no_sale";
|
|
1220
1220
|
readonly guard: {
|
|
1221
1221
|
readonly or: readonly [{
|
|
1222
|
-
readonly
|
|
1222
|
+
readonly '!': readonly [{
|
|
1223
1223
|
readonly var: "state.highBidder";
|
|
1224
1224
|
}];
|
|
1225
1225
|
}, {
|
|
1226
1226
|
readonly and: readonly [{
|
|
1227
1227
|
readonly var: "state.reservePrice";
|
|
1228
1228
|
}, {
|
|
1229
|
-
readonly
|
|
1229
|
+
readonly '<': readonly [{
|
|
1230
1230
|
readonly var: "state.highBid";
|
|
1231
1231
|
}, {
|
|
1232
1232
|
readonly var: "state.reservePrice";
|
|
@@ -1244,7 +1244,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1244
1244
|
};
|
|
1245
1245
|
readonly reason: {
|
|
1246
1246
|
readonly if: readonly [{
|
|
1247
|
-
readonly
|
|
1247
|
+
readonly '!': readonly [{
|
|
1248
1248
|
readonly var: "state.highBidder";
|
|
1249
1249
|
}];
|
|
1250
1250
|
}, "no_bids", "reserve_not_met"];
|
|
@@ -1464,23 +1464,23 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1464
1464
|
readonly eventName: "pledge";
|
|
1465
1465
|
readonly guard: {
|
|
1466
1466
|
readonly and: readonly [{
|
|
1467
|
-
readonly
|
|
1467
|
+
readonly '>': readonly [{
|
|
1468
1468
|
readonly var: "event.amount";
|
|
1469
1469
|
}, 0];
|
|
1470
1470
|
}, import("../../index.js").GuardRule, {
|
|
1471
1471
|
readonly or: readonly [{
|
|
1472
|
-
readonly
|
|
1472
|
+
readonly '!': readonly [{
|
|
1473
1473
|
readonly var: "state.minPledge";
|
|
1474
1474
|
}];
|
|
1475
1475
|
}, {
|
|
1476
|
-
readonly
|
|
1476
|
+
readonly '>=': readonly [{
|
|
1477
1477
|
readonly var: "event.amount";
|
|
1478
1478
|
}, {
|
|
1479
1479
|
readonly var: "state.minPledge";
|
|
1480
1480
|
}];
|
|
1481
1481
|
}];
|
|
1482
1482
|
}, {
|
|
1483
|
-
readonly
|
|
1483
|
+
readonly '<=': readonly [{
|
|
1484
1484
|
readonly var: "$ordinal";
|
|
1485
1485
|
}, {
|
|
1486
1486
|
readonly var: "state.deadline";
|
|
@@ -1510,14 +1510,14 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1510
1510
|
}]];
|
|
1511
1511
|
};
|
|
1512
1512
|
readonly totalPledged: {
|
|
1513
|
-
readonly
|
|
1513
|
+
readonly '+': readonly [{
|
|
1514
1514
|
readonly var: "state.totalPledged";
|
|
1515
1515
|
}, {
|
|
1516
1516
|
readonly var: "event.amount";
|
|
1517
1517
|
}];
|
|
1518
1518
|
};
|
|
1519
1519
|
readonly backerCount: {
|
|
1520
|
-
readonly
|
|
1520
|
+
readonly '+': readonly [{
|
|
1521
1521
|
readonly var: "state.backerCount";
|
|
1522
1522
|
}, 1];
|
|
1523
1523
|
};
|
|
@@ -1530,22 +1530,22 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1530
1530
|
readonly eventName: "increase_pledge";
|
|
1531
1531
|
readonly guard: {
|
|
1532
1532
|
readonly and: readonly [{
|
|
1533
|
-
readonly
|
|
1533
|
+
readonly '>': readonly [{
|
|
1534
1534
|
readonly var: "event.additionalAmount";
|
|
1535
1535
|
}, 0];
|
|
1536
1536
|
}, {
|
|
1537
|
-
readonly
|
|
1537
|
+
readonly '<=': readonly [{
|
|
1538
1538
|
readonly var: "$ordinal";
|
|
1539
1539
|
}, {
|
|
1540
1540
|
readonly var: "state.deadline";
|
|
1541
1541
|
}];
|
|
1542
1542
|
}, {
|
|
1543
|
-
readonly
|
|
1543
|
+
readonly '>': readonly [{
|
|
1544
1544
|
readonly length: readonly [{
|
|
1545
1545
|
readonly filter: readonly [{
|
|
1546
1546
|
readonly var: "state.pledges";
|
|
1547
1547
|
}, {
|
|
1548
|
-
readonly
|
|
1548
|
+
readonly '===': readonly [{
|
|
1549
1549
|
readonly var: "backer";
|
|
1550
1550
|
}, {
|
|
1551
1551
|
readonly var: "event.agent";
|
|
@@ -1560,7 +1560,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1560
1560
|
readonly var: "state";
|
|
1561
1561
|
}, {
|
|
1562
1562
|
readonly totalPledged: {
|
|
1563
|
-
readonly
|
|
1563
|
+
readonly '+': readonly [{
|
|
1564
1564
|
readonly var: "state.totalPledged";
|
|
1565
1565
|
}, {
|
|
1566
1566
|
readonly var: "event.additionalAmount";
|
|
@@ -1575,13 +1575,13 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1575
1575
|
readonly eventName: "finalize";
|
|
1576
1576
|
readonly guard: {
|
|
1577
1577
|
readonly and: readonly [{
|
|
1578
|
-
readonly
|
|
1578
|
+
readonly '>=': readonly [{
|
|
1579
1579
|
readonly var: "state.totalPledged";
|
|
1580
1580
|
}, {
|
|
1581
1581
|
readonly var: "state.threshold";
|
|
1582
1582
|
}];
|
|
1583
1583
|
}, {
|
|
1584
|
-
readonly
|
|
1584
|
+
readonly '>=': readonly [{
|
|
1585
1585
|
readonly var: "$ordinal";
|
|
1586
1586
|
}, {
|
|
1587
1587
|
readonly var: "state.deadline";
|
|
@@ -1600,7 +1600,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1600
1600
|
readonly filter: readonly [{
|
|
1601
1601
|
readonly var: "state.stretchGoals";
|
|
1602
1602
|
}, {
|
|
1603
|
-
readonly
|
|
1603
|
+
readonly '<=': readonly [{
|
|
1604
1604
|
readonly var: "target";
|
|
1605
1605
|
}, {
|
|
1606
1606
|
readonly var: "state.totalPledged";
|
|
@@ -1616,13 +1616,13 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1616
1616
|
readonly eventName: "finalize";
|
|
1617
1617
|
readonly guard: {
|
|
1618
1618
|
readonly and: readonly [{
|
|
1619
|
-
readonly
|
|
1619
|
+
readonly '<': readonly [{
|
|
1620
1620
|
readonly var: "state.totalPledged";
|
|
1621
1621
|
}, {
|
|
1622
1622
|
readonly var: "state.threshold";
|
|
1623
1623
|
}];
|
|
1624
1624
|
}, {
|
|
1625
|
-
readonly
|
|
1625
|
+
readonly '>=': readonly [{
|
|
1626
1626
|
readonly var: "$ordinal";
|
|
1627
1627
|
}, {
|
|
1628
1628
|
readonly var: "state.deadline";
|
|
@@ -1647,12 +1647,12 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1647
1647
|
readonly eventName: "claim_refund";
|
|
1648
1648
|
readonly guard: {
|
|
1649
1649
|
readonly and: readonly [{
|
|
1650
|
-
readonly
|
|
1650
|
+
readonly '>': readonly [{
|
|
1651
1651
|
readonly length: readonly [{
|
|
1652
1652
|
readonly filter: readonly [{
|
|
1653
1653
|
readonly var: "state.pledges";
|
|
1654
1654
|
}, {
|
|
1655
|
-
readonly
|
|
1655
|
+
readonly '===': readonly [{
|
|
1656
1656
|
readonly var: "backer";
|
|
1657
1657
|
}, {
|
|
1658
1658
|
readonly var: "event.agent";
|
|
@@ -1661,7 +1661,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1661
1661
|
}];
|
|
1662
1662
|
}, 0];
|
|
1663
1663
|
}, {
|
|
1664
|
-
readonly
|
|
1664
|
+
readonly '!': readonly [{
|
|
1665
1665
|
readonly in: readonly [{
|
|
1666
1666
|
readonly var: "event.agent";
|
|
1667
1667
|
}, {
|
|
@@ -1917,23 +1917,23 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1917
1917
|
readonly eventName: "order";
|
|
1918
1918
|
readonly guard: {
|
|
1919
1919
|
readonly and: readonly [{
|
|
1920
|
-
readonly
|
|
1920
|
+
readonly '>': readonly [{
|
|
1921
1921
|
readonly var: "event.quantity";
|
|
1922
1922
|
}, 0];
|
|
1923
1923
|
}, {
|
|
1924
1924
|
readonly or: readonly [{
|
|
1925
|
-
readonly
|
|
1925
|
+
readonly '!': readonly [{
|
|
1926
1926
|
readonly var: "state.maxPerBuyer";
|
|
1927
1927
|
}];
|
|
1928
1928
|
}, {
|
|
1929
|
-
readonly
|
|
1929
|
+
readonly '<=': readonly [{
|
|
1930
1930
|
readonly var: "event.quantity";
|
|
1931
1931
|
}, {
|
|
1932
1932
|
readonly var: "state.maxPerBuyer";
|
|
1933
1933
|
}];
|
|
1934
1934
|
}];
|
|
1935
1935
|
}, {
|
|
1936
|
-
readonly
|
|
1936
|
+
readonly '<=': readonly [{
|
|
1937
1937
|
readonly var: "$ordinal";
|
|
1938
1938
|
}, {
|
|
1939
1939
|
readonly var: "state.deadline";
|
|
@@ -1963,7 +1963,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1963
1963
|
}]];
|
|
1964
1964
|
};
|
|
1965
1965
|
readonly totalQuantity: {
|
|
1966
|
-
readonly
|
|
1966
|
+
readonly '+': readonly [{
|
|
1967
1967
|
readonly var: "state.totalQuantity";
|
|
1968
1968
|
}, {
|
|
1969
1969
|
readonly var: "event.quantity";
|
|
@@ -1977,7 +1977,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1977
1977
|
readonly to: "THRESHOLD_MET";
|
|
1978
1978
|
readonly eventName: "check_threshold";
|
|
1979
1979
|
readonly guard: {
|
|
1980
|
-
readonly
|
|
1980
|
+
readonly '>=': readonly [{
|
|
1981
1981
|
readonly var: "state.totalQuantity";
|
|
1982
1982
|
}, {
|
|
1983
1983
|
readonly var: "state.minQuantity";
|
|
@@ -1996,7 +1996,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
1996
1996
|
readonly var: "state.priceTiers";
|
|
1997
1997
|
}, {
|
|
1998
1998
|
readonly if: readonly [{
|
|
1999
|
-
readonly
|
|
1999
|
+
readonly '<=': readonly [{
|
|
2000
2000
|
readonly var: "current.minQuantity";
|
|
2001
2001
|
}, {
|
|
2002
2002
|
readonly var: "state.totalQuantity";
|
|
@@ -2017,11 +2017,11 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
2017
2017
|
readonly eventName: "order";
|
|
2018
2018
|
readonly guard: {
|
|
2019
2019
|
readonly and: readonly [{
|
|
2020
|
-
readonly
|
|
2020
|
+
readonly '>': readonly [{
|
|
2021
2021
|
readonly var: "event.quantity";
|
|
2022
2022
|
}, 0];
|
|
2023
2023
|
}, {
|
|
2024
|
-
readonly
|
|
2024
|
+
readonly '<=': readonly [{
|
|
2025
2025
|
readonly var: "$ordinal";
|
|
2026
2026
|
}, {
|
|
2027
2027
|
readonly var: "state.deadline";
|
|
@@ -2051,7 +2051,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
2051
2051
|
}]];
|
|
2052
2052
|
};
|
|
2053
2053
|
readonly totalQuantity: {
|
|
2054
|
-
readonly
|
|
2054
|
+
readonly '+': readonly [{
|
|
2055
2055
|
readonly var: "state.totalQuantity";
|
|
2056
2056
|
}, {
|
|
2057
2057
|
readonly var: "event.quantity";
|
|
@@ -2062,10 +2062,10 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
2062
2062
|
readonly var: "state.priceTiers";
|
|
2063
2063
|
}, {
|
|
2064
2064
|
readonly if: readonly [{
|
|
2065
|
-
readonly
|
|
2065
|
+
readonly '<=': readonly [{
|
|
2066
2066
|
readonly var: "current.minQuantity";
|
|
2067
2067
|
}, {
|
|
2068
|
-
readonly
|
|
2068
|
+
readonly '+': readonly [{
|
|
2069
2069
|
readonly var: "state.totalQuantity";
|
|
2070
2070
|
}, {
|
|
2071
2071
|
readonly var: "event.quantity";
|
|
@@ -2088,7 +2088,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
2088
2088
|
readonly to: "PROCESSING";
|
|
2089
2089
|
readonly eventName: "finalize";
|
|
2090
2090
|
readonly guard: {
|
|
2091
|
-
readonly
|
|
2091
|
+
readonly '>=': readonly [{
|
|
2092
2092
|
readonly var: "$ordinal";
|
|
2093
2093
|
}, {
|
|
2094
2094
|
readonly var: "state.deadline";
|
|
@@ -2140,13 +2140,13 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
2140
2140
|
readonly eventName: "finalize";
|
|
2141
2141
|
readonly guard: {
|
|
2142
2142
|
readonly and: readonly [{
|
|
2143
|
-
readonly
|
|
2143
|
+
readonly '<': readonly [{
|
|
2144
2144
|
readonly var: "state.totalQuantity";
|
|
2145
2145
|
}, {
|
|
2146
2146
|
readonly var: "state.minQuantity";
|
|
2147
2147
|
}];
|
|
2148
2148
|
}, {
|
|
2149
|
-
readonly
|
|
2149
|
+
readonly '>=': readonly [{
|
|
2150
2150
|
readonly var: "$ordinal";
|
|
2151
2151
|
}, {
|
|
2152
2152
|
readonly var: "state.deadline";
|
|
@@ -2171,12 +2171,12 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
2171
2171
|
readonly eventName: "claim_refund";
|
|
2172
2172
|
readonly guard: {
|
|
2173
2173
|
readonly and: readonly [{
|
|
2174
|
-
readonly
|
|
2174
|
+
readonly '>': readonly [{
|
|
2175
2175
|
readonly length: readonly [{
|
|
2176
2176
|
readonly filter: readonly [{
|
|
2177
2177
|
readonly var: "state.orders";
|
|
2178
2178
|
}, {
|
|
2179
|
-
readonly
|
|
2179
|
+
readonly '===': readonly [{
|
|
2180
2180
|
readonly var: "buyer";
|
|
2181
2181
|
}, {
|
|
2182
2182
|
readonly var: "event.agent";
|
|
@@ -2185,7 +2185,7 @@ export declare const MARKETS_DEFINITIONS: {
|
|
|
2185
2185
|
}];
|
|
2186
2186
|
}, 0];
|
|
2187
2187
|
}, {
|
|
2188
|
-
readonly
|
|
2188
|
+
readonly '!': readonly [{
|
|
2189
2189
|
readonly in: readonly [{
|
|
2190
2190
|
readonly var: "event.agent";
|
|
2191
2191
|
}, {
|
|
@@ -205,21 +205,21 @@ export declare const marketAuctionDef: {
|
|
|
205
205
|
readonly eventName: "bid";
|
|
206
206
|
readonly guard: {
|
|
207
207
|
readonly and: readonly [import("../../../schema/guards.js").GuardRule, {
|
|
208
|
-
readonly
|
|
208
|
+
readonly '>=': readonly [{
|
|
209
209
|
readonly var: "event.amount";
|
|
210
210
|
}, {
|
|
211
211
|
readonly var: "state.minBid";
|
|
212
212
|
}];
|
|
213
213
|
}, {
|
|
214
214
|
readonly or: readonly [{
|
|
215
|
-
readonly
|
|
215
|
+
readonly '!': readonly [{
|
|
216
216
|
readonly var: "state.highBid";
|
|
217
217
|
}];
|
|
218
218
|
}, {
|
|
219
|
-
readonly
|
|
219
|
+
readonly '>=': readonly [{
|
|
220
220
|
readonly var: "event.amount";
|
|
221
221
|
}, {
|
|
222
|
-
readonly
|
|
222
|
+
readonly '+': readonly [{
|
|
223
223
|
readonly var: "state.highBid";
|
|
224
224
|
}, {
|
|
225
225
|
readonly var: "state.bidIncrement";
|
|
@@ -228,11 +228,11 @@ export declare const marketAuctionDef: {
|
|
|
228
228
|
}];
|
|
229
229
|
}, {
|
|
230
230
|
readonly or: readonly [{
|
|
231
|
-
readonly
|
|
231
|
+
readonly '!': readonly [{
|
|
232
232
|
readonly var: "state.deadline";
|
|
233
233
|
}];
|
|
234
234
|
}, {
|
|
235
|
-
readonly
|
|
235
|
+
readonly '<=': readonly [{
|
|
236
236
|
readonly var: "$ordinal";
|
|
237
237
|
}, {
|
|
238
238
|
readonly var: "state.deadline";
|
|
@@ -280,7 +280,7 @@ export declare const marketAuctionDef: {
|
|
|
280
280
|
readonly and: readonly [{
|
|
281
281
|
readonly var: "state.deadline";
|
|
282
282
|
}, {
|
|
283
|
-
readonly
|
|
283
|
+
readonly '>=': readonly [{
|
|
284
284
|
readonly var: "$ordinal";
|
|
285
285
|
}, {
|
|
286
286
|
readonly var: "state.deadline";
|
|
@@ -308,11 +308,11 @@ export declare const marketAuctionDef: {
|
|
|
308
308
|
readonly var: "state.highBidder";
|
|
309
309
|
}, {
|
|
310
310
|
readonly or: readonly [{
|
|
311
|
-
readonly
|
|
311
|
+
readonly '!': readonly [{
|
|
312
312
|
readonly var: "state.reservePrice";
|
|
313
313
|
}];
|
|
314
314
|
}, {
|
|
315
|
-
readonly
|
|
315
|
+
readonly '>=': readonly [{
|
|
316
316
|
readonly var: "state.highBid";
|
|
317
317
|
}, {
|
|
318
318
|
readonly var: "state.reservePrice";
|
|
@@ -343,14 +343,14 @@ export declare const marketAuctionDef: {
|
|
|
343
343
|
readonly eventName: "no_sale";
|
|
344
344
|
readonly guard: {
|
|
345
345
|
readonly or: readonly [{
|
|
346
|
-
readonly
|
|
346
|
+
readonly '!': readonly [{
|
|
347
347
|
readonly var: "state.highBidder";
|
|
348
348
|
}];
|
|
349
349
|
}, {
|
|
350
350
|
readonly and: readonly [{
|
|
351
351
|
readonly var: "state.reservePrice";
|
|
352
352
|
}, {
|
|
353
|
-
readonly
|
|
353
|
+
readonly '<': readonly [{
|
|
354
354
|
readonly var: "state.highBid";
|
|
355
355
|
}, {
|
|
356
356
|
readonly var: "state.reservePrice";
|
|
@@ -368,7 +368,7 @@ export declare const marketAuctionDef: {
|
|
|
368
368
|
};
|
|
369
369
|
readonly reason: {
|
|
370
370
|
readonly if: readonly [{
|
|
371
|
-
readonly
|
|
371
|
+
readonly '!': readonly [{
|
|
372
372
|
readonly var: "state.highBidder";
|
|
373
373
|
}];
|
|
374
374
|
}, "no_bids", "reserve_not_met"];
|