Create a wallet instance
| 51 | |
| 52 | // Create a wallet instance |
| 53 | std::unique_ptr<QuipWallet> createWallet(const std::string &address) { |
| 54 | if (wallet_factory_) { |
| 55 | return wallet_factory_(rpc_url_, address); |
| 56 | } |
| 57 | return std::make_unique<QuipWallet>(rpc_url_, address); |
| 58 | } |
| 59 | |
| 60 | std::string rpc_url_; |
| 61 | std::string contract_address_; |
nothing calls this directly
no outgoing calls
no test coverage detected