FRAX Price: $1.04 (+7.21%)

Contract

0x3d8EADb739D1Ef95dd53D718e4810721837c69c1

Overview

FRAX Balance | FXTL Balance

0 FRAX | 0 FXTL

FRAX Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Deploy8169102024-02-20 15:55:31704 days ago1708444531IN
0x3d8EADb7...1837c69c1
0 FRAX0.000080390.00100025

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
8169102024-02-20 15:55:31704 days ago1708444531
0x3d8EADb7...1837c69c1
 Contract Creation0 FRAX

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20Factory

Compiler Version
vyper:0.3.10

Optimization Enabled:
N/A

Other Settings:
default evmVersion, None license

Contract Source Code (Vyper language format)

# @version 0.3.10
"""
@title ERC20Factory
@notice Contract for easy deploy of bridged tokens
"""


implementation: public(immutable(address))
bridge: public(immutable(address))


@external
def __init__(_implementation: address, _bridge: address):
    implementation = _implementation
    bridge = _bridge


@external
def deploy(_name: String[64], _symbol: String[32], _remote_token: address) -> address:
    return create_from_blueprint(
        implementation,
        _name, _symbol, bridge, _remote_token,
        code_offset=3)


@external
def deploy_with_salt(_name: String[64], _symbol: String[32], _remote_token: address, _salt: bytes32) -> address:
    return create_from_blueprint(
        implementation,
        _name, _symbol, bridge, _remote_token,
        code_offset=3, salt=_salt)

Contract Security Audit

Contract ABI

API
[{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_implementation","type":"address"},{"name":"_bridge","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"deploy","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_remote_token","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"nonpayable","type":"function","name":"deploy_with_salt","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_remote_token","type":"address"},{"name":"_salt","type":"bytes32"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"implementation","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"bridge","inputs":[],"outputs":[{"name":"","type":"address"}]}]

61031c5150346100515760206103665f395f518060a01c6100515760405260206103865f395f518060a01c610051576060526040516102fc5260605161031c526102fc6100556100003961033c610000f35b5f80fd5f3560e01c60026005820660011b6102f201601e395f51565b635c60da1b81186102ea57346102ee5760206102fc60403960206040f36102ea565b63e78cea9281186102ea57346102ee57602061031c60403960206040f36102ea565b636a032cd481186102ea5760a4361034176102ee5760043560040160408135116102ee5760208135018082604037505060243560040160208135116102ee576020813501808260a03750506044358060a01c6102ee5760e05260206102fc5f395f51608080610140528061014001602060405101808282604060045afa50508051806020830101601f825f03163682375050601f19601f825160200101169050810190508061016052806101400160a051815260c05160208201528051806020830101601f825f03163682375050601f19601f82516020010116905081019050602061031c61010039610100516101805260e05161012052610120516101a0526003823b0359600182126102ee5781600382863c81810183818561014060045afa5050828201815ff080156102ee579050905090509050610260526020610260f36102ea565b636f89dc3681186102ea5760c4361034176102ee5760043560040160408135116102ee5760208135018082604037505060243560040160208135116102ee576020813501808260a03750506044358060a01c6102ee5760e05260206102fc5f395f51606435608080610140528061014001602060405101808282604060045afa50508051806020830101601f825f03163682375050601f19601f825160200101169050810190508061016052806101400160a051815260c05160208201528051806020830101601f825f03163682375050601f19601f82516020010116905081019050602061031c61010039610100516101805260e05161012052610120516101a0526003833b0359600182126102ee5781600382873c81810183818561014060045afa505083838301825ff580156102ee5790509050905090509050610260526020610260f35b5f5ffd5b5f80fd005c003a01a2001802ea841902fc810a1840a16576797065728300030a00150000000000000000000000003c0a405e914337139992625d5100ea141a9c4d110000000000000000000000004200000000000000000000000000000000000010

Deployed Bytecode

0x5f3560e01c60026005820660011b6102f201601e395f51565b635c60da1b81186102ea57346102ee5760206102fc60403960206040f36102ea565b63e78cea9281186102ea57346102ee57602061031c60403960206040f36102ea565b636a032cd481186102ea5760a4361034176102ee5760043560040160408135116102ee5760208135018082604037505060243560040160208135116102ee576020813501808260a03750506044358060a01c6102ee5760e05260206102fc5f395f51608080610140528061014001602060405101808282604060045afa50508051806020830101601f825f03163682375050601f19601f825160200101169050810190508061016052806101400160a051815260c05160208201528051806020830101601f825f03163682375050601f19601f82516020010116905081019050602061031c61010039610100516101805260e05161012052610120516101a0526003823b0359600182126102ee5781600382863c81810183818561014060045afa5050828201815ff080156102ee579050905090509050610260526020610260f36102ea565b636f89dc3681186102ea5760c4361034176102ee5760043560040160408135116102ee5760208135018082604037505060243560040160208135116102ee576020813501808260a03750506044358060a01c6102ee5760e05260206102fc5f395f51606435608080610140528061014001602060405101808282604060045afa50508051806020830101601f825f03163682375050601f19601f825160200101169050810190508061016052806101400160a051815260c05160208201528051806020830101601f825f03163682375050601f19601f82516020010116905081019050602061031c61010039610100516101805260e05161012052610120516101a0526003833b0359600182126102ee5781600382873c81810183818561014060045afa505083838301825ff580156102ee5790509050905090509050610260526020610260f35b5f5ffd5b5f80fd005c003a01a2001802ea0000000000000000000000003c0a405e914337139992625d5100ea141a9c4d110000000000000000000000004200000000000000000000000000000000000010

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000003c0a405e914337139992625d5100ea141a9c4d110000000000000000000000004200000000000000000000000000000000000010

-----Decoded View---------------
Arg [0] : _implementation (address): 0x3c0a405E914337139992625D5100Ea141a9C4d11
Arg [1] : _bridge (address): 0x4200000000000000000000000000000000000010

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c0a405e914337139992625d5100ea141a9c4d11
Arg [1] : 0000000000000000000000004200000000000000000000000000000000000010


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.