ETH Price: $3,809.33 (+5.41%)

Contract

0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95
 
Transaction Hash
Method
Block
From
To
Create Exchange184018002023-10-21 22:55:47417 days ago1697928947IN
Uniswap: Factory Contract
0 ETH0.001633156.46070672
Create Exchange183700922023-10-17 12:27:47421 days ago1697545667IN
Uniswap: Factory Contract
0 ETH0.001757756.95362409
Create Exchange178824332023-08-10 5:33:23489 days ago1691645603IN
Uniswap: Factory Contract
0 ETH0.0033860813.39523389
Create Exchange178652792023-08-07 19:56:47492 days ago1691438207IN
Uniswap: Factory Contract
0 ETH0.0060399923.89400334
Create Exchange178545022023-08-06 7:43:11493 days ago1691307791IN
Uniswap: Factory Contract
0 ETH0.0032664812.92208815
Create Exchange178544982023-08-06 7:42:23493 days ago1691307743IN
Uniswap: Factory Contract
0 ETH0.0032212812.88514976
Create Exchange173489672023-05-27 7:40:11564 days ago1685173211IN
Uniswap: Factory Contract
0 ETH0.0058129922.99598338
Create Exchange173005172023-05-20 12:02:47571 days ago1684584167IN
Uniswap: Factory Contract
0 ETH0.00822132.52199787
Create Exchange170002272023-04-08 0:44:47614 days ago1680914687IN
Uniswap: Factory Contract
0 ETH0.0043849917.34716091
Create Exchange169913082023-04-06 18:25:23615 days ago1680805523IN
Uniswap: Factory Contract
0 ETH0.0054827521.68991074
Create Exchange169822052023-04-05 11:12:59616 days ago1680693179IN
Uniswap: Factory Contract
0 ETH0.0065722526
Create Exchange169728362023-04-04 3:15:47617 days ago1680578147IN
Uniswap: Factory Contract
0 ETH0.0052783720.88238293
Create Exchange169686802023-04-03 13:05:47618 days ago1680527147IN
Uniswap: Factory Contract
0 ETH0.0047069518.62083845
Create Exchange169595352023-04-02 6:07:23619 days ago1680415643IN
Uniswap: Factory Contract
0 ETH0.004317817.08136304
Create Exchange169587812023-04-02 3:34:35619 days ago1680406475IN
Uniswap: Factory Contract
0 ETH0.0044889117.75827892
Create Exchange169560942023-04-01 18:31:23620 days ago1680373883IN
Uniswap: Factory Contract
0 ETH0.0057866122.89197652
Create Exchange169560472023-04-01 18:21:59620 days ago1680373319IN
Uniswap: Factory Contract
0 ETH0.0060111523.78025992
Create Exchange169559762023-04-01 18:07:23620 days ago1680372443IN
Uniswap: Factory Contract
0 ETH0.0063872625.26819535
Create Exchange169421852023-03-30 19:38:23622 days ago1680205103IN
Uniswap: Factory Contract
0 ETH0.0067843226.8402507
Get Exchange168508912023-03-17 23:48:59635 days ago1679096939IN
Uniswap: Factory Contract
0 ETH0.0006042925.32989322
Get Exchange168508872023-03-17 23:48:11635 days ago1679096891IN
Uniswap: Factory Contract
0 ETH0.0005861924.5712924
Get Exchange168508862023-03-17 23:47:59635 days ago1679096879IN
Uniswap: Factory Contract
0 ETH0.0005761824.1515839
Get Exchange168508832023-03-17 23:47:23635 days ago1679096843IN
Uniswap: Factory Contract
0 ETH0.0006261626.246445
Get Exchange168508702023-03-17 23:44:35635 days ago1679096675IN
Uniswap: Factory Contract
0 ETH0.000600825.18372438
Get Exchange168508692023-03-17 23:44:23635 days ago1679096663IN
Uniswap: Factory Contract
0 ETH0.0005685223.84235415
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
191589692024-02-05 2:01:23310 days ago1707098483
Uniswap: Factory Contract
 Contract Creation0 ETH
191586842024-02-05 1:03:59311 days ago1707095039
Uniswap: Factory Contract
 Contract Creation0 ETH
184018002023-10-21 22:55:47417 days ago1697928947
Uniswap: Factory Contract
 Contract Creation0 ETH
183700922023-10-17 12:27:47421 days ago1697545667
Uniswap: Factory Contract
 Contract Creation0 ETH
178824332023-08-10 5:33:23489 days ago1691645603
Uniswap: Factory Contract
 Contract Creation0 ETH
178652792023-08-07 19:56:47492 days ago1691438207
Uniswap: Factory Contract
 Contract Creation0 ETH
178545022023-08-06 7:43:11493 days ago1691307791
Uniswap: Factory Contract
 Contract Creation0 ETH
178544982023-08-06 7:42:23493 days ago1691307743
Uniswap: Factory Contract
 Contract Creation0 ETH
173489672023-05-27 7:40:11564 days ago1685173211
Uniswap: Factory Contract
 Contract Creation0 ETH
173005172023-05-20 12:02:47571 days ago1684584167
Uniswap: Factory Contract
 Contract Creation0 ETH
170002272023-04-08 0:44:47614 days ago1680914687
Uniswap: Factory Contract
 Contract Creation0 ETH
169913082023-04-06 18:25:23615 days ago1680805523
Uniswap: Factory Contract
 Contract Creation0 ETH
169822052023-04-05 11:12:59616 days ago1680693179
Uniswap: Factory Contract
 Contract Creation0 ETH
169728362023-04-04 3:15:47617 days ago1680578147
Uniswap: Factory Contract
 Contract Creation0 ETH
169686802023-04-03 13:05:47618 days ago1680527147
Uniswap: Factory Contract
 Contract Creation0 ETH
169595352023-04-02 6:07:23619 days ago1680415643
Uniswap: Factory Contract
 Contract Creation0 ETH
169587812023-04-02 3:34:35619 days ago1680406475
Uniswap: Factory Contract
 Contract Creation0 ETH
169560942023-04-01 18:31:23620 days ago1680373883
Uniswap: Factory Contract
 Contract Creation0 ETH
169560472023-04-01 18:21:59620 days ago1680373319
Uniswap: Factory Contract
 Contract Creation0 ETH
169559762023-04-01 18:07:23620 days ago1680372443
Uniswap: Factory Contract
 Contract Creation0 ETH
169421852023-03-30 19:38:23622 days ago1680205103
Uniswap: Factory Contract
 Contract Creation0 ETH
166646752023-02-19 19:20:47661 days ago1676834447
Uniswap: Factory Contract
 Contract Creation0 ETH
163683662023-01-09 9:32:23702 days ago1673256743
Uniswap: Factory Contract
 Contract Creation0 ETH
162144762022-12-18 22:10:23724 days ago1671401423
Uniswap: Factory Contract
 Contract Creation0 ETH
161305172022-12-07 4:32:35735 days ago1670387555
Uniswap: Factory Contract
 Contract Creation0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.1.0b4

Optimization Enabled:
N/A

Other Settings:
default evmVersion
contract Exchange():
    def setup(token_addr: address): modifying

NewExchange: event({token: indexed(address), exchange: indexed(address)})

exchangeTemplate: public(address)
tokenCount: public(uint256)
token_to_exchange: address[address]
exchange_to_token: address[address]
id_to_token: address[uint256]

@public
def initializeFactory(template: address):
    assert self.exchangeTemplate == ZERO_ADDRESS
    assert template != ZERO_ADDRESS
    self.exchangeTemplate = template

@public
def createExchange(token: address) -> address:
    assert token != ZERO_ADDRESS
    assert self.exchangeTemplate != ZERO_ADDRESS
    assert self.token_to_exchange[token] == ZERO_ADDRESS
    exchange: address = create_with_code_of(self.exchangeTemplate)
    Exchange(exchange).setup(token)
    self.token_to_exchange[token] = exchange
    self.exchange_to_token[exchange] = token
    token_id: uint256 = self.tokenCount + 1
    self.tokenCount = token_id
    self.id_to_token[token_id] = token
    log.NewExchange(token, exchange)
    return exchange

@public
@constant
def getExchange(token: address) -> address:
    return self.token_to_exchange[token]

@public
@constant
def getToken(exchange: address) -> address:
    return self.exchange_to_token[exchange]

@public
@constant
def getTokenWithId(token_id: uint256) -> address:
    return self.id_to_token[token_id]

Contract Security Audit

Contract ABI

[{"name":"NewExchange","inputs":[{"type":"address","name":"token","indexed":true},{"type":"address","name":"exchange","indexed":true}],"anonymous":false,"type":"event"},{"name":"initializeFactory","outputs":[],"inputs":[{"type":"address","name":"template"}],"constant":false,"payable":false,"type":"function","gas":35725},{"name":"createExchange","outputs":[{"type":"address","name":"out"}],"inputs":[{"type":"address","name":"token"}],"constant":false,"payable":false,"type":"function","gas":187911},{"name":"getExchange","outputs":[{"type":"address","name":"out"}],"inputs":[{"type":"address","name":"token"}],"constant":true,"payable":false,"type":"function","gas":715},{"name":"getToken","outputs":[{"type":"address","name":"out"}],"inputs":[{"type":"address","name":"exchange"}],"constant":true,"payable":false,"type":"function","gas":745},{"name":"getTokenWithId","outputs":[{"type":"address","name":"out"}],"inputs":[{"type":"uint256","name":"token_id"}],"constant":true,"payable":false,"type":"function","gas":736},{"name":"exchangeTemplate","outputs":[{"type":"address","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":633},{"name":"tokenCount","outputs":[{"type":"uint256","name":"out"}],"inputs":[],"constant":true,"payable":false,"type":"function","gas":663}]

6103f056600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a05263538a3f0e60005114156100ed57602060046101403734156100b457600080fd5b60043560205181106100c557600080fd5b50600054156100d357600080fd5b60006101405114156100e457600080fd5b61014051600055005b631648f38e60005114156102bf576020600461014037341561010e57600080fd5b600435602051811061011f57600080fd5b50600061014051141561013157600080fd5b6000600054141561014157600080fd5b60026101405160e05260c052604060c020541561015d57600080fd5b7f602e600c600039602e6000f33660006000376110006000366000730000000000610180526c010000000000000000000000006000540261019b527f5af41558576110006000f30000000000000000000000000000000000000000006101af5260406101806000f0806101cf57600080fd5b61016052610160513b6101e157600080fd5b610160513014156101f157600080fd5b6000600060246366d3820361022052610140516102405261023c6000610160515af161021c57600080fd5b6101605160026101405160e05260c052604060c020556101405160036101605160e05260c052604060c02055600154600160015401101561025c57600080fd5b6001600154016102a0526102a0516001556101405160046102a05160e05260c052604060c0205561016051610140517f9d42cb017eb05bd8944ab536a8b35bc68085931dd5f4356489801453923953f960006000a36101605160005260206000f3005b6306f2bf62600051141561030e57602060046101403734156102e057600080fd5b60043560205181106102f157600080fd5b5060026101405160e05260c052604060c0205460005260206000f3005b6359770438600051141561035d576020600461014037341561032f57600080fd5b600435602051811061034057600080fd5b5060036101405160e05260c052604060c0205460005260206000f3005b63aa65a6c0600051141561039a576020600461014037341561037e57600080fd5b60046101405160e05260c052604060c0205460005260206000f3005b631c2bbd1860005114156103c05734156103b357600080fd5b60005460005260206000f3005b639f181b5e60005114156103e65734156103d957600080fd5b60015460005260206000f3005b60006000fd5b6100046103f0036100046000396100046103f0036000f3

Deployed Bytecode

0x600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a05263538a3f0e60005114156100ed57602060046101403734156100b457600080fd5b60043560205181106100c557600080fd5b50600054156100d357600080fd5b60006101405114156100e457600080fd5b61014051600055005b631648f38e60005114156102bf576020600461014037341561010e57600080fd5b600435602051811061011f57600080fd5b50600061014051141561013157600080fd5b6000600054141561014157600080fd5b60026101405160e05260c052604060c020541561015d57600080fd5b7f602e600c600039602e6000f33660006000376110006000366000730000000000610180526c010000000000000000000000006000540261019b527f5af41558576110006000f30000000000000000000000000000000000000000006101af5260406101806000f0806101cf57600080fd5b61016052610160513b6101e157600080fd5b610160513014156101f157600080fd5b6000600060246366d3820361022052610140516102405261023c6000610160515af161021c57600080fd5b6101605160026101405160e05260c052604060c020556101405160036101605160e05260c052604060c02055600154600160015401101561025c57600080fd5b6001600154016102a0526102a0516001556101405160046102a05160e05260c052604060c0205561016051610140517f9d42cb017eb05bd8944ab536a8b35bc68085931dd5f4356489801453923953f960006000a36101605160005260206000f3005b6306f2bf62600051141561030e57602060046101403734156102e057600080fd5b60043560205181106102f157600080fd5b5060026101405160e05260c052604060c0205460005260206000f3005b6359770438600051141561035d576020600461014037341561032f57600080fd5b600435602051811061034057600080fd5b5060036101405160e05260c052604060c0205460005260206000f3005b63aa65a6c0600051141561039a576020600461014037341561037e57600080fd5b60046101405160e05260c052604060c0205460005260206000f3005b631c2bbd1860005114156103c05734156103b357600080fd5b60005460005260206000f3005b639f181b5e60005114156103e65734156103d957600080fd5b60015460005260206000f3005b60006000fd

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.