Smart Contract Upgrade: More Flexible Subscriptions & Redemptions

The newest version of Superstate’s token smart contracts, SuperstateTokenV5, is live on Ethereum Mainnet. The upgrade adds useful functionality and will be used for EVM deployments going forward.
The main change is the addition of another subscribe
function with a to argument to the token contract. This allows investors to specify which Allowlist address belonging to their entity should receive USTB while using Protocol Subscriptions. Similarly, another redeem
function that takes a to argument was added to the Redemption contract. It allows investors to specify any Ethereum Address to send USDC to after redeeming USTB.
Other notable updates in SuperstateTokenV5
include:
The Subscribe event on the token contract was renamed to SubscribeV2
with the following changes:
- Now emits the
to
argument - Now emits
stablecoinInAmountBeforeFee
stablecoinInAmount
was renamed tostablecoinInAmountAfterFee
The Redeem
event on the Redemption contract was renamed to RedeemV2
with the following changes:
- Now emits the
to
argument - Now emits
usdcOutAmountBeforeFee
usdcOutAmount
was renamed tousdcOutAmountAfterFee
For more details on SuperstateTokenV5, including contract addresses and function specifications, refer to our technical documentation.