Contract 0xf8a57c1d3b9629b77b6726a042ca48990a84fb49

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfd1491e0ea253476975bcab6654dca7379f7745047ea43344dbb9e4910bf47b5Approve241919142022-01-26 16:17:581 hr 9 mins ago0x8283474f86ffcaea290dcbfc6d3c565b216a00e1 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.001389090279 30.069492587
0x68d20c7ca1ccde4bd2fc09710e0f0ace5a680d4117752413b7b9d861e6c2305aApprove241801712022-01-26 8:57:378 hrs 29 mins ago0x0ab28a66bc3033351b25b05d9959d894db493d5e IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.0046196100
0xce28d53dcef7e6eb868877339e634355db5a3c21b7c9dd2071279e8cca1ccb12Approve241757232022-01-26 6:18:1111 hrs 8 mins ago0xd1fcd7d93c301d56f3b01e868a16eefb0c41db0d IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.001559871132 33.766367931
0x26089a2a3a44f9d480a0666beca3d48223a2595dd9dd9eb61437e5711b183f34Approve241630092022-01-25 22:50:1018 hrs 37 mins ago0x90b38539e2f59d945aef8184ad6d3690c3d65ac6 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.001432370962 31.006385029
0xb7b7dd7cc969eafbf33a475494756a47247c645ee69e76ecbb4452316d27d53cApprove241629702022-01-25 22:48:4818 hrs 38 mins ago0xff7da03a836e8b56fa2fe5430a14d1c7d364dde3 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.00147546305 32.156373702
0x5ea118daa26c7e5549b7c3d2cdbc444e827e079ec8aaa0cae139b367665f32a5Approve241486572022-01-25 14:27:081 day 3 hrs ago0x42d4f8cf15106a5f6d082b2fa97f5dbbd30f16f8 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.004642803364 176.559300458
0xa111d539dff5c4b5cd5d9b9355c6ce1e2789c30d5b1170bc7bf91e3855c500feApprove241486412022-01-25 14:26:361 day 3 hrs ago0x42d4f8cf15106a5f6d082b2fa97f5dbbd30f16f8 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.008156333443 176.559300458
0x548674e3b841277b5d8043f6b50673688e47f100f5b97fec43d6768eff5bee6dApprove241484782022-01-25 14:20:581 day 3 hrs ago0x783f60a5059360de8326741d08aef1e98cf283eb IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.006465418664 139.956244358
0xa4f6fe8476257f56a22bfeb4a315327cf07f479be5e89ee2b0b7c0c9094ce54cApprove241390852022-01-25 8:43:061 day 8 hrs ago0x6681ccb8f46f540848dfbe083b3869c3b04f87f2 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.002473443164 53.54236654
0xd78999afcb1daccaf8139d9dde76206d3aad0fdd53bcdbd2bf57baa5b148746fApprove241334102022-01-25 5:12:131 day 12 hrs ago0xff1a1aa3f81986ce934f42be48488a6fddb38874 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.001390860005 30.107801664
0x070df529a77d05ae611d2474eeba142cdd7ccd2025cbe802608a5239afadfaf6Approve241273952022-01-25 1:36:441 day 15 hrs ago0x791143f885f2dcaeda1c3a55272e8d33e54a4ac1 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.001809412001 39.157981342
0x176fb3a1bc028f1fd3f1197af5269114ccf30765f4bb44f23859aec6aefc68ddApprove241197412022-01-24 21:06:541 day 20 hrs ago0x417f41772998cd755f2f8c80a560aa84a06fe0ad IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.009471602209 205.030786431
0x7cab1e10e18fa2e216e64569b2069e0cb253d64b96ab4670e8cc9c92127a7edbApprove241180682022-01-24 20:05:041 day 21 hrs ago0xa754eea5456a32c8c34e73c05212caff673b4955 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.005105831993110.496710391
0xd3fff5164f9a079789962aa933a3b90a2271512258c252fa0259e3d415b07a53Approve241170412022-01-24 19:29:381 day 21 hrs ago0xd8cc0a0af52597791e9070058c90b9261853bbbb IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.003486785598 132.597566104
0x7604e552c4c78fa0e6a4fc7bf02e2b5cb17c5077eb80784647a2db78b9b0b4acApprove241169992022-01-24 19:28:141 day 21 hrs ago0xd8cc0a0af52597791e9070058c90b9261853bbbb IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.007416457444 160.54328176
0xddc54c0cd4892069c1b3c7bb343b7c35b428153ca51b33a1ae26c216c496c63aApprove241135612022-01-24 17:29:511 day 23 hrs ago0x85601a139d2a0971ebf4e50c0395c1525329543b IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.011129545676 240.920115948
0x1ba8ee1565629ccf58fab1578bc75d24c38f7929c4fafb1836196b6341bd7255Approve241082352022-01-24 14:20:182 days 3 hrs ago0x37777991b962465e484d74a1f02cd9361cd20722 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.038091209127 824.556436213
0xe73d10d75f4647ed1aa8a090bfea6ff54e6faccf8239eca13dc4e7a1bd2631b0Approve241024312022-01-24 10:55:482 days 6 hrs ago0x7fa73196fd6d32cc32f6fe75f55e19b86ec91fbf IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.04781581927 1,035.064059029
0xf66a05a29d6a947875dc23c95883b5179c3a099eb0db35671b75549ea6575792Approve240868722022-01-24 1:35:352 days 15 hrs ago0x655dc652fbb69c2082c6e8b1140e724fd82b883d IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.001791518176 38.770736171
0xda02fefef22e1aafafdcd72a5ed4b82ef05f8613c9b34747bf8fb5edb875b5b0Approve240868572022-01-24 1:35:052 days 15 hrs ago0x655dc652fbb69c2082c6e8b1140e724fd82b883d IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.001415724169 30.638075006
0x67a22d854966009fae41c9627f4c14a96a162ebcc61114198a977f913f17966aApprove240795682022-01-23 21:13:302 days 20 hrs ago0x108bcc101a0460abb02aebfc0226637ee139c6c5 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.002253692079 48.785437684
0x417524204da7859f2aa3cb3066dfd7a2e90377664088cdbddffc0b661fd78c9fApprove240780412022-01-23 20:20:562 days 21 hrs ago0x20307ab9b43b6594cdab1a0e924ef1e6a7249418 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.003206141558 69.403012339
0xa2127d280f4ed8ba8e32bc9ab7a09a58ada9aad164de582e420c541f8336d945Approve240679222022-01-23 14:12:433 days 3 hrs ago0xfb82509d64ac80bb196ec955934e9fd78eca168b IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.006244244603 135.168512498
0xf0152936176d2cff782eeb76af9893c330d9b7eeb3779d7b1fb2e02070c4b314Approve240630322022-01-23 10:56:053 days 6 hrs ago0x8c251a2e340386adb568ef7058155c83f27e170b IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.001119050318 46.775218144
0x43de8055d67803617a4e282580f635f5d1e2ecfa9d59395813714528b574d0afApprove240563392022-01-23 6:48:593 days 10 hrs ago0x1af04ed8835eae2ed5e6c481ef192a7895dc8116 IN  0xf8a57c1d3b9629b77b6726a042ca48990a84fb490 MATIC0.001754553055 37.980627226
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

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

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.12

Optimization Enabled:
N/A

Other Settings:
, None 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":[{"name":"_from","type":"address","indexed":true},{"name":"_to","type":"address","indexed":true},{"name":"_value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"Approval","inputs":[{"name":"_owner","type":"address","indexed":true},{"name":"_spender","type":"address","indexed":true},{"name":"_value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":288},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":77340},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":115282},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":37821},{"stateMutability":"nonpayable","type":"function","name":"increaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_added_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":40365},{"stateMutability":"nonpayable","type":"function","name":"decreaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_subtracted_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":40389},{"stateMutability":"nonpayable","type":"function","name":"mint","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":79579},{"stateMutability":"nonpayable","type":"function","name":"burnFrom","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":79597},{"stateMutability":"nonpayable","type":"function","name":"set_minter","inputs":[{"name":"_minter","type":"address"}],"outputs":[],"gas":37785},{"stateMutability":"nonpayable","type":"function","name":"set_name","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"}],"outputs":[],"gas":181606},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":12990},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":10743},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":2963},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3208},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2808},{"stateMutability":"view","type":"function","name":"minter","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2838}]

6040610a716101403960606020610a7160c03960c051610a71016101803960406020610a7160c03960c05160040135111561003957600080fd5b604060206020610a710160c03960c051610a710161020039602060206020610a710160c03960c05160040135111561007057600080fd5b61018080600060c052602060c020602082510161012060006003818352015b826101205160200211156100a2576100c4565b61012051602002850151610120518501555b815160010180835281141561008f575b50505050505061020080600160c052602060c020602082510161012060006002818352015b826101205160200211156100fc5761011e565b61012051602002850151610120518501555b81516001018083528114156100e9575b505050505050336005556000610260523360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610260a3610a5956600436101561000d576108f6565b600035601c52600051341561002157600080fd5b63313ce56781141561003857601260005260206000f35b63a9059cbb8114156100e95760043560a01c1561005457600080fd5b60023360e05260c052604060c02080546024358082101561007457600080fd5b80820390509050815550600260043560e05260c052604060c02080546024358181830110156100a257600080fd5b8082019050905081555060243561014052600435337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f35b6323b872dd8114156102335760043560a01c1561010557600080fd5b60243560a01c1561011557600080fd5b600260043560e05260c052604060c02080546044358082101561013757600080fd5b80820390509050815550600260243560e05260c052604060c020805460443581818301101561016557600080fd5b80820190509050815550600360043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101405118156101f45761014051604435808210156101cf57600080fd5b80820390509050600360043560e05260c052604060c0203360e05260c052604060c020555b604435610160526024356004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a3600160005260206000f35b63095ea7b38114156102ac5760043560a01c1561024f57600080fd5b60243560033360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f35b63395093518114156103615760043560a01c156102c857600080fd5b60033360e05260c052604060c02060043560e05260c052604060c020546024358181830110156102f757600080fd5b80820190509050610140526101405160033360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b63a457c2d78114156104145760043560a01c1561037d57600080fd5b60033360e05260c052604060c02060043560e05260c052604060c02054602435808210156103aa57600080fd5b80820390509050610140526101405160033360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b6340c10f198114156104ca5760043560a01c1561043057600080fd5b600554331461043e57600080fd5b6004805460243581818301101561045457600080fd5b80820190509050815550600260043560e05260c052604060c020805460243581818301101561048257600080fd5b808201905090508155506024356101405260043560007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f35b6379cc679081141561057c5760043560a01c156104e657600080fd5b60055433146104f457600080fd5b600480546024358082101561050857600080fd5b80820390509050815550600260043560e05260c052604060c02080546024358082101561053457600080fd5b808203905090508155506024356101405260006004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f35b631652e9fc8114156105ae5760043560a01c1561059857600080fd5b60055433146105a657600080fd5b600435600555005b63e1430e068114156106f05760606004356004016101403760406004356004013511156105da57600080fd5b60406024356004016101c03760206024356004013511156105fa57600080fd5b3360206102806004638da5cb5b6102205261023c6005545afa61061c57600080fd5b601f3d1161062957600080fd5b600050610280511461063a57600080fd5b61014080600060c052602060c020602082510161012060006003818352015b8261012051602002111561066c5761068e565b61012051602002850151610120518501555b8151600101808352811415610659575b5050505050506101c080600160c052602060c020602082510161012060006002818352015b826101205160200211156106c6576106e8565b61012051602002850151610120518501555b81516001018083528114156106b3575b505050505050005b6306fdde038114156107955760008060c052602060c020610180602082540161012060006003818352015b8261012051602002111561072e57610750565b61012051850154610120516020028501525b815160010180835281141561071b575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b4181141561083a5760018060c052602060c020610180602082540161012060006002818352015b826101205160200211156107d3576107f5565b61012051850154610120516020028501525b81516001018083528114156107c0575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6370a082318114156108705760043560a01c1561085657600080fd5b600260043560e05260c052604060c0205460005260206000f35b63dd62ed3e8114156108c45760043560a01c1561088c57600080fd5b60243560a01c1561089c57600080fd5b600360043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b6318160ddd8114156108dc5760045460005260206000f35b63075461728114156108f45760055460005260206000f35b505b60006000fd5b61015d610a590361015d60003961015d610a59036000f300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001c43757276652e666920616d4441492f616d555344432f616d55534454000000000000000000000000000000000000000000000000000000000000000000000006616d334352560000000000000000000000000000000000000000000000000000

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.