Contract 0x0e5da7Dd2750a728df4EE8dD5f46E5A8fF431640

 
 
Txn Hash
Method
Block
From
To
Value
0x0812519033a9c62655297ed5399959895d549289af1d2a8b428bb41df8c61ff6Approve138468092021-12-21 5:58:09241 days 11 hrs ago0x55e43f8d6314ff282d485485af39c15ee1518152 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0020518 44.68808852
0x057ccf21159f0d694c9c0aa584328cfb8fb6a6db2fb702103c4c4b6ff379c0c6Approve138467752021-12-21 5:51:15241 days 11 hrs ago0x55e43f8d6314ff282d485485af39c15ee1518152 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.00172228 59.79736088
0xd21f4e8c8f1dcf5967bba827f58d17c7b00e9a5fcafdca90c4c431b9cca8b2a3Approve137544852021-12-06 20:54:56255 days 20 hrs ago0x55e43f8d6314ff282d485485af39c15ee1518152 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.00528344 115.07254018
0xc7fcb0986758d91075e1e09735fdb6fad4cc151ae789fbb2855c2367cae7bfbaApprove136087102021-11-13 16:27:52279 days 1 hr ago0x55e43f8d6314ff282d485485af39c15ee1518152 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.00654418 142.53139806
0x5ff965de34e974c025cfb0b4bc4d6611d5cea1d87658a0d522cea9e69e6fa016Approve136083392021-11-13 14:57:35279 days 2 hrs ago0xcca2caff8a0ceac8902174a8855d9eaefad2e050 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.00547211 119.15074217
0x76d43b1a770a0a7b16b0ce9992aeb8fea1da939b5ce9560dfb0db9a50a74be8dApprove131722412021-09-06 12:44:40347 days 4 hrs ago0x535d117c5b463e4790c1b990a35be5fe044a3053 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.00315329 68.66044138
0x65dd931bbcc4654568b4f3d7ea919439d56aaf6743c70bd7845a4834394e65efApprove127616782021-07-04 14:52:01411 days 2 hrs ago0x027341a3f8d3d72e283a9c0dc48c24a9f8614256 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0006932115
0xdcdecdf762211de43d00d4a4e9ee63b0efefa6f8739563193ec953640a1db408Approve126692542021-06-20 5:00:53425 days 12 hrs ago0x0d21caa99aaa9a2b674c87101ff11c3c887a17d4 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0005545612
0xbea28fd1fba526eb7e6634007236dc9575536f4824c30440841b14a484c445d6Approve126624832021-06-19 3:43:13426 days 13 hrs ago0x3854057a2420ccb5c6a94d0659ae1a08d6a80a2d IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0007856317
0xc7171f074ce63856b9826ce98e706f9896040f45a6c8cfc95ad1766a0118d5abApprove124719992021-05-20 15:08:20456 days 2 hrs ago0x2e4de42f0b8ac51d435bd98121af106388d911bd IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.00471382102
0x800999034cfc832ef3c8ab99610fb0f179fc4a20140c5fc76829ec88f09977d9Approve124715152021-05-20 13:15:03456 days 4 hrs ago0x2a27701cc0b411805617ad9c130ae9d488073136 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0062851136
0x0dfc0f559fc1c300e090fa0dded2554831f5fffad3d09efafa8075008f698e30Approve123827462021-05-06 19:51:51469 days 21 hrs ago0xfa4abcbbaf293848b23ed8110ad495a201a1ce1e IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0042516892
0x24e5bff13cabd46f72ce5d1440ce00d7e03918591554a3947bb3d25f648ad954Approve123812622021-05-06 14:28:09470 days 3 hrs ago0x98b7cf12fe853d96394c3cf17e1abf999f61d9ca IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0024955554
0xc586a9856951201c41bfe9975ea2731e06db0da143962565ea0991e7eb4f32adApprove123654442021-05-04 3:44:26472 days 13 hrs agoENS Name 1more0.eth IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0005027735
0x48f693c9f3c5002c7fe8f1bc6740f693a2e0c7ab3ef3858d8b70c9f9df0b06e0Approve123640782021-05-03 22:59:08472 days 18 hrs agoENS Name congoman.eth IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0044827597
0x85905eb27ea7a2054f4d165084b39fb956499f815d08a5bf7d2dc4f2be8d08eaApprove123195242021-04-27 1:45:26479 days 15 hrs ago0x80e23a5841537136c222dc6c25423dfb4d9fdf2b IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0018485640
0x777d0d243bc4e81c8903dd68369cc71a897b3a1be19765102481862081cb7de0Approve122924442021-04-22 21:30:06483 days 20 hrs ago0xd447f1b931efe24fe8051317afbbb621ffe15058 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.00748666162
0x17bd5e6afbd7b2d097dc8d248e8e0494ebd10f0d5d8b65ab82e4af31cd2c3ae4Approve122218112021-04-11 23:48:33494 days 17 hrs ago0x6ee5bef0c49154f89749ab4057683da6f4429331 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0029556367
0x4a176cf99c72d444a76d918791696a6770551033523cb42110a3081b5c1848b9Approve122139252021-04-10 18:57:10495 days 22 hrs ago0x6d3cd864271864f2f32a9a58631f22b384bf9a17 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0040584892
0xb3a1d3b11bca43de52c594b0bdc2e99435b71bc35b6151c9b5c3ec9b8f4125fcApprove122109692021-04-10 8:12:04496 days 9 hrs ago0x556c73eb4ce12585dedcdfeebea4f90b443fbf92 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0040584892
0x8e4e99221d9f529d63beeac8a033834a8f53fa5de5a2361135ea57ce0f1d7492Approve122107132021-04-10 7:09:43496 days 10 hrs ago0x6caef45f5e48f2d93439eea8f6cbdb861fc8cc4b IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0039261489
0x9f075cef476b4a56849df8f0a57348e44d766b0448094eae9739561c9eff5ee7Approve121791912021-04-05 10:45:21501 days 6 hrs ago0x7f9621f117f9835f1aefd4e74bbec9ae85f1ae72 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0028814100
0x6adab427cc31be6905409e05a2d0e652ad93f3fc73b62c889fbba5673345d129Approve121787882021-04-05 9:09:20501 days 8 hrs ago0x7f9621f117f9835f1aefd4e74bbec9ae85f1ae72 IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0039702690
0x678f86f9231bbe948339f14ab39cb4c849e1db3ed02de2ed733a2916ea80134bApprove121292022021-03-28 18:12:56508 days 23 hrs ago0xa6b6fb6a424f4d107fbdd6f3bca610b568ccb2ea IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.00771995175
0x5035625af09aa571431dc70e76c831ec133a0ecb9463b58bd11344cdb042bb3eApprove121272642021-03-28 11:09:34509 days 6 hrs ago0x4c5745eb8062ddd323fd5e661437be69c6cec9ae IN  0x0e5da7dd2750a728df4ee8dd5f46e5a8ff4316400 Ether0.0040143791
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x410e3e86ef427e30b9235497143881f717d93c2a

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.8

Optimization Enabled:
N/A

Other Settings:
MIT license

Contract Source Code (Vyper language format)

# @version ^0.2.0
"""
@title Curve LP Token
@author Curve.Fi
@notice Base implementation for an LP token provided for
        supplying liquidity to `StableSwap`
@dev Follows the ERC-20 token standard as defined at
     https://eips.ethereum.org/EIPS/eip-20
"""

from vyper.interfaces import ERC20

implements: ERC20

interface Curve:
    def owner() -> address: view


event Transfer:
    _from: indexed(address)
    _to: indexed(address)
    _value: uint256

event Approval:
    _owner: indexed(address)
    _spender: indexed(address)
    _value: uint256


name: public(String[64])
symbol: public(String[32])

balanceOf: public(HashMap[address, uint256])
allowance: public(HashMap[address, HashMap[address, uint256]])
totalSupply: public(uint256)

minter: public(address)


@external
def __init__(_name: String[64], _symbol: String[32]):
    self.name = _name
    self.symbol = _symbol
    self.minter = msg.sender
    log Transfer(ZERO_ADDRESS, msg.sender, 0)


@view
@external
def decimals() -> uint256:
    """
    @notice Get the number of decimals for this token
    @dev Implemented as a view method to reduce gas costs
    @return uint256 decimal places
    """
    return 18


@external
def transfer(_to : address, _value : uint256) -> bool:
    """
    @dev Transfer token for a specified address
    @param _to The address to transfer to.
    @param _value The amount to be transferred.
    """
    # NOTE: vyper does not allow underflows
    #       so the following subtraction would revert on insufficient balance
    self.balanceOf[msg.sender] -= _value
    self.balanceOf[_to] += _value

    log Transfer(msg.sender, _to, _value)
    return True


@external
def transferFrom(_from : address, _to : address, _value : uint256) -> bool:
    """
     @dev Transfer tokens from one address to another.
     @param _from address The address which you want to send tokens from
     @param _to address The address which you want to transfer to
     @param _value uint256 the amount of tokens to be transferred
    """
    self.balanceOf[_from] -= _value
    self.balanceOf[_to] += _value

    _allowance: uint256 = self.allowance[_from][msg.sender]
    if _allowance != MAX_UINT256:
        self.allowance[_from][msg.sender] = _allowance - _value

    log Transfer(_from, _to, _value)
    return True


@external
def approve(_spender : address, _value : uint256) -> bool:
    """
    @notice Approve the passed address to transfer the specified amount of
            tokens on behalf of msg.sender
    @dev Beware that changing an allowance via this method brings the risk
         that someone may use both the old and new allowance by unfortunate
         transaction ordering. This may be mitigated with the use of
         {increaseAllowance} and {decreaseAllowance}.
         https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    @param _spender The address which will transfer the funds
    @param _value The amount of tokens that may be transferred
    @return bool success
    """
    self.allowance[msg.sender][_spender] = _value

    log Approval(msg.sender, _spender, _value)
    return True


@external
def increaseAllowance(_spender: address, _added_value: uint256) -> bool:
    """
    @notice Increase the allowance granted to `_spender` by the caller
    @dev This is alternative to {approve} that can be used as a mitigation for
         the potential race condition
    @param _spender The address which will transfer the funds
    @param _added_value The amount of to increase the allowance
    @return bool success
    """
    allowance: uint256 = self.allowance[msg.sender][_spender] + _added_value
    self.allowance[msg.sender][_spender] = allowance

    log Approval(msg.sender, _spender, allowance)
    return True


@external
def decreaseAllowance(_spender: address, _subtracted_value: uint256) -> bool:
    """
    @notice Decrease the allowance granted to `_spender` by the caller
    @dev This is alternative to {approve} that can be used as a mitigation for
         the potential race condition
    @param _spender The address which will transfer the funds
    @param _subtracted_value The amount of to decrease the allowance
    @return bool success
    """
    allowance: uint256 = self.allowance[msg.sender][_spender] - _subtracted_value
    self.allowance[msg.sender][_spender] = allowance

    log Approval(msg.sender, _spender, allowance)
    return True


@external
def mint(_to: address, _value: uint256) -> bool:
    """
    @dev Mint an amount of the token and assigns it to an account.
         This encapsulates the modification of balances such that the
         proper events are emitted.
    @param _to The account that will receive the created tokens.
    @param _value The amount that will be created.
    """
    assert msg.sender == self.minter

    self.totalSupply += _value
    self.balanceOf[_to] += _value

    log Transfer(ZERO_ADDRESS, _to, _value)
    return True


@external
def burnFrom(_to: address, _value: uint256) -> bool:
    """
    @dev Burn an amount of the token from a given account.
    @param _to The account whose tokens will be burned.
    @param _value The amount that will be burned.
    """
    assert msg.sender == self.minter

    self.totalSupply -= _value
    self.balanceOf[_to] -= _value

    log Transfer(_to, ZERO_ADDRESS, _value)
    return True


@external
def set_minter(_minter: address):
    assert msg.sender == self.minter
    self.minter = _minter


@external
def set_name(_name: String[64], _symbol: String[32]):
    assert Curve(self.minter).owner() == msg.sender
    self.name = _name
    self.symbol = _symbol

Contract Security Audit

Contract ABI

[{"name":"Transfer","inputs":[{"type":"address","name":"_from","indexed":true},{"type":"address","name":"_to","indexed":true},{"type":"uint256","name":"_value","indexed":false}],"anonymous":false,"type":"event"},{"name":"Approval","inputs":[{"type":"address","name":"_owner","indexed":true},{"type":"address","name":"_spender","indexed":true},{"type":"uint256","name":"_value","indexed":false}],"anonymous":false,"type":"event"},{"outputs":[],"inputs":[{"type":"string","name":"_name"},{"type":"string","name":"_symbol"}],"stateMutability":"nonpayable","type":"constructor"},{"name":"decimals","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":261},{"name":"transfer","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":74713},{"name":"transferFrom","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_from"},{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":111355},{"name":"approve","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":37794},{"name":"increaseAllowance","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_added_value"}],"stateMutability":"nonpayable","type":"function","gas":39038},{"name":"decreaseAllowance","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_subtracted_value"}],"stateMutability":"nonpayable","type":"function","gas":39062},{"name":"mint","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":75652},{"name":"burnFrom","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":75670},{"name":"set_minter","outputs":[],"inputs":[{"type":"address","name":"_minter"}],"stateMutability":"nonpayable","type":"function","gas":36458},{"name":"set_name","outputs":[],"inputs":[{"type":"string","name":"_name"},{"type":"string","name":"_symbol"}],"stateMutability":"nonpayable","type":"function","gas":178219},{"name":"name","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":7763},{"name":"symbol","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":6816},{"name":"balanceOf","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"arg0"}],"stateMutability":"view","type":"function","gas":1636},{"name":"allowance","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"arg0"},{"type":"address","name":"arg1"}],"stateMutability":"view","type":"function","gas":1881},{"name":"totalSupply","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1481},{"name":"minter","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1511}]

6040610aa96101403960606020610aa960c03960c051610aa9016101803960406020610aa960c03960c05160040135111561003957600080fd5b604060206020610aa90160c03960c051610aa90161020039602060206020610aa90160c03960c05160040135111561007057600080fd5b61018080600060c052602060c020602082510161012060006003818352015b826101205160200211156100a2576100c4565b61012051602002850151610120518501555b815160010180835281141561008f575b50505050505061020080600160c052602060c020602082510161012060006002818352015b826101205160200211156100fc5761011e565b61012051602002850151610120518501555b81516001018083528114156100e9575b505050505050336005556000610260523360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610260a3610a9156341561000a57600080fd5b60043610156100185761092e565b600035601c5263313ce567600051141561003957601260005260206000f350005b63a9059cbb60005114156100ee5760043560a01c1561005757600080fd5b60023360e05260c052604060c02080546024358082101561007757600080fd5b80820390509050815550600260043560e05260c052604060c02080546024358181830110156100a557600080fd5b8082019050905081555060243561014052600435337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b6323b872dd600051141561023c5760043560a01c1561010c57600080fd5b60243560a01c1561011c57600080fd5b600260043560e05260c052604060c02080546044358082101561013e57600080fd5b80820390509050815550600260243560e05260c052604060c020805460443581818301101561016c57600080fd5b80820190509050815550600360043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101405118156101fb5761014051604435808210156101d657600080fd5b80820390509050600360043560e05260c052604060c0203360e05260c052604060c020555b604435610160526024356004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a3600160005260206000f350005b63095ea7b360005114156102b95760043560a01c1561025a57600080fd5b60243560033360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f350005b633950935160005114156103725760043560a01c156102d757600080fd5b60033360e05260c052604060c02060043560e05260c052604060c0205460243581818301101561030657600080fd5b80820190509050610140526101405160033360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f350005b63a457c2d760005114156104295760043560a01c1561039057600080fd5b60033360e05260c052604060c02060043560e05260c052604060c02054602435808210156103bd57600080fd5b80820390509050610140526101405160033360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f350005b6340c10f1960005114156104e35760043560a01c1561044757600080fd5b600554331461045557600080fd5b6004805460243581818301101561046b57600080fd5b80820190509050815550600260043560e05260c052604060c020805460243581818301101561049957600080fd5b808201905090508155506024356101405260043560007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b6379cc679060005114156105995760043560a01c1561050157600080fd5b600554331461050f57600080fd5b600480546024358082101561052357600080fd5b80820390509050815550600260043560e05260c052604060c02080546024358082101561054f57600080fd5b808203905090508155506024356101405260006004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b631652e9fc60005114156105cd5760043560a01c156105b757600080fd5b60055433146105c557600080fd5b600435600555005b63e1430e0660005114156107115760606004356004016101403760406004356004013511156105fb57600080fd5b60406024356004016101c037602060243560040135111561061b57600080fd5b3360206102806004638da5cb5b6102205261023c6005545afa61063d57600080fd5b601f3d1161064a57600080fd5b600050610280511461065b57600080fd5b61014080600060c052602060c020602082510161012060006003818352015b8261012051602002111561068d576106af565b61012051602002850151610120518501555b815160010180835281141561067a575b5050505050506101c080600160c052602060c020602082510161012060006002818352015b826101205160200211156106e757610709565b61012051602002850151610120518501555b81516001018083528114156106d4575b505050505050005b6306fdde0360005114156107ba5760008060c052602060c020610180602082540161012060006003818352015b8261012051602002111561075157610773565b61012051850154610120516020028501525b815160010180835281141561073e575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6395d89b4160005114156108635760018060c052602060c020610180602082540161012060006002818352015b826101205160200211156107fa5761081c565b61012051850154610120516020028501525b81516001018083528114156107e7575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6370a08231600051141561089d5760043560a01c1561088157600080fd5b600260043560e05260c052604060c0205460005260206000f350005b63dd62ed3e60005114156108f55760043560a01c156108bb57600080fd5b60243560a01c156108cb57600080fd5b600360043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f350005b6318160ddd60005114156109115760045460005260206000f350005b6307546172600051141561092d5760055460005260206000f350005b5b60006000fd5b61015d610a910361015d60003961015d610a91036000f300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001543757276652e666920624254432f736274634352560000000000000000000000000000000000000000000000000000000000000000000000000000000000000c624254432f736274634352560000000000000000000000000000000000000000

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.