Exchange
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
13
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
13 additional
variables
Balances ($0.00)
No balances found for "Exchange"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Exchange"
ABI
ABI objects
Getter at block 22751980 getAvailabilityInfo() view returns (uint256 _available, bool _paused, bool _deprecated)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FREE_RIDER_ROLE() view returns (bytes32)
0x262f8dca0440d5010bae937fe18daeae459dacb80622baddc3b4f10759ac952a
LIQ_DELTA_DM() view returns (uint256)
1000000
PORTFOLIO_AGENT_ROLE() view returns (bytes32)
0xd67ad422505496469a1adf6cdf9e5ee92ac5d33992843c9ecc4b2f6d6cde9137
RISK_FACTOR_DM() view returns (uint256)
100000
UNIT_ROLE() view returns (bytes32)
0xede8101501d89b9894e78e4f219420b6ddb840e8e75dde35741a0745408476d7
abroadMax() view returns (uint256)
0
abroadMin() view returns (uint256)
0
blockGetter() view returns (address)
0x0000000000000000000000000000000000000000
buyFee() view returns (uint256)
0
buyFeeDenominator() view returns (uint256)
0
compensateLoss() view returns (uint256)
0
compensateLossDenominator() view returns (uint256)
0
deprecated() view returns (bool)
false
insurance() view returns (address)
0x0000000000000000000000000000000000000000
lastBlockNumber() view returns (uint256)
0
mark2market() view returns (address)
0x0000000000000000000000000000000000000000
nextPayoutTime() view returns (uint256)
0
oracleLoss() view returns (uint256)
0
oracleLossDenominator() view returns (uint256)
0
paused() view returns (bool)
false
payoutManager() view returns (address)
0x0000000000000000000000000000000000000000
payoutPeriod() view returns (uint256)
0
payoutTimeRange() view returns (uint256)
0
portfolioManager() view returns (address)
0x0000000000000000000000000000000000000000
profitFee() view returns (uint256)
0
profitFeeDenominator() view returns (uint256)
0
profitRecipient() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
redeemFee() view returns (uint256)
0
redeemFeeDenominator() view returns (uint256)
0
roleManager() view returns (address)
0x0000000000000000000000000000000000000000
usdPlus() view returns (address)
0x0000000000000000000000000000000000000000
usdc() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events buy(address _asset, uint256 _amount) returns (uint256)
grantRole(bytes32 role, address account)
initialize()
mint(struct ExchangeMintParams params) returns (uint256)
negativeRebase()
pause()
payout(bool simulate, struct IInsuranceExchangeSwapData swapData) returns (int256 swapAmount)
redeem(address _asset, uint256 _amount) returns (uint256)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setBlockGetter(address _blockGetter)
setBuyFee(uint256 _fee, uint256 _feeDenominator)
setCompensateLoss(uint256 _compensateLoss, uint256 _denominator)
setDeprecated(bool _deprecated)
setInsurance(address _insurance)
setMark2Market(address _mark2market)
setMaxAbroad(uint256 _max)
setOracleLoss(uint256 _oracleLoss, uint256 _denominator)
setPayoutManager(address _payoutManager)
setPayoutTimes(uint256 _nextPayoutTime, uint256 _payoutPeriod, uint256 _payoutTimeRange)
setPortfolioManager(address _portfolioManager)
setProfitFee(uint256 _fee, uint256 _feeDenominator)
setProfitRecipient(address _profitRecipient)
setRedeemFee(uint256 _fee, uint256 _feeDenominator)
setRoleManager(address _roleManager)
setTokens(address _usdPlus, address _asset)
unpause()
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
BlockGetterUpdated(address blockGetter)
BuyFeeUpdated(uint256 fee, uint256 feeDenominator)
CompensateLossUpdate(uint256 compensateLoss, uint256 denominator)
EventExchange(string label, uint256 amount, uint256 fee, address sender, string referral)
Initialized(uint8 version)
InsuranceUpdated(address insurance)
Mark2MarketUpdated(address mark2market)
MaxAbroad(uint256 abroad)
NextPayoutTime(uint256 nextPayoutTime)
OnNotEnoughLimitRedeemed(address token, uint256 amount)
OracleLossUpdate(uint256 oracleLoss, uint256 denominator)
PaidBuyFee(uint256 amount, uint256 feeAmount)
PaidRedeemFee(uint256 amount, uint256 feeAmount)
Paused(address account)
PayoutAbroad(uint256 delta, uint256 deltaUsdPlus)
PayoutEvent(uint256 profit, uint256 newLiquidityIndex, uint256 excessProfit, uint256 insurancePremium, uint256 insuranceLoss)
PayoutManagerUpdated(address payoutManager)
PayoutTimesUpdated(uint256 nextPayoutTime, uint256 payoutPeriod, uint256 payoutTimeRange)
PortfolioManagerUpdated(address portfolioManager)
ProfitFeeUpdated(uint256 fee, uint256 feeDenominator)
ProfitRecipientUpdated(address recipient)
RedeemFeeUpdated(uint256 fee, uint256 feeDenominator)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleManagerUpdated(address roleManager)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokensUpdated(address usdPlus, address asset)
Unpaused(address account)
Upgraded(address indexed implementation)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.