pandora-cli-skills 1.1.11 → 1.1.13
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/SKILL.md +2 -2
- package/cli/lib/contract_error_decoder.cjs +138 -0
- package/cli/lib/market_admin_service.cjs +868 -0
- package/cli/lib/mirror_service.cjs +1 -0
- package/cli/lib/mirror_sync_service.cjs +7 -1
- package/cli/lib/pandora_deploy_service.cjs +69 -27
- package/cli/lib/polymarket_trade_adapter.cjs +6 -1
- package/cli/pandora.cjs +514 -58
- package/package.json +1 -1
- package/references/creation-script.md +1 -1
- package/scripts/.env.example +2 -0
- package/scripts/create_market_launcher.ts +1 -1
- package/scripts/create_polymarket_clone_and_bet.ts +1 -1
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@ pandora launch \
|
|
|
47
47
|
--sources "https://coinmarketcap.com/currencies/bitcoin/" "https://www.coingecko.com/en/coins/bitcoin" \
|
|
48
48
|
--target-timestamp 1798675200 \
|
|
49
49
|
--target-timestamp-offset-hours 1 \
|
|
50
|
-
--arbiter
|
|
50
|
+
--arbiter 0x0D7B957C47Da86c2968dc52111D633D42cb7a5F7 \
|
|
51
51
|
--category 3 \
|
|
52
52
|
--market-type amm \
|
|
53
53
|
--liquidity 100 \
|
package/scripts/.env.example
CHANGED
|
@@ -8,9 +8,11 @@ USDC=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
|
|
|
8
8
|
|
|
9
9
|
# Optional: Polymarket live hedging credentials for `pandora mirror sync --execute-live`
|
|
10
10
|
POLYMARKET_HOST=https://clob.polymarket.com
|
|
11
|
+
POLYMARKET_RPC_URL=https://polygon-bor-rpc.publicnode.com
|
|
11
12
|
POLYMARKET_PRIVATE_KEY=0x...
|
|
12
13
|
# Polymarket proxy wallet / Gnosis Safe address (NOT your EOA wallet address)
|
|
13
14
|
POLYMARKET_FUNDER=
|
|
15
|
+
# The next 3 values are only required for live (non-paper) hedge execution.
|
|
14
16
|
POLYMARKET_API_KEY=
|
|
15
17
|
POLYMARKET_API_SECRET=
|
|
16
18
|
POLYMARKET_API_PASSPHRASE=
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from 'viem';
|
|
12
12
|
import { privateKeyToAccount } from 'viem/accounts';
|
|
13
13
|
|
|
14
|
-
const DEFAULT_ARBITER = '
|
|
14
|
+
const DEFAULT_ARBITER = '0x0D7B957C47Da86c2968dc52111D633D42cb7a5F7';
|
|
15
15
|
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000';
|
|
16
16
|
const MIN_SOURCE_COUNT = 2;
|
|
17
17
|
const MIN_DEADLINE_WINDOW_SECONDS = 12 * 60 * 60;
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from 'viem';
|
|
12
12
|
import { privateKeyToAccount } from 'viem/accounts';
|
|
13
13
|
|
|
14
|
-
const DEFAULT_ARBITER = '
|
|
14
|
+
const DEFAULT_ARBITER = '0x0D7B957C47Da86c2968dc52111D633D42cb7a5F7';
|
|
15
15
|
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000';
|
|
16
16
|
const MIN_SOURCE_COUNT = 2;
|
|
17
17
|
const MIN_DEADLINE_WINDOW_SECONDS = 12 * 60 * 60;
|