ExchangeMain
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
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 48 additional slots
Balances ($0.00)
No balances found for "ExchangeMain"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ExchangeMain"
ABI
ABI objects
Getter at block 22451240 isHead() view returns (uint80 r, int256 p, bool o)
AUCTION_ADMIN_ROLE() view returns (bytes32)
0xa0cfda562e348e6dd163503c96e8678ef086abaf74d083a23226889f462cacaa
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
VERSION() view returns (bytes32)
0x322e322e33000000000000000000000000000000000000000000000000000000
getMainnetRfq() view returns (address)
0x0000000000000000000000000000000000000000
getPortfolio() view returns (address)
0x0000000000000000000000000000000000000000
getPriceFeed() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
bytes32ToString(bytes32 _bytes32) pure returns (string)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isAdmin(address _address) view returns (bool)
isAuctionAdmin(address _address) view returns (bool)
isTrustedContract(address _contract) view returns (bool)
stringToBytes32(string _string) pure returns (bytes32 result)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addAdmin(address _address)
addAuctionAdmin(address _address)
addToken(bytes32 _symbol, address _tokenaddress, uint32 _srcChainId, uint8 _decimals, uint256 _fee, uint256 _gasSwapRatio, bool _isVirtual)
addTrustedContract(address _contract, string _name)
flipCoin()
grantRole(bytes32 role, address account)
initialize()
pauseForUpgrade(bool _pause)
pauseMainnetRfq(bool _pause)
pausePortfolio(bool _pause)
removeAdmin(address _address)
removeAuctionAdmin(address _address)
removeTrustedContract(address _contract)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setMainnetRFQ(address _mainnetRfq)
setPortfolio(address _portfolio)
setPriceFeed(address _address)
CoinFlipped(uint80 roundid, int256 price, bool outcome)
Initialized(uint8 version)
PortfolioSet(address _oldPortfolio, address _newPortfolio)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
RoleUpdated(string indexed name, string actionName, bytes32 updatedRole, address updatedAddress)
This contract contains no constructor objects.
fallback()
This contract contains no error objects.