TradeHandler

Verified contract

Proxy

Active on Ethereum with 1,400 txns
Deployed by via 0x48486091 at 16636684
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $51.51
ERC-20
Value $41.02
ERC-20
Value $40.48
ERC-20
Value $36.04
ERC-20
Value $33.77
ERC-20
Value $33.59
ERC-20
Value $32.9
ERC-20
Value $32.7
ERC-20
Value $31.43
ERC-20
Value $29.54
0x4ffbb012dded893ba4a9e9fd28ec8946327717be996ab957aaa02a28f7e49dcc
0x20765dc7877f7f3d0ec4d85ad78394a2bf29c7315aa914b2001aac22bba95e6c
0x124ede4e55f725d79ebfacc0bfcf0ce5ed83e61ab50d0bd2d17e04dad60352ec
0x37e96503923b778a022cedb67220fa9f3f7e44c54b5052cce00ad5dff9177916
0x8d799ee2c782985e7af51c1e79e11dadf684f6273034a22f982072432d74f367
0x527aa77d2a4461dd142b03dd5c27bcf08fb507ee859f9859dc225beacbf99e83
0xa283a8907951375a9b83c2daddbf09cc1f93833b5163c38dbc517adf410ff6a5
0x3af31ecc4512c63253021bbe31c6f192384d08d5173042107b9aa2a0a447bc67
0x56c83922de1086100bf309360fed593c48f5e0be8e1991c3e82713a2c95e519f
0xa4c155673578bdc164550c42764e791cb333a993aa2e4eab939ccb67f351fe6b

Functions
Getter at block 21158302
governance(view returns (address)
0x2c01b4ad51a67e2d8f02208f54df9ac4c0b778b6
pendingGovernance(view returns (address)
0x0000000000000000000000000000000000000000
settlement(view returns (address)
0x9008d19f58aabd9ed0d60971565aa8510560ab41
treasury(view returns (address)
0x2c01b4ad51a67e2d8f02208f54df9ac4c0b778b6
Read-only
mechs(addressview returns (bool)
solvers(addressview returns (bool)
divide(uint256 auint256 bpure returns (uint256)
getElement(bytes tupleuint256 indexpure returns (bytes32)
insertElement(bytes tupleuint256 indexbytes32 elementbool returnRawpure returns (bytes newTuple)
multiply(uint256 auint256 bpure returns (uint256)
power(uint256 auint256 bpure returns (uint256)
replaceElement(bytes tupleuint256 indexbytes32 elementbool returnRawpure returns (bytes newTuple)
subtract(uint256 auint256 bpure returns (uint256)
sum(uint256 auint256 bpure returns (uint256)
State-modifying
acceptGovernance(
addMech(address _mech
addSolver(address _solver
disable(address _tokenInaddress _tokenOut
disableByAdmin(address _strategyaddress _tokenInaddress _tokenOut
enable(address _tokenInaddress _tokenOut
execute(bytes32[] commandsbytes[] statereturns (bytes[])
removeMech(address _mech
removeSolver(address _solver
setGovernance(address _governance
setSettlement(address _settlement
setTreasury(address _treasury
sweep(address[] _tokensuint256[] _amounts
Events
AddedMech(address mech
AddedSolver(address solver
RemovedMech(address mech
RemovedSolver(address solver
TradeDisabled(address indexed selleraddress indexed tokenInaddress indexed tokenOut
TradeEnabled(address indexed selleraddress indexed tokenInaddress indexed tokenOut
UpdatedGovernance(address governance
UpdatedSettlement(address settlement
UpdatedTreasury(address treasury
Constructor
constructor(address _governance
Fallback and receive
fallback(
receive(
Errors
ExecutionFailed(uint256 command_indexaddress targetstring message