Dispatcher

Verified contract

Active on Ethereum with 2,951 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $142.5
ERC-20
Value $127.12
ERC-20
Value $97.71
ERC-20
Value $72.07
ERC-20
Value $47.85
ERC-20
Value $17.55
ERC-20
Value $3.6
ERC-20
Value $2
ERC-20
Value $0.85
ERC-20
Value $0.05
0x3c631faeb65c53ce48caa4c9a9a9b593eebee063af787f4490e84336971dad9c
0x5ad1ed97af5bc398f6d10b9e8650a8226154de1535b972639c62ac55d3065628
0xcc0257196cdbed52add3198fb7cd481a064711852dead283124802ae8b41b5bf
0x0a0aa9344484bf98b09d126a1120b4da67993110a01f98dc902a96195f94693d
0x7eb4c5fa639463514afaad0eabfd322dfc8f66b9b192f0ef6c9dfaf5e17ba231
0xfba7444187546074e67c991292c2ee8cd0420d9a54f2ccc9ea42069f583205a5
0x892a8de0681ac1282851ba996f2c4e7525a70be9f1ee1aa969b4227b698d79e4
0x64e33cceba01556c1b21dbf1b880b5e8295d3127e57d2137e049b76f758464f3
0x4f487b5f4733c8dad706fefbeac76a6a8c544ae00f85e6c7c4e489896e4bc2fe
0x3a828c1709197a28c2ac878242673c5d7c0cf28ddee7fcd24aed14dfe59d915c

Functions
Getter at block 21158384
APPROVER_ROLE(view returns (bytes32)
0x408a36151f841709116a4e8aca4e0202874f7f54687dcb863b1ea4672dc9d8cf
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGE_LP_ROLE(view returns (bytes32)
0xa381348eb3fe7f232f3078689dd9188d0bc370b23350159f64231117527caec7
MAX_LIQUIDITY(view returns (uint256)
100000000000000000000
TRADER_ROLE(view returns (bytes32)
0xfacaf2747a7486cf5730e9265973fb54447d3ace6e7e4711f6360826b0731941
WHITELISTED_LP_ROLE(view returns (bytes32)
0xea728681f55b7658af02b019305006d1b2faefced46ff12facedd896da3c3dc6
WITHDRAW_ROLE(view returns (bytes32)
0x5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec
queryEngine(view returns (address)
0x62e34f7d2bb56c1c37a2c21fa89d0cf1291cf7d1
totalLiquidity(view returns (uint256)
0
version(view returns (uint8)
2
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprover(address addressToCheckview returns (bool)
isLPManager(address addressToCheckview returns (bool)
isTrader(address addressToCheckview returns (bool)
isWhitelistedLP(address addressToCheckview returns (bool)
isWithdrawer(address addressToCheckview returns (bool)
lpBalances(addressview returns (uint256)
State-modifying
estimateQueryCost(bytes scriptuint256[] inputLocations
grantRole(bytes32 roleaddress account
makeTrade(bytes executeScriptuint256 ethValue
makeTrade(bytes executeScriptuint256 ethValueuint256 blockDeadline
makeTrade(bytes executeScriptuint256 ethValueuint256 minTimestampuint256 maxTimestamp
makeTrade(bytes queryScriptuint256[] queryInputLocationsbytes executeScriptuint256[] executeInputLocationsuint256 targetPriceuint256 ethValue
makeTrade(bytes queryScriptuint256[] queryInputLocationsbytes executeScriptuint256[] executeInputLocationsuint256 targetPriceuint256 ethValueuint256 blockDeadline
makeTrade(bytes queryScriptuint256[] queryInputLocationsbytes executeScriptuint256[] executeInputLocationsuint256 targetPriceuint256 ethValueuint256 minTimestampuint256 maxTimestamp
provideETHLiquidity(payable 
removeETHLiquidity(uint256 amount
renounceRole(bytes32 roleaddress account
rescueTokens(address[] tokensuint256 amount
revokeRole(bytes32 roleaddress account
setMaxETHLiquidity(uint256 newMax
tokenAllow(address[] tokensToApproveuint256[] approvalAmountsaddress spender
tokenAllowAll(address[] tokensToApproveaddress spender
withdrawEth(uint256 amount
Events
LiquidityProvided(address indexed assetaddress indexed provideruint256 amount
LiquidityRemoved(address indexed assetaddress indexed provideruint256 amount
MaxLiquidityUpdated(address indexed assetuint256 indexed newAmountuint256 oldAmount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(uint8 _versionaddress _queryEngineaddress _roleManageraddress _lpManageraddress _withdraweraddress _traderaddress _supplieruint256 _initialMaxLiquidityaddress[] _lpWhitelist
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.