Wrapped fCash
A simplified compatibility wrapper for lending and holding fCash.
Deployment
Example: Deploying an wfCash Wrapper
// Computes the wrapper address (will always be this address whether or
// not it has been deployed)
wrapperAddress = WrappedfCashFactory.computeAddress(2, 1664064000)
// Deploys a new fCash wrapper, wfDAI Maturing Sept 25, 2022 UTC Midnight
txn = WrappedfCashFactory.deployWrapper(2, 1664064000)
// These addresses will be the same
txn.events['WrapperDeployed']['wrapper'] == wrapperAddressLending (Minting wfCash)
Example: Minting Directly from wfCash
Example: Mint via ERC1155 Transfer
Redemption
Example: Redeeming wfCash
Last updated