| 1045 | } |
| 1046 | |
| 1047 | std::string CLI::getContractAddress(const std::string &contract_name) const { |
| 1048 | if (!contract_address_.empty()) { |
| 1049 | return contract_address_; |
| 1050 | } |
| 1051 | // If no contract address provided, this indicates an error in the current |
| 1052 | // setup |
| 1053 | throw std::runtime_error( |
| 1054 | "No contract address provided. Use --contract-address option."); |
| 1055 | } |
| 1056 | |
| 1057 | std::array<uint8_t, 32> CLI::parseVaultId(const std::string &vault_id) const { |
| 1058 | // Parse a 32-byte vault ID from hex |
nothing calls this directly
no outgoing calls
no test coverage detected