More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 110 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Distribute Tradi... | 20155649 | 196 days ago | IN | 0 ETH | 0.00033609 | ||||
Distribute Tradi... | 17487179 | 570 days ago | IN | 0 ETH | 0.00124696 | ||||
Distribute Tradi... | 16421509 | 720 days ago | IN | 0 ETH | 0.00188313 | ||||
Distribute Tradi... | 15078080 | 916 days ago | IN | 0 ETH | 0.00188349 | ||||
Distribute Tradi... | 14521554 | 1007 days ago | IN | 0 ETH | 0.00514919 | ||||
Distribute Tradi... | 13934678 | 1098 days ago | IN | 0 ETH | 0.00835801 | ||||
Distribute Tradi... | 13537175 | 1160 days ago | IN | 0 ETH | 0.00822771 | ||||
Distribute Tradi... | 13354816 | 1189 days ago | IN | 0 ETH | 0.00571434 | ||||
Distribute Tradi... | 13174327 | 1217 days ago | IN | 0 ETH | 0.01011192 | ||||
Distribute Tradi... | 12947785 | 1252 days ago | IN | 0 ETH | 0.00320943 | ||||
Distribute Tradi... | 12769758 | 1280 days ago | IN | 0 ETH | 0.00101119 | ||||
Distribute Tradi... | 12589145 | 1308 days ago | IN | 0 ETH | 0.00126242 | ||||
Distribute Tradi... | 12363319 | 1343 days ago | IN | 0 ETH | 0.00634978 | ||||
Distribute Tradi... | 12181723 | 1371 days ago | IN | 0 ETH | 0.01004752 | ||||
Distribute Tradi... | 12045224 | 1392 days ago | IN | 0 ETH | 0.01316534 | ||||
Distribute Tradi... | 12000182 | 1399 days ago | IN | 0 ETH | 0.00879769 | ||||
Distribute Tradi... | 11954367 | 1406 days ago | IN | 0 ETH | 0.00754979 | ||||
Distribute Tradi... | 11925996 | 1410 days ago | IN | 0 ETH | 0.00573334 | ||||
Distribute Tradi... | 11888694 | 1416 days ago | IN | 0 ETH | 0.01378399 | ||||
Distribute Tradi... | 11863384 | 1420 days ago | IN | 0 ETH | 0.00942788 | ||||
Distribute Tradi... | 11818147 | 1427 days ago | IN | 0 ETH | 0.01254139 | ||||
Distribute Tradi... | 11772366 | 1434 days ago | IN | 0 ETH | 0.01005183 | ||||
Distribute Tradi... | 11726911 | 1441 days ago | IN | 0 ETH | 0.00468586 | ||||
Distribute Power | 11707870 | 1444 days ago | IN | 0 ETH | 0.00283724 | ||||
Distribute Tradi... | 11681480 | 1448 days ago | IN | 0 ETH | 0.00318838 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
LiquidityVault
Compiler Version
v0.5.13+commit.5b0b510c
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.