Testnet Faucet · Events · 15@tokenops/sdk/testnet-faucet
Testnet Faucet event reference.
Testnet-only. mintConfidential parses ConfidentialMint off CTTT (6-decimal ERC-7984); mintUnderlying mints TTT (18-decimal ERC-20). No roles, pause, or fees — both faucets are open mints.
Mint· 2
| Event | Args | Emitted on |
|---|---|---|
| ConfidentialMint | (indexed to, underlyingMinted, encryptedAmount) | client.mintConfidential succeeds; carries the plaintext underlyingMinted (uint256) backing the mint plus the encrypted euint64 amount handle. The SDK parses this to fill MintConfidentialResult.handle and underlyingMinted. |
| Transfer | (indexed from, indexed to, value) | client.mintUnderlying succeeds — TTT mints to the recipient as a Transfer from the zero address. |
Confidential transfers + approvals· 3
| Event | Args | Emitted on |
|---|---|---|
| ConfidentialTransfer | (indexed from, indexed to, indexed amount) | A CTTT confidential transfer settles; the amount field is the encrypted euint64 handle, not a plaintext value. |
| OperatorSet | (indexed holder, indexed operator, until) | An ERC-7984 operator is authorized for a holder until the given timestamp (setOperator). |
| Approval | (indexed owner, indexed spender, value) | A TTT ERC-20 allowance is set (approve). |
Disclosure + decryption· 3
| Event | Args | Emitted on |
|---|---|---|
| AmountDiscloseRequested | (indexed encryptedAmount, indexed requester) | A holder requests public disclosure of an encrypted CTTT amount handle. |
| AmountDisclosed | (indexed encryptedAmount, amount) | The coprocessor returns the cleartext for a previously requested handle. |
| PublicDecryptionVerified | (handlesList, abiEncodedCleartexts) | A public-decryption proof for a batch of handles is verified on chain. |
Wrap + unwrap· 3
| Event | Args | Emitted on |
|---|---|---|
| Wrap | (indexed to, roundedAmount, encryptedWrappedAmount) | Underlying tokens are wrapped into CTTT; roundedAmount is the 6-decimal-aligned input, encryptedWrappedAmount the resulting handle. |
| UnwrapRequested | (indexed receiver, indexed unwrapRequestId, amount) | An unwrap of CTTT back to the underlying is requested for a receiver. |
| UnwrapFinalized | (indexed receiver, indexed unwrapRequestId, encryptedAmount, cleartextAmount) | The requested unwrap settles; carries both the encrypted and cleartext amounts. |
Proxy + ownership· 4
| Event | Args | Emitted on |
|---|---|---|
| Initialized | (version) | CTTT UUPS proxy initializer runs (version marker). |
| Upgraded | (indexed implementation) | The CTTT proxy implementation is upgraded (UUPS). |
| OwnershipTransferStarted | (indexed previousOwner, indexed newOwner) | Two-step ownership transfer is initiated (Ownable2Step). |
| OwnershipTransferred | (indexed previousOwner, indexed newOwner) | Ownership transfer is accepted, or set during initialization. |
parseEventLogs({ abi, logs }) and persist by topic. The ACL.Allowed event from the FHE coprocessor is the canonical source for handle ownership — see the indexing events recipe (coming soon).Browse recipes