InitializableAdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 1,417 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
Balances ($1,834,552.12)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 1.657702M | $1.00 |
$1,657,702.3 | |
WETH | ERC-20 | 25.085744 | $3,903.75 |
$97,928.47 | |
DAI | ERC-20 | 78.337319K | $1.001 |
$78,415.66 | |
WBTC | ERC-20 | 0.004997 | $101,004.00 |
$504.73 | |
MTV | ERC-20 | 1K | $0.000957 |
$0.96 | |
NOTf | ERC-20 | 111.332739K | -- | -- | |
StableDAI.com | ERC-20 | 750 | -- | -- | |
SWAPP | ERC-20 | 5 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18993730 | a year ago | | | 0 | 0.0083459556 | |
| 17462823 | 2 years ago | | | 0 | 0.0034529160 | |
| 17458299 | 2 years ago | | | 0 | 0.0030988063 | |
| 16909799 | 2 years ago | | | 0 | 0.0015685963 | |
| 15544115 | 2 years ago | | | 0 | 0.0011906841 | |
| 15544106 | 2 years ago | | | 0 | 0.0011013883 | |
| 15544095 | 2 years ago | | | 0 | 0.0010906287 | |
| 15544085 | 2 years ago | | | 0 | 0.0014265794 | |
| 15544065 | 2 years ago | | | 0 | 0.0013972611 | |
| 15544052 | 2 years ago | | | 0 | 0.0014740337 |
ABI
ABI objects
Getter at block 21396972
DIRECTORY() view returns (address)
0xdce848258dfb1bbf34c346fbe40f10f8a42d2526
G_LIQUIDATION_DISCOUNT() view returns (uint128)
1060000000000000000
G_LIQUIDITY_HAIRCUT() view returns (uint128)
900000000000000000
G_LIQUIDITY_TOKEN_REPO_INCENTIVE() view returns (uint128)
1100000000000000000
G_RESERVE_ACCOUNT() view returns (address)
0x0000000000000000000000000000000000000000
G_SETTLEMENT_DISCOUNT() view returns (uint128)
1000000000000000000
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
isOwner() view returns (bool)
false
maxCurrencyId() view returns (uint16)
3
owner() view returns (address)
0x22341fb5d92d3d801144aa5a925f401a91418a05
Read-only
addressToCurrencyId(address) view returns (uint16)
cashBalances(uint16, address) view returns (int256)
convertBalancesToETH(int256[] amounts) view returns (int256[])
currencyIdToAddress(uint16) view returns (address)
currencyIdToDecimals(uint16) view returns (uint256)
exchangeRateOracles(uint16, uint16) view returns (address rateOracle, uint128 rateDecimals, bool mustInvert, uint128 buffer)
getBalances(address account) view returns (int256[])
getExchangeRate(uint16 base, uint16 quote) view returns (struct ExchangeRateRate)
isValidCurrency(uint16 currency) view returns (bool)
tokenOptions(address) view returns (bool isERC777, bool hasTransferFee)
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
addExchangeRate(uint16 base, uint16 quote, address rateOracle, uint128 buffer, uint128 rateDecimals, bool mustInvert)
deposit(address token, uint128 amount)
depositEth() payable
depositIntoMarket(address account, uint8 cashGroupId, uint128 value, uint128 fee)
depositsOnBehalf(address account, struct CommonDeposit[] deposits) payable
initialize(address directory, address owner)
initialize(address directory, address owner, address registry, address weth)
liquidate(address account, uint128 maxLiquidateAmount, uint16 localCurrency, uint16 collateralCurrency)
liquidateBatch(address[] accounts, uint16 localCurrency, uint16 collateralCurrency)
liquidatefCash(address payer, uint16 localCurrency, uint16 collateralCurrency)
listCurrency(address token, struct EscrowStorageTokenOptions options)
portfolioSettleCash(address account, int256[] settledCash)
renounceOwnership()
setContract(uint8 name, address contractAddress)
setDiscounts(uint128 liquidation, uint128 settlement, uint128 repoIncentive)
setLiquidityHaircut(uint128 haircut)
setReserveAccount(address account)
settleCashBalance(uint16 localCurrency, uint16 collateralCurrency, address payer, uint128 value)
settleCashBalanceBatch(uint16 localCurrency, uint16 collateralCurrency, address[] payers, uint128[] values)
settleReserve(address account, uint16 localCurrency)
settlefCash(address payer, uint16 localCurrency, uint16 collateralCurrency, uint128 valueToSettle)
tokensReceived(address, address from, address, uint256 amount, bytes, bytes)
transferOwnership(address newOwner)
unlockCurrentCash(uint16 currency, address cashMarket, int256 amount)
withdraw(address token, uint128 amount)
withdrawEth(uint128 amount)
withdrawFromMarket(address account, uint8 cashGroupId, uint128 value, uint128 fee)
withdrawsOnBehalf(address account, struct CommonWithdraw[] withdraws)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
Deposit(uint16 indexed currency, address account, uint256 value)
Liquidate(uint16 indexed localCurrency, uint16 collateralCurrency, address account, uint128 amountRecollateralized)
LiquidateBatch(uint16 indexed localCurrency, uint16 collateralCurrency, address[] accounts, uint128[] amountRecollateralized)
NewCurrency(address indexed token)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetDiscounts(uint128 liquidationDiscount, uint128 settlementDiscount, uint128 repoIncentive)
SetReserve(address reserveAccount)
SettleCash(uint16 localCurrency, uint16 collateralCurrency, address indexed payer, uint128 settledAmount)
SettleCashBatch(uint16 localCurrency, uint16 collateralCurrency, address[] payers, uint128[] settledAmounts)
UpdateExchangeRate(uint16 indexed base, uint16 indexed quote)
Withdraw(uint16 indexed currency, address account, uint256 value)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.