SimpleExchange

Verified contract

Active on Ethereum with 16,408 txns
Deployed by via 0xd8ede116 at 6690921
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $16,529.85
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xe40a245678a3cb0224567d77f81137fffdc7625cfdeaf72efbb0ca57c6b580c6
0x8c661cdf78e3f8228cfa86e0eca868ab1cf84f290fba1e62c4f93809d9f8217c
0x91b2cc29736c07a1ba1db2da99ffb26c237978f442d5e96b9c3334c2cf94668f
0x14fb9bd9c9523089fa95b600fdaff002675f1b31975d4e8529ebe05e948fb960
0x42f3feedcea7ad5741728374b9ac55558a481eb106da903457a618d811f70b0b
0xe7e4cb3e03caf84e56212a7980835913504cf483c5d08b3a6448c5b562d7e0ae
0x1ebf7b277cf087a7cc568cbc3addaeb300f4a008e04ee053e0dc74f90448c237
0xde056a354f1ca81e41a1b96ae5f15e6b7d913bbb666123c091c42523a9c71c69
0xff95c0cf02ee1d7a7bfdbffa55d42fb4b4628a4edde58c5b5d8bf1d6146a3976
0x2fdbf24ff312ec66bf1bd2134c859b1b62508b6b3dfd03da313379eafaf1e346

Functions
Getter at block 21305586
accessPolicy(view returns (address)
0xae38c27e646959735ec70d77ed4ecc03a3eff490
contractId(pure returns (bytes32 iduint256 version)
(id=0x434a1a753d1d39381c462f37c155e520ae6f86ad79289abca9cde354a0cebd68, version=0)
Read-only
getExchangeRate(address numeratorTokenaddress denominatorTokenview returns (uint256 rateFractionuint256 timestamp)
getExchangeRates(address[] numeratorTokensaddress[] denominatorTokensview returns (uint256[] rateFractionsuint256[] timestamps)
State-modifying
gasExchange(address gasRecipientuint256 amountEurUlpsuint256 exchangeFeeFraction
gasExchangeMultiple(address[] gasRecipientsuint256[] amountsEurUlpsuint256 exchangeFeeFraction
reclaim(address token
setAccessPolicy(address newPolicyaddress newAccessController
setExchangeRate(address numeratorTokenaddress denominatorTokenuint256 rateFraction
setExchangeRates(address[] numeratorTokensaddress[] denominatorTokensuint256[] rateFractions
Events
LogAccessPolicyChanged(address controlleraddress oldPolicyaddress newPolicy
LogGasExchange(address indexed gasRecipientuint256 amountEurUlpsuint256 exchangeFeeFracuint256 amountWeiuint256 rate
LogReceivedEther(address senderuint256 amountuint256 balance
LogSetExchangeRate(address indexed numeratorTokenaddress indexed denominatorTokenuint256 rate
Constructor
constructor(address accessPolicyaddress euroTokenaddress etherToken
Fallback and receive
fallback(
Errors

This contract contains no error objects.