| 15 | }; |
| 16 | |
| 17 | class QuipFactory { |
| 18 | public: |
| 19 | QuipFactory(const std::string &rpc_url, |
| 20 | const std::string &contract_address = ""); |
| 21 | ~QuipFactory(); |
| 22 | |
| 23 | // Correct depositToWinternitz signature matching the Solidity contract |
| 24 | Address depositToWinternitz(const VaultId &vaultId, const Address &to, |
| 25 | const WinternitzAddress &pqTo, |
| 26 | const PrivateKey &private_key, |
| 27 | const Amount &amount = 0); |
| 28 | |
| 29 | Address getQuipWalletAddress(const VaultId &vaultId, const Address &to); |
| 30 | virtual Amount getCreationFee(); |
| 31 | virtual Amount getTransferFee(); |
| 32 | virtual Amount getExecuteFee(); |
| 33 | |
| 34 | std::vector<Vault> getVaults(const Address &owner); |
| 35 | |
| 36 | // Get the wallet's balance |
| 37 | |
| 38 | private: |
| 39 | class Impl; |
| 40 | std::unique_ptr<Impl> impl_; |
| 41 | }; |
| 42 | |
| 43 | } // namespace quip |
nothing calls this directly
no outgoing calls
no test coverage detected