Contract 0xaF4dE8E872131AE328Ce21D909C74705d3Aaf452

 
Txn Hash
Block
From
To
Value [Txn Fee]
0xd57ffc5c02721b4297f694535263cfbf26bf5b0fd0cc70461331368d3166930184662572021-06-20 16:48:561 hr 57 mins ago0xe4c2993f65c487351eea82b4d24d1e6cb118cfc5 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0x61c1c45aea05ec0df968e6856d954c280f9721d4c876b9298a401445702fdef684660462021-06-20 16:38:232 hrs 7 mins ago0x7b3b5d817437053095d57228268ff445ede32535 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0x340d05d49f8edb33dde62de6d50660d95d712418da96545cd3fc508cd5a8e06084653472021-06-20 16:03:262 hrs 42 mins ago0x651ad4d0001351ca8786dcb0b748d21f1e2d469a IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00021934
0x91fc0618c8d042dec8f4782174a4cc1e7cdfed3bbbd0595acbd1d5789ed1459484643032021-06-20 15:11:143 hrs 34 mins ago0xa2314bc78f4972735edcd8391bbec4b1e7138c8d IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0x27ff293438fb80ca24de0964a93ab2a80ec9edc25558c9b003970ccb203d4b6984636162021-06-20 14:36:534 hrs 9 mins ago0xd6208c66746b0defc87f7c74ce574841f4928008 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0x8dc3df46a05eec4fd3d49a80ccc866320f216c375d44dd32218e79ee0c090fc584602432021-06-20 11:48:146 hrs 57 mins ago0xe4b5b2667e049ac8c79ae6c5a7e3300815aa32be IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.000177565
0x9d2da80b6c413444583a66cd6be72a475809ff25e1ad45bfe8b65dac182c9c9f84595422021-06-20 11:13:117 hrs 32 mins ago0xd1bfcc74cdc4b2ca882b40300703b0048b633b05 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0xfddd1433a4724168242e79561c5ed0b49feb50c85b945b7cdc7d1d4ba1f555ef84584162021-06-20 10:16:528 hrs 29 mins ago0x5e92ced229a26f32f5bbbc473c2d1c315f99db61 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0x0d536cccf93945adda71520eec1477962d8b40e9179dd9994c36eb7275182bd684544022021-06-20 6:55:1111 hrs 50 mins ago0xf7e5a901db4fefc5f142f0fd4157d0cf802ed2a8 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00007181
0xe1fbcd3b2038591322161efe04285bba73f0e1ecffa84aa55d54d13aed58066384536592021-06-20 6:18:0212 hrs 28 mins ago0xf3bf375772469547b81a4d32ccb4671e9c2bc58b IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.000396972
0xe5258795d1230eb0d1111d750cf08865ceb632d41ebb3b35b58951a9b6d9047384471292021-06-20 0:51:1317 hrs 54 mins ago0xfe96d1ed2a4c9e60e0e3030609af0361a515169e IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.000100534
0x5a07e33f809e9bc1c3255d63b7c849bb70ed0136597d2774069d48010a85294884469312021-06-20 0:41:1918 hrs 4 mins ago0x1f7b0848f363352a6b3d21f2fd2f1fe4a55a0e32 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.0000732462
0x1edd681aa2b694c9f55539d90d8110ded8344df54e4baf4f7b1a653655324e6c84409252021-06-19 19:40:5223 hrs 5 mins ago0xc5259cc500564de27ca78bbc0fac4727df72c43d IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0xd545bc23d82a9553a1bbf993656cfe052a51b7f4600175f746bca4629c350f7d84405502021-06-19 19:22:0723 hrs 23 mins ago0xfe206f90c58feb8e42474c5074de43c22da8bc35 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0xd0730780e80aac09bcda09e18456128786d421f0a572647b2f13f2005808dbd684398002021-06-19 18:44:371 day 1 min ago0xc28a78a1119c530ce6035d474fe616c4eec4ee57 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00035905
0xefa9dbb348ec82ff8385ef0beaa9cce8b0a7f156643207cbe9e215ebce0cb98084358262021-06-19 15:25:241 day 3 hrs ago0x89a1361884d1884b1164ce4df89f74d0e6870c0e IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00007181
0x2cc73936eeb50afefe74e94a0c5535abc7b0e7aef12b503087e1e6ed2d17fbf484328622021-06-19 12:52:351 day 5 hrs ago0x72ef586a2c515b605a873ad9a8fbdfd43df77123 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0xd7ab1c86c0b3f8951f6f76c61611e01478f80e789a1e9bca85e13d609022dd3284315952021-06-19 11:47:521 day 6 hrs ago0xd041143a4439864c516565f4fd05074fb8100bcb IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00007181
0x061a565140e8db6abd02fda041ce098cce606956b1f2960dd9adbdc19e629a6e84312852021-06-19 11:31:371 day 7 hrs ago0xd7cbcfe85e9f51fcddd15f4e7709e2806cda6ff9 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00007181
0x4da981faeb78c6ddc885bf16c303f83e2f8e2712aa7b6927e93b0d0e9a23422184286672021-06-19 9:18:551 day 9 hrs ago0x12afc41a4bcfe0431ca7e1b845d8e74306def14e IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0x52e32bdb1e865e06c7251858ff04235cf0684d935a0f774bc46eea19799ff20684275082021-06-19 8:20:581 day 10 hrs ago0xa555ada974a120b042de21222572d50262973afd IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00007181
0xa2bd5a820c23c302908f3d3fb6603638600a10faa6bf7cf9e47a5ad24efe834084220332021-06-19 3:46:251 day 14 hrs ago0x25894443b95dae8efb33629fada71cf587d8aefa IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0x0b778e715aa50fefaf9c90f5955e901f0d63b9fd4e43911de63b1502b008328184128842021-06-18 20:03:251 day 22 hrs ago0xe7390b9ddee030fe80b161c0784f98e066d1c9f4 IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0x216628b24c6009ff09c76735bdf7df6e62907abf2d26eee9bbcdca29c96831c184072462021-06-18 15:19:342 days 3 hrs ago0x016e6b9be7f5db5d4d7399a2b41c6d010b8fc43d IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
0xa35f35da0c0ac1931dfad1a0af7d3400b3b244f9fe971994fe15e4cae197aee084018642021-06-18 10:48:262 days 7 hrs ago0xe41a092c50600c0752ab9675a87170ba37be4c9d IN  0xaf4de8e872131ae328ce21d909c74705d3aaf4520 BNB0.00022054
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xd207cb44a5ef3464bca37baf25a232e6b4f21f0d

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.11

Optimization Enabled:
N/A

Other Settings:
, None license

Contract Source Code (Vyper language format)

# @version 0.2.11
"""
@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], _total_supply: uint256):
    self.name = _name
    self.symbol = _symbol
    self.minter = msg.sender
    self.totalSupply = _total_supply
    self.balanceOf[msg.sender] = _total_supply
    log Transfer(ZERO_ADDRESS, msg.sender, _total_supply)


@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

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"},{"name":"_total_supply","type":"uint256"}],"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":74740},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":111382},{"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":39065},{"stateMutability":"nonpayable","type":"function","name":"decreaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_subtracted_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":39089},{"stateMutability":"nonpayable","type":"function","name":"mint","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":75679},{"stateMutability":"nonpayable","type":"function","name":"burnFrom","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":75697},{"stateMutability":"nonpayable","type":"function","name":"set_minter","inputs":[{"name":"_minter","type":"address"}],"outputs":[],"gas":36485},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":7760},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":6813},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":1633},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":1878},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":1478},{"stateMutability":"view","type":"function","name":"minter","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":1508}]

606061094b610140396060602061094b60c03960c05161094b016101a0396040602061094b60c03960c05160040135111561003957600080fd5b60406020602061094b0160c03960c05161094b016102203960206020602061094b0160c03960c05160040135111561007057600080fd5b6101a080600060c052602060c020602082510161012060006003818352015b826101205160200211156100a2576100c4565b61012051602002850151610120518501555b815160010180835281141561008f575b50505050505061022080600160c052602060c020602082510161012060006002818352015b826101205160200211156100fc5761011e565b61012051602002850151610120518501555b81516001018083528114156100e9575b50505050505033600555610180516004556101805160023360e05260c052604060c0205561018051610280523360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610280a361093356600436101561000d576107b4565b600035601c52600051341561002157600080fd5b63313ce56781141561003857601260005260206000f35b63a9059cbb8114156100e95760043560a01c1561005457600080fd5b60023360e05260c052604060c02080546024358082101561007457600080fd5b80820390509050815550600260043560e05260c052604060c02080546024358181830110156100a257600080fd5b8082019050905081555060243561014052600435337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f35b6323b872dd8114156102335760043560a01c1561010557600080fd5b60243560a01c1561011557600080fd5b600260043560e05260c052604060c02080546044358082101561013757600080fd5b80820390509050815550600260243560e05260c052604060c020805460443581818301101561016557600080fd5b80820190509050815550600360043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101405118156101f45761014051604435808210156101cf57600080fd5b80820390509050600360043560e05260c052604060c0203360e05260c052604060c020555b604435610160526024356004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a3600160005260206000f35b63095ea7b38114156102ac5760043560a01c1561024f57600080fd5b60243560033360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f35b63395093518114156103615760043560a01c156102c857600080fd5b60033360e05260c052604060c02060043560e05260c052604060c020546024358181830110156102f757600080fd5b80820190509050610140526101405160033360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b63a457c2d78114156104145760043560a01c1561037d57600080fd5b60033360e05260c052604060c02060043560e05260c052604060c02054602435808210156103aa57600080fd5b80820390509050610140526101405160033360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b6340c10f198114156104ca5760043560a01c1561043057600080fd5b600554331461043e57600080fd5b6004805460243581818301101561045457600080fd5b80820190509050815550600260043560e05260c052604060c020805460243581818301101561048257600080fd5b808201905090508155506024356101405260043560007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f35b6379cc679081141561057c5760043560a01c156104e657600080fd5b60055433146104f457600080fd5b600480546024358082101561050857600080fd5b80820390509050815550600260043560e05260c052604060c02080546024358082101561053457600080fd5b808203905090508155506024356101405260006004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f35b631652e9fc8114156105ae5760043560a01c1561059857600080fd5b60055433146105a657600080fd5b600435600555005b6306fdde038114156106535760008060c052602060c020610180602082540161012060006003818352015b826101205160200211156105ec5761060e565b61012051850154610120516020028501525b81516001018083528114156105d9575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b418114156106f85760018060c052602060c020610180602082540161012060006002818352015b82610120516020021115610691576106b3565b61012051850154610120516020028501525b815160010180835281141561067e575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6370a0823181141561072e5760043560a01c1561071457600080fd5b600260043560e05260c052604060c0205460005260206000f35b63dd62ed3e8114156107825760043560a01c1561074a57600080fd5b60243560a01c1561075a57600080fd5b600360043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b6318160ddd81141561079a5760045460005260206000f35b63075461728114156107b25760055460005260206000f35b505b60006000fd5b61017961093303610179600039610179610933036000f3000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084c7020546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034c50540000000000000000000000000000000000000000000000000000000000

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.