Exchange

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x5a2e5650 at 21204261
Slot
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

No balances found for "Exchange"

No transactions found for "Exchange"


Functions
Getter at block 22751980
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
 
getAvailabilityInfo(view returns (uint256 _availablebool _pausedbool _deprecated)
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 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buy(address _assetuint256 _amountreturns (uint256)
grantRole(bytes32 roleaddress account
initialize(
mint(struct ExchangeMintParams paramsreturns (uint256)
negativeRebase(
pause(
payout(bool simulatestruct IInsuranceExchangeSwapData swapDatareturns (int256 swapAmount)
redeem(address _assetuint256 _amountreturns (uint256)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBlockGetter(address _blockGetter
setBuyFee(uint256 _feeuint256 _feeDenominator
setCompensateLoss(uint256 _compensateLossuint256 _denominator
setDeprecated(bool _deprecated
setInsurance(address _insurance
setMark2Market(address _mark2market
setMaxAbroad(uint256 _max
setOracleLoss(uint256 _oracleLossuint256 _denominator
setPayoutManager(address _payoutManager
setPayoutTimes(uint256 _nextPayoutTimeuint256 _payoutPerioduint256 _payoutTimeRange
setPortfolioManager(address _portfolioManager
setProfitFee(uint256 _feeuint256 _feeDenominator
setProfitRecipient(address _profitRecipient
setRedeemFee(uint256 _feeuint256 _feeDenominator
setRoleManager(address _roleManager
setTokens(address _usdPlusaddress _asset
unpause(
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
BlockGetterUpdated(address blockGetter
BuyFeeUpdated(uint256 feeuint256 feeDenominator
CompensateLossUpdate(uint256 compensateLossuint256 denominator
EventExchange(string labeluint256 amountuint256 feeaddress senderstring referral
Initialized(uint8 version
InsuranceUpdated(address insurance
Mark2MarketUpdated(address mark2market
MaxAbroad(uint256 abroad
NextPayoutTime(uint256 nextPayoutTime
OnNotEnoughLimitRedeemed(address tokenuint256 amount
OracleLossUpdate(uint256 oracleLossuint256 denominator
PaidBuyFee(uint256 amountuint256 feeAmount
PaidRedeemFee(uint256 amountuint256 feeAmount
Paused(address account
PayoutAbroad(uint256 deltauint256 deltaUsdPlus
PayoutEvent(uint256 profituint256 newLiquidityIndexuint256 excessProfituint256 insurancePremiumuint256 insuranceLoss
PayoutManagerUpdated(address payoutManager
PayoutTimesUpdated(uint256 nextPayoutTimeuint256 payoutPerioduint256 payoutTimeRange
PortfolioManagerUpdated(address portfolioManager
ProfitFeeUpdated(uint256 feeuint256 feeDenominator
ProfitRecipientUpdated(address recipient
RedeemFeeUpdated(uint256 feeuint256 feeDenominator
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleManagerUpdated(address roleManager
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokensUpdated(address usdPlusaddress asset
Unpaused(address account
Upgraded(address indexed implementation
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.