Dispatcher

Verified contract

Active on Ethereum with 315 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $34,758.98
0x56bd08de0444b02a52993305705d60b648ac3fe271a0999c3df3c4dc8e94cb0b
0x4497f631520b529530a8bba03befa9a429a29f526da690801df1adc0dfb70994
0x944425c724f870c79bb57625f3fb2f1a5a23fce0b222cf5c29555d3e57f16ce0
0xdcff160ae955cc87b3b6deacab53af0bc1d1e07ea6eeeb2432ce71ac99b9c298
0x123a1a8dc87076c91cfd37e4581f7bbdefa1f4c6ec3780fd87df06c4b5870394
0x170e507ad46b9b8eaf5448dccf5ef513365bb54158fa37875575adc85212042c
0x04137e573ea9e85e618747b52e762c07085995378230ff7cf820b2ce4a98f6c0
0x69b3dae6dce819809e6215ea62536b900a5ade995b7c4213935b273dfdcb5c97
0xb3ac0332ec29180291b9c7a7ef7c2cc712db255fc6e083cebba783f3633be357
0x7541d4a774eb27cd460b4d6802a79ba0f7bd0304b997ca175479a3f5df07bfc2

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