ETH Price: $3,661.91 (+0.58%)
 
Transaction Hash
Method
Block
From
To
Distribute Tradi...201556492024-06-23 16:41:47196 days ago1719160907IN
0xC73bb871...bc2934513
0 ETH0.000336095.35329131
Distribute Tradi...174871792023-06-15 18:53:23570 days ago1686855203IN
0xC73bb871...bc2934513
0 ETH0.0012469619.86146749
Distribute Tradi...164215092023-01-16 19:41:47720 days ago1673898107IN
0xC73bb871...bc2934513
0 ETH0.0018831330
Distribute Tradi...150780802022-07-04 19:56:41916 days ago1656964601IN
0xC73bb871...bc2934513
0 ETH0.0018834930
Distribute Tradi...145215542022-04-04 20:07:211007 days ago1649102841IN
0xC73bb871...bc2934513
0 ETH0.0051491982
Distribute Tradi...139346782022-01-03 20:35:391098 days ago1641242139IN
0xC73bb871...bc2934513
0 ETH0.00835801133.1
Distribute Tradi...135371752021-11-02 11:08:251160 days ago1635851305IN
0xC73bb871...bc2934513
0 ETH0.00822771131
Distribute Tradi...133548162021-10-04 20:38:091189 days ago1633379889IN
0xC73bb871...bc2934513
0 ETH0.0057143491
Distribute Tradi...131743272021-09-06 20:29:171217 days ago1630960157IN
0xC73bb871...bc2934513
0 ETH0.01011192161
Distribute Tradi...129477852021-08-02 19:23:011252 days ago1627932181IN
0xC73bb871...bc2934513
0 ETH0.0032094351.1
Distribute Tradi...127697582021-07-05 20:52:401280 days ago1625518360IN
0xC73bb871...bc2934513
0 ETH0.0010111916.1
Distribute Tradi...125891452021-06-07 19:04:361308 days ago1623092676IN
0xC73bb871...bc2934513
0 ETH0.0012624220.1
Distribute Tradi...123633192021-05-03 20:10:191343 days ago1620072619IN
0xC73bb871...bc2934513
0 ETH0.00634978101.1
Distribute Tradi...121817232021-04-05 20:08:211371 days ago1617653301IN
0xC73bb871...bc2934513
0 ETH0.01004752161
Distribute Tradi...120452242021-03-15 20:02:191392 days ago1615838539IN
0xC73bb871...bc2934513
0 ETH0.01316534211
Distribute Tradi...120001822021-03-08 21:01:401399 days ago1615237300IN
0xC73bb871...bc2934513
0 ETH0.00879769141
Distribute Tradi...119543672021-03-01 20:02:161406 days ago1614628936IN
0xC73bb871...bc2934513
0 ETH0.00754979121
Distribute Tradi...119259962021-02-25 11:12:441410 days ago1614251564IN
0xC73bb871...bc2934513
0 ETH0.00573334121
Distribute Tradi...118886942021-02-19 17:25:441416 days ago1613755544IN
0xC73bb871...bc2934513
0 ETH0.01378399221
Distribute Tradi...118633842021-02-15 19:59:431420 days ago1613419183IN
0xC73bb871...bc2934513
0 ETH0.00942788151.1
Distribute Tradi...118181472021-02-08 21:13:581427 days ago1612818838IN
0xC73bb871...bc2934513
0 ETH0.01254139201
Distribute Tradi...117723662021-02-01 20:03:031434 days ago1612209783IN
0xC73bb871...bc2934513
0 ETH0.01005183161.1
Distribute Tradi...117269112021-01-25 19:58:451441 days ago1611604725IN
0xC73bb871...bc2934513
0 ETH0.0046858675.1
Distribute Power117078702021-01-22 21:58:521444 days ago1611352732IN
0xC73bb871...bc2934513
0 ETH0.0028372471.1
Distribute Tradi...116814802021-01-18 20:48:211448 days ago1611002901IN
0xC73bb871...bc2934513
0 ETH0.0031883851.1
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LiquidityVault

Compiler Version
v0.5.13+commit.5b0b510c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-06-12
*/

pragma solidity ^0.5.13;


/**
 * 
 * UniPower's Liquidity Vault
 * 
 * Simple smart contract to decentralize the uniswap liquidity, providing proof of liquidity indefinitely.
 * For more info visit: https://unipower.network
 * 
 */
contract LiquidityVault {
    
    ERC20 constant powerToken = ERC20(0xF2f9A7e93f845b3ce154EfbeB64fB9346FCCE509);
    ERC20 constant liquidityToken = ERC20(0x49F9316EB22de90d9343C573fbD7Cc0B5ec6e19f);
    
    address blobby = msg.sender;
    uint256 public lastTradingFeeDistribution;
    
    uint256 public migrationLock;
    address public migrationRecipient;
    
    
    /**
     * To allow distributing of trading fees to be split between dapps such as StaticPower
     * (Dapps cant be hardcoded because more will be added in future)
     * Has a hardcap of 1% per 24 hours -trading fees consistantly exceeding that 1% is not a bad problem to have(!)
     */
    function distributeTradingFees(address recipient, uint256 amount) external {
        uint256 liquidityBalance = liquidityToken.balanceOf(address(this));
        require(amount < (liquidityBalance / 100)); // Max 1%
        require(lastTradingFeeDistribution + 24 hours < now); // Max once a day
        require(msg.sender == blobby);
        
        liquidityToken.transfer(recipient, amount);
        lastTradingFeeDistribution = now;
    } 
    
    
    /**
     * This contract is just a simple initial decentralization of the liquidity (to squell the skeptics) in future may need to migrate to more advanced decentralization (DAO etc.)
     * So this function allows liquidity to be moved, after a 14 days lockup -preventing abuse.
     */
    function startLiquidityMigration(address recipient) external {
        require(msg.sender == blobby);
        migrationLock = now + 14 days;
        migrationRecipient = recipient;
    }
    
    
    /**
     * Moves liquidity to new location, assuming the 14 days lockup has passed -preventing abuse.
     */
    function processMigration() external {
        require(msg.sender == blobby);
        require(migrationRecipient != address(0));
        require(now > migrationLock);
        
        uint256 liquidityBalance = liquidityToken.balanceOf(address(this));
        liquidityToken.transfer(migrationRecipient, liquidityBalance);
    }
    
    
    /**
     * This contract may also hold Power tokens (donations) to run trading contests, this function lets them be withdrawn.
     */
    function distributePower(address recipient, uint256 amount) external {
        require(msg.sender == blobby);
        powerToken.transfer(recipient, amount);
    } 
    
}





interface ERC20 {
  function totalSupply() external view returns (uint256);
  function balanceOf(address who) external view returns (uint256);
  function allowance(address owner, address spender) external view returns (uint256);
  function transfer(address to, uint256 value) external returns (bool);
  function approve(address spender, uint256 value) external returns (bool);
  function approveAndCall(address spender, uint tokens, bytes calldata data) external returns (bool success);
  function transferFrom(address from, address to, uint256 value) external returns (bool);

  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distributePower","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distributeTradingFees","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastTradingFeeDistribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"migrationLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"migrationRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"processMigration","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"startLiquidityMigration","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052600080546001600160a01b0319163317905534801561002257600080fd5b50610534806100326000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80635c02cd1f1161005b5780635c02cd1f146100ee578063890d86371461011a5780638c13a84514610140578063c7f614ea146101485761007d565b806313484ff2146100825780634488d1a11461009c5780634512fbf2146100ca575b600080fd5b61008a610150565b60408051918252519081900360200190f35b6100c8600480360360408110156100b257600080fd5b506001600160a01b038135169060200135610156565b005b6100d26102aa565b604080516001600160a01b039092168252519081900360200190f35b6100c86004803603604081101561010457600080fd5b506001600160a01b0381351690602001356102b9565b6100c86004803603602081101561013057600080fd5b50356001600160a01b0316610363565b61008a6103a5565b6100c86103ab565b60025481565b604080516370a0823160e01b815230600482015290516000917349f9316eb22de90d9343c573fbd7cc0b5ec6e19f916370a0823191602480820192602092909190829003018186803b1580156101ab57600080fd5b505afa1580156101bf573d6000803e3d6000fd5b505050506040513d60208110156101d557600080fd5b505190506064810482106101e857600080fd5b426001546201518001106101fb57600080fd5b6000546001600160a01b0316331461021257600080fd5b6040805163a9059cbb60e01b81526001600160a01b03851660048201526024810184905290517349f9316eb22de90d9343c573fbd7cc0b5ec6e19f9163a9059cbb9160448083019260209291908290030181600087803b15801561027557600080fd5b505af1158015610289573d6000803e3d6000fd5b505050506040513d602081101561029f57600080fd5b505042600155505050565b6003546001600160a01b031681565b6000546001600160a01b031633146102d057600080fd5b6040805163a9059cbb60e01b81526001600160a01b038416600482015260248101839052905173f2f9a7e93f845b3ce154efbeb64fb9346fcce5099163a9059cbb9160448083019260209291908290030181600087803b15801561033357600080fd5b505af1158015610347573d6000803e3d6000fd5b505050506040513d602081101561035d57600080fd5b50505050565b6000546001600160a01b0316331461037a57600080fd5b426212750001600255600380546001600160a01b0319166001600160a01b0392909216919091179055565b60015481565b6000546001600160a01b031633146103c257600080fd5b6003546001600160a01b03166103d757600080fd5b60025442116103e557600080fd5b604080516370a0823160e01b815230600482015290516000917349f9316eb22de90d9343c573fbd7cc0b5ec6e19f916370a0823191602480820192602092909190829003018186803b15801561043a57600080fd5b505afa15801561044e573d6000803e3d6000fd5b505050506040513d602081101561046457600080fd5b50516003546040805163a9059cbb60e01b81526001600160a01b03909216600483015260248201839052519192507349f9316eb22de90d9343c573fbd7cc0b5ec6e19f9163a9059cbb916044808201926020929091908290030181600087803b1580156104d057600080fd5b505af11580156104e4573d6000803e3d6000fd5b505050506040513d60208110156104fa57600080fd5b50505056fea265627a7a72315820dac99f3a245402f2f27c9f2b5aad3a7ffc48bf774642e6ef3e63afdcb280aac564736f6c634300050d0032

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80635c02cd1f1161005b5780635c02cd1f146100ee578063890d86371461011a5780638c13a84514610140578063c7f614ea146101485761007d565b806313484ff2146100825780634488d1a11461009c5780634512fbf2146100ca575b600080fd5b61008a610150565b60408051918252519081900360200190f35b6100c8600480360360408110156100b257600080fd5b506001600160a01b038135169060200135610156565b005b6100d26102aa565b604080516001600160a01b039092168252519081900360200190f35b6100c86004803603604081101561010457600080fd5b506001600160a01b0381351690602001356102b9565b6100c86004803603602081101561013057600080fd5b50356001600160a01b0316610363565b61008a6103a5565b6100c86103ab565b60025481565b604080516370a0823160e01b815230600482015290516000917349f9316eb22de90d9343c573fbd7cc0b5ec6e19f916370a0823191602480820192602092909190829003018186803b1580156101ab57600080fd5b505afa1580156101bf573d6000803e3d6000fd5b505050506040513d60208110156101d557600080fd5b505190506064810482106101e857600080fd5b426001546201518001106101fb57600080fd5b6000546001600160a01b0316331461021257600080fd5b6040805163a9059cbb60e01b81526001600160a01b03851660048201526024810184905290517349f9316eb22de90d9343c573fbd7cc0b5ec6e19f9163a9059cbb9160448083019260209291908290030181600087803b15801561027557600080fd5b505af1158015610289573d6000803e3d6000fd5b505050506040513d602081101561029f57600080fd5b505042600155505050565b6003546001600160a01b031681565b6000546001600160a01b031633146102d057600080fd5b6040805163a9059cbb60e01b81526001600160a01b038416600482015260248101839052905173f2f9a7e93f845b3ce154efbeb64fb9346fcce5099163a9059cbb9160448083019260209291908290030181600087803b15801561033357600080fd5b505af1158015610347573d6000803e3d6000fd5b505050506040513d602081101561035d57600080fd5b50505050565b6000546001600160a01b0316331461037a57600080fd5b426212750001600255600380546001600160a01b0319166001600160a01b0392909216919091179055565b60015481565b6000546001600160a01b031633146103c257600080fd5b6003546001600160a01b03166103d757600080fd5b60025442116103e557600080fd5b604080516370a0823160e01b815230600482015290516000917349f9316eb22de90d9343c573fbd7cc0b5ec6e19f916370a0823191602480820192602092909190829003018186803b15801561043a57600080fd5b505afa15801561044e573d6000803e3d6000fd5b505050506040513d602081101561046457600080fd5b50516003546040805163a9059cbb60e01b81526001600160a01b03909216600483015260248201839052519192507349f9316eb22de90d9343c573fbd7cc0b5ec6e19f9163a9059cbb916044808201926020929091908290030181600087803b1580156104d057600080fd5b505af11580156104e4573d6000803e3d6000fd5b505050506040513d60208110156104fa57600080fd5b50505056fea265627a7a72315820dac99f3a245402f2f27c9f2b5aad3a7ffc48bf774642e6ef3e63afdcb280aac564736f6c634300050d0032

Deployed Bytecode Sourcemap

244:2450:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;244:2450:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;547:28;;;:::i;:::-;;;;;;;;;;;;;;;;933:450;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;933:450:0;;;;;;;;:::i;:::-;;582:33;;;:::i;:::-;;;;-1:-1:-1;;;;;582:33:0;;;;;;;;;;;;;;2518:166;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2518:166:0;;;;;;;;:::i;1698:190::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1698:190:0;-1:-1:-1;;;;;1698:190:0;;:::i;493:41::-;;;:::i;2023:335::-;;;:::i;547:28::-;;;;:::o;933:450::-;1046:39;;;-1:-1:-1;;;1046:39:0;;1079:4;1046:39;;;;;;1019:24;;403:42;;1046:24;;:39;;;;;;;;;;;;;;;403:42;1046:39;;;5:2:-1;;;;30:1;27;20:12;5:2;1046:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1046:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1046:39:0;;-1:-1:-1;1133:3:0;1046:39;1114:22;1104:6;:33;1096:42;;;;;;1207:3;1167:26;;1196:8;1167:37;:43;1159:52;;;;;;1262:6;;-1:-1:-1;;;;;1262:6:0;1248:10;:20;1240:29;;;;;;1290:42;;;-1:-1:-1;;;1290:42:0;;-1:-1:-1;;;;;1290:42:0;;;;;;;;;;;;;;403;;1290:23;;:42;;;;;;;;;;;;;;-1:-1:-1;403:42:0;1290;;;5:2:-1;;;;30:1;27;20:12;5:2;1290:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1290:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;1372:3:0;1343:26;:32;-1:-1:-1;;;933:450:0:o;582:33::-;;;-1:-1:-1;;;;;582:33:0;;:::o;2518:166::-;2620:6;;-1:-1:-1;;;;;2620:6:0;2606:10;:20;2598:29;;;;;;2638:38;;;-1:-1:-1;;;2638:38:0;;-1:-1:-1;;;;;2638:38:0;;;;;;;;;;;;;;315:42;;2638:19;;:38;;;;;;;;;;;;;;-1:-1:-1;315:42:0;2638:38;;;5:2:-1;;;;30:1;27;20:12;5:2;2638:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2638:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;2518:166:0:o;1698:190::-;1792:6;;-1:-1:-1;;;;;1792:6:0;1778:10;:20;1770:29;;;;;;1826:3;1832:7;1826:13;1810;:29;1850:18;:30;;-1:-1:-1;;;;;;1850:30:0;-1:-1:-1;;;;;1850:30:0;;;;;;;;;;1698:190::o;493:41::-;;;;:::o;2023:335::-;2093:6;;-1:-1:-1;;;;;2093:6:0;2079:10;:20;2071:29;;;;;;2119:18;;-1:-1:-1;;;;;2119:18:0;2111:41;;;;;;2177:13;;2171:3;:19;2163:28;;;;;;2239:39;;;-1:-1:-1;;;2239:39:0;;2272:4;2239:39;;;;;;2212:24;;403:42;;2239:24;;:39;;;;;;;;;;;;;;;403:42;2239:39;;;5:2:-1;;;;30:1;27;20:12;5:2;2239:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2239:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2239:39:0;2313:18;;2289:61;;;-1:-1:-1;;;2289:61:0;;-1:-1:-1;;;;;2313:18:0;;;2289:61;;;;;;;;;;;2239:39;;-1:-1:-1;403:42:0;;2289:23;;:61;;;;;2239:39;;2289:61;;;;;;;;-1:-1:-1;403:42:0;2289:61;;;5:2:-1;;;;30:1;27;20:12;5:2;2289:61:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2289:61:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;2023:335:0:o

Swarm Source

bzzr://dac99f3a245402f2f27c9f2b5aad3a7ffc48bf774642e6ef3e63afdcb280aac5

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.