Holesky Testnet

Contract

0x91d4AC630Ccd5f8Fb8c065B3919A719d137e2cE1

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Deploy_new_vault19061462024-07-11 11:15:24196 days ago1720696524IN
0x91d4AC63...d137e2cE1
0 ETH00.00000939
Deploy_new_vault19061332024-07-11 11:11:48196 days ago1720696308IN
0x91d4AC63...d137e2cE1
0 ETH0.000472730.2400077
Deploy_new_vault19035392024-07-11 1:42:24197 days ago1720662144IN
0x91d4AC63...d137e2cE1
0 ETH0.000096120.34668425
Deploy_new_vault19030522024-07-10 23:54:00197 days ago1720655640IN
0x91d4AC63...d137e2cE1
0 ETH0.000166280.59985033

Latest 6 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
19061462024-07-11 11:15:24196 days ago1720696524
0x91d4AC63...d137e2cE1
 Contract Creation0 ETH
19061332024-07-11 11:11:48196 days ago1720696308
0x91d4AC63...d137e2cE1
 Contract Creation0 ETH
19035392024-07-11 1:42:24197 days ago1720662144
0x91d4AC63...d137e2cE1
 Contract Creation0 ETH
19034872024-07-11 1:31:36197 days ago1720661496
0x91d4AC63...d137e2cE1
 Contract Creation0 ETH
19030522024-07-10 23:54:00197 days ago1720655640
0x91d4AC63...d137e2cE1
 Contract Creation0 ETH
19014782024-07-10 18:06:36197 days ago1720634796  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Yearn Vault Factory

Compiler Version
vyper:0.3.8

Optimization Enabled:
N/A

Other Settings:
default evmVersion, None license

Contract Source Code (Vyper language format)

# @version 0.3.8
"""
@title Yearn Vault Factory
@license GNU AGPLv3
@author yearn.finance
@notice
    This vault Factory can be used by anyone wishing to deploy their own
    ERC4626 compliant Yearn V3 Vault of the same API version.

    The factory clones new vaults from its specific `VAULT_ORIGINAL`
    immutable address set on creation of the factory.
    
    The deployments are done through create2 with a specific `salt` 
    that is derived from a combination of the deployer's address,
    the underlying asset used, as well as the name and symbol specified.
    Meaning a deployer will not be able to deploy the exact same vault
    twice and will need to use different name and or symbols for vaults
    that use the same other parameters such as `asset`.

    The factory also holds the protocol fee configs for each vault and strategy
    of its specific `API_VERSION` that determine how much of the fees
    charged are designated "protocol fees" and sent to the designated
    `fee_recipient`. The protocol fees work through a revenue share system,
    where if the vault or strategy decides to charge X amount of total
    fees during a `report` the protocol fees are a percent of X.
    The protocol fees will be sent to the designated fee_recipient and
    then (X - protocol_fees) will be sent to the vault/strategy specific
    fee recipient.
"""

interface IVault:
    def initialize(
        asset: address, 
        name: String[64], 
        symbol: String[32], 
        role_manager: address, 
        profit_max_unlock_time: uint256
    ): nonpayable

event NewVault:
    vault_address: indexed(address)
    asset: indexed(address)

event UpdateProtocolFeeBps:
    old_fee_bps: uint16
    new_fee_bps: uint16

event UpdateProtocolFeeRecipient:
    old_fee_recipient: indexed(address)
    new_fee_recipient: indexed(address)

event UpdateCustomProtocolFee:
    vault: indexed(address)
    new_custom_protocol_fee: uint16

event RemovedCustomProtocolFee:
    vault: indexed(address)

event FactoryShutdown:
    pass

event UpdateGovernance:
    governance: indexed(address)

event NewPendingGovernance:
    pending_governance: indexed(address)

struct PFConfig:
    # Percent of protocol's split of fees in Basis Points.
    fee_bps: uint16
    # Address the protocol fees get paid to.
    fee_recipient: address

# Identifier for this version of the vault.
API_VERSION: constant(String[28]) = "3.0.2"

# The max amount the protocol fee can be set to.
MAX_FEE_BPS: constant(uint16) = 5_000 # 50%

# The address that all newly deployed vaults are based from.
VAULT_ORIGINAL: immutable(address)

# State of the Factory. If True no new vaults can be deployed.
shutdown: public(bool)

# Address that can set or change the fee configs.
governance: public(address)
# Pending governance waiting to be accepted.
pending_governance: public(address)

# Name for identification.
name: public(String[64])

# The default config for assessing protocol fees.
default_protocol_fee_config: public(PFConfig)
# Custom fee to charge for a specific vault or strategy.
custom_protocol_fee: public(HashMap[address, uint16])
# Represents if a custom protocol fee should be used.
use_custom_protocol_fee: public(HashMap[address, bool])

@external
def __init__(name: String[64], vault_original: address, governance: address):
    self.name = name
    VAULT_ORIGINAL = vault_original
    self.governance = governance

@external
def deploy_new_vault(
    asset: address, 
    name: String[64], 
    symbol: String[32], 
    role_manager: address, 
    profit_max_unlock_time: uint256
) -> address:
    """
    @notice Deploys a new clone of the original vault.
    @param asset The asset to be used for the vault.
    @param name The name of the new vault.
    @param symbol The symbol of the new vault.
    @param role_manager The address of the role manager.
    @param profit_max_unlock_time The time over which the profits will unlock.
    @return The address of the new vault.
    """
    # Make sure the factory is not shutdown.
    assert not self.shutdown, "shutdown"

    # Clone a new version of the vault using create2.
    vault_address: address = create_minimal_proxy_to(
            VAULT_ORIGINAL, 
            value=0,
            salt=keccak256(_abi_encode(msg.sender, asset, name, symbol))
        )

    IVault(vault_address).initialize(
        asset, 
        name, 
        symbol, 
        role_manager, 
        profit_max_unlock_time, 
    )
        
    log NewVault(vault_address, asset)
    return vault_address

@view
@external
def vault_original()-> address:
    """
    @notice Get the address of the vault to clone from
    @return The address of the original vault.
    """
    return VAULT_ORIGINAL

@view
@external
def apiVersion() -> String[28]:
    """
    @notice Get the API version of the factory.
    @return The API version of the factory.
    """
    return API_VERSION

@view
@external
def protocol_fee_config(vault: address = msg.sender) -> PFConfig:
    """
    @notice Called during vault and strategy reports 
    to retrieve the protocol fee to charge and address
    to receive the fees.
    @param vault Address of the vault that would be reporting.
    @return The protocol fee config for the msg sender.
    """
    # If there is a custom protocol fee set we return it.
    if self.use_custom_protocol_fee[vault]:
        # Always use the default fee recipient even with custom fees.
        return PFConfig({
            fee_bps: self.custom_protocol_fee[vault],
            fee_recipient: self.default_protocol_fee_config.fee_recipient
        })
    else:
        # Otherwise return the default config.
        return self.default_protocol_fee_config

@external
def set_protocol_fee_bps(new_protocol_fee_bps: uint16):
    """
    @notice Set the protocol fee in basis points
    @dev Must be below the max allowed fee, and a default
    fee_recipient must be set so we don't issue fees to the 0 address.
    @param new_protocol_fee_bps The new protocol fee in basis points
    """
    assert msg.sender == self.governance, "not governance"
    assert new_protocol_fee_bps <= MAX_FEE_BPS, "fee too high"

    # Cache the current default protocol fee.
    default_config: PFConfig = self.default_protocol_fee_config
    assert default_config.fee_recipient != empty(address), "no recipient"

    # Set the new fee
    self.default_protocol_fee_config.fee_bps = new_protocol_fee_bps

    log UpdateProtocolFeeBps(
        default_config.fee_bps, 
        new_protocol_fee_bps
    )

@external
def set_protocol_fee_recipient(new_protocol_fee_recipient: address):
    """
    @notice Set the protocol fee recipient
    @dev Can never be set to 0 to avoid issuing fees to the 0 address.
    @param new_protocol_fee_recipient The new protocol fee recipient
    """
    assert msg.sender == self.governance, "not governance"
    assert new_protocol_fee_recipient != empty(address), "zero address"

    old_recipient: address = self.default_protocol_fee_config.fee_recipient

    self.default_protocol_fee_config.fee_recipient = new_protocol_fee_recipient

    log UpdateProtocolFeeRecipient(
        old_recipient,
        new_protocol_fee_recipient
    )
    

@external
def set_custom_protocol_fee_bps(vault: address, new_custom_protocol_fee: uint16):
    """
    @notice Allows Governance to set custom protocol fees
    for a specific vault or strategy.
    @dev Must be below the max allowed fee, and a default
    fee_recipient must be set so we don't issue fees to the 0 address.
    @param vault The address of the vault or strategy to customize.
    @param new_custom_protocol_fee The custom protocol fee in BPS.
    """
    assert msg.sender == self.governance, "not governance"
    assert new_custom_protocol_fee <= MAX_FEE_BPS, "fee too high"
    assert self.default_protocol_fee_config.fee_recipient != empty(address), "no recipient"

    self.custom_protocol_fee[vault] = new_custom_protocol_fee

    # If this is the first time a custom fee is set for this vault
    # set the bool indicator so it returns the correct fee.
    if not self.use_custom_protocol_fee[vault]:
        self.use_custom_protocol_fee[vault] = True

    log UpdateCustomProtocolFee(vault, new_custom_protocol_fee)

@external 
def remove_custom_protocol_fee(vault: address):
    """
    @notice Allows governance to remove a previously set
    custom protocol fee.
    @param vault The address of the vault or strategy to
    remove the custom fee for.
    """
    assert msg.sender == self.governance, "not governance"

    # Reset the custom fee to 0.
    self.custom_protocol_fee[vault] = 0

    # Set custom fee bool back to false.
    self.use_custom_protocol_fee[vault] = False

    log RemovedCustomProtocolFee(vault)

@external
def shutdown_factory():
    """
    @notice To stop new deployments through this factory.
    @dev A one time switch available for governance to stop
    new vaults from being deployed through the factory.
    NOTE: This will have no effect on any previously deployed
    vaults that deployed from this factory.
    """
    assert msg.sender == self.governance, "not governance"
    assert self.shutdown == False, "shutdown"

    self.shutdown = True
    
    log FactoryShutdown()

@external
def set_governance(new_governance: address):
    """
    @notice Set the governance address
    @param new_governance The new governance address
    """
    assert msg.sender == self.governance, "not governance"
    self.pending_governance = new_governance

    log NewPendingGovernance(new_governance)

@external
def accept_governance():
    """
    @notice Accept the governance address
    """
    assert msg.sender == self.pending_governance, "not pending governance"
    self.governance = msg.sender
    self.pending_governance = empty(address)

    log UpdateGovernance(msg.sender)

Contract ABI

[{"name":"NewVault","inputs":[{"name":"vault_address","type":"address","indexed":true},{"name":"asset","type":"address","indexed":true}],"anonymous":false,"type":"event"},{"name":"UpdateProtocolFeeBps","inputs":[{"name":"old_fee_bps","type":"uint16","indexed":false},{"name":"new_fee_bps","type":"uint16","indexed":false}],"anonymous":false,"type":"event"},{"name":"UpdateProtocolFeeRecipient","inputs":[{"name":"old_fee_recipient","type":"address","indexed":true},{"name":"new_fee_recipient","type":"address","indexed":true}],"anonymous":false,"type":"event"},{"name":"UpdateCustomProtocolFee","inputs":[{"name":"vault","type":"address","indexed":true},{"name":"new_custom_protocol_fee","type":"uint16","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemovedCustomProtocolFee","inputs":[{"name":"vault","type":"address","indexed":true}],"anonymous":false,"type":"event"},{"name":"FactoryShutdown","inputs":[],"anonymous":false,"type":"event"},{"name":"UpdateGovernance","inputs":[{"name":"governance","type":"address","indexed":true}],"anonymous":false,"type":"event"},{"name":"NewPendingGovernance","inputs":[{"name":"pending_governance","type":"address","indexed":true}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"name","type":"string"},{"name":"vault_original","type":"address"},{"name":"governance","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"deploy_new_vault","inputs":[{"name":"asset","type":"address"},{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"role_manager","type":"address"},{"name":"profit_max_unlock_time","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"vault_original","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"apiVersion","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"protocol_fee_config","inputs":[],"outputs":[{"name":"","type":"tuple","components":[{"name":"fee_bps","type":"uint16"},{"name":"fee_recipient","type":"address"}]}]},{"stateMutability":"view","type":"function","name":"protocol_fee_config","inputs":[{"name":"vault","type":"address"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"fee_bps","type":"uint16"},{"name":"fee_recipient","type":"address"}]}]},{"stateMutability":"nonpayable","type":"function","name":"set_protocol_fee_bps","inputs":[{"name":"new_protocol_fee_bps","type":"uint16"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_protocol_fee_recipient","inputs":[{"name":"new_protocol_fee_recipient","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_custom_protocol_fee_bps","inputs":[{"name":"vault","type":"address"},{"name":"new_custom_protocol_fee","type":"uint16"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"remove_custom_protocol_fee","inputs":[{"name":"vault","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"shutdown_factory","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_governance","inputs":[{"name":"new_governance","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"accept_governance","inputs":[],"outputs":[]},{"stateMutability":"view","type":"function","name":"shutdown","inputs":[],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"governance","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"pending_governance","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"default_protocol_fee_config","inputs":[],"outputs":[{"name":"","type":"tuple","components":[{"name":"fee_bps","type":"uint16"},{"name":"fee_recipient","type":"address"}]}]},{"stateMutability":"view","type":"function","name":"custom_protocol_fee","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint16"}]},{"stateMutability":"view","type":"function","name":"use_custom_protocol_fee","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"bool"}]}]

610d1d51506020610de65f395f516040602082610de6015f395f5111610de257602081610de6015f395f51602082018181610de601606039508060405250506020610e065f395f518060a01c610de25760a0526020610e265f395f518060a01c610de25760c05234610de2576040515f81601f0160051c60028111610de257801561009e57905b8060051b606001518160040155600101818118610086575b5050806003555060a051610d1d5260c051600155610d1d6100c461000039610d3d610000f35f3560e01c34610d0c5763fc0e74d1811861001f575f5460405260206040f35b635aa6e67581186100365760015460405260206040f35b63c66eb0a2811861004d5760025460405260206040f35b6306fdde0381186100c85760208060405280604001600354602082015f82601f0160051c60028111610d0c57801561009857905b80600401548160051b840152600101818118610081575b505050808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6397ad2ecc81186100e55760065460405260075460605260406040f35b63cbe28663811861011e5760243610610d0c576004358060a01c610d0c5760405260086040516020525f5260405f205460605260206060f35b63e94860d881186101575760243610610d0c576004358060a01c610d0c5760405260096040516020525f5260405f205460605260206060f35b63b4aeee7781186104425760e43610610d0c576004358060a01c610d0c576040526024356004016040813511610d0c578035602082018181608037508060605250506044356004016020813511610d0c57803560208201803560e052508060c05250506064358060a01c610d0c57610100525f5415610233576008610120527f73687574646f776e0000000000000000000000000000000000000000000000006101405261012050610120518061014001601f825f031636823750506308c379a060e052602061010052601f19601f61012051011660440160fcfd5b7f602d3d8160093d39f3363d3d373d3d3d363d7300000000000000000000000000610280526020610d1d5f395f5160601b610293527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006102a7526080336101605260405161018052806101a052806101600160605160208201818183608060045afa5050808252508051806020830101601f825f03163682375050601f19601f82516020010116905081019050806101c052806101600160c0516020820160e051815250808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506101405261014080516020820120905060366102805ff58015610d0c5761012052610120516375b30be66101405260a0604051610160528061018052806101600160605160208201818183608060045afa5050808252508051806020830101601f825f03163682375050601f19601f82516020010116905081019050806101a052806101600160c0516020820160e051815250808252508051806020830101601f825f03163682375050601f19601f82516020010116905081019050610100516101c0526084356101e05250803b15610d0c575f61014061014461015c5f855af161040d573d5f5f3e3d5ffd5b50604051610120517f4241302c393c713e690702c4a45a57e93cef59aa8c6e2358495853b3420551d85f610140a36020610120f35b63f71bf70d811861045f576020610d1d5f395f5160405260206040f35b632582941081186104de5760208060805260056040527f332e302e3200000000000000000000000000000000000000000000000000000060605260408160800181516020830160208301815181525050808252508051806020830101601f825f03163682375050601f19601f8251602001011690509050810190506080f35b635153b19981186104f25733604052610514565b636556424b811861055f5760243610610d0c576004358060a01c610d0c576040525b60096040516020525f5260405f2054610540576006546060526007546080526040606061055d5661055d565b60086040516020525f5260405f2054606052600754608052604060605bf35b6362fbf60381186106f75760243610610d0c576004358060101c610d0c576040526001543318156105e657600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b611388604051131561064e57600c6060527f66656520746f6f2068696768000000000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6006546060526007546080526080516106bd57600c60a0527f6e6f20726563697069656e74000000000000000000000000000000000000000060c05260a05060a0518060c001601f825f031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b6040516006557f678d2b2fe79c193f6c2c18d7515e339afcbd73fcfb360b1d0fbadae07342e05160605160a05260405160c052604060a0a1005b63f8ebccea811861081a5760243610610d0c576004358060a01c610d0c5760405260015433181561077e57600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6040516107e157600c6060527f7a65726f2061646472657373000000000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6007546060526040516007556040516060517f6af4e38beb02e4b110090dd85c5adfb341e2278b905068773762fe4666e5db7a5f6080a3005b63b5a71e0781186109e25760443610610d0c576004358060a01c610d0c576040526024358060101c610d0c576060526001543318156108af57600e6080527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060a0526080506080518060a001601f825f031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b611388606051131561091757600c6080527f66656520746f6f2068696768000000000000000000000000000000000000000060a0526080506080518060a001601f825f031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b60075461097a57600c6080527f6e6f20726563697069656e74000000000000000000000000000000000000000060a0526080506080518060a001601f825f031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b60605160086040516020525f5260405f205560096040516020525f5260405f20546109b157600160096040516020525f5260405f20555b6040517f96d6cc624354ffe5a7207dc2dcc152e58e23ac8df9c96943f3cfb10ea4c140ac60605160805260206080a2005b6311a3a4348118610ab35760243610610d0c576004358060a01c610d0c57604052600154331815610a6957600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b5f60086040516020525f5260405f20555f60096040516020525f5260405f20556040517f39612c4f13d7a058dece05cf6730e3322fd9a11d6f055a5eacdde49191f45f1f5f6060a2005b63365adba68118610bb057600154331815610b2357600e6040527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b5f5415610b855760086040527f73687574646f776e00000000000000000000000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b60015f557fc643193a97fc0e18d69c95e1c034b91f51fa164ba8ea68dfb6dd98568b9bc96b5f6040a1005b63070313fa8118610c675760243610610d0c576004358060a01c610d0c57604052600154331815610c3757600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6040516002556040517f90ad4c550d25bd23af61db38d1ff8671b89edaaa0bca0fc36bac5084ecc120bd5f6060a2005b63a7dbff3e8118610d0757600254331815610cd75760166040527f6e6f742070656e64696e6720676f7665726e616e63650000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b336001555f600255337f8d55d160c0009eb3d739442df0a3ca089ed64378bfac017e7ddad463f9815b875f6040a2005b505f5ffd5b5f80fda165767970657283000308000b005b5f80fd0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000d617e9b15c192b8c9a2add84a32cff6497fb9c6e0000000000000000000000001a61387748bc83f798f8373e82943c30bc1d14ea0000000000000000000000000000000000000000000000000000000000000020596561726e2d5377656c6c2076302e302e31205661756c7420466163746f7279

Deployed Bytecode

0x5f3560e01c34610d0c5763fc0e74d1811861001f575f5460405260206040f35b635aa6e67581186100365760015460405260206040f35b63c66eb0a2811861004d5760025460405260206040f35b6306fdde0381186100c85760208060405280604001600354602082015f82601f0160051c60028111610d0c57801561009857905b80600401548160051b840152600101818118610081575b505050808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6397ad2ecc81186100e55760065460405260075460605260406040f35b63cbe28663811861011e5760243610610d0c576004358060a01c610d0c5760405260086040516020525f5260405f205460605260206060f35b63e94860d881186101575760243610610d0c576004358060a01c610d0c5760405260096040516020525f5260405f205460605260206060f35b63b4aeee7781186104425760e43610610d0c576004358060a01c610d0c576040526024356004016040813511610d0c578035602082018181608037508060605250506044356004016020813511610d0c57803560208201803560e052508060c05250506064358060a01c610d0c57610100525f5415610233576008610120527f73687574646f776e0000000000000000000000000000000000000000000000006101405261012050610120518061014001601f825f031636823750506308c379a060e052602061010052601f19601f61012051011660440160fcfd5b7f602d3d8160093d39f3363d3d373d3d3d363d7300000000000000000000000000610280526020610d1d5f395f5160601b610293527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006102a7526080336101605260405161018052806101a052806101600160605160208201818183608060045afa5050808252508051806020830101601f825f03163682375050601f19601f82516020010116905081019050806101c052806101600160c0516020820160e051815250808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506101405261014080516020820120905060366102805ff58015610d0c5761012052610120516375b30be66101405260a0604051610160528061018052806101600160605160208201818183608060045afa5050808252508051806020830101601f825f03163682375050601f19601f82516020010116905081019050806101a052806101600160c0516020820160e051815250808252508051806020830101601f825f03163682375050601f19601f82516020010116905081019050610100516101c0526084356101e05250803b15610d0c575f61014061014461015c5f855af161040d573d5f5f3e3d5ffd5b50604051610120517f4241302c393c713e690702c4a45a57e93cef59aa8c6e2358495853b3420551d85f610140a36020610120f35b63f71bf70d811861045f576020610d1d5f395f5160405260206040f35b632582941081186104de5760208060805260056040527f332e302e3200000000000000000000000000000000000000000000000000000060605260408160800181516020830160208301815181525050808252508051806020830101601f825f03163682375050601f19601f8251602001011690509050810190506080f35b635153b19981186104f25733604052610514565b636556424b811861055f5760243610610d0c576004358060a01c610d0c576040525b60096040516020525f5260405f2054610540576006546060526007546080526040606061055d5661055d565b60086040516020525f5260405f2054606052600754608052604060605bf35b6362fbf60381186106f75760243610610d0c576004358060101c610d0c576040526001543318156105e657600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b611388604051131561064e57600c6060527f66656520746f6f2068696768000000000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6006546060526007546080526080516106bd57600c60a0527f6e6f20726563697069656e74000000000000000000000000000000000000000060c05260a05060a0518060c001601f825f031636823750506308c379a06060526020608052601f19601f60a0510116604401607cfd5b6040516006557f678d2b2fe79c193f6c2c18d7515e339afcbd73fcfb360b1d0fbadae07342e05160605160a05260405160c052604060a0a1005b63f8ebccea811861081a5760243610610d0c576004358060a01c610d0c5760405260015433181561077e57600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6040516107e157600c6060527f7a65726f2061646472657373000000000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6007546060526040516007556040516060517f6af4e38beb02e4b110090dd85c5adfb341e2278b905068773762fe4666e5db7a5f6080a3005b63b5a71e0781186109e25760443610610d0c576004358060a01c610d0c576040526024358060101c610d0c576060526001543318156108af57600e6080527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060a0526080506080518060a001601f825f031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b611388606051131561091757600c6080527f66656520746f6f2068696768000000000000000000000000000000000000000060a0526080506080518060a001601f825f031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b60075461097a57600c6080527f6e6f20726563697069656e74000000000000000000000000000000000000000060a0526080506080518060a001601f825f031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b60605160086040516020525f5260405f205560096040516020525f5260405f20546109b157600160096040516020525f5260405f20555b6040517f96d6cc624354ffe5a7207dc2dcc152e58e23ac8df9c96943f3cfb10ea4c140ac60605160805260206080a2005b6311a3a4348118610ab35760243610610d0c576004358060a01c610d0c57604052600154331815610a6957600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b5f60086040516020525f5260405f20555f60096040516020525f5260405f20556040517f39612c4f13d7a058dece05cf6730e3322fd9a11d6f055a5eacdde49191f45f1f5f6060a2005b63365adba68118610bb057600154331815610b2357600e6040527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b5f5415610b855760086040527f73687574646f776e00000000000000000000000000000000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b60015f557fc643193a97fc0e18d69c95e1c034b91f51fa164ba8ea68dfb6dd98568b9bc96b5f6040a1005b63070313fa8118610c675760243610610d0c576004358060a01c610d0c57604052600154331815610c3757600e6060527f6e6f7420676f7665726e616e636500000000000000000000000000000000000060805260605060605180608001601f825f031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b6040516002556040517f90ad4c550d25bd23af61db38d1ff8671b89edaaa0bca0fc36bac5084ecc120bd5f6060a2005b63a7dbff3e8118610d0757600254331815610cd75760166040527f6e6f742070656e64696e6720676f7665726e616e63650000000000000000000060605260405060405180606001601f825f031636823750506308c379a05f526020602052601f19601f6040510116604401601cfd5b336001555f600255337f8d55d160c0009eb3d739442df0a3ca089ed64378bfac017e7ddad463f9815b875f6040a2005b505f5ffd5b5f80fda165767970657283000308000b000000000000000000000000d617e9b15c192b8c9a2add84a32cff6497fb9c6e

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

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000d617e9b15c192b8c9a2add84a32cff6497fb9c6e0000000000000000000000001a61387748bc83f798f8373e82943c30bc1d14ea0000000000000000000000000000000000000000000000000000000000000020596561726e2d5377656c6c2076302e302e31205661756c7420466163746f7279

-----Decoded View---------------
Arg [0] : name (string): Yearn-Swell v0.0.1 Vault Factory
Arg [1] : vault_original (address): 0xD617e9B15C192B8C9A2ADD84a32CfF6497Fb9c6E
Arg [2] : governance (address): 0x1A61387748bc83F798f8373E82943c30bC1d14eA

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000d617e9b15c192b8c9a2add84a32cff6497fb9c6e
Arg [2] : 0000000000000000000000001a61387748bc83f798f8373e82943c30bc1d14ea
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [4] : 596561726e2d5377656c6c2076302e302e31205661756c7420466163746f7279


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.