mStable USD
Verified contract
Proxy
Active on
Ethereum with 46,780 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
0xca48…d705
12 additional
variables
Balances ($1,562.01)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
FORTH | ERC-20 | 347.974745 | $3.78 |
$1,315.34 | |
JASMY | ERC-20 | 9.596169K | $0.022822 |
$219 | |
mUSD | ERC-20 | 27.355758 | $1.00 |
$27.36 | |
HEX | ERC-20 | 101 | $0.002909 |
$0.29 | |
AMPL | ERC-20 | 0.015437 | $1.13 |
$0.02 | |
YFI | ERC-20 | 0 | $6,961.61 |
$0 | |
C4Y | ERC-20 | 4.8K | -- | -- | |
0x1251…ff86 | ERC-20 | 700 | -- | -- | |
FAN | ERC-20 | 1 | -- | -- | |
BTCB | ERC-20 | 0.002 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21268362 | 18 hours ago | | | 0 | 0.00041209377 | |
| 21257843 | 2 days ago | | | 0 | 0.00059320772 | |
| 21232838 | 6 days ago | | | 0 | 0.00049583153 | |
| 21226750 | 7 days ago | | | 0 | 0.00027910969 | |
| 21223683 | 7 days ago | | | 0 | 0.0020274266 | |
| 21219854 | 8 days ago | | | 0 | 0.00069250535 | |
| 21216003 | 8 days ago | | | 0 | 0.0015893654 | |
| 21188942 | 12 days ago | | | 0 | 0.0012700919 | |
| 21171727 | 14 days ago | | | 0 | 0.0016196615 | |
| 21167119 | 15 days ago | | | 0 | 0.0022494922 |
ABI
ABI objects
Getter at block 21273841 getBassets() view returns (struct MassetStructsBassetPersonal[] personal, struct MassetStructsBassetData[] data)
ampData() view returns (uint64 initialA, uint64 targetA, uint64 rampStartTime, uint64 rampEndTime)
(initialA=13500, targetA=25000, rampStartTime=1618312221, rampEndTime=1618564070)
basket() view returns (bool undergoingRecol, bool failed)
(undergoingRecol=false, failed=false)
cacheSize() view returns (uint256)
30000000000000000
decimals() view returns (uint8)
18
forgeValidator() view returns (address)
0xca480d596e6717c95a62a4dc1bd4fbd7b7e7d705
getBasket() view returns (bool, bool)
(false, false)
getConfig() view returns (struct MassetStructsInvariantConfig config)
(25000, (50000000000000000, 500000000000000000))
maxBassets() view returns (uint8)
10
name() view returns (string)
mStable USD
nexus() view returns (address)
0xafce80b19a8ce13dec0739a1aab7a028d6845eb3
redemptionFee() view returns (uint256)
200000000000000
surplus() view returns (uint256)
1
swapFee() view returns (uint256)
200000000000000
symbol() view returns (string)
mUSD
totalSupply() view returns (uint256)
3014111768600369859752356
weightLimits() view returns (uint128 min, uint128 max)
(min=50000000000000000, max=500000000000000000)
Read-only
allowance(address owner, address spender) view returns (uint256)
bAssetData(uint256) view returns (uint128 ratio, uint128 vaultBalance)
bAssetIndexes(address) view returns (uint8)
bAssetPersonal(uint256) view returns (address addr, address integrator, bool hasTxFee, uint8 status)
balanceOf(address account) view returns (uint256)
getBasset(address _bAsset) view returns (struct MassetStructsBassetPersonal personal, struct MassetStructsBassetData data)
getMintMultiOutput(address[] _inputs, uint256[] _inputQuantities) view returns (uint256 mintOutput)
getMintOutput(address _input, uint256 _inputQuantity) view returns (uint256 mintOutput)
getRedeemExactBassetsOutput(address[] _outputs, uint256[] _outputQuantities) view returns (uint256 mAssetQuantity)
getRedeemOutput(address _output, uint256 _mAssetQuantity) view returns (uint256 bAssetOutput)
getSwapOutput(address _input, address _output, uint256 _inputQuantity) view returns (uint256 swapOutput)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
initialize(address _logic, address _admin, bytes _data) payable
initialize(address _logic, bytes _data) payable
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
approve(address spender, uint256 amount) returns (bool)
collectInterest() returns (uint256 mintAmount, uint256 newSupply)
collectPlatformInterest() returns (uint256 mintAmount, uint256 newSupply)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
handlePegLoss(address _bAsset, bool _belowPeg)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
migrateBassets(address[] _bAssets, address _newIntegration)
mint(address _input, uint256 _inputQuantity, uint256 _minOutputQuantity, address _recipient) returns (uint256 mintOutput)
mintMulti(address[] _inputs, uint256[] _inputQuantities, uint256 _minOutputQuantity, address _recipient) returns (uint256 mintOutput)
negateIsolation(address _bAsset)
redeem(address _output, uint256 _mAssetQuantity, uint256 _minOutputQuantity, address _recipient) returns (uint256 outputQuantity)
redeemExactBassets(address[] _outputs, uint256[] _outputQuantities, uint256 _maxMassetQuantity, address _recipient) returns (uint256 mAssetQuantity)
redeemMasset(uint256 _mAssetQuantity, uint256[] _minOutputQuantities, address _recipient) returns (uint256[] outputQuantities)
setCacheSize(uint256 _cacheSize)
setFees(uint256 _swapFee, uint256 _redemptionFee)
setTransferFeesFlag(address _bAsset, bool _flag)
setWeightLimits(uint128 _min, uint128 _max)
startRampA(uint256 _targetA, uint256 _rampEndTime)
stopRampA()
swap(address _input, address _output, uint256 _inputQuantity, uint256 _minOutputQuantity, address _recipient) returns (uint256 swapOutput)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
upgrade(address _forgeValidator, struct MassetStructsInvariantConfig _config)
upgradeForgeValidator(address _newForgeValidator)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
Approval(address indexed owner, address indexed spender, uint256 value)
CacheSizeChanged(uint256 cacheSize)
FeesChanged(uint256 swapFee, uint256 redemptionFee)
ForgeValidatorChanged(address forgeValidator)
Minted(address indexed minter, address recipient, uint256 mAssetQuantity, address input, uint256 inputQuantity)
MintedMulti(address indexed minter, address recipient, uint256 mAssetQuantity, address[] inputs, uint256[] inputQuantities)
Redeemed(address indexed redeemer, address recipient, uint256 mAssetQuantity, address output, uint256 outputQuantity, uint256 scaledFee)
RedeemedMulti(address indexed redeemer, address recipient, uint256 mAssetQuantity, address[] outputs, uint256[] outputQuantity, uint256 scaledFee)
Swapped(address indexed swapper, address input, address output, uint256 outputAmount, uint256 scaledFee, address recipient)
Transfer(address indexed from, address indexed to, uint256 value)
WeightLimitsChanged(uint128 min, uint128 max)
This contract contains no constructor objects.
fallback()
This contract contains no error objects.