Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
38.129166666666666595 POOF
Holders
39
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.031047095010611465 POOFValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Poof
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-07 */ /** *Submitted for verification at Etherscan.io on 2020-08-07 */ // File: contracts/SafeMath.sol pragma solidity ^0.6.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "sa"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "se"); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "me"); return c; } } // File: contracts/ERC20.sol pragma solidity ^0.6.12; contract ERC20 { using SafeMath for uint256; event Approval(address indexed src, address indexed guy, uint wad); event Transfer(address indexed src, address indexed dst, uint wad); uint256 public totalSupply; mapping (address => uint) public balanceOf; mapping (address => mapping (address => uint)) public allowance; function mint(address guy, uint256 wad) internal { balanceOf[guy] = balanceOf[guy].add(wad); totalSupply = totalSupply.add(wad); emit Transfer(address(0), guy, wad); } function approve(address guy, uint wad) external returns (bool) { allowance[msg.sender][guy] = wad; emit Approval(msg.sender, guy, wad); return true; } function transfer(address dst, uint wad) external returns (bool) { return transferFrom(msg.sender, dst, wad); } function transferFrom(address src, address dst, uint wad) public returns (bool) { if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { allowance[src][msg.sender] = allowance[src][msg.sender].sub(wad); } balanceOf[src] = balanceOf[src].sub(wad); balanceOf[dst] = balanceOf[dst].add(wad); emit Transfer(src, dst, wad); return true; } } // File: contracts/WETH.sol pragma solidity ^0.6.12; contract WETH { string public name = "Wrapped Ether"; string public symbol = "WETH"; uint8 public decimals = 18; event Approval(address indexed src, address indexed guy, uint wad); event Transfer(address indexed src, address indexed dst, uint wad); event Deposit(address indexed dst, uint wad); event Withdrawal(address indexed src, uint wad); mapping (address => uint) public balanceOf; mapping (address => mapping (address => uint)) public allowance; receive() external payable { deposit(); } function deposit() public payable { balanceOf[msg.sender] += msg.value; emit Deposit(msg.sender, msg.value); } function withdraw(uint wad) public { require(balanceOf[msg.sender] >= wad, "not enough"); balanceOf[msg.sender] -= wad; msg.sender.transfer(wad); emit Withdrawal(msg.sender, wad); } function totalSupply() public view returns (uint) { return address(this).balance; } function approve(address guy, uint wad) public returns (bool) { allowance[msg.sender][guy] = wad; emit Approval(msg.sender, guy, wad); return true; } function transfer(address dst, uint wad) public returns (bool) { return transferFrom(msg.sender, dst, wad); } function transferFrom(address src, address dst, uint wad) public returns (bool) { require(balanceOf[src] >= wad, "little balance"); if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { require(allowance[src][msg.sender] >= wad, "not allowed"); allowance[src][msg.sender] -= wad; } balanceOf[src] -= wad; balanceOf[dst] += wad; emit Transfer(src, dst, wad); return true; } } // File: contracts/Auction.sol pragma solidity ^0.6.12; contract Auction { using SafeMath for uint256; uint256 public immutable FROM_PRICE; uint256 public immutable DURATION; uint256 public immutable MIN_START; WETH public immutable WRAPPED_ETH; ERC20 public immutable HOARD; uint256 public started; uint256 private unlocked = 1; modifier lock() { require(unlocked == 1); unlocked = 0; _; unlocked = 1; } constructor( address _weth, uint256 _minWait, uint256 _fromPrice, uint256 _duration, address _hoard ) public { WRAPPED_ETH = WETH(address(uint160(_weth))); MIN_START = block.timestamp + _minWait; FROM_PRICE = _fromPrice; DURATION = _duration; HOARD = ERC20(_hoard); } function start() external lock { require(block.timestamp > MIN_START, "wait"); uint256 balance = address(this).balance; require(balance != 0, "empty"); require(started == 0, "on"); WRAPPED_ETH.deposit.value(balance)(); started = block.timestamp; } function stop() external lock { require(started != 0, "off"); uint256 delta = block.timestamp - started; require(delta >= DURATION || WRAPPED_ETH.balanceOf(address(this)) == 0, "on"); delete started; } function price(uint256 offer, uint256 delta) public view returns (uint256) { return offer.mul(DURATION.sub(delta)).mul(FROM_PRICE) / (DURATION * 1 ether); } function take(uint256 _val) external lock { uint256 _started = started; require(_started != 0, "not"); uint256 delta = block.timestamp - _started; require(delta < DURATION, "old"); uint256 balance = WRAPPED_ETH.balanceOf(address(this)); uint256 offer = balance < _val ? balance : _val; uint256 cost = price(offer, delta); require(HOARD.transferFrom(msg.sender, address(1), cost), "s1e"); require(WRAPPED_ETH.transfer(msg.sender, offer), "s2e"); } receive() external payable {} } // File: contracts/Poof.sol pragma solidity ^0.6.12; contract Poof is ERC20 { using SafeMath for uint256; string public constant name = "Poof.eth"; string public constant symbol = "POOF"; uint8 public constant decimals = 18; event Poof(); event NotPoof(address _win, uint256 _total); WETH public immutable WRAPPED_ETH; uint256 private constant PERIOD = 1 hours; uint256 private constant SLOPE = 256; uint256 private constant BASE = 100; uint256 private constant FEE = 10; address public immutable FEE_RECIPIENT_1; address public immutable FEE_RECIPIENT_2; uint256 private constant INIT_MIN = 0.1 ether; uint256 private constant DUST = 0.00001 ether; uint256 private constant SHIFT_LOOPS = 232; uint256 private constant SHIFT_PLAYS = 208; uint256 private constant SHIFT_LAST = 160; bytes32 private constant MASK_PLAYS = bytes32((2 ** uint256(24)) - 1); bytes32 private constant MASK_LAST = bytes32((2 ** uint256(48)) - 1); bytes32 private constant MASK_HEAD = bytes32((2 ** uint256(160)) - 1); bytes32 internal p_data; function sortTokens(address _tokenA, address _tokenB) private pure returns (address token0, address token1) { (token0, token1) = _tokenA < _tokenB ? (_tokenA, _tokenB) : (_tokenB, _tokenA); } function pairFor( address _factory, address _tokenA, address _tokenB ) private pure returns (address pair) { (address token0, address token1) = sortTokens(_tokenA, _tokenB); pair = address(uint256(keccak256(abi.encodePacked( hex'ff', _factory, keccak256(abi.encodePacked(token0, token1)), hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' )))); } constructor( address _factory, address _shuf, address _weth, uint256 _minWait, uint256 _fromPrice, uint256 _duration ) public payable { address hoard_1 = pairFor(_factory, _weth, _shuf); address hoard_2 = pairFor(_factory, _weth, address(this)); FEE_RECIPIENT_1 = address(new Auction(_weth, _minWait, _fromPrice, _duration, hoard_1)); FEE_RECIPIENT_2 = address(new Auction(_weth, _minWait, _fromPrice, _duration, hoard_2)); WRAPPED_ETH = WETH(address(uint160(_weth))); setData(address(this), block.timestamp, 0, 1); } function getData() public view returns ( address head, uint256 last, uint256 plays, uint256 loops ) { bytes32 data = p_data; head = address(uint160(uint256(data & MASK_HEAD))); last = uint256((data >> SHIFT_LAST) & MASK_LAST); plays = uint256((data >> SHIFT_PLAYS) & MASK_PLAYS); loops = uint256(data >> SHIFT_LOOPS); } function setData(address _head, uint256 _last, uint256 _plays, uint256 _loops) private { p_data = ( (bytes32(uint256(_head)) & MASK_HEAD) | ((bytes32(_last) & MASK_LAST) << SHIFT_LAST) | ((bytes32(_plays) & MASK_PLAYS) << SHIFT_PLAYS) | (bytes32(_loops) << SHIFT_LOOPS) ); } function costFor(uint256 _plays, uint256 _delta) public pure returns (uint256) { uint256 start = INIT_MIN + ((INIT_MIN * _plays) / SLOPE); return DUST + ((start * (PERIOD - _delta)) / PERIOD); } receive() external payable { ( address head, uint256 last, uint256 plays, uint256 loops ) = getData(); uint256 delta = block.timestamp.sub(last); if (delta <= PERIOD) { uint256 cost = costFor(plays, delta); require(msg.value >= cost, "more ( ̄﹃ ̄)"); setData(msg.sender, block.timestamp, plays + 1, loops); mint(head, 1 ether / loops); emit Poof(); msg.sender.call{ value: msg.value - cost }(""); return; } require(msg.value == 0, "wait"); uint256 total = address(this).balance; uint256 fee = total.mul(FEE) / BASE; (bool success1,) = FEE_RECIPIENT_1.call{ value: fee}(""); (bool success2,) = FEE_RECIPIENT_2.call{ value: fee}(""); require(success1 && success2, "Error sending fees"); emit NotPoof(head, total); setData(address(this), block.timestamp, 0, loops + 1); if (head != address(this)) { uint256 send = address(this).balance.sub(fee); WRAPPED_ETH.deposit.value(send)(); WRAPPED_ETH.transfer(head, send); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_shuf","type":"address"},{"internalType":"address","name":"_weth","type":"address"},{"internalType":"uint256","name":"_minWait","type":"uint256"},{"internalType":"uint256","name":"_fromPrice","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"guy","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_win","type":"address"},{"indexed":false,"internalType":"uint256","name":"_total","type":"uint256"}],"name":"NotPoof","type":"event"},{"anonymous":false,"inputs":[],"name":"Poof","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FEE_RECIPIENT_1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_RECIPIENT_2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WRAPPED_ETH","outputs":[{"internalType":"contract WETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"guy","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_plays","type":"uint256"},{"internalType":"uint256","name":"_delta","type":"uint256"}],"name":"costFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getData","outputs":[{"internalType":"address","name":"head","type":"address"},{"internalType":"uint256","name":"last","type":"uint256"},{"internalType":"uint256","name":"plays","type":"uint256"},{"internalType":"uint256","name":"loops","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e060405260405162001b1d38038062001b1d833981810160405260c08110156200002957600080fd5b508051602082015160408301516060840151608085015160a090950151939492939192909160006200005d87868862000197565b905060006200006e88873062000197565b905085858585856040516200008390620002d7565b80866001600160a01b03168152602001858152602001848152602001838152602001826001600160a01b0316815260200195505050505050604051809103906000f080158015620000d8573d6000803e3d6000fd5b506001600160a01b031660a0816001600160a01b031660601b8152505085858585846040516200010890620002d7565b80866001600160a01b03168152602001858152602001848152602001838152602001826001600160a01b0316815260200195505050505050604051809103906000f0801580156200015d573d6000803e3d6000fd5b506001600160601b0319606091821b811660c0529087901b16608052620001893042600060016200026b565b5050505050505050620002e5565b60008080620001a78585620002a4565b604080516001600160601b0319606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b60e81b60d09190911b62ffffff60d01b1660a09290921b65ffffffffffff60a01b166001600160a01b0393909316929092171717600355565b600080826001600160a01b0316846001600160a01b031610620002c9578284620002cc565b83835b909590945092505050565b610ad4806200104983390190565b60805160601c60a05160601c60c05160601c610d1a6200032f600039806102f15280610c8352508061027c5280610bdf525080610419528061048d5280610c5f5250610d1a6000f3fe6080604052600436106100e15760003560e01c806370a082311161007f578063d81ca7d511610059578063d81ca7d5146107a4578063dd62ed3e146107d4578063e4f9ca7c1461080f578063f677b430146108245761053c565b806370a082311461072357806395d89b4114610756578063a9059cbb1461076b5761053c565b806323b872dd116100bb57806323b872dd1461063f578063313ce567146106825780633bc5de30146106ad578063664474e9146106f25761053c565b806306fdde0314610541578063095ea7b3146105cb57806318160ddd146106185761053c565b3661053c576000806000806100f4610839565b92965090945092509050600061010a4285610869565b9050610e10811161021457600061012184836108b0565b90508034101561016b576040805162461bcd60e51b815260206004820152601060248201526f6d6f72652028efbfa3efb983efbfa32960801b604482015290519081900360640190fd5b61017a334286600101866108d6565b6101958684670de0b6b3a76400008161018f57fe5b0461090f565b6040517fff767ca718bfb19bc9f61838c9bae4b7b40f5c1c20bcf5862871bccb26cf5edc90600090a160405133903483900390600081818185875af1925050503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50505050505050505061053a565b3415610250576040805162461bcd60e51b815260206004808301919091526024820152631dd85a5d60e21b604482015290519081900360640190fd5b476000606461026083600a6109a2565b8161026757fe5b60405191900491506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083908381818185875af1925050503d80600081146102d7576040519150601f19603f3d011682016040523d82523d6000602084013e6102dc565b606091505b50506040519091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169084908381818185875af1925050503d806000811461034c576040519150601f19603f3d011682016040523d82523d6000602084013e610351565b606091505b5050905081801561035f5750805b6103a5576040805162461bcd60e51b81526020600482015260126024820152714572726f722073656e64696e67206665657360701b604482015290519081900360640190fd5b604080516001600160a01b038b1681526020810186905281517f9761b1a56a6b4c0283c3e2a89a99678998feef8984d6085b94fb5ac5069f469a929181900390910190a16103f930426000896001016108d6565b6001600160a01b03891630146105305760006104154785610869565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561047257600080fd5b505af1158015610486573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb8b836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561050257600080fd5b505af1158015610516573d6000803e3d6000fd5b505050506040513d602081101561052c57600080fd5b5050505b5050505050505050505b005b600080fd5b34801561054d57600080fd5b506105566109fd565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610590578181015183820152602001610578565b50505050905090810190601f1680156105bd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105d757600080fd5b50610604600480360360408110156105ee57600080fd5b506001600160a01b038135169060200135610a21565b604080519115158252519081900360200190f35b34801561062457600080fd5b5061062d610a87565b60408051918252519081900360200190f35b34801561064b57600080fd5b506106046004803603606081101561066257600080fd5b506001600160a01b03813581169160208101359091169060400135610a8d565b34801561068e57600080fd5b50610697610bd8565b6040805160ff9092168252519081900360200190f35b3480156106b957600080fd5b506106c2610839565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b3480156106fe57600080fd5b50610707610bdd565b604080516001600160a01b039092168252519081900360200190f35b34801561072f57600080fd5b5061062d6004803603602081101561074657600080fd5b50356001600160a01b0316610c01565b34801561076257600080fd5b50610556610c13565b34801561077757600080fd5b506106046004803603604081101561078e57600080fd5b506001600160a01b038135169060200135610c33565b3480156107b057600080fd5b5061062d600480360360408110156107c757600080fd5b50803590602001356108b0565b3480156107e057600080fd5b5061062d600480360360408110156107f757600080fd5b506001600160a01b0381358116916020013516610c40565b34801561081b57600080fd5b50610707610c5d565b34801561083057600080fd5b50610707610c81565b6003546001600160a01b0381169160a082901c65ffffffffffff169160d081901c62ffffff169160e89190911c90565b6000828211156108a5576040805162461bcd60e51b8152602060048201526002602482015261736560f01b604482015290519081900360640190fd5b508082035b92915050565b610e1061010067016345785d8a00009384020490920190820302046509184e72a0000190565b60e81b60d09190911b62ffffff60d01b1660a09290921b65ffffffffffff60a01b166001600160a01b0393909316929092171717600355565b6001600160a01b0382166000908152600160205260409020546109329082610ca5565b6001600160a01b038316600090815260016020526040812091909155546109599082610ca5565b60009081556040805183815290516001600160a01b03851692917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6000826109b1575060006108aa565b828202828482816109be57fe5b04146109f6576040805162461bcd60e51b81526020600482015260026024820152616d6560f01b604482015290519081900360640190fd5b9392505050565b604051806040016040528060088152602001670a0dedecc5ccae8d60c31b81525081565b3360008181526002602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005481565b60006001600160a01b0384163314801590610acd57506001600160a01b038416600090815260026020908152604080832033845290915290205460001914155b15610b25576001600160a01b0384166000908152600260209081526040808320338452909152902054610b009083610869565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b6001600160a01b038416600090815260016020526040902054610b489083610869565b6001600160a01b038086166000908152600160205260408082209390935590851681522054610b779083610ca5565b6001600160a01b0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b7f000000000000000000000000000000000000000000000000000000000000000081565b60016020526000908152604090205481565b604051806040016040528060048152602001632827a7a360e11b81525081565b60006109f6338484610a8d565b600260209081526000928352604080842090915290825290205481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000828201838110156109f6576040805162461bcd60e51b8152602060048201526002602482015261736160f01b604482015290519081900360640190fdfea26469706673582212208a9fe2319dae6ab489ab152d3221e656a0025c81d5b9729a42967e6cd37abd9e64736f6c634300060c00336101206040526001805534801561001557600080fd5b50604051610ad4380380610ad4833981810160405260a081101561003857600080fd5b508051602082015160408301516060808501516080958601516001600160601b031995831b861660e0524290940160c0529190945260a05290911b166101005260805160a05160c05160e05160601c6101005160601c6109e06100f46000398061058e52806108eb52508061027052806104a55280610661528061082452806108c752508061075252806108a35250806102285280610327528061035352806103a95280610449525080610381528061071a52506109e06000f3fe6080604052600436106100955760003560e01c80638229c95a116100595780638229c95a1461014e578063be9a655514610163578063ca0246d614610178578063e4f9ca7c1461018d578063e83904ae146101be5761009c565b806307da68f5146100a15780631be05289146100b85780631f2698ab146100df578063487a2395146100f45780634fd9efc4146101245761009c565b3661009c57005b600080fd5b3480156100ad57600080fd5b506100b66101d3565b005b3480156100c457600080fd5b506100cd610325565b60408051918252519081900360200190f35b3480156100eb57600080fd5b506100cd610349565b34801561010057600080fd5b506100cd6004803603604081101561011757600080fd5b508035906020013561034f565b34801561013057600080fd5b506100b66004803603602081101561014757600080fd5b50356103f4565b34801561015a57600080fd5b506100cd610718565b34801561016f57600080fd5b506100b661073c565b34801561018457600080fd5b506100cd6108a1565b34801561019957600080fd5b506101a26108c5565b604080516001600160a01b039092168252519081900360200190f35b3480156101ca57600080fd5b506101a26108e9565b6001546001146101e257600080fd5b6000600181905554610221576040805162461bcd60e51b815260206004820152600360248201526237b33360e91b604482015290519081900360640190fd5b60005442037f0000000000000000000000000000000000000000000000000000000000000000811015806102e45750604080516370a0823160e01b815230600482015290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a08231916024808301926020929190829003018186803b1580156102b657600080fd5b505afa1580156102ca573d6000803e3d6000fd5b505050506040513d60208110156102e057600080fd5b5051155b61031a576040805162461bcd60e51b815260206004820152600260248201526137b760f11b604482015290519081900360640190fd5b506000805560018055565b7f000000000000000000000000000000000000000000000000000000000000000081565b60005481565b60007f0000000000000000000000000000000000000000000000000000000000000000670de0b6b3a7640000026103e37f00000000000000000000000000000000000000000000000000000000000000006103dd6103d6867f000000000000000000000000000000000000000000000000000000000000000061090d90919063ffffffff16565b879061094f565b9061094f565b816103ea57fe5b0490505b92915050565b60015460011461040357600080fd5b600060018190555480610443576040805162461bcd60e51b81526020600482015260036024820152621b9bdd60ea1b604482015290519081900360640190fd5b428190037f000000000000000000000000000000000000000000000000000000000000000081106104a1576040805162461bcd60e51b81526020600482015260036024820152621bdb1960ea1b604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561051057600080fd5b505afa158015610524573d6000803e3d6000fd5b505050506040513d602081101561053a57600080fd5b50519050600084821061054d578461054f565b815b9050600061055d828561034f565b604080516323b872dd60e01b8152336004820152600160248201526044810183905290519192506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd916064808201926020929091908290030181600087803b1580156105d757600080fd5b505af11580156105eb573d6000803e3d6000fd5b505050506040513d602081101561060157600080fd5b505161063a576040805162461bcd60e51b815260206004820152600360248201526273316560e81b604482015290519081900360640190fd5b6040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb9160448083019260209291908290030181600087803b1580156106a957600080fd5b505af11580156106bd573d6000803e3d6000fd5b505050506040513d60208110156106d357600080fd5b505161070c576040805162461bcd60e51b815260206004820152600360248201526273326560e81b604482015290519081900360640190fd5b50506001805550505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60015460011461074b57600080fd5b60006001557f000000000000000000000000000000000000000000000000000000000000000042116107ad576040805162461bcd60e51b815260206004808301919091526024820152631dd85a5d60e21b604482015290519081900360640190fd5b47806107e8576040805162461bcd60e51b8152602060048201526005602482015264656d70747960d81b604482015290519081900360640190fd5b60005415610822576040805162461bcd60e51b815260206004820152600260248201526137b760f11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561087d57600080fd5b505af1158015610891573d6000803e3d6000fd5b5050426000555050600180555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600082821115610949576040805162461bcd60e51b8152602060048201526002602482015261736560f01b604482015290519081900360640190fd5b50900390565b60008261095e575060006103ee565b8282028284828161096b57fe5b04146109a3576040805162461bcd60e51b81526020600482015260026024820152616d6560f01b604482015290519081900360640190fd5b939250505056fea26469706673582212205ed4571544eff9090e3c3d6a3a67eefacfa44ad06e042c18b0b1ffece07337b164736f6c634300060c00330000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000003a9fff453d50d4ac52a6890647b823379ba36b9e000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004f1a0000000000000000000000000000000000000000000000021e19e0c9bab240000000000000000000000000000000000000000000000000000000000000009e3400
Deployed Bytecode
0x6080604052600436106100e15760003560e01c806370a082311161007f578063d81ca7d511610059578063d81ca7d5146107a4578063dd62ed3e146107d4578063e4f9ca7c1461080f578063f677b430146108245761053c565b806370a082311461072357806395d89b4114610756578063a9059cbb1461076b5761053c565b806323b872dd116100bb57806323b872dd1461063f578063313ce567146106825780633bc5de30146106ad578063664474e9146106f25761053c565b806306fdde0314610541578063095ea7b3146105cb57806318160ddd146106185761053c565b3661053c576000806000806100f4610839565b92965090945092509050600061010a4285610869565b9050610e10811161021457600061012184836108b0565b90508034101561016b576040805162461bcd60e51b815260206004820152601060248201526f6d6f72652028efbfa3efb983efbfa32960801b604482015290519081900360640190fd5b61017a334286600101866108d6565b6101958684670de0b6b3a76400008161018f57fe5b0461090f565b6040517fff767ca718bfb19bc9f61838c9bae4b7b40f5c1c20bcf5862871bccb26cf5edc90600090a160405133903483900390600081818185875af1925050503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50505050505050505061053a565b3415610250576040805162461bcd60e51b815260206004808301919091526024820152631dd85a5d60e21b604482015290519081900360640190fd5b476000606461026083600a6109a2565b8161026757fe5b60405191900491506000906001600160a01b037f000000000000000000000000fe68ff6c87e7c5dfd2506b2d62b4a19a7c0bf521169083908381818185875af1925050503d80600081146102d7576040519150601f19603f3d011682016040523d82523d6000602084013e6102dc565b606091505b50506040519091506000906001600160a01b037f000000000000000000000000a1123ed5a45ffc312aa6964552308f64a1c6cda1169084908381818185875af1925050503d806000811461034c576040519150601f19603f3d011682016040523d82523d6000602084013e610351565b606091505b5050905081801561035f5750805b6103a5576040805162461bcd60e51b81526020600482015260126024820152714572726f722073656e64696e67206665657360701b604482015290519081900360640190fd5b604080516001600160a01b038b1681526020810186905281517f9761b1a56a6b4c0283c3e2a89a99678998feef8984d6085b94fb5ac5069f469a929181900390910190a16103f930426000896001016108d6565b6001600160a01b03891630146105305760006104154785610869565b90507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561047257600080fd5b505af1158015610486573d6000803e3d6000fd5b50505050507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663a9059cbb8b836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561050257600080fd5b505af1158015610516573d6000803e3d6000fd5b505050506040513d602081101561052c57600080fd5b5050505b5050505050505050505b005b600080fd5b34801561054d57600080fd5b506105566109fd565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610590578181015183820152602001610578565b50505050905090810190601f1680156105bd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105d757600080fd5b50610604600480360360408110156105ee57600080fd5b506001600160a01b038135169060200135610a21565b604080519115158252519081900360200190f35b34801561062457600080fd5b5061062d610a87565b60408051918252519081900360200190f35b34801561064b57600080fd5b506106046004803603606081101561066257600080fd5b506001600160a01b03813581169160208101359091169060400135610a8d565b34801561068e57600080fd5b50610697610bd8565b6040805160ff9092168252519081900360200190f35b3480156106b957600080fd5b506106c2610839565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b3480156106fe57600080fd5b50610707610bdd565b604080516001600160a01b039092168252519081900360200190f35b34801561072f57600080fd5b5061062d6004803603602081101561074657600080fd5b50356001600160a01b0316610c01565b34801561076257600080fd5b50610556610c13565b34801561077757600080fd5b506106046004803603604081101561078e57600080fd5b506001600160a01b038135169060200135610c33565b3480156107b057600080fd5b5061062d600480360360408110156107c757600080fd5b50803590602001356108b0565b3480156107e057600080fd5b5061062d600480360360408110156107f757600080fd5b506001600160a01b0381358116916020013516610c40565b34801561081b57600080fd5b50610707610c5d565b34801561083057600080fd5b50610707610c81565b6003546001600160a01b0381169160a082901c65ffffffffffff169160d081901c62ffffff169160e89190911c90565b6000828211156108a5576040805162461bcd60e51b8152602060048201526002602482015261736560f01b604482015290519081900360640190fd5b508082035b92915050565b610e1061010067016345785d8a00009384020490920190820302046509184e72a0000190565b60e81b60d09190911b62ffffff60d01b1660a09290921b65ffffffffffff60a01b166001600160a01b0393909316929092171717600355565b6001600160a01b0382166000908152600160205260409020546109329082610ca5565b6001600160a01b038316600090815260016020526040812091909155546109599082610ca5565b60009081556040805183815290516001600160a01b03851692917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef919081900360200190a35050565b6000826109b1575060006108aa565b828202828482816109be57fe5b04146109f6576040805162461bcd60e51b81526020600482015260026024820152616d6560f01b604482015290519081900360640190fd5b9392505050565b604051806040016040528060088152602001670a0dedecc5ccae8d60c31b81525081565b3360008181526002602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005481565b60006001600160a01b0384163314801590610acd57506001600160a01b038416600090815260026020908152604080832033845290915290205460001914155b15610b25576001600160a01b0384166000908152600260209081526040808320338452909152902054610b009083610869565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b6001600160a01b038416600090815260016020526040902054610b489083610869565b6001600160a01b038086166000908152600160205260408082209390935590851681522054610b779083610ca5565b6001600160a01b0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b7f000000000000000000000000fe68ff6c87e7c5dfd2506b2d62b4a19a7c0bf52181565b60016020526000908152604090205481565b604051806040016040528060048152602001632827a7a360e11b81525081565b60006109f6338484610a8d565b600260209081526000928352604080842090915290825290205481565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b7f000000000000000000000000a1123ed5a45ffc312aa6964552308f64a1c6cda181565b6000828201838110156109f6576040805162461bcd60e51b8152602060048201526002602482015261736160f01b604482015290519081900360640190fdfea26469706673582212208a9fe2319dae6ab489ab152d3221e656a0025c81d5b9729a42967e6cd37abd9e64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000003a9fff453d50d4ac52a6890647b823379ba36b9e000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000004f1a0000000000000000000000000000000000000000000000021e19e0c9bab240000000000000000000000000000000000000000000000000000000000000009e3400
-----Decoded View---------------
Arg [0] : _factory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [1] : _shuf (address): 0x3A9FfF453d50D4Ac52A6890647b823379ba36B9E
Arg [2] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [3] : _minWait (uint256): 5184000
Arg [4] : _fromPrice (uint256): 10000000000000000000000
Arg [5] : _duration (uint256): 10368000
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [1] : 0000000000000000000000003a9fff453d50d4ac52a6890647b823379ba36b9e
Arg [2] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [3] : 00000000000000000000000000000000000000000000000000000000004f1a00
Arg [4] : 00000000000000000000000000000000000000000000021e19e0c9bab2400000
Arg [5] : 00000000000000000000000000000000000000000000000000000000009e3400
Deployed Bytecode Sourcemap
6423:4727:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9937:12;9964;9991:13;10019;10046:9;:7;:9::i;:::-;9922:133;;-1:-1:-1;9922:133:0;;-1:-1:-1;9922:133:0;-1:-1:-1;9922:133:0;-1:-1:-1;10068:13:0;10084:25;:15;9922:133;10084:19;:25::i;:::-;10068:41;;6778:7;10126:5;:15;10122:370;;10158:12;10173:21;10181:5;10188;10173:7;:21::i;:::-;10158:36;;10230:4;10217:9;:17;;10209:46;;;;;-1:-1:-1;;;10209:46:0;;;;;;;;;;;;-1:-1:-1;;;10209:46:0;;;;;;;;;;;;;;;10272:54;10280:10;10292:15;10309:5;10317:1;10309:9;10320:5;10272:7;:54::i;:::-;10341:27;10346:4;10362:5;10352:7;:15;;;;;;10341:4;:27::i;:::-;10390:6;;;;;;;10413:46;;:10;;10437:9;:16;;;;10413:46;;;;10437:16;10413:10;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10474:7;;;;;;;;10122:370;10512:9;:14;10504:31;;;;;-1:-1:-1;;;10504:31:0;;;;;;;;;;;;;;;-1:-1:-1;;;10504:31:0;;;;;;;;;;;;;;;10564:21;10548:13;6869:3;10610:14;10564:21;6910:2;10610:9;:14::i;:::-;:21;;;;;10663:37;;10610:21;;;;-1:-1:-1;10645:13:0;;-1:-1:-1;;;;;10663:15:0;:20;;10610:21;;10645:13;10663:37;10645:13;10663:37;10610:21;10663:20;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10730:37:0;;10644:56;;-1:-1:-1;10712:13:0;;-1:-1:-1;;;;;10730:15:0;:20;;10759:3;;10712:13;10730:37;10712:13;10730:37;10759:3;10730:20;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10711:56;;;10786:8;:20;;;;;10798:8;10786:20;10778:51;;;;;-1:-1:-1;;;10778:51:0;;;;;;;;;;;;-1:-1:-1;;;10778:51:0;;;;;;;;;;;;;;;10847:20;;;-1:-1:-1;;;;;10847:20:0;;;;;;;;;;;;;;;;;;;;;;;10880:53;10896:4;10903:15;10920:1;10923:5;10931:1;10923:9;10880:7;:53::i;:::-;-1:-1:-1;;;;;10950:21:0;;10966:4;10950:21;10946:194;;10988:12;11003:30;:21;11029:3;11003:25;:30::i;:::-;10988:45;;11048:11;-1:-1:-1;;;;;11048:19:0;;11074:4;11048:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11096:11;-1:-1:-1;;;;;11096:20:0;;11117:4;11123;11096:32;;;;;;;;;;;;;-1:-1:-1;;;;;11096:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10946:194:0;9884:1263;;;;;;;;;;6423:4727;;;;;6488:44;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1368:183;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1368:183:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;980:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1692:446;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1692:446:0;;;;;;;;;;;;;;;;;:::i;6586:36::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8882:412;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;8882:412:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6921:40;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;6921:40:0;;;;;;;;;;;;;;1015:65;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1015:65:0;-1:-1:-1;;;;;1015:65:0;;:::i;6539:40::-;;;;;;;;;;;;;:::i;1559:125::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1559:125:0;;;;;;;;:::i;9659:217::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9659:217:0;;;;;;;:::i;1087:65::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1087:65:0;;;;;;;;;;:::i;6702:33::-;;;;;;;;;;;;;:::i;6968:40::-;;;;;;;;;;;;;:::i;8882:412::-;9049:6;;-1:-1:-1;;;;;9099:16:0;;;7481:3;9145:18;;;7392:22;9144:32;;7211:3;9205:19;;;7317:22;9204:34;;7162:3;9266:19;;;;;8882:412::o;321:154::-;379:7;412:1;407;:6;;399:21;;;;;-1:-1:-1;;;399:21:0;;;;;;;;;;;;-1:-1:-1;;;399:21:0;;;;;;;;;;;;;;;-1:-1:-1;443:5:0;;;321:154;;;;;:::o;9659:217::-;6778:7;6825:3;7053:9;9778:17;;;9777:27;9765:40;;;9841:15;;;9832:25;9831:36;7101:13;9823:45;;9659:217::o;9302:349::-;7162:3;9601:30;7211:3;9538:45;;;;-1:-1:-1;;;9538:45:0;7259:3;9478:42;;;;-1:-1:-1;;;9478:42:0;-1:-1:-1;;;;;9433:14:0;;;;9424:97;;;;:160;:208;9400:6;:243;9302:349::o;1161:199::-;-1:-1:-1;;;;;1238:14:0;;;;;;:9;:14;;;;;;:23;;1257:3;1238:18;:23::i;:::-;-1:-1:-1;;;;;1221:14:0;;;;;;:9;:14;;;;;:40;;;;1286:11;:20;;1302:3;1286:15;:20::i;:::-;1272:11;:34;;;1322:30;;;;;;;;-1:-1:-1;;;;;1322:30:0;;;1272:11;1322:30;;;;;;;;;;1161:199;;:::o;483:219::-;541:7;565:6;561:47;;-1:-1:-1;595:1:0;588:8;;561:47;632:5;;;636:1;632;:5;:1;656:5;;;;;:10;648:25;;;;;-1:-1:-1;;;648:25:0;;;;;;;;;;;;-1:-1:-1;;;648:25:0;;;;;;;;;;;;;;;693:1;483:219;-1:-1:-1;;;483:219:0:o;6488:44::-;;;;;;;;;;;;;;-1:-1:-1;;;6488:44:0;;;;:::o;1368:183::-;1453:10;1426:4;1443:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1443:26:0;;;;;;;;;;;:32;;;1491:30;;;;;;;1426:4;;1443:26;;1453:10;;1491:30;;;;;;;;-1:-1:-1;1539:4:0;1368:183;;;;:::o;980:26::-;;;;:::o;1692:446::-;1784:4;-1:-1:-1;;;;;1810:17:0;;1817:10;1810:17;;;;:59;;-1:-1:-1;;;;;;1831:14:0;;;;;;:9;:14;;;;;;;;1846:10;1831:26;;;;;;;;-1:-1:-1;;1831:38:0;;1810:59;1806:156;;;-1:-1:-1;;;;;1915:14:0;;;;;;:9;:14;;;;;;;;1930:10;1915:26;;;;;;;;:35;;1946:3;1915:30;:35::i;:::-;-1:-1:-1;;;;;1886:14:0;;;;;;:9;:14;;;;;;;;1901:10;1886:26;;;;;;;:64;1806:156;-1:-1:-1;;;;;1991:14:0;;;;;;:9;:14;;;;;;:23;;2010:3;1991:18;:23::i;:::-;-1:-1:-1;;;;;1974:14:0;;;;;;;:9;:14;;;;;;:40;;;;2042:14;;;;;;;:23;;2061:3;2042:18;:23::i;:::-;-1:-1:-1;;;;;2025:14:0;;;;;;;:9;:14;;;;;;;;;:40;;;;2083:23;;;;;;;2025:14;;2083:23;;;;;;;;;;;;;-1:-1:-1;2126:4:0;1692:446;;;;;:::o;6586:36::-;6620:2;6586:36;:::o;6921:40::-;;;:::o;1015:65::-;;;;;;;;;;;;;:::o;6539:40::-;;;;;;;;;;;;;;-1:-1:-1;;;6539:40:0;;;;:::o;1559:125::-;1618:4;1642:34;1655:10;1667:3;1672;1642:12;:34::i;1087:65::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;6702:33::-;;;:::o;6968:40::-;;;:::o;159:154::-;217:7;249:5;;;273:6;;;;265:21;;;;;-1:-1:-1;;;265:21:0;;;;;;;;;;;;-1:-1:-1;;;265:21:0;;;;;;;;;;;;;
Swarm Source
ipfs://5ed4571544eff9090e3c3d6a3a67eefacfa44ad06e042c18b0b1ffece07337b1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.