Dispatcher

Verified contract

Active on Ethereum with 428 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1,318.72
0x17519f587ce4e76edb0e0a7e3c11ebc9c094a7749c40f5a2fca4d35140f644dd
0x41a0eb03aa8d19497cd1aefd2405065a33726b28bc0b01e4f96e9c6335a2310d
0x992e81e28f0ad246dfb32cda5ecd46ab71fdb68ff717c2fd464bf0bc28d27818
0x6dc0dcae4093ed48d1b268299375f1400d908c6c106c3946872babb63cf87b06
0xdf394b9b66e07ee1e45d7dceedaa17804497083db48b555d0f9871ae926b9477
0xdfef62eac4529adec6880c67698249ac07b98fd4db3fa34d49d278cf3bd652c6
0x0c831692b24a1dc2f42c7e2cb5d35d0cda1c408d8cceac739ef0f347398ddeaa
0x423858a373d16ab6687ae32977539e6e4b255d1ff6ef91af31cf4a005f7eb0d9
0x45c6ab96d38606c14e765beabacfef8d10a798d3edc9d870e107d255718d38e6
0x9acf5209b8af92083ce6e073377a1745503f1897673c29e26d10c97145331a53

Functions
Getter at block 21244006
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.