tag:qubic-cli:help
差分
このページの2つのバージョン間の差分を表示します。
| tag:qubic-cli:help [2025/12/24 23:50] – 作成 d.azuma | tag:qubic-cli:help [2026/02/11 20:27] (現在) – d.azuma | ||
|---|---|---|---|
| 行 22: | 行 22: | ||
| Enable test contract indices and names for commands using a contract index parameter. This flag has to be passed before the contract index/name. The node to connect to needs to have test contracts running. | Enable test contract indices and names for commands using a contract index parameter. This flag has to be passed before the contract index/name. The node to connect to needs to have test contracts running. | ||
| -print-only <base64 | hex> | -print-only <base64 | hex> | ||
| - | Print the raw transaction data without sending it to the network. Useful for offline signing or broadcasting later. | + | |
| Commands: | Commands: | ||
| 行 83: | 行 82: | ||
| -gettxinfo < | -gettxinfo < | ||
| Get tx infomation, will print empty if there is no tx or invalid tx. valid node ip/port are required. | Get tx infomation, will print empty if there is no tx or invalid tx. valid node ip/port are required. | ||
| - | -uploadfile < | ||
| - | Upload a file to qubic network. valid node ip/port and seed are required. optional COMPRESS_TOOL is used to compress the file (support: zip(Unix), tar(Win, Unix)) | ||
| - | -downloadfile < | ||
| - | Download a file to qubic network. valid node ip/port are required. optional DECOMPRESS_TOOL is used to decompress the file (support: zip(Unix), tar(Win, Unix)) | ||
| -checktxontick < | -checktxontick < | ||
| Check if a transaction is included in a tick. valid node ip/port are required. | Check if a transaction is included in a tick. valid node ip/port are required. | ||
| 行 100: | 行 95: | ||
| Dump universe file into csv. | Dump universe file into csv. | ||
| -dumpcontractfile < | -dumpcontractfile < | ||
| - | Dump contract file into csv. Current supported | + | Dump contract file into csv. Current supported |
| -makeipobid < | -makeipobid < | ||
| - | Participating IPO (dutch auction). | + | Participating IPO (dutch auction). |
| -getipostatus < | -getipostatus < | ||
| View IPO status. valid node ip/port, CONTRACT_INDEX are required. | View IPO status. valid node ip/port, CONTRACT_INDEX are required. | ||
| 行 115: | 行 110: | ||
| -sendspecialcommand < | -sendspecialcommand < | ||
| Perform a special command to node, valid seed and node ip/port are required. | Perform a special command to node, valid seed and node ip/port are required. | ||
| - | -togglemainaux < | + | -togglemainaux < |
| Remotely toggle Main/Aux mode on node, valid seed and node ip/port are required. | Remotely toggle Main/Aux mode on node, valid seed and node ip/port are required. | ||
| < | < | ||
| - | -setsolutionthreshold < | + | -setsolutionthreshold < |
| - | Remotely set solution threshold for future epoch, valid seed and node ip/port are required. | + | Remotely set solution threshold for future epoch, valid seed and node ip/port are required. < |
| -refreshpeerlist | -refreshpeerlist | ||
| (equivalent to F4) Remotely refresh the peer list of node, all current connections will be closed after this command is sent, valid seed and node ip/port are required. | (equivalent to F4) Remotely refresh the peer list of node, all current connections will be closed after this command is sent, valid seed and node ip/port are required. | ||
| 行 133: | 行 128: | ||
| Get current mining score ranking. Valid seed and node ip/port are required. | Get current mining score ranking. Valid seed and node ip/port are required. | ||
| -getvotecountertx < | -getvotecountertx < | ||
| - | Get vote counter transaction of a tick: showing how many votes per ID that this tick leader saw from (< | + | Get vote counter transaction of a tick: showing how many votes per ID that this tick leader saw from (< |
| -setloggingmode < | -setloggingmode < | ||
| - | Set console logging mode: 0 disabled, 1 low computational cost, 2 full logging. Valid seed and node ip/port are required. | + | Set console logging mode: 0 disabled, 1 low computational cost, 2 full logging. Valid seed and node ip/port are required. |
| - | -compmessage "< | + | -savesnapshot |
| - | Broadcast a message on Qubic network, the message will be relayed to discord via bot. Node ip/port are required. Seed for a valid comp is required | + | Remotely trigger saving snapshot, valid seed and node ip/port are required. |
| - | -savesnapshot | + | |
| - | Remotely trigger saving snapshot, valid seed and node ip/port are required. | + | |
| -setexecutionfeemultiplier < | -setexecutionfeemultiplier < | ||
| - | Set the multiplier for the conversion of raw execution time to contract execution fees to ( NUMERATOR / DENOMINATOR ), valid seed and node ip/port are required. | + | Set the multiplier for the conversion of raw execution time to contract execution fees to ( NUMERATOR / DENOMINATOR ), valid seed and node ip/port are required. |
| -getexecutionfeemultiplier | -getexecutionfeemultiplier | ||
| - | Get the current multiplier for the conversion of raw execution time to contract execution fees, valid seed and node ip/port are required. | + | Get the current multiplier for the conversion of raw execution time to contract execution fees, valid seed and node ip/port are required. |
| + | |||
| + | [ORACLE COMMANDS] | ||
| + | -getoraclequery < | ||
| + | Get information about oracle queries. Skip arguments to get detailed documentation. | ||
| + | -queryoracle [INTERFACE] [QUERY_STRING] [TIMEOUT_IN_SECONDS] | ||
| + | Send user oracle query. Skip arguments to get detailed documentation. | ||
| [SMART CONTRACT COMMANDS] | [SMART CONTRACT COMMANDS] | ||
| - | -callcontractfunction < | + | |
| - | Call a contract function of contract index and print the output. Valid node ip/port are required. | + | Call a contract function of contract index and print the output. Valid node ip/port are required. |
| - | -invokecontractprocedure < | + | -invokecontractprocedure < |
| - | Invoke a procedure of contract index. Valid seed and node ip/port are required. | + | Invoke a procedure of contract index. Valid seed and node ip/port are required. |
| -setshareholderproposal < | -setshareholderproposal < | ||
| Set shareholder proposal in a contract. May overwrite existing proposal, because each seed can have only one proposal at a time. Costs a fee. You need to be shareholder of the contract. | Set shareholder proposal in a contract. May overwrite existing proposal, because each seed can have only one proposal at a time. Costs a fee. You need to be shareholder of the contract. | ||
| 行 181: | 行 180: | ||
| Get orders on Qx | Get orders on Qx | ||
| -qxtransferrights < | -qxtransferrights < | ||
| - | Transfer asset management rights of shares from QX to another contract. < | + | Transfer asset management rights of shares from QX to another contract. |
| + | < | ||
| + | You need to own/possess the shares to do this (seed required). | ||
| [QTRY COMMANDS] | [QTRY COMMANDS] | ||
| 行 245: | 行 246: | ||
| Get and print latest transfers of CCF granted by quorum. | Get and print latest transfers of CCF granted by quorum. | ||
| -ccfgetregularpayments | -ccfgetregularpayments | ||
| - | Get and print regular subscription payments | + | Get and print regular |
| [QEARN COMMANDS] | [QEARN COMMANDS] | ||
| 行 263: | 行 264: | ||
| Get the unlocking history of the user. | Get the unlocking history of the user. | ||
| -qearngetstatsperepoch < | -qearngetstatsperepoch < | ||
| - | Get the Stats(early unlocked amount, early unlocked percent) of the epoch < | + | Get the Stats(early unlocked amount, early unlocked percent) of the epoch < |
| -qearngetburnedandboostedstats | -qearngetburnedandboostedstats | ||
| Get the Stats(burned amount and average percent, boosted amount and average percent, rewarded amount and average percent in QEarn SC) of QEarn SC | Get the Stats(burned amount and average percent, boosted amount and average percent, rewarded amount and average percent in QEarn SC) of QEarn SC | ||
| 行 275: | 行 276: | ||
| Change the authaddress using multisig address. < | Change the authaddress using multisig address. < | ||
| -qvaultsubmitfees < | -qvaultsubmitfees < | ||
| - | Submit the new permilles for QcapHolders, | + | Submit the new permilles for QcapHolders, |
| -qvaultchangefees < | -qvaultchangefees < | ||
| Change the permilles for QcapHolders, | Change the permilles for QcapHolders, | ||
| -qvaultsubmitreinvestingaddress < | -qvaultsubmitreinvestingaddress < | ||
| - | Submit the new reinvesting address using multisig address. | + | Submit the new reinvesting address using multisig address. |
| -qvaultchangereinvestingaddress < | -qvaultchangereinvestingaddress < | ||
| Change the address using multisig address. < | Change the address using multisig address. < | ||
| 行 299: | 行 300: | ||
| [MSVAULT COMMANDS] | [MSVAULT COMMANDS] | ||
| -msvaultregistervault < | -msvaultregistervault < | ||
| - | Register a vault. Vault' | + | Register a vault. Vault' |
| -msvaultdeposit < | -msvaultdeposit < | ||
| - | Deposit qubic into vault given vault ID. | + | Deposit qubic into vault given vault ID. |
| -msvaultreleaseto < | -msvaultreleaseto < | ||
| - | Request release qu to destination. Fee applies. | + | Request release qu to destination. Fee applies. |
| -msvaultresetrelease < | -msvaultresetrelease < | ||
| - | Reset release requests. Fee applies. | + | Reset release requests. Fee applies. |
| -msvaultgetvaults < | -msvaultgetvaults < | ||
| - | Get list of vaults owned by IDENTITY. | + | Get list of vaults owned by IDENTITY. |
| -msvaultgetreleasestatus < | -msvaultgetreleasestatus < | ||
| - | Get release status of a vault. | + | Get release status of a vault. |
| -msvaultgetbalanceof < | -msvaultgetbalanceof < | ||
| - | Get balance of a vault. | + | Get balance of a vault. |
| -msvaultgetvaultname < | -msvaultgetvaultname < | ||
| - | Get vault name. | + | Get vault name. |
| -msvaultgetrevenueinfo | -msvaultgetrevenueinfo | ||
| - | Get MsVault revenue info. | + | Get MsVault revenue info. |
| -msvaultgetfees | -msvaultgetfees | ||
| - | Get MsVault fees. | + | Get MsVault fees. |
| -msvaultgetvaultowners < | -msvaultgetvaultowners < | ||
| - | Get MsVault owners given vault ID. | + | Get MsVault owners given vault ID. |
| - | -msvaultdepositasset < | + | |
| - | Deposit a custom asset into a vault. Note: You must first grant management rights of the shares to the MsVault contract. | + | |
| - | -msvaultreleaseassetto < | + | |
| - | Request to release a custom asset from a vault to a destination. Fee applies. | + | |
| - | -msvaultresetassetrelease < | + | |
| - | Reset your pending custom asset release request for a vault. Fee applies. | + | |
| - | -msvaultgetassetbalances < | + | |
| - | Get the custom asset balances for a vault. | + | |
| - | -msvaultgetassetreleasestatus < | + | |
| - | Get the pending custom asset release statuses for a vault. | + | |
| - | -msvaultgetmanagedassetbalance < | + | |
| - | Get the managed asset balance for a specific owner. | + | |
| - | -msvaultrevokeassetrights < | + | |
| - | Revoke asset management rights from MsVault, transferring them back to QX. Fee applies. | + | |
| - | -msvaultisshareholder < | + | |
| - | Check if the provided identity is a shareholder of the MsVault contract. | + | |
| - | -msvaultvotechange < | + | |
| - | As a shareholder, | + | |
| - | -msvaultgetfeevotes | + | |
| - | Get the list of all active fee change votes. | + | |
| - | -msvaultgetfeevotesowner | + | |
| - | Get the list of shareholders who have cast a fee change vote. | + | |
| - | -msvaultgetfeevotesscore | + | |
| - | Get the corresponding scores (voting power) for each active fee change vote. | + | |
| - | -msvaultgetuniquefeevotes | + | |
| - | Get the list of unique fee proposals that have been voted on. | + | |
| - | -msvaultgetuniquefeevotesranking | + | |
| - | Get the aggregated scores (total voting power) for each unique fee proposal. | + | |
| [QSWAP COMMANDS] | [QSWAP COMMANDS] | ||
| -qswapgetfee | -qswapgetfee | ||
| - | Show current Qswap fee. | + | Show current Qswap fees. |
| -qswapissueasset < | -qswapissueasset < | ||
| Create an asset via Qswap contract. | Create an asset via Qswap contract. | ||
| -qswaptransferasset < | -qswaptransferasset < | ||
| Transfer an asset via Qswap contract. | Transfer an asset via Qswap contract. | ||
| - | -qswaptransferassetrights < | ||
| - | Transfer an asset rights. | ||
| -qswapcreatepool < | -qswapcreatepool < | ||
| Create an AMM pool via Qswap contract. | Create an AMM pool via Qswap contract. | ||
| -qswapgetpoolbasicstate < | -qswapgetpoolbasicstate < | ||
| - | Get the basic information | + | Get the basic info of a pool, totol liquidity, qu reserved, asset reserved. |
| - | -qswapaddliquidity < | + | |
| - | Add liquidity with restriction to an AMM pool via Qswap contract. | + | |
| - | -qswapremoveliquidity < | + | Add liquidity with restriction to an AMM pool via Qswap contract. |
| - | Remove liquidity with restriction from an AMM pool via Qswap contract. | + | -qswapremoveliquidity < |
| - | -qswapgetliquidityof < | + | Remove liquidity with restriction from an AMM pool via Qswap contract. |
| - | Get the staker' | + | |
| -qswapswapexactquforasset < | -qswapswapexactquforasset < | ||
| Swap qu for asset via Qswap contract, only execute if asset_amount_out >= ASSET_AMOUNT_OUT_MIN. | Swap qu for asset via Qswap contract, only execute if asset_amount_out >= ASSET_AMOUNT_OUT_MIN. | ||
| 行 376: | 行 346: | ||
| -qswapswapassetforexactqu < | -qswapswapassetforexactqu < | ||
| Swap asset for qu via Qswap contract, only execute if asset_amount_in <= ASSET_AMOUNT_IN_MAX. | Swap asset for qu via Qswap contract, only execute if asset_amount_in <= ASSET_AMOUNT_IN_MAX. | ||
| + | -qswapgetliquidityof < | ||
| + | Get the staker' | ||
| -qswapquote exact_qu_input/ | -qswapquote exact_qu_input/ | ||
| - | Quote amount_out/ | + | Quote amount_out/ |
| [NOSTROMO COMMANDS] | [NOSTROMO COMMANDS] | ||
| -nostromoregisterintier < | -nostromoregisterintier < | ||
| - | Register in tier. | + | Register in tier. |
| -nostromologoutfromtier | -nostromologoutfromtier | ||
| - | Logout from tier. | + | Logout from tier. |
| -nostromocreateproject < | -nostromocreateproject < | ||
| - | Create a project with the specified token info and start and end date for voting. | + | Create a project with the specified token info and start and end date for voting. |
| -nostromovoteinproject < | -nostromovoteinproject < | ||
| - | Vote in the project with < | + | Vote in the project with < |
| -nostromocreatefundraising < | -nostromocreatefundraising < | ||
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | Create a fundraising with the specified token and project infos. | + | Create a fundraising with the specified token and project infos. |
| -nostromoinvestinproject < | -nostromoinvestinproject < | ||
| - | Invest in the fundraising. | + | Invest in the fundraising. |
| -nostromoclaimtoken < | -nostromoclaimtoken < | ||
| - | Claim your token from SC. | + | Claim your token from SC. |
| - | If you invest in the fundraising and also it is the time for claiming, you can receive the token from SC. | + | If you invest in the fundraising and also it is the time for claiming, you can receive the token from SC. |
| -nostromoupgradetierlevel < | -nostromoupgradetierlevel < | ||
| - | Upgrade your tierlevel to < | + | Upgrade your tierlevel to < |
| -nostromotransfersharemanagementrights < | -nostromotransfersharemanagementrights < | ||
| - | Transfer the share management right to < | + | Transfer the share management right to < |
| -nostromogetstats | -nostromogetstats | ||
| - | Get the infos of SC(like total pool weight, epoch revenue, number of registers, number of projects, ...) | + | Get the infos of SC(like total pool weight, epoch revenue, number of registers, number of projects, ...). |
| -nostromogettierlevelbyuser < | -nostromogettierlevelbyuser < | ||
| - | Get the tier_level for < | + | Get the tier_level for < |
| -nostromogetuservotestatus < | -nostromogetuservotestatus < | ||
| - | Get the list of project index voted by < | + | Get the list of project index voted by < |
| -nostromochecktokencreatability < | -nostromochecktokencreatability < | ||
| - | Check if the < | + | Check if the < |
| - | If < | + | If < |
| -nostromogetnumberofinvestedprojects < | -nostromogetnumberofinvestedprojects < | ||
| - | Get the number invested and project. you can check if the < | + | Get the number invested and project. you can check if the < |
| - | The max number that can invest by one user at once in SC is 128 currently. | + | The max number that can invest by one user at once in SC is 128 currently. |
| -nostromogetprojectbyindex < | -nostromogetprojectbyindex < | ||
| - | Get the infos of project. | + | Get the infos of project. |
| -nostromogetfundraisingbyindex < | -nostromogetfundraisingbyindex < | ||
| - | Get the infos of fundraising. | + | Get the infos of fundraising. |
| -nostromogetprojectindexlistbycreator < | -nostromogetprojectindexlistbycreator < | ||
| - | Get the list of project that < | + | Get the list of project that < |
| - | -nostromogetInfoUserInvested | + | -nostromogetinfouserinvested |
| - | Get the invseted infos(indexOfFundraising, | + | Get the invseted infos(indexOfFundraising, |
| -nostromogetmaxclaimamount < | -nostromogetmaxclaimamount < | ||
| - | Get the max claim amount at the moment. | + | Get the max claim amount at the moment. |
| [QBOND COMMANDS] | [QBOND COMMANDS] | ||
| -qbondstake < | -qbondstake < | ||
| - | Stake QU and get MBNDxxx token for every million of QU. | + | Stake QU and get MBNDxxx token for every million of QU. |
| -qbondtransfer < | -qbondtransfer < | ||
| - | Transfer < | + | Transfer < |
| -qbondaddask < | -qbondaddask < | ||
| - | Add ask order of < | + | Add ask order of < |
| -qbondremoveask < | -qbondremoveask < | ||
| - | Remove < | + | Remove < |
| -qbondaddbid < | -qbondaddbid < | ||
| - | Add bid order of < | + | Add bid order of < |
| -qbondremovebid < | -qbondremovebid < | ||
| - | Remove < | + | Remove < |
| -qbondburnqu < | -qbondburnqu < | ||
| - | Burn < | + | Burn < |
| -qbondupdatecfa < | -qbondupdatecfa < | ||
| - | Only for admin! Update commission free addresses. < | + | Only for admin! Update commission free addresses. < |
| -qbondgetfees | -qbondgetfees | ||
| - | Get fees of QBond sc. | + | Get fees of QBond sc. |
| -qbondgetearnedfees | -qbondgetearnedfees | ||
| - | Get earned fees by QBond sc. | + | Get earned fees by QBond sc. |
| -qbondgetinfoperepoch < | -qbondgetinfoperepoch < | ||
| - | Get overall information about < | + | Get overall information about < |
| -qbondgetorders < | -qbondgetorders < | ||
| - | Get orders of < | + | Get orders of < |
| -qbondgetuserorders < | -qbondgetuserorders < | ||
| - | Get MBonds orders owner by < | + | Get MBonds orders owner by < |
| -qbondtable | -qbondtable | ||
| - | Get info about APY of each MBond. | + | Get info about APY of each MBond. |
| -qbondgetusermbonds < | -qbondgetusermbonds < | ||
| - | Get MBonds owned by the < | + | Get MBonds owned by the < |
| -qbondgetcfa | -qbondgetcfa | ||
| - | Get list of commission free addresses. | + | Get list of commission free addresses. |
| [TESTING COMMANDS] | [TESTING COMMANDS] | ||
| 行 471: | 行 443: | ||
| -testqpifunctionsoutputpast | -testqpifunctionsoutputpast | ||
| Test that output of qpi functions matches TickData and quorum tick votes for the last 15 ticks. Requires the TESTEXA SC to be enabled. | Test that output of qpi functions matches TickData and quorum tick votes for the last 15 ticks. Requires the TESTEXA SC to be enabled. | ||
| - | -testgetincomingtransferamounts < | + | |
| - | Get incoming transfer amounts from either TESTEXB (" | + | Get incoming transfer amounts from either TESTEXB (" |
| - | -testbidinipothroughcontract < | + | enabled. |
| - | Bid in an IPO either as TESTEXB (" | + | -testbidinipothroughcontract < |
| + | Bid in an IPO either as TESTEXB (" | ||
| </ | </ | ||
| - | {{topic> }}{{tag> }} | + | |
| + | |||
| + | {{tag>qubic-cli | ||
tag/qubic-cli/help.1766620209.txt.gz · 最終更新: by d.azuma