MCPcopy Create free account
hub / github.com/QuipNetwork/cpp-sdk / QuipFactory

Class QuipFactory

include/quip_factory.hpp:17–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15};
16
17class QuipFactory {
18public:
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
38private:
39 class Impl;
40 std::unique_ptr<Impl> impl_;
41};
42
43} // namespace quip

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected