diff --git a/cli/README.md b/cli/README.md index f0ab697..705a41e 100644 --- a/cli/README.md +++ b/cli/README.md @@ -58,6 +58,7 @@ node bin/dev print GvDMxPzN1sCj7L26YDK2HnMRXEQmQ2aemov8YBtPS7vR * [`sbv2 crank add aggregator [CRANKKEY] [AGGREGATORKEY]`](#sbv2-crank-add-aggregator-crankkey-aggregatorkey) * [`sbv2 crank create [QUEUEKEY]`](#sbv2-crank-create-queuekey) * [`sbv2 crank list [CRANKKEY]`](#sbv2-crank-list-crankkey) +* [`sbv2 crank pop [CRANKKEY]`](#sbv2-crank-pop-crankkey) * [`sbv2 crank print [CRANKKEY]`](#sbv2-crank-print-crankkey) * [`sbv2 crank push [CRANKKEY] [AGGREGATORKEY]`](#sbv2-crank-push-crankkey-aggregatorkey) * [`sbv2 crank turn [CRANKKEY]`](#sbv2-crank-turn-crankkey) @@ -541,8 +542,8 @@ Print the deserialized Switchboard aggregator account ``` USAGE - $ sbv2 aggregator print [AGGREGATORKEY] [-v] [-s] [--mainnetBeta] [-u ] [--programId ] [-k ] - [--jobs] [-o] + $ sbv2 aggregator print [AGGREGATORKEY] [--json] [-v] [-s] [--mainnetBeta] [-u ] [--programId ] [-k + ] [--jobs] [-o] ARGUMENTS AGGREGATORKEY public key of the aggregator account to deserialize @@ -558,6 +559,9 @@ FLAGS --mainnetBeta WARNING: use mainnet-beta solana cluster --programId= alternative Switchboard program ID to interact with +GLOBAL FLAGS + --json Format output as json. + DESCRIPTION Print the deserialized Switchboard aggregator account @@ -1265,6 +1269,30 @@ DESCRIPTION list the pubkeys currently on the crank ``` +## `sbv2 crank pop [CRANKKEY]` + +pop the crank + +``` +USAGE + $ sbv2 crank pop [CRANKKEY] [-v] [-s] [--mainnetBeta] [-u ] [--programId ] [-k ] + +ARGUMENTS + CRANKKEY public key of the crank + +FLAGS + -k, --keypair= keypair that will pay for onchain transactions. defaults to new account authority if no + alternate authority provided + -s, --silent suppress cli prompts + -u, --rpcUrl= alternate RPC url + -v, --verbose log everything + --mainnetBeta WARNING: use mainnet-beta solana cluster + --programId= alternative Switchboard program ID to interact with + +DESCRIPTION + pop the crank +``` + ## `sbv2 crank print [CRANKKEY]` print deserialized switchboard crank account @@ -1999,7 +2027,7 @@ EXAMPLES $ sbv2 print GhYg3R1V6DmJbwuc57qZeoYG6gUuvCotUF1zU3WCj98U ``` -_See code: [dist/commands/print/index.ts](https://github.com/switchboard-xyz/switchboard-v2/blob/v0.2.14/dist/commands/print/index.ts)_ +_See code: [dist/commands/print/index.ts](https://github.com/switchboard-xyz/switchboard-v2/blob/v0.2.15/dist/commands/print/index.ts)_ ## `sbv2 print aggregator [AGGREGATORKEY]` @@ -2007,8 +2035,8 @@ Print the deserialized Switchboard aggregator account ``` USAGE - $ sbv2 print aggregator [AGGREGATORKEY] [-v] [-s] [--mainnetBeta] [-u ] [--programId ] [-k ] - [--jobs] [-o] + $ sbv2 print aggregator [AGGREGATORKEY] [--json] [-v] [-s] [--mainnetBeta] [-u ] [--programId ] [-k + ] [--jobs] [-o] ARGUMENTS AGGREGATORKEY public key of the aggregator account to deserialize @@ -2024,6 +2052,9 @@ FLAGS --mainnetBeta WARNING: use mainnet-beta solana cluster --programId= alternative Switchboard program ID to interact with +GLOBAL FLAGS + --json Format output as json. + DESCRIPTION Print the deserialized Switchboard aggregator account @@ -2545,7 +2576,7 @@ DESCRIPTION sandbox ``` -_See code: [dist/commands/sandbox.ts](https://github.com/switchboard-xyz/switchboard-v2/blob/v0.2.14/dist/commands/sandbox.ts)_ +_See code: [dist/commands/sandbox.ts](https://github.com/switchboard-xyz/switchboard-v2/blob/v0.2.15/dist/commands/sandbox.ts)_ ## `sbv2 set aggregator [AGGREGATORKEY]` @@ -2612,7 +2643,7 @@ DESCRIPTION sandbox ``` -_See code: [dist/commands/test.ts](https://github.com/switchboard-xyz/switchboard-v2/blob/v0.2.14/dist/commands/test.ts)_ +_See code: [dist/commands/test.ts](https://github.com/switchboard-xyz/switchboard-v2/blob/v0.2.15/dist/commands/test.ts)_ ## `sbv2 update [CHANNEL]` diff --git a/cli/package.json b/cli/package.json index 9091b4b..9732328 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@switchboard-xyz/switchboardv2-cli", - "version": "0.2.14", + "version": "0.2.15", "description": "command line tool to interact with switchboard v2", "author": "gallynaut @gallynaut", "bin": { @@ -33,8 +33,8 @@ "@project-serum/anchor": "^0.24.2", "@solana/spl-token": "^0.2.0", "@solana/web3.js": "^1.43.5", - "@switchboard-xyz/sbv2-utils": "^0.1.32", - "@switchboard-xyz/switchboard-v2": "^0.0.120", + "@switchboard-xyz/sbv2-utils": "^0.1.33", + "@switchboard-xyz/switchboard-v2": "^0.0.121", "assert": "^2.0.0", "big.js": "^6.2.0", "bs58": "^5.0.0", diff --git a/libraries/sbv2-utils/package.json b/libraries/sbv2-utils/package.json index e3fd62c..523cc41 100644 --- a/libraries/sbv2-utils/package.json +++ b/libraries/sbv2-utils/package.json @@ -1,6 +1,6 @@ { "name": "@switchboard-xyz/sbv2-utils", - "version": "0.1.32", + "version": "0.1.33", "description": "some basic utility functions when working with switchboard-v2", "author": "", "license": "ISC", @@ -38,7 +38,7 @@ "@saberhq/token-utils": "^1.13.32", "@solana/spl-token": "^0.2.0", "@solana/web3.js": "^1.42.0", - "@switchboard-xyz/switchboard-v2": "^0.0.120", + "@switchboard-xyz/switchboard-v2": "^0.0.121", "big.js": "^6.1.1", "bn.js": "^5.2.1", "chalk": "4", diff --git a/libraries/ts/package.json b/libraries/ts/package.json index 2b3911c..1575482 100644 --- a/libraries/ts/package.json +++ b/libraries/ts/package.json @@ -1,6 +1,6 @@ { "name": "@switchboard-xyz/switchboard-v2", - "version": "0.0.120", + "version": "0.0.121", "license": "MIT", "author": "mitch@switchboard.xyz", "description": "API wrapper for intergating with the Switchboardv2 program",