Dispatcher

Verified contract

Active on Ethereum with 1,656 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1,173.64
ERC-20
Value $1.14
ERC-20
Value $0.43
ERC-20
Value $0.07
ERC-20
Value $0.03
ERC-20
Value $0
0x476b56b24d15d866a718fc7eccb4258d8ef3bf767b341c70ca91a44fb06c78e8
0x540dfe118b6d48c7173d81173f3d8bb7de0b966ae28fda977e8d74556ce9f7a3
0xadbe1602a7802ddf8c83bbcb42cdfe0be9a8d6245ccf4b55c2351ed5dfab5672
0x6df003c97774b8bb1070588c2f25735c51a99f0668b41016c27c6efd8f33efe6
0x2b1405740b7135fc7a667e1bf5d621038bb34c4a800132f2d4beb799f087044a
0xc875fda755541da48e22e8d8bab67af0f2ddeb2c002124f1b8aa1df06d197890
0xcafc14d598a10138c2b9b1074de0e1bf02ab8195895009d662612a4e2008eae4
0xd587d470e2c1ced16bd5a959355c4027fb20c061bab37db9453a134f6c23c599
0x8ac168da9c1a2c9e102abec41b88a1f31d037b4582e0cb790c9d18e47e2bf063
0x701fea627869d6355cb3ddf36c39b3bb50d5ceff3cab153aacbb434d955cd5af

Functions
Getter at block 21247446
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)
1
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.