WrapperFactory enforces a one-wrapper-per-ERC-20 policy. Anyone can create a wrapper for any ERC-20 that has at least 6 decimals. Once created, the wrapper is permanently registered and discoverable.
Mainnet address: 0xde8d3122329916968BA9c5E034Bbade431687408
createWrapper
ConfidentialWrapper for the given ERC-20 token.
The underlying ERC-20 token address. Must have
decimals() >= 6. Cannot be address(0). A wrapper must not already exist for this token.ConfidentialWrapper.
ConfidentialPaymentRouterV2 calls this automatically if a wrapper doesn’t exist yet when you send a payment.getWrapper
address(0) if none exists.
totalWrappers
getWrappersPaginated
WrapperInfo struct
The underlying ERC-20 token address.
The deployed ConfidentialWrapper address.
Underlying token name.
Underlying token symbol.
Underlying token decimals.
cToken name (e.g.
"Confidential Wrapped Ether").cToken symbol (e.g.
"cWETH").Events
| Event | Parameters |
|---|---|
WrapperCreated | erc20Token, wrapper, name, symbol, creator |
ConfidentialWrapper
Full reference for the wrapper contract.
PaymentRouterV2
How the router uses WrapperFactory to find wrappers.