Contract 0x0bc3a8239b0a63e945ea1bd6722ba747b9557e56

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x3f32b4b0db875682f4f9f9000eff547aae7f08b7085ca8585cf247db9e7b88be84689632021-06-20 19:04:1439 mins ago0x72b223de2f773c814465c4a8f2ef9faae702cfb3 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0x90b53f40262c06b2addfa30410d1962b991df550845b5768623ac64e15e2149284628402021-06-20 13:58:055 hrs 45 mins ago0xac546f5eeebcd52fb3711bb8705718d35daef7b1 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0x375175f9d3f62f36be2948ceffc6c60079c39a386c4639fc69b12c488049ed1084475862021-06-20 1:14:0418 hrs 29 mins ago0x4aae510a864c6bb968cf7f0f83adfda48adb8a11 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xc2568534d467075f04aeeac6ab8fe62bbafbab16c0920ce70edb5b14bfcfb5fe84420612021-06-19 20:37:4023 hrs 5 mins ago0x76c7f467cd7f3e9f6fad66bebda37901e9cb82d4 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xfe77ee9125e37b79b91c62d19bbad66cc31c9e73ca9154c57d7e0c26f0a26dd284405312021-06-19 19:21:101 day 22 mins ago0xfe206f90c58feb8e42474c5074de43c22da8bc35 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xe2d3732d996f031361924b8283babd08f73645cf9b7bae1cc51daf83ef442a6084362932021-06-19 15:48:451 day 3 hrs ago0x7b32783a53344cf1d28a7c3ebf5587e0de652afa IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0x10c087ccec6ec52ab5c3d42ed6c62dcbf6922985b654c488b106b120f1d41f9484361692021-06-19 15:42:331 day 4 hrs ago0x90b51935e540968beaab18cde6d3e271b00d6efa IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0x4b96bb24560acf86412cf9bfcbb6bbe92056a3e4231c15f2c02be13625ee2eae84341292021-06-19 13:56:481 day 5 hrs ago0x90b51935e540968beaab18cde6d3e271b00d6efa IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xf539a7b4e5f88ffb518119b58cdd0b3968a34d869955ff3024ab83220188d4c484308812021-06-19 11:11:011 day 8 hrs ago0x5a7931ad3d97581743bd755736472370b7794edf IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xcde8e6f42148fae7fea3a9c97e1ae556d667960fb51dd3f70fb637c97a11367484166182021-06-18 23:14:121 day 20 hrs ago0x8a290f880a382cd3d3285d60e6a0b98ee0b556ec IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xc7725f9d50a758e4f5ecf3d40f9952c532fa4f99595d589f12b1ec77163346d584163422021-06-18 22:59:151 day 20 hrs ago0x7ca529fe452db57e637d84c08a807f6332ad6a27 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.000396972
0x6e028fc252863104954b0c600bf42d150421797610979078b2fb2314939553cf84115702021-06-18 18:57:372 days 45 mins ago0x3564cffd62055a99430e08c099fdcadc03812d3a IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.000264648
0x7549e29688fb5f159a818fedc76f331e04b7358a42f96e9018d0bfb0bd85a43084113672021-06-18 18:47:282 days 55 mins ago0x34f2ac0dd90b768b382e981e50312333a7a1a69d IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0x94af6b1b6f7fe7a906aa718e35ce72b5e173d8353e153a632591057880a7ad6284096792021-06-18 17:22:012 days 2 hrs ago0x58795e7953eff7a389e37b73e81f7abe6512ed0e IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xb6ff6f3efa21a52dc0a9051cc18ec53f24471c2dc49191e8924a9a16ea5b0c4c84068562021-06-18 15:00:042 days 4 hrs ago0x30e90ccbb23704a7d893fbc20cdfec712a6b2a41 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xd7098e4757e5db47e24ebbddbde6fc5ec3fd61ef44dc988e5388ed92b1f0233c84068062021-06-18 14:57:342 days 4 hrs ago0x5afefccae3f425ff0db3bd1bc05ed8d009c858d8 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xfa5242cd8e1f791c3446b92aaeba27c2eaae9ee494358b7e0d9c341eb8cee68484049952021-06-18 13:25:502 days 6 hrs ago0xbfb1ac13b6720bdd7a8a61b949bd3a8b869b871b IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00012454
0x22e7fb7b938d4b712192a8af97a619d61c1b6a7f99aae2278f8fbc726e4342e284049862021-06-18 13:25:232 days 6 hrs ago0xbfb1ac13b6720bdd7a8a61b949bd3a8b869b871b IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0x42eaad030b0b75bd793676a43727d6f073d30a2c54ed1d62e36018d8b588dec884021532021-06-18 11:02:532 days 8 hrs ago0xe41a092c50600c0752ab9675a87170ba37be4c9d IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0x859e0b1491fed3af435c69ab0b3ff5ad42f97e1d1664031660fabb8dba2c73be84006852021-06-18 9:49:082 days 9 hrs ago0x3b1b211b3fce0d1ee9f5e1afeecadeb98378d0b0 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00012454
0xd5b3d6a9f1036c7ee9c76ceecb511fa158cd2c40079f8c33b7e5224c3d0acefd84006562021-06-18 9:47:412 days 9 hrs ago0x3b1b211b3fce0d1ee9f5e1afeecadeb98378d0b0 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xd04ca71fac0342da4cebbd05d6c259e107a1ca84c27850e4cf735c97b2d1041f83909492021-06-18 1:37:192 days 18 hrs ago0x1e51e3d4a779ff0ee6c3f95c6f8cd31eeb00f54b IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.000100534
0x20462da58d670ab9c365cf8ad6e2a645e0308dc5806b5655d3f57813cea8c9d483894152021-06-18 0:20:372 days 19 hrs ago0x5e014aa0649102e07c074f498845f01bcd520317 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0xf3000b7b22bc2ca31f55294d0f4976ab27ae5506a4de698194bb684a30141f2a83869452021-06-17 22:14:352 days 21 hrs ago0xb3a730d92ee547b06ddcc7a7e3fee172cb9061c8 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 BNB0.00022054
0x2d088262d4364097c7c2b467edbbd649fd9fd2d482b374aeb072e88260dd24d883853432021-06-17 20:53:502 days 22 hrs ago0xe7902726f24e258c834d2779162ebe55b7b8c657 IN  0x0bc3a8239b0a63e945ea1bd6722ba747b9557e560 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.