Contract 0x29DDb4c4f9baAe366DbD40eff79d364e004425b0 8

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x69caca32c3c9da6e1bc847e432a0994c0501fd03e6cb0a75f4881165f30881cdSet_admin244559742021-12-09 13:11:59424 days 18 hrs ago0xb16a11442878d6f1ef202ae63233a7c13e98fd7f IN  Hundred Finance: Rewards Treasury0 FTM0.00376238452
0x01d622f16d60bcc9097ad4dd2d8251ba2aef2273ce43eed7b1a68b881185148aSet_minter244551732021-12-09 13:00:10424 days 18 hrs ago0xb16a11442878d6f1ef202ae63233a7c13e98fd7f IN  Hundred Finance: Rewards Treasury0 FTM0.005675636995
0x81ca4fbbe28e2258dfee0208c7045738f47c6b8c6dbd285abc85c37f66d3aedd0x60206101244551462021-12-09 12:59:46424 days 18 hrs ago0xb16a11442878d6f1ef202ae63233a7c13e98fd7f IN  Create: Vyper_contract0 FTM0.021667494982
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x81ca4fbbe28e2258dfee0208c7045738f47c6b8c6dbd285abc85c37f66d3aedd244551462021-12-09 12:59:46424 days 18 hrs ago 0xb16a11442878d6f1ef202ae63233a7c13e98fd7f  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.12

Optimization Enabled:
N/A

Other Settings:
MIT license

Contract Source Code (Vyper language format)

# @version 0.2.12
"""
@title Token Treasury
@author Hundred Finance
@license MIT
"""

from vyper.interfaces import ERC20


token: public(address)
minter: public(address)
admin: public(address)

@external
def __init__(_token: address):
    self.token = _token
    self.admin = msg.sender

@external
@nonpayable
def set_minter(_minter: address):
    assert msg.sender == self.admin # only admin can set minter
    self.minter = _minter

@external
@nonpayable
def set_admin(_admin: address):
    assert msg.sender == self.admin # only admin can set minter
    self.admin = _admin

@external
@nonpayable
def mint(_to: address, _amount: uint256) -> bool:
    assert msg.sender == self.minter or msg.sender == self.admin  # only minter or admin can distribute tokens
    return ERC20(self.token).transfer(_to, _amount)

Contract Security Audit

Contract ABI

[{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_token","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_minter","inputs":[{"name":"_minter","type":"address"}],"outputs":[],"gas":37545},{"stateMutability":"nonpayable","type":"function","name":"set_admin","inputs":[{"name":"_admin","type":"address"}],"outputs":[],"gas":37575},{"stateMutability":"nonpayable","type":"function","name":"mint","inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":9299},{"stateMutability":"view","type":"function","name":"token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2478},{"stateMutability":"view","type":"function","name":"minter","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2508},{"stateMutability":"view","type":"function","name":"admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2538}]

60206101a16101403960206101a160c03960c05160a01c1561002057600080fd5b610140516000553360025561018956600436101561000d57610153565b600035601c52600051341561002157600080fd5b631652e9fc8114156100535760043560a01c1561003d57600080fd5b600254331461004b57600080fd5b600435600155005b63e9333fab8114156100855760043560a01c1561006f57600080fd5b600254331461007d57600080fd5b600435600255005b6340c10f198114156101095760043560a01c156100a157600080fd5b6001543314156100b25760016100b8565b60025433145b6100c157600080fd5b60206101e0604463a9059cbb61014052604060046101603761015c60006000545af16100ec57600080fd5b601f3d116100f957600080fd5b6000506101e05160005260206000f35b63fc0c546a8114156101215760005460005260206000f35b63075461728114156101395760015460005260206000f35b63f851a4408114156101515760025460005260206000f35b505b60006000fd5b61003061018903610030600039610030610189036000f300000000000000000000000010010078a54396f62c96df8532dc2b4847d47ed3

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000010010078a54396f62c96df8532dc2b4847d47ed3

-----Decoded View---------------
Arg [0] : _token (address): 0x10010078a54396f62c96df8532dc2b4847d47ed3

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000010010078a54396f62c96df8532dc2b4847d47ed3


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.