Holesky Testnet

Contract

0x09D7F18d6D44510F255cd0fba6d6A20614c46bA0

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Create Exchange22646552024-09-03 21:34:12133 days ago1725399252IN
0x09D7F18d...614c46bA0
0 ETH0.000025420.1
Create Exchange22266032024-08-29 1:32:36139 days ago1724895156IN
0x09D7F18d...614c46bA0
0 ETH0.000044090.17444931
Create Exchange22265752024-08-29 1:27:00139 days ago1724894820IN
0x09D7F18d...614c46bA0
0 ETH0.000044090.17444931
Create Exchange22256572024-08-28 22:05:24139 days ago1724882724IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254662024-08-28 21:21:00139 days ago1724880060IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254652024-08-28 21:20:48139 days ago1724880048IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254642024-08-28 21:20:36139 days ago1724880036IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254632024-08-28 21:20:24139 days ago1724880024IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254622024-08-28 21:20:12139 days ago1724880012IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254612024-08-28 21:19:48139 days ago1724879988IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254602024-08-28 21:19:36139 days ago1724879976IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254582024-08-28 21:19:12139 days ago1724879952IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254562024-08-28 21:18:48139 days ago1724879928IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254562024-08-28 21:18:48139 days ago1724879928IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254542024-08-28 21:18:24139 days ago1724879904IN
0x09D7F18d...614c46bA0
0 ETH0.000044990.1780095
Create Exchange22254532024-08-28 21:18:12139 days ago1724879892IN
0x09D7F18d...614c46bA0
0 ETH0.000048040.1780095
Initialize Facto...22254442024-08-28 21:16:12139 days ago1724879772IN
0x09D7F18d...614c46bA0
0 ETH0.000007790.1780095

Latest 16 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
22646552024-09-03 21:34:12133 days ago1725399252
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22266032024-08-29 1:32:36139 days ago1724895156
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22265752024-08-29 1:27:00139 days ago1724894820
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22256572024-08-28 22:05:24139 days ago1724882724
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254662024-08-28 21:21:00139 days ago1724880060
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254652024-08-28 21:20:48139 days ago1724880048
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254642024-08-28 21:20:36139 days ago1724880036
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254632024-08-28 21:20:24139 days ago1724880024
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254622024-08-28 21:20:12139 days ago1724880012
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254612024-08-28 21:19:48139 days ago1724879988
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254602024-08-28 21:19:36139 days ago1724879976
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254582024-08-28 21:19:12139 days ago1724879952
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254562024-08-28 21:18:48139 days ago1724879928
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254562024-08-28 21:18:48139 days ago1724879928
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254542024-08-28 21:18:24139 days ago1724879904
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
22254532024-08-28 21:18:12139 days ago1724879892
0x09D7F18d...614c46bA0
 Contract Creation0 ETH
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, None license

Contract Source Code (Vyper language format)

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 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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.