ユーザ用ツール

サイト用ツール


tag:qubic-cli:help

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

tag:qubic-cli:help [2025/12/24 23:50] – 作成 d.azumatag: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. +        Print the raw transaction data without sending it to the network. Useful for offline signing or broadcasting later.
 Commands: Commands:
  
行 83: 行 82:
  -gettxinfo <TX_ID>  -gettxinfo <TX_ID>
  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 <FILE_PATH> [COMPRESS_TOOL] 
- 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 <TX_ID> <FILE_PATH> [DECOMPRESS_TOOL] 
- 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 <TICK_NUMBER> <TX_ID>  -checktxontick <TICK_NUMBER> <TX_ID>
  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 <CONTRACT_BINARY_FILE> <CONTRACT_ID> <OUTPUT_CSV_FILE>  -dumpcontractfile <CONTRACT_BINARY_FILE> <CONTRACT_ID> <OUTPUT_CSV_FILE>
- Dump contract file into csv. Current supported CONTRACT_IDs: 1-QX + Dump contract file into csv. Current supported CONTRACT_ID: 1-QX
  -makeipobid <CONTRACT_INDEX> <NUMBER_OF_SHARE> <PRICE_PER_SHARE>  -makeipobid <CONTRACT_INDEX> <NUMBER_OF_SHARE> <PRICE_PER_SHARE>
- Participating IPO (dutch auction). Valid seed and node ip/port, CONTRACT_INDEX are required.+ Participating IPO (dutch auction). valid seed and node ip/port, CONTRACT_INDEX are required.
  -getipostatus <CONTRACT_INDEX>  -getipostatus <CONTRACT_INDEX>
  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 <COMMAND_IN_NUMBER>   -sendspecialcommand <COMMAND_IN_NUMBER> 
  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 <MODE_0> <Mode_1> + -togglemainaux <MODE_0> <Mode_1>
  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.
  <MODE_0> and <MODE_1> value are: MAIN or AUX   <MODE_0> and <MODE_1> value are: MAIN or AUX
- -setsolutionthreshold <EPOCH> <SOLUTION_THRESHOLD>  + -setsolutionthreshold <EPOCH> <SOLUTION_THRESHOLD> <ALGO_TYPE_INDEX
- 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. <ALGO_TYPE_INDEX>: 0 - HYPERIDENTITY, 1 - ADDITION
  -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 <COMPUTOR_LIST_FILE> <TICK>  -getvotecountertx <COMPUTOR_LIST_FILE> <TICK>
- Get vote counter transaction of a tick: showing how many votes per ID that this tick leader saw from (<TICK>-675-3) to (<TICK>-3)  + Get vote counter transaction of a tick: showing how many votes per ID that this tick leader saw from (<TICK>-675-3) to (<TICK>-3)
  -setloggingmode <MODE>  -setloggingmode <MODE>
- 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 "<MESSAGE>" + -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 <NUMERATOR> <DENOMINATOR>  -setexecutionfeemultiplier <NUMERATOR> <DENOMINATOR>
- 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 <CONTRACT_INDEX> <CONTRACT_FUNCTION> <INPUT_FORMAT_STRING> <OUTPUT_FORMAT_STRING> +    -callcontractfunction <CONTRACT_INDEX> <CONTRACT_FUNCTION> <INPUT_FORMAT_STRING> <OUTPUT_FORMAT_STRING> 
- 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 <CONTRACT_INDEX> <CONTRACT_PROCEDURE> <AMOUNT> <INPUT_FORMAT_STRING> +    -invokecontractprocedure <CONTRACT_INDEX> <CONTRACT_PROCEDURE> <AMOUNT> <INPUT_FORMAT_STRING> 
- 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 <CONTRACT_INDEX> <PROPOSAL_STRING>  -setshareholderproposal <CONTRACT_INDEX> <PROPOSAL_STRING>
  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 <ASSET_NAME> <ISSUER_ID> <NEW_MANAGING_CONTRACT> <NUMBER_OF_SHARES>  -qxtransferrights <ASSET_NAME> <ISSUER_ID> <NEW_MANAGING_CONTRACT> <NUMBER_OF_SHARES>
- Transfer asset management rights of shares from QX to another contract. <NEW_MANAGING_CONTRACT> can be given as name or index. You need to own/possess the shares to do this (seed required).+ Transfer asset management rights of shares from QX to another contract. 
 + <NEW_MANAGING_CONTRACT> can be given as name or index. 
 + 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 of CCF.+ Get and print regular payments (subscription payments) made by CCF contract.
  
 [QEARN COMMANDS] [QEARN COMMANDS]
行 263: 行 264:
  Get the unlocking history of the user.  Get the unlocking history of the user.
  -qearngetstatsperepoch <EPOCH>  -qearngetstatsperepoch <EPOCH>
- Get the Stats(early unlocked amount, early unlocked percent) of the epoch <EPOCH> and Stats(total locked amount, average APY) of QEarn SC.+ Get the Stats(early unlocked amount, early unlocked percent) of the epoch <EPOCH> and Stats(total locked amount, average APY) of QEarn SC
  -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. <NUMBER_OF_CHANGED_ADDRESS> is the one of (1, 2, 3).  Change the authaddress using multisig address. <NUMBER_OF_CHANGED_ADDRESS> is the one of (1, 2, 3).
  -qvaultsubmitfees <NEW_QCAPHOLDER_PERMILLE> <NEW_REINVESTING_PERMILLE> <NEW_DEV_PERMILLE>  -qvaultsubmitfees <NEW_QCAPHOLDER_PERMILLE> <NEW_REINVESTING_PERMILLE> <NEW_DEV_PERMILLE>
- Submit the new permilles for QcapHolders, Reinvesting, Development using multisig address. the sum of 3 permilles should be 970 because the permille of shareHolder is 30.+ Submit the new permilles for QcapHolders, Reinvesting, Development using multisig address. the sum of 3 permilles should be 970 because the permille of shareHolder is 30. 
  -qvaultchangefees <NEW_QCAPHOLDER_PERMILLE> <NEW_REINVESTING_PERMILLE> <NEW_DEV_PERMILLE>  -qvaultchangefees <NEW_QCAPHOLDER_PERMILLE> <NEW_REINVESTING_PERMILLE> <NEW_DEV_PERMILLE>
  Change the permilles for QcapHolders, Reinvesting, Development using multisig address. the sum of 3 permilles should be 970 because the permille of shareHolder is 30. Get the locked amount that the user <IDENTITY> locked in the epoch <EPOCH>.  Change the permilles for QcapHolders, Reinvesting, Development using multisig address. the sum of 3 permilles should be 970 because the permille of shareHolder is 30. Get the locked amount that the user <IDENTITY> locked in the epoch <EPOCH>.
  -qvaultsubmitreinvestingaddress <NEW_ADDRESS>  -qvaultsubmitreinvestingaddress <NEW_ADDRESS>
- Submit the new reinvesting address using multisig address.+ Submit the new reinvesting address using multisig address. 
  -qvaultchangereinvestingaddress <NEW_ADDRESS>  -qvaultchangereinvestingaddress <NEW_ADDRESS>
  Change the address using multisig address. <NEW_ADDRESS> should be already submitted by -qvaultsubmitreinvestingaddress command.  Change the address using multisig address. <NEW_ADDRESS> should be already submitted by -qvaultsubmitreinvestingaddress command.
行 299: 行 300:
 [MSVAULT COMMANDS] [MSVAULT COMMANDS]
  -msvaultregistervault <REQUIRED_APPROVALS> <VAULT_NAME> <OWNER_ID_COMMA_SEPARATED>  -msvaultregistervault <REQUIRED_APPROVALS> <VAULT_NAME> <OWNER_ID_COMMA_SEPARATED>
- Register a vault. Vault's number of votes for proposal approval <REQUIRED_APPROVALS>, vault name (max 32 chars), and a list of owners (separated by commas). Fee applies.+ Register a vault. Vault's number of votes for proposal approval <REQUIRED_APPROVALS>, vault name (max 32 chars), and a list of owners (separated by commas). Fee applies.
  -msvaultdeposit <VAULT_ID> <AMOUNT>  -msvaultdeposit <VAULT_ID> <AMOUNT>
- Deposit qubic into vault given vault ID.+ Deposit qubic into vault given vault ID.
  -msvaultreleaseto <VAULT_ID> <AMOUNT> <DESTINATION_IDENTITY>  -msvaultreleaseto <VAULT_ID> <AMOUNT> <DESTINATION_IDENTITY>
- Request release qu to destination. Fee applies.+ Request release qu to destination. Fee applies.
  -msvaultresetrelease <VAULT_ID>  -msvaultresetrelease <VAULT_ID>
- Reset release requests. Fee applies.+ Reset release requests. Fee applies.
  -msvaultgetvaults <IDENTITY>  -msvaultgetvaults <IDENTITY>
- Get list of vaults owned by IDENTITY.+ Get list of vaults owned by IDENTITY.
  -msvaultgetreleasestatus <VAULT_ID>  -msvaultgetreleasestatus <VAULT_ID>
- Get release status of a vault.+ Get release status of a vault.
  -msvaultgetbalanceof <VAULT_ID>  -msvaultgetbalanceof <VAULT_ID>
- Get balance of a vault.+ Get balance of a vault.
  -msvaultgetvaultname <VAULT_ID>  -msvaultgetvaultname <VAULT_ID>
- 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 <VAULT_ID>  -msvaultgetvaultowners <VAULT_ID>
- Get MsVault owners given vault ID+ Get MsVault owners given vault ID.
- -msvaultdepositasset <VAULT_ID> <ASSET_NAME> <ISSUER_ID> <AMOUNT> +
- Deposit a custom asset into a vault. Note: You must first grant management rights of the shares to the MsVault contract. +
- -msvaultreleaseassetto <VAULT_ID> <ASSET_NAME> <ISSUER_ID> <AMOUNT> <DESTINATION_ID> +
- Request to release a custom asset from a vault to a destination. Fee applies. +
- -msvaultresetassetrelease <VAULT_ID> +
- Reset your pending custom asset release request for a vault. Fee applies. +
- -msvaultgetassetbalances <VAULT_ID> +
- Get the custom asset balances for a vault. +
- -msvaultgetassetreleasestatus <VAULT_ID> +
- Get the pending custom asset release statuses for a vault. +
- -msvaultgetmanagedassetbalance <ASSET_NAME> <ISSUER_ID> <OWNER_ID> +
- Get the managed asset balance for a specific owner. +
- -msvaultrevokeassetrights <ASSET_NAME> <ISSUER_ID> <NUMBER_OF_SHARES> +
- Revoke asset management rights from MsVault, transferring them back to QX. Fee applies. +
- -msvaultisshareholder <IDENTITY> +
- Check if the provided identity is a shareholder of the MsVault contract. +
- -msvaultvotechange <REGISTER_FEE> <RELEASE_FEE> <RESET_RELEASE_FEE> <HOLD_FEE> <DEPOSIT_FEE> +
- As a shareholder, vote to change the contract fees. A deposit is required, which is refunded if the vote passes. +
- -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 <ASSET_NAME> <NUMBER_OF_UNIT> <UNIT_OF_MEASUREMENT> <NUM_DECIMAL>  -qswapissueasset <ASSET_NAME> <NUMBER_OF_UNIT> <UNIT_OF_MEASUREMENT> <NUM_DECIMAL>
  Create an asset via Qswap contract.  Create an asset via Qswap contract.
  -qswaptransferasset <ASSET_NAME> <ISSUER_IN_HEX> <NEW_OWNER_IDENTITY> <AMOUNT_OF_SHARE>  -qswaptransferasset <ASSET_NAME> <ISSUER_IN_HEX> <NEW_OWNER_IDENTITY> <AMOUNT_OF_SHARE>
  Transfer an asset via Qswap contract.  Transfer an asset via Qswap contract.
- -qswaptransferassetrights <ASSET_NAME> <ISSUER_IN_HEX> <NEW_MANAGING_CONTRACT_INDEX> <AMOUNT_OF_SHARE> 
- Transfer an asset rights. 
  -qswapcreatepool <ASSET_NAME> <ISSUER_IN_HEX>  -qswapcreatepool <ASSET_NAME> <ISSUER_IN_HEX>
  Create an AMM pool via Qswap contract.  Create an AMM pool via Qswap contract.
  -qswapgetpoolbasicstate <ASSET_NAME> <ISSUER_IN_HEX>  -qswapgetpoolbasicstate <ASSET_NAME> <ISSUER_IN_HEX>
- Get the basic information of a pool. + Get the basic info of a pool, totol liquidity, qu reserved, asset reserved
- -qswapaddliquidity <ASSET_NAME> <ISSUER_IN_HEX> <QU_AMOUNT_IN> <ASSET_AMOUNT_DESIRED> <QU_AMOUNT_MIN> <ASSET_AMOUNT_MIN> + 
- Add liquidity with restriction to an AMM pool via Qswap contract. +    -qswapaddliquidity <ASSET_NAME> <ISSUER_IN_HEX> <QU_AMOUNT_IN> <ASSET_AMOUNT_DESIRED> <QU_AMOUNT_MIN> <ASSET_AMOUNT_MIN> 
- -qswapremoveliquidity <ASSET_NAME> <ISSUER_IN_HEX> <BURN_LIQUIDITY> <QU_AMOUNT_MIN> <ASSET_AMOUNT_MIN> +     Add liquidity with restriction to an AMM pool via Qswap contract. 
- Remove liquidity with restriction from an AMM pool via Qswap contract+    -qswapremoveliquidity <ASSET_NAME> <ISSUER_IN_HEX> <BURN_LIQUIDITY> <QU_AMOUNT_MIN> <ASSET_AMOUNT_MIN> 
- -qswapgetliquidityof <ASSET_NAME> <ISSUER_IN_HEX> [LIQUIDITY_STAKER(in qublic format)] +     Remove liquidity with restriction from an AMM pool via Qswap contract.
- Get the staker's liquidity in a pool.+
  -qswapswapexactquforasset <ASSET_NAME> <ISSUER_IN_HEX> <QU_AMOUNT_IN> <ASSET_AMOUNT_OUT_MIN>  -qswapswapexactquforasset <ASSET_NAME> <ISSUER_IN_HEX> <QU_AMOUNT_IN> <ASSET_AMOUNT_OUT_MIN>
  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 <ASSET_NAME> <ISSUER_IN_HEX> <QU_AMOUNT_OUT> <ASSET_AMOUNT_IN_MAX>  -qswapswapassetforexactqu <ASSET_NAME> <ISSUER_IN_HEX> <QU_AMOUNT_OUT> <ASSET_AMOUNT_IN_MAX>
  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 <ASSET_NAME> <ISSUER_IN_HEX> [LIQUIDITY_STAKER(in qublic format)]
 + Get the staker's liquidity in a pool.
  -qswapquote exact_qu_input/exact_qu_output/exact_asset_input/exact_asset_output <ASSET_NAME> <ISSUER_IN_HEX> <AMOUNT>  -qswapquote exact_qu_input/exact_qu_output/exact_asset_input/exact_asset_output <ASSET_NAME> <ISSUER_IN_HEX> <AMOUNT>
- Quote amount_out/amount_in with the given amount_in/amount_out via Qswap contract.+    Quote amount_out/amount_in with given amount_in/amount_out.
  
 [NOSTROMO COMMANDS] [NOSTROMO COMMANDS]
  -nostromoregisterintier <TIER_LEVEL>  -nostromoregisterintier <TIER_LEVEL>
- Register in tier.+ Register in tier.
  -nostromologoutfromtier   -nostromologoutfromtier 
- Logout from tier.+ Logout from tier.
  -nostromocreateproject <TOKEN_NAME> <SUPPLY_OF_TOKEN> <START_YEAR> <START_MONTH> <START_DAY> <START_HOUR> <END_YEAR> <END_MONTH> <END_DAY> <END_HOUR>  -nostromocreateproject <TOKEN_NAME> <SUPPLY_OF_TOKEN> <START_YEAR> <START_MONTH> <START_DAY> <START_HOUR> <END_YEAR> <END_MONTH> <END_DAY> <END_HOUR>
- 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 <PROJECT_INDEX> <DECISION>  -nostromovoteinproject <PROJECT_INDEX> <DECISION>
- Vote in the project with <DECISION> in the <PROJECT_INDEX> -> if you want to vote with yes, it should be 1. otherwise it is 0.+ Vote in the project with <DECISION> in the <PROJECT_INDEX> -> if you want to vote with yes, it should be 1. otherwise it is 0.
  -nostromocreatefundraising <TOKEN_PRICE> <SALE_AMOUNT> <REQUIRED_FUND> <PROJECT_INDEX>   -nostromocreatefundraising <TOKEN_PRICE> <SALE_AMOUNT> <REQUIRED_FUND> <PROJECT_INDEX> 
- <FIRST_PHASE_START_YEAR> <FIRST_PHASE_START_MONTH> <FIRST_PHASE_START_DAY> <FIRST_PHASE_START_HOUR> + <FIRST_PHASE_START_YEAR> <FIRST_PHASE_START_MONTH> <FIRST_PHASE_START_DAY> <FIRST_PHASE_START_HOUR> 
- <FIRST_PHASE_END_YEAR> <FIRST_PHASE_END_MONTH> <FIRST_PHASE_END_DAY> <FIRST_PHASE_END_HOUR> + <FIRST_PHASE_END_YEAR> <FIRST_PHASE_END_MONTH> <FIRST_PHASE_END_DAY> <FIRST_PHASE_END_HOUR> 
- <SECOND_PHASE_START_YEAR> <SECOND_PHASE_START_MONTH> <SECOND_PHASE_START_DAY> <SECOND_PHASE_START_HOUR> + <SECOND_PHASE_START_YEAR> <SECOND_PHASE_START_MONTH> <SECOND_PHASE_START_DAY> <SECOND_PHASE_START_HOUR> 
- <SECOND_PHASE_END_YEAR> <SECOND_PHASE_END_MONTH> <SECOND_PHASE_END_DAY> <SECOND_PHASE_END_HOUR> + <SECOND_PHASE_END_YEAR> <SECOND_PHASE_END_MONTH> <SECOND_PHASE_END_DAY> <SECOND_PHASE_END_HOUR> 
- <THIRD_PHASE_START_YEAR> <THIRD_PHASE_START_MONTH> <THIRD_PHASE_START_DAY> <THIRD_PHASE_START_HOUR> + <THIRD_PHASE_START_YEAR> <THIRD_PHASE_START_MONTH> <THIRD_PHASE_START_DAY> <THIRD_PHASE_START_HOUR> 
- <THIRD_PHASE_END_YEAR> <THIRD_PHASE_END_MONTH> <THIRD_PHASE_END_DAY> <THIRD_PHASE_END_HOUR> + <THIRD_PHASE_END_YEAR> <THIRD_PHASE_END_MONTH> <THIRD_PHASE_END_DAY> <THIRD_PHASE_END_HOUR> 
- <LISTING_START_YEAR> <LISTING_START_MONTH> <LISTING_START_DAY> <LISTING_START_HOUR> + <LISTING_START_YEAR> <LISTING_START_MONTH> <LISTING_START_DAY> <LISTING_START_HOUR> 
- <CLIFF_END_YEAR> <CLIFF_END_MONTH> <CLIFF_END_DAY> <CLIFF_END_HOUR> + <CLIFF_END_YEAR> <CLIFF_END_MONTH> <CLIFF_END_DAY> <CLIFF_END_HOUR> 
- <VESTING_END_YEAR> <VESTING_END_MONTH> <VESTING_END_DAY> <VESTING_END_HOUR> + <VESTING_END_YEAR> <VESTING_END_MONTH> <VESTING_END_DAY> <VESTING_END_HOUR> 
- <THRESHOLDS> <TGE> <NUMBER_OF_STEP_FOR_VESTING> + <THRESHOLDS> <TGE> <NUMBER_OF_STEP_FOR_VESTING> 
- Create a fundraising with the specified token and project infos.+ Create a fundraising with the specified token and project infos.
  -nostromoinvestinproject <FUNDRAISING_INDEX> <INVESTMENT_AMOUNT>  -nostromoinvestinproject <FUNDRAISING_INDEX> <INVESTMENT_AMOUNT>
- Invest in the fundraising.+ Invest in the fundraising.
  -nostromoclaimtoken <CLAIM_AMOUNT> <FUNDRAISING_INDEX>  -nostromoclaimtoken <CLAIM_AMOUNT> <FUNDRAISING_INDEX>
- 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 <NEW_TIER_LEVEL>  -nostromoupgradetierlevel <NEW_TIER_LEVEL>
- Upgrade your tierlevel to <NEW_TIER_LEVEL>+ Upgrade your tierlevel to <NEW_TIER_LEVEL>
  -nostromotransfersharemanagementrights <TOKEN_NAME> <TOKEN_ISSUER> <NEW_MANAGEMENT_CONTRACT_INDEX> <AMOUNT_OF_TRANSFER>  -nostromotransfersharemanagementrights <TOKEN_NAME> <TOKEN_ISSUER> <NEW_MANAGEMENT_CONTRACT_INDEX> <AMOUNT_OF_TRANSFER>
- Transfer the share management right to <NEW_MANAGEMENT_CONTRACT_INDEX>+ Transfer the share management right to <NEW_MANAGEMENT_CONTRACT_INDEX>
  -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 <USER_ID>  -nostromogettierlevelbyuser <USER_ID>
- Get the tier_level for <USER_ID>.+ Get the tier_level for <USER_ID>.
  -nostromogetuservotestatus <USER_ID>  -nostromogetuservotestatus <USER_ID>
- Get the list of project index voted by <USER_ID>.+ Get the list of project index voted by <USER_ID>.
  -nostromochecktokencreatability <TOKEN_NAME>  -nostromochecktokencreatability <TOKEN_NAME>
- Check if the <TOKEN_NAME> can be issued by SC. + Check if the <TOKEN_NAME> can be issued by SC. 
- If <TOKEN_NAME> is already created by SC, it can not be issued anymore.+ If <TOKEN_NAME> is already created by SC, it can not be issued anymore.
  -nostromogetnumberofinvestedprojects <USER_ID>  -nostromogetnumberofinvestedprojects <USER_ID>
- Get the number invested and project. you can check if the <USER_ID> can invest. + Get the number invested and project. you can check if the <USER_ID> can invest. 
- 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 <PROJECT_INDEX>  -nostromogetprojectbyindex <PROJECT_INDEX>
- Get the infos of project.+ Get the infos of project.
  -nostromogetfundraisingbyindex <FUNDRAISING_INDEX>  -nostromogetfundraisingbyindex <FUNDRAISING_INDEX>
- Get the infos of fundraising.+ Get the infos of fundraising.
  -nostromogetprojectindexlistbycreator <USER_ID>  -nostromogetprojectindexlistbycreator <USER_ID>
- Get the list of project that <USER_ID> created. + Get the list of project that <USER_ID> created. 
- -nostromogetInfoUserInvested <INVESTOR_ADDRESS> + -nostromogetinfouserinvested <INVESTOR_ADDRESS> 
- Get the invseted infos(indexOfFundraising, InvestedAmount, ClaimedAmount).+ Get the invseted infos(indexOfFundraising, InvestedAmount, ClaimedAmount).
  -nostromogetmaxclaimamount <INVESTOR_ADDRESS> <INDEX_OF_FUNDRAISING>  -nostromogetmaxclaimamount <INVESTOR_ADDRESS> <INDEX_OF_FUNDRAISING>
- Get the max claim amount at the moment.+ Get the max claim amount at the moment.
  
 [QBOND COMMANDS] [QBOND COMMANDS]
  -qbondstake <MILLIONS_AMOUNT>  -qbondstake <MILLIONS_AMOUNT>
- Stake QU and get MBNDxxx token for every million of QU.+ Stake QU and get MBNDxxx token for every million of QU.
  -qbondtransfer <IDENTITY> <EPOCH> <AMOUNT>  -qbondtransfer <IDENTITY> <EPOCH> <AMOUNT>
- Transfer <AMOUNT> of MBonds of specific <EPOCH> to new owner <IDENTITY>+ Transfer <AMOUNT> of MBonds of specific <EPOCH> to new owner <IDENTITY>
  -qbondaddask <EPOCH> <PRICE> <AMOUNT>  -qbondaddask <EPOCH> <PRICE> <AMOUNT>
- Add ask order of <AMOUNT> MBonds of <EPOCH> at <PRICE>+ Add ask order of <AMOUNT> MBonds of <EPOCH> at <PRICE>
  -qbondremoveask <EPOCH> <PRICE> <AMOUNT>  -qbondremoveask <EPOCH> <PRICE> <AMOUNT>
- Remove <AMOUNT> MBonds of <EPOCH> from ask order at <PRICE>+ Remove <AMOUNT> MBonds of <EPOCH> from ask order at <PRICE>
  -qbondaddbid <EPOCH> <PRICE> <AMOUNT>  -qbondaddbid <EPOCH> <PRICE> <AMOUNT>
- Add bid order of <AMOUNT> MBonds of <EPOCH> at <PRICE>+ Add bid order of <AMOUNT> MBonds of <EPOCH> at <PRICE>
  -qbondremovebid <EPOCH> <PRICE> <AMOUNT>  -qbondremovebid <EPOCH> <PRICE> <AMOUNT>
- Remove <AMOUNT> MBonds of <EPOCH> from bid order at <PRICE>+ Remove <AMOUNT> MBonds of <EPOCH> from bid order at <PRICE>
  -qbondburnqu <AMOUNT>  -qbondburnqu <AMOUNT>
- Burn <AMOUNT> of qu by QBOND sc.+ Burn <AMOUNT> of qu by QBOND sc.
  -qbondupdatecfa <IDENTITY> <OPERATION>  -qbondupdatecfa <IDENTITY> <OPERATION>
- Only for admin! Update commission free addresses. <OPERATION> must be 0 to remove <IDENTITY> or 1 to add.+ Only for admin! Update commission free addresses. <OPERATION> must be 0 to remove <IDENTITY> or 1 to add.
  -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 <EPOCH>  -qbondgetinfoperepoch <EPOCH>
- Get overall information about <EPOCH> (stakers amount, total staked, APY)+ Get overall information about <EPOCH> (stakers amount, total staked, APY)
  -qbondgetorders <EPOCH> <ASKS_OFFSET> <BIDS_OFFSET>  -qbondgetorders <EPOCH> <ASKS_OFFSET> <BIDS_OFFSET>
- Get orders of <EPOCH> MBonds.+ Get orders of <EPOCH> MBonds.
  -qbondgetuserorders <OWNER> <ASKS_OFFSET> <BIDS_OFFSET>  -qbondgetuserorders <OWNER> <ASKS_OFFSET> <BIDS_OFFSET>
- Get MBonds orders owner by <OWNER>.+ Get MBonds orders owner by <OWNER>.
  -qbondtable  -qbondtable
- Get info about APY of each MBond.+ Get info about APY of each MBond.
  -qbondgetusermbonds <OWNER>  -qbondgetusermbonds <OWNER>
- Get MBonds owned by the <OWNER>.+ Get MBonds owned by the <OWNER>.
  -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 <B_OR_C> +    -testgetincomingtransferamounts <B_OR_C> 
- Get incoming transfer amounts from either TESTEXB ("B") or TESTEXC ("C"). Requires the TESTEXB and TESTEXC SCs to be enabled. +        Get incoming transfer amounts from either TESTEXB ("B") or TESTEXC ("C"). Requires the TESTEXB and TESTEXC SCs to be 
- -testbidinipothroughcontract <B_OR_C> <CONTRACT_INDEX> <NUMBER_OF_SHARE> <PRICE_PER_SHARE> +enabled. 
- Bid in an IPO either as TESTEXB ("B") or as TESTEXC ("C"). Requires the TESTEXB and TESTEXC SCs to be enabled.+    -testbidinipothroughcontract <B_OR_C> <CONTRACT_INDEX> <NUMBER_OF_SHARE> <PRICE_PER_SHARE> 
 +        Bid in an IPO either as TESTEXB ("B") or as TESTEXC ("C"). Requires the TESTEXB and TESTEXC SCs to be enabled.
  
 </code> </code>
  
-{{topic> }}{{tag> }}+ 
 + 
 +{{tag>qubic-cli }}
tag/qubic-cli/help.1766620209.txt.gz · 最終更新: by d.azuma