Contract 0x4EfDFe8fFAfF109451Fc306e0B529B088597dd8d

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x919d41704bccc2e232926fb42b8b1b6f27696bbdf426f388e544a8a1094714abApprove119201222021-10-19 22:48:562 hrs 11 mins ago0x36798d3ad80fbc07a93b2bab7944e0e63f05fcae IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0xbf9de986e18e39bfdfc889ea53e0c038738f3c9d5553344dab0c80e547f2d435Approve119184952021-10-19 21:27:173 hrs 33 mins ago0x8b552140ae5eb13278f0a7035d5c196b2e29d1b2 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0x922f5d6a9f04c7fc322b2c89ecd45cab49571fdb5467ee6a2045a7d08b9c201aApprove119168272021-10-19 19:56:195 hrs 4 mins ago0x668bac98b733453b5904f6f963b89415d92c41fa IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0x15979361947b4a21836ef11b69763a1e4e7cafdd61c6f03796f47eb493461b16Approve119132392021-10-19 16:36:478 hrs 23 mins ago0x3d8fa57de378698ca951a55434ce4c80c3f8b983 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0xba2a56486781cc5c5d68dfe843fe45e3d9b92d7f30a9555be859061413cefd46Approve119121372021-10-19 15:41:149 hrs 19 mins ago0xe9d94f2f06eaeea611113e87125f8859d1c93713 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0x11e0c0de695dca8a8cea7c45e1dddceebdf36862bd6386cb10fbffb9f29cd00bApprove119060042021-10-19 10:30:5114 hrs 29 mins ago0xb31a371ed6b52e1871ae6eb6ffb99b8b4fa04ced IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0x37cba66b9294e93583a95505e7d30a5a1ad01c4946f8b7f3d02ac5e377e24cf4Approve119053042021-10-19 9:55:4615 hrs 4 mins ago0x1975c1544feb8eedad49f7ff70f7f65d9d1edf44 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0x8c094c0a3af2fe9f8d13da5e6a20ca0856179ca8d86eb80a5750c740c5e208b6Approve118984112021-10-19 4:10:5920 hrs 49 mins ago0x15cb6b927281e9f1d93c11d76ba74e6c16cbaf11 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0x182a0e773014f7e6f0079de6461189776e5696e0a68b5f4762362b52afa9c3bcTransfer118969772021-10-19 2:59:1722 hrs 1 min ago0x73a7455d48f8de235eb03ca3c02f8f73a8ac6acf IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000103045
0xa48e3e3c51afa7cb25783c40a2e8e9b1069d9ea0bbfaf3d57a4fa17d7065d05aApprove118917882021-10-18 22:37:581 day 2 hrs ago0xa2fd355d69df1a9f139e6e62c99b8453ab0b6fc9 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000264444
0x1b26e817de0d79b74580d043a1e0032fc3e40e1a8229ac2df78a4d6b57abed1fApprove118880812021-10-18 19:32:331 day 5 hrs ago0xf3037a013e0cd63c99167f9db50307deee42366d IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0xa2a4204e64c4238521f7bfdc7317c805c03aae9adb379dd7ceb36771f066301eApprove118864822021-10-18 18:12:081 day 6 hrs ago0x4189aef8999c1f6a453dbda137d4716bd72ac03d IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0x713dbb9f81a1bea7cb4165e7814e18a14e39bd7ca38ac639ed94a9c284f131b0Approve118858592021-10-18 17:40:561 day 7 hrs ago0xf59807c1c62bfcf46914c7b79584aced5cc5d3d2 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0xf8d7bf55058544da72b3a0b85f7b0aa58a8c5135516940c696d1a0a485f10d31Approve118842042021-10-18 16:17:221 day 8 hrs ago0x4a9670c291b1f572d63b15274a0660fa95b3f7ab IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0xaa7e16d3982e522c58840a8e5ddc4558f6bb499744843205cb4f929e99dfe817Approve118827272021-10-18 15:03:151 day 9 hrs ago0x1712f577c2011a81feaa44ffd3b9143fa2b57f12 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0x9fe8e491dc1290cbf03ee6213a4344fd65e63a172d4395386b807da3c5086696Approve118825092021-10-18 14:52:211 day 10 hrs ago0x32c2af91c9545cc0f7bd89ea8d5c7da0c72e5f9b IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.00022037
0x8cc0bdb7fa6f057a8ce3fe19169fe0eb155b045ff02c5ce4c480df19b96ed84aTransfer118787022021-10-18 11:37:461 day 13 hrs ago0x26813a97d1ef9866f855be7b2310465bb96b3bcf IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000178045
0xf605d3c58733b968eabd4ac8b61f0342161dcc9d183ad36248773e1d73533e96Transfer118747602021-10-18 8:20:261 day 16 hrs ago0xbd9cb5d5fe9b909ea0c12df0111b36b1314550a6 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000177985
0xb3985a3d1cb12f573b62f5c61a0529a1f133d21b95945d7fb992b5bdf7bd2264Transfer118747322021-10-18 8:19:021 day 16 hrs ago0xbd9cb5d5fe9b909ea0c12df0111b36b1314550a6 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000177985
0x8dfe523f902b67adc8be88d1bbaf2f90266bda76c9a69af8d29f5b6ce2ef4a13Transfer118746772021-10-18 8:16:141 day 16 hrs ago0xbd9cb5d5fe9b909ea0c12df0111b36b1314550a6 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000252985
0x27b34bb6c3070460405e85530202f158858f0b73a76132568bedfbee95cf9c88Transfer118746672021-10-18 8:15:441 day 16 hrs ago0xbd9cb5d5fe9b909ea0c12df0111b36b1314550a6 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000252985
0xfd3098b2ddc8c1de20f1188792d131df6c93aca8561fd4ba2a3275a34cf569a8Approve118723192021-10-18 6:18:201 day 18 hrs ago0xa5f04fd785a5e4897f4136ecd0ef4dc45723bc8e IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000308518
0x9e4c08f5a69fa6b41953db045ab278f21e294e63e8941eb3266de3584b36f557Transfer118708622021-10-18 5:05:281 day 19 hrs ago0xc69a36f448d8a4b8282033ef6a209c2ff3d330c7 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000252985
0x75aa60b91fa903e992d905e543c4f05296fcb606f4b4dcee51ece162bbeb168cTransfer118708492021-10-18 5:04:491 day 19 hrs ago0xc69a36f448d8a4b8282033ef6a209c2ff3d330c7 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000178045
0x0358da4f8aba3b03a815916ecb9fae10017a2928ca66bcdbaae531dd23c0664eTransfer118708432021-10-18 5:04:311 day 19 hrs ago0xc69a36f448d8a4b8282033ef6a209c2ff3d330c7 IN  0x4efdfe8ffaff109451fc306e0b529b088597dd8d0 BNB0.000253045
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.15

Optimization Enabled:
N/A

Other Settings:
, MIT license

Contract Source Code (Vyper language format)

# @version ^0.2.15

# Vega token has max supply
# cross chain mint and burn

from vyper.interfaces import ERC20

implements: ERC20


event Transfer:
    sender: indexed(address)
    receiver: indexed(address)
    value: uint256


event Approval:
    owner: indexed(address)
    spender: indexed(address)
    value: uint256


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

# vyper automatically generates getters
balanceOf: public(HashMap[address, uint256])
allowances: public(HashMap[address, HashMap[address, uint256]])
totalSupply: public(uint256)
circulatingSupply: public(uint256)
deployer: public(address)


@external
def __init__():
    # _name: String[64], _symbol: String[32], _decimals: uint256, _max_supply: uint256
    self.name = "VegaToken"
    self.symbol = "VGA"
    self.decimals = 18

    # assign max supply, no more minting after that
    init_supply: uint256 = 10 ** 9 * 10 ** self.decimals
    self.balanceOf[msg.sender] = init_supply
    self.totalSupply = init_supply
    # calcuating circulation needs to be done externally
    self.circulatingSupply = 0
    self.deployer = msg.sender
    log Transfer(ZERO_ADDRESS, msg.sender, init_supply)


@internal
def swap(_from: address, _to: address, _value: uint256):
    # NOTE: revert on insufficient balance
    assert _to != ZERO_ADDRESS  # dev: transfers to 0x0 are not allowed
    self.balanceOf[_from] -= _value
    self.balanceOf[_to] += _value
    log Transfer(_from, _to, _value)


@external
def transfer(_to: address, _value: uint256) -> bool:
    """
    @notice Transfer `_value` tokens from `msg.sender` to `_to`
    @dev Vyper does not allow underflows, so the subtraction in
         this function will revert on an insufficient balance
    @param _to The address to transfer to
    @param _value The amount to be transferred
    @return bool success
    """
    self.swap(msg.sender, _to, _value)
    return True


@external
def transferFrom(_from: address, _to: address, _value: uint256) -> bool:
    """
    @notice Transfer `_value` tokens from `_from` to `_to`
    @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
    @return bool success
    """
    self.swap(_from, _to, _value)
    # NOTE: reverts on insufficient allowance
    self.allowances[_from][msg.sender] -= _value
    return True


@external
def approve(_spender: address, _value: uint256) -> bool:
    """
    @notice Approve `_spender` to transfer `_value` tokens on behalf of `msg.sender`
    @dev Approval may only be from zero -> nonzero or from nonzero -> zero in order
        to mitigate the potential race condition described here:
        https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    @param _spender The address which will spend the funds
    @param _value The amount of tokens to be spent
    @return bool success
    """
    # assert _value == 0 or self.allowances[msg.sender][_spender] == 0
    self.allowances[msg.sender][_spender] = _value
    log Approval(msg.sender, _spender, _value)
    return True


@external
@view
def allowance(_owner: address, _spender: address) -> uint256:
    """
    @notice Check the amount of tokens that an owner allowed to a spender
    @param _owner The address which owns the funds
    @param _spender The address which will spend the funds
    @return uint256 specifying the amount of tokens still available for the spender
    """
    return self.allowances[_owner][_spender]


@external
def setCirculatingSupply(_circulatingSupply: uint256):
    assert msg.sender == self.deployer, "only deployer"
    self.circulatingSupply = _circulatingSupply

Contract Security Audit

Contract ABI

[{"name":"Transfer","inputs":[{"name":"sender","type":"address","indexed":true},{"name":"receiver","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":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":77957},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":115608},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":37791},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":2908},{"stateMutability":"nonpayable","type":"function","name":"setCirculatingSupply","inputs":[{"name":"_circulatingSupply","type":"uint256"}],"outputs":[],"gas":37594},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":12768},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":10521},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2598},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":2843},{"stateMutability":"view","type":"function","name":"allowances","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3088},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2688},{"stateMutability":"view","type":"function","name":"circulatingSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2718},{"stateMutability":"view","type":"function","name":"deployer","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2748}]

6009610140527f56656761546f6b656e000000000000000000000000000000000000000000000061016052610140806000602082510161012060006002818352015b8261012051602002111561005457610076565b61012051602002850151610120518501555b8151600101808352811415610041575b5050505050506003610140527f564741000000000000000000000000000000000000000000000000000000000061016052610140806004602082510161012060006002818352015b826101205160200211156100d1576100f3565b61012051602002850151610120518501555b81516001018083528114156100be575b5050505050506012600755633b9aca00604e600754101561067957600754600a0a8082028215828483041417156106795780905090509050610140526101405160083360e05260c052604060c0205561014051600a556000600b5533600c5561014051610160523360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a361066156600436101561000d57610422565b600035601c52600051346104d35763a9059cbb8114156100675760043560a01c6104d3573361014052600435610160526024356101805261018051610160516101405160065801610428565b600050600160005260206000f35b6323b872dd8114156100f15760043560a01c6104d35760243560a01c6104d35760043561014052602435610160526044356101805261018051610160516101405160065801610428565b600050600960043560e05260c052604060c0203360e05260c052604060c02080546044358082106104d35780820390509050815550600160005260206000f35b63095ea7b38114156101645760043560a01c6104d35760243560093360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f35b63dd62ed3e8114156101ac5760043560a01c6104d35760243560a01c6104d357600960043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b63b176407181141561020e57600c543314610206576308c379a061014052602061016052600d610180527f6f6e6c79206465706c6f796572000000000000000000000000000000000000006101a05261018050606461015cfd5b600435600b55005b6306fdde038114156102ab57600080610180602082540161012060006003818352015b8261012051602002111561024457610266565b61012051850154610120516020028501525b8151600101808352811415610231575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b4181141561034857600480610180602082540161012060006002818352015b826101205160200211156102e157610303565b61012051850154610120516020028501525b81516001018083528114156102ce575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b63313ce5678114156103605760075460005260206000f35b6370a082318114156103905760043560a01c6104d357600860043560e05260c052604060c0205460005260206000f35b6355b6ed5c8114156103d85760043560a01c6104d35760243560a01c6104d357600960043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b6318160ddd8114156103f057600a5460005260206000f35b639358928b81141561040857600b5460005260206000f35b63d5f3948881141561042057600c5460005260206000f35b505b60006000fd5b6101a05261014052610160526101805260006101605118156104d35760086101405160e05260c052604060c0208054610180518082106104d3578082039050905081555060086101605160e05260c052604060c02080546101805181818301106104d35780820190509050815550610180516101c05261016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101c0a36101a051565b600080fd5b61018961066103610189600039610189610661036000f35b600080fd

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.