ETH Price: $3,258.65 (+2.30%)
Gas: 1 Gwei

Contract

0x43F6a1BE992deE408721748490772B15143CE0a7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve198152732024-05-07 2:39:5980 days ago1715049599IN
0x43F6a1BE...5143CE0a7
0 ETH0.000099254.53612351
Approve198152382024-05-07 2:32:5980 days ago1715049179IN
0x43F6a1BE...5143CE0a7
0 ETH0.000090074.11679003
Approve198151842024-05-07 2:22:1180 days ago1715048531IN
0x43F6a1BE...5143CE0a7
0 ETH0.00008743.99495377
Approve198151722024-05-07 2:19:3580 days ago1715048375IN
0x43F6a1BE...5143CE0a7
0 ETH0.00009484.33313635
Approve197506982024-04-28 2:00:4789 days ago1714269647IN
0x43F6a1BE...5143CE0a7
0 ETH0.000119745.47260808
Approve197506422024-04-28 1:49:2389 days ago1714268963IN
0x43F6a1BE...5143CE0a7
0 ETH0.000120815.52161907
Approve197506322024-04-28 1:47:2389 days ago1714268843IN
0x43F6a1BE...5143CE0a7
0 ETH0.00012095.52599587
Approve195089382024-03-25 3:48:35123 days ago1711338515IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003714516.97684643
Approve195089182024-03-25 3:44:35123 days ago1711338275IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003141814.35935977
Approve195089052024-03-25 3:41:59123 days ago1711338119IN
0x43F6a1BE...5143CE0a7
0 ETH0.0002961813.53692635
Approve195088952024-03-25 3:39:59123 days ago1711337999IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003157714.43235771
Approve195088942024-03-25 3:39:47123 days ago1711337987IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003042913.90740748
Approve195088472024-03-25 3:30:23123 days ago1711337423IN
0x43F6a1BE...5143CE0a7
0 ETH0.0002996913.69713767
Approve195088342024-03-25 3:27:35123 days ago1711337255IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003179414.5312464
Approve195088152024-03-25 3:23:47123 days ago1711337027IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003992318.24663628
Approve195087982024-03-25 3:20:23123 days ago1711336823IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003266414.92906759
Approve195087962024-03-25 3:19:59123 days ago1711336799IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003154814.41885791
Approve195087952024-03-25 3:19:47123 days ago1711336787IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003004813.7332103
Approve195085282024-03-25 2:24:59123 days ago1711333499IN
0x43F6a1BE...5143CE0a7
0 ETH0.000338315.46177539
Approve195085242024-03-25 2:24:11123 days ago1711333451IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003846917.58183794
Approve191603792024-02-05 6:45:47172 days ago1707115547IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003080214.07772304
Approve191603732024-02-05 6:44:35172 days ago1707115475IN
0x43F6a1BE...5143CE0a7
0 ETH0.0003156514.42680861
Approve191602942024-02-05 6:28:35172 days ago1707114515IN
0x43F6a1BE...5143CE0a7
0 ETH0.0002428311.09852334
Approve191602802024-02-05 6:25:47172 days ago1707114347IN
0x43F6a1BE...5143CE0a7
0 ETH0.0002606311.9121916
Approve191602762024-02-05 6:24:59172 days ago1707114299IN
0x43F6a1BE...5143CE0a7
0 ETH0.0002847513.01439975
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:
Potatoin

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-11-23
*/

pragma solidity ^0.4.18;

// Potatoin (or potato coin) is the first of its kind, virtualized vegetable
// crypto-asset resistant to the inevitable crash of the world economy!
contract Potatoin {
    // name, symbol and decimals implement the ERC20 token standard.
    string public constant name     = "Potatoin";
    string public constant symbol   = "POIN";
    uint8  public constant decimals = 0;

    // genesis and relief define the start and duration of the potato relief
    // organized by the Potatoin foundation.
    uint public genesis;
    uint public relief;

    // donated contains the addresses the foundation already donated to.
    mapping(address => uint) public donated;

    // rot and grow contains the time intervals in which unsowed potatoes rot
    // away and sowed potatoes double.
    uint public decay;
    uint public growth;

    // farmers, cellars and recycled track the current unsowed potatoes owned by
    // individual famers and the last time rotten ones were recycled.
    address[]                farmers;
    mapping(address => uint) cellars;
    mapping(address => uint) trashes;
    mapping(address => uint) recycled;

    // field and fields define the potato fields owned by individual famers,
    // along with the number of potatoes in them and the sowing time/
    struct field {
        uint potatoes;
        uint sowed;
    }
    mapping(address => field[]) public fields;
    mapping(address => uint)    public empties;

    // Transfer implements ERC20, raising a token transfer event.
    event Transfer(address indexed _from, address indexed _to, uint _value);

    // Potatoin is the Potatoin foundation constructor. It configures the potato
    // relief and sets up the organizational oversight.
    function Potatoin(uint256 _relief, uint256 _decay, uint256 _growth) public {
        genesis = block.timestamp;
        relief  = _relief;
        decay   = _decay;
        growth  = _growth;
    }

    // totalSupply returns the total number of potatoes owned by all people,
    // taking into consideration those that already rotted away.
    function totalSupply() constant public returns (uint totalSupply) {
        for (uint i = 0; i < farmers.length; i++) {
            totalSupply += balanceOf(farmers[i]);
        }
        return totalSupply;
    }

    // balanceOf returns the current number of potatoes owned by a particular
    // account, taking into consideration those that already rotted away.
    function balanceOf(address farmer) constant public returns (uint256 balance) {
       return unsowed(farmer) + sowed(farmer);
    }

    // unsowed returns the current number of unsowed potatoes owned by a farmer,
    // taking into consideration those that already rotted away.
    function unsowed(address farmer) constant public returns (uint256 balance) {
        // Retrieve the number of non-rotten potatoes from the cellar
        var elapsed = block.timestamp - recycled[farmer];
        if (elapsed < decay) {
            balance = (cellars[farmer] * (decay - elapsed) + decay-1) / decay;
        }
        // Retrieve the number of non-rotten potatoes from the fields
        var list = fields[farmer];
        for (uint i = empties[farmer]; i < list.length; i++) {
            elapsed = block.timestamp - list[i].sowed;
            if (elapsed >= growth && elapsed - growth < decay) {
                balance += (2 * list[i].potatoes * (decay-elapsed+growth) + decay-1) / decay;
            }
        }
        return balance;
    }

    // sowed returns the current number of sowed potatoes owned by a farmer,
    // taking into consideration those that are currently growing.
    function sowed(address farmer) constant public returns (uint256 balance) {
        var list = fields[farmer];
        for (uint i = empties[farmer]; i < list.length; i++) {
            // If the potatoes are fully grown, assume the field harvested
            var elapsed = block.timestamp - list[i].sowed;
            if (elapsed >= growth) {
                continue;
            }
            // Otherwise calculate the number of potatoes "in the making"
            balance += list[i].potatoes + list[i].potatoes * elapsed / growth;
        }
        return balance;
    }

    // trashed returns the number of potatoes owned by a farmer that rot away,
    // taking into consideration the current storage and fields too.
    function trashed(address farmer) constant public returns (uint256 balance) {
        // Start with all the accounted for trash
        balance = trashes[farmer];

        // Calculate the rotten potatoes from storage
        var elapsed = block.timestamp - recycled[farmer];
        if (elapsed >= 0) {
            var rotten = cellars[farmer];
            if (elapsed < decay) {
               rotten = cellars[farmer] * elapsed / decay;
            }
            balance += rotten;
        }
        // Calculate the rotten potatoes from the fields
        var list = fields[farmer];
        for (uint i = empties[farmer]; i < list.length; i++) {
            elapsed = block.timestamp - list[i].sowed;
            if (elapsed >= growth) {
                rotten = 2 * list[i].potatoes;
                if  (elapsed - growth < decay) {
                    rotten = 2 * list[i].potatoes * (elapsed - growth) / decay;
                }
                balance += rotten;
            }
        }
        return balance;
    }

    // request asks the Potatoin foundation for a grant of one potato. Potatoes
    // are available only during the initial hunger relief phase.
    function request() public {
        // Farmers can only request potatoes during the relieve, one per person
        require(block.timestamp < genesis + relief);
        require(donated[msg.sender] == 0);

        // Farmer is indeed a new one, grant its potato
        donated[msg.sender] = block.timestamp;

        farmers.push(msg.sender);
        cellars[msg.sender] = 1;
        recycled[msg.sender] = block.timestamp;

        Transfer(this, msg.sender, 1);
    }

    // sow creates a new potato field with the requested number of potatoes in
    // it, doubling after the growing period ends. If the farmer doesn't have
    // the requested amount of potatoes, all existing ones will be sowed.
    function sow(uint potatoes) public {
        // Harvest any ripe fields
        harvest(msg.sender);

        // Make sure we have a meaningful amount to sow
        if (potatoes == 0) {
            return;
        }
        // If any potatoes are left for the farmer, sow them
        if (cellars[msg.sender] > 0) {
            if (potatoes > cellars[msg.sender]) {
                potatoes = cellars[msg.sender];
            }
            fields[msg.sender].push(field(potatoes, block.timestamp));
            cellars[msg.sender] -= potatoes;

            Transfer(msg.sender, this, potatoes);
        }
    }

    // harvest gathers all the potatoes of a user that have finished growing.
    // Any rotten ones are deduced from the final counter. The potatoes in the
    // cellar are also accounted for.
    function harvest(address farmer) internal {
        // Recycle any rotted away potatoes to update the recycle timer
        recycle(farmer);

        // Harvest all the ripe fields
        var list = fields[farmer];
        for (uint i = empties[farmer]; i < list.length; i++) {
            var elapsed = block.timestamp - list[i].sowed;
            if (elapsed >= growth) {
                if (elapsed - growth < decay) {
                    var harvested = (2 * list[i].potatoes * (decay-elapsed+growth) + decay-1) / decay;
                    var rotten    = 2 * list[i].potatoes - harvested;

                    cellars[farmer] += harvested;
                    Transfer(this, farmer, harvested);

                    if (rotten > 0) {
                        trashes[farmer] += rotten;
                        Transfer(this, 0, rotten);
                    }
                } else {
                    trashes[farmer] += 2 * list[i].potatoes;
                    Transfer(this, 0, 2 * list[i].potatoes);
                }
                empties[farmer]++;
            }
        }
        // If all the fields were harvested, rewind the accumulators
        if (empties[farmer] > 0 && empties[farmer] == list.length) {
            delete empties[farmer];
            delete fields[farmer];
        }
    }

    // recycle throws away the potatoes of a user that rotted away.
    function recycle(address farmer) internal {
        var elapsed = block.timestamp - recycled[farmer];
        if (elapsed == 0) {
            return;
        }
        var rotten = cellars[farmer];
        if (elapsed < decay) {
           rotten = cellars[farmer] * elapsed / decay;
        }
        if (rotten > 0) {
            cellars[farmer] -= rotten;
            trashes[farmer] += rotten;

            Transfer(farmer, 0, rotten);
        }
        recycled[farmer] = block.timestamp;
    }

    // transfer forwards a number of potatoes to the requested address.
    function transfer(address to, uint potatoes) public returns (bool success) {
        // Harvest own ripe fields and make sure we can transfer
        harvest(msg.sender);
        if (cellars[msg.sender] < potatoes) {
            return false;
        }
        // Recycle the remote rotten ones and execute the transfre
        recycle(to);
        cellars[msg.sender] -= potatoes;
        cellars[to]         += potatoes;

        Transfer(msg.sender, to, potatoes);
        return true;
    }

    // transferFrom implements ERC20, but is forbidden.
    function transferFrom(address _from, address _to, uint _value) returns (bool success) {
        return false;
    }

    // approve implements ERC20, but is forbidden.
    function approve(address _spender, uint _value) returns (bool success) {
        return false;
    }

    // allowance implements ERC20, but is forbidden.
    function allowance(address _owner, address _spender) constant returns (uint remaining) {
        return 0;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"totalSupply","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"request","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"potatoes","type":"uint256"}],"name":"sow","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decay","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"farmer","type":"address"}],"name":"unsowed","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"empties","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"farmer","type":"address"}],"name":"trashed","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"farmer","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"growth","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"genesis","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"potatoes","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"relief","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"farmer","type":"address"}],"name":"sowed","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"fields","outputs":[{"name":"potatoes","type":"uint256"},{"name":"sowed","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"donated","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_relief","type":"uint256"},{"name":"_decay","type":"uint256"},{"name":"_growth","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"}]

6060604052341561000f57600080fd5b604051606080611057833981016040528080519190602001805191906020018051426000556001949094555050600355600455611006806100516000396000f30060606040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610121578063095ea7b3146101ab57806318160ddd146101e157806323b872dd14610206578063313ce5671461022e578063338cdca1146102575780633acbe4501461026c57806354fac91914610282578063599db6bd146102955780635c803f36146102b45780635d946afa146102d357806370a08231146102f257806395d89b4114610311578063a694023814610324578063a7f0b3de14610337578063a9059cbb1461034a578063d02042a31461036c578063d0a657171461037f578063dd62ed3e1461039e578063e631b536146103c3578063fb690dcc146103fd575b600080fd5b341561012c57600080fd5b61013461041c565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610170578082015183820152602001610158565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101cd600160a060020a0360043516602435610453565b604051901515815260200160405180910390f35b34156101ec57600080fd5b6101f461045c565b60405190815260200160405180910390f35b341561021157600080fd5b6101cd600160a060020a03600435811690602435166044356104a6565b341561023957600080fd5b6102416104af565b60405160ff909116815260200160405180910390f35b341561026257600080fd5b61026a6104b4565b005b341561027757600080fd5b61026a600435610595565b341561028d57600080fd5b6101f46106af565b34156102a057600080fd5b6101f4600160a060020a03600435166106b5565b34156102bf57600080fd5b6101f4600160a060020a03600435166107db565b34156102de57600080fd5b6101f4600160a060020a03600435166107ed565b34156102fd57600080fd5b6101f4600160a060020a0360043516610959565b341561031c57600080fd5b610134610974565b341561032f57600080fd5b6101f46109ab565b341561034257600080fd5b6101f46109b1565b341561035557600080fd5b6101cd600160a060020a03600435166024356109b7565b341561037757600080fd5b6101f4610a50565b341561038a57600080fd5b6101f4600160a060020a0360043516610a56565b34156103a957600080fd5b6101f4600160a060020a0360043581169060243516610453565b34156103ce57600080fd5b6103e5600160a060020a0360043516602435610b18565b60405191825260208201526040908101905180910390f35b341561040857600080fd5b6101f4600160a060020a0360043516610b53565b60408051908101604052600881527f506f7461746f696e000000000000000000000000000000000000000000000000602082015281565b60005b92915050565b6000805b6005548110156104a25761049660058281548110151561047c57fe5b600091825260209091200154600160a060020a0316610959565b90910190600101610460565b5090565b60009392505050565b600081565b6001546000540142106104c657600080fd5b600160a060020a033316600090815260026020526040902054156104e957600080fd5b600160a060020a033316600090815260026020526040902042905560058054600181016105168382610f0c565b5060009182526020808320919091018054600160a060020a0333811673ffffffffffffffffffffffffffffffffffffffff199092168217909255808452600683526040808520600190819055600890945293849020429055923090911691600080516020610fbb833981519152915190815260200160405180910390a3565b61059e33610b65565b8015156105aa576106ac565b600160a060020a03331660009081526006602052604081205411156106ac57600160a060020a0333166000908152600660205260409020548111156106045750600160a060020a0333166000908152600660205260409020545b600160a060020a033316600090815260096020526040902080546001810161062c8382610f30565b91600052602060002090600202016000604080519081016040528481524260208201529190508151815560208201516001909101555050600160a060020a0333811660008181526006602052604090819020805485900390553090921691600080516020610fbb8339815191529084905190815260200160405180910390a35b50565b60035481565b600160a060020a0381166000908152600860205260408120546003544291909103908290819083101561071557600354600160a060020a0386166000908152600660205260409020548482030281016000190181151561071157fe5b0493505b5050600160a060020a0383166000908152600960209081526040808320600a909252909120545b81548110156107d357818181548110151561075357fe5b90600052602060002090600202016001015442039250600454831015801561078057506003546004548403105b156107cb57600354600160035460045486600354030185858154811015156107a457fe5b9060005260206000209060020201600001546002020201038115156107c557fe5b04840193505b60010161073c565b505050919050565b600a6020526000908152604090205481565b600160a060020a03811660009081526007602090815260408083205460089092528220549091429190910390808080841061087857600160a060020a03861660009081526006602052604090205460035490935084101561087357600354600160a060020a038716600090815260066020526040902054850281151561086f57fe5b0492505b938201935b5050600160a060020a0384166000908152600960209081526040808320600a909252909120545b81548110156109505781818154811015156108b657fe5b90600052602060002090600202016001015442039350600454841015156109485781818154811015156108e557fe5b906000526020600020906002020160000154600202925060035460045485031015610943576003546004548503838381548110151561092057fe5b9060005260206000209060020201600001546002020281151561093f57fe5b0492505b938201935b60010161089f565b50505050919050565b600061096482610a56565b61096d836106b5565b0192915050565b60408051908101604052600481527f504f494e00000000000000000000000000000000000000000000000000000000602082015281565b60045481565b60005481565b60006109c233610b65565b600160a060020a033316600090815260066020526040902054829010156109eb57506000610456565b6109f483610e16565b600160a060020a03338116600081815260066020526040808220805487900390559286168082529083902080548601905591600080516020610fbb8339815191529085905190815260200160405180910390a350600192915050565b60015481565b600160a060020a0381166000908152600960209081526040808320600a909252822054825b82548210156107d3578282815481101515610a9257fe5b9060005260206000209060020201600101544203905060045481101515610ab857610b0d565b600454818484815481101515610aca57fe5b90600052602060002090600202016000015402811515610ae657fe5b048383815481101515610af557fe5b90600052602060002090600202016000015401840193505b600190910190610a7b565b600960205281600052604060002081815481101515610b3357fe5b600091825260209091206002909102018054600190910154909250905082565b60026020526000908152604090205481565b6000806000806000610b7686610e16565b600160a060020a0386166000908152600960209081526040808320600a9092529091205490955093505b8454841015610d9d578484815481101515610bb757fe5b9060005260206000209060020201600101544203925060045483101515610d925760035460045484031015610ce95760035460016003546004548660035403018888815481101515610c0557fe5b906000526020600020906002020160000154600202020103811515610c2657fe5b049150818585815481101515610c3857fe5b6000918252602080832060029283020154600160a060020a03808c1680865260069093526040948590208054890190559202939093039350301690600080516020610fbb8339815191529085905190815260200160405180910390a36000811115610ce457600160a060020a038087166000908152600760205260408082208054850190559091301690600080516020610fbb8339815191529084905190815260200160405180910390a35b610d72565b8484815481101515610cf757fe5b6000918252602080832060029283020154600160a060020a03808b1685526007909252604084208054919093020190915586543090911690600080516020610fbb83398151915290889088908110610d4b57fe5b90600052602060002090600202016000015460020260405190815260200160405180910390a35b600160a060020a0386166000908152600a60205260409020805460010190555b600190930192610ba0565b600160a060020a0386166000908152600a6020526040812054118015610ddb57508454600160a060020a0387166000908152600a6020526040902054145b15610e0e57600160a060020a0386166000908152600a6020908152604080832083905560099091528120610e0e91610f5c565b505050505050565b600160a060020a038116600090815260086020526040812054420390811515610e3e57610f07565b50600160a060020a038216600090815260066020526040902054600354821015610e8d57600354600160a060020a0384166000908152600660205260409020548302811515610e8957fe5b0490505b6000811115610eeb57600160a060020a0383166000818152600660209081526040808320805486900390556007909152808220805485019055909190600080516020610fbb8339815191529084905190815260200160405180910390a35b600160a060020a03831660009081526008602052604090204290555b505050565b815481835581811511610f0757600083815260209020610f07918101908301610f7d565b815481835581811511610f0757600202816002028360005260206000209182019101610f079190610f9a565b50805460008255600202906000526020600020908101906106ac9190610f9a565b610f9791905b808211156104a25760008155600101610f83565b90565b610f9791905b808211156104a25760008082556001820155600201610fa05600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058204de8c36c8eeb32104ba95e462a38d82f78e6cc703d39c64cae9618988ee3e4f0002900000000000000000000000000000000000000000000000000000000002a30000000000000000000000000000000000000000000000000000000000000278d000000000000000000000000000000000000000000000000000000000000093a80

Deployed Bytecode

0x60606040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610121578063095ea7b3146101ab57806318160ddd146101e157806323b872dd14610206578063313ce5671461022e578063338cdca1146102575780633acbe4501461026c57806354fac91914610282578063599db6bd146102955780635c803f36146102b45780635d946afa146102d357806370a08231146102f257806395d89b4114610311578063a694023814610324578063a7f0b3de14610337578063a9059cbb1461034a578063d02042a31461036c578063d0a657171461037f578063dd62ed3e1461039e578063e631b536146103c3578063fb690dcc146103fd575b600080fd5b341561012c57600080fd5b61013461041c565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610170578082015183820152602001610158565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101cd600160a060020a0360043516602435610453565b604051901515815260200160405180910390f35b34156101ec57600080fd5b6101f461045c565b60405190815260200160405180910390f35b341561021157600080fd5b6101cd600160a060020a03600435811690602435166044356104a6565b341561023957600080fd5b6102416104af565b60405160ff909116815260200160405180910390f35b341561026257600080fd5b61026a6104b4565b005b341561027757600080fd5b61026a600435610595565b341561028d57600080fd5b6101f46106af565b34156102a057600080fd5b6101f4600160a060020a03600435166106b5565b34156102bf57600080fd5b6101f4600160a060020a03600435166107db565b34156102de57600080fd5b6101f4600160a060020a03600435166107ed565b34156102fd57600080fd5b6101f4600160a060020a0360043516610959565b341561031c57600080fd5b610134610974565b341561032f57600080fd5b6101f46109ab565b341561034257600080fd5b6101f46109b1565b341561035557600080fd5b6101cd600160a060020a03600435166024356109b7565b341561037757600080fd5b6101f4610a50565b341561038a57600080fd5b6101f4600160a060020a0360043516610a56565b34156103a957600080fd5b6101f4600160a060020a0360043581169060243516610453565b34156103ce57600080fd5b6103e5600160a060020a0360043516602435610b18565b60405191825260208201526040908101905180910390f35b341561040857600080fd5b6101f4600160a060020a0360043516610b53565b60408051908101604052600881527f506f7461746f696e000000000000000000000000000000000000000000000000602082015281565b60005b92915050565b6000805b6005548110156104a25761049660058281548110151561047c57fe5b600091825260209091200154600160a060020a0316610959565b90910190600101610460565b5090565b60009392505050565b600081565b6001546000540142106104c657600080fd5b600160a060020a033316600090815260026020526040902054156104e957600080fd5b600160a060020a033316600090815260026020526040902042905560058054600181016105168382610f0c565b5060009182526020808320919091018054600160a060020a0333811673ffffffffffffffffffffffffffffffffffffffff199092168217909255808452600683526040808520600190819055600890945293849020429055923090911691600080516020610fbb833981519152915190815260200160405180910390a3565b61059e33610b65565b8015156105aa576106ac565b600160a060020a03331660009081526006602052604081205411156106ac57600160a060020a0333166000908152600660205260409020548111156106045750600160a060020a0333166000908152600660205260409020545b600160a060020a033316600090815260096020526040902080546001810161062c8382610f30565b91600052602060002090600202016000604080519081016040528481524260208201529190508151815560208201516001909101555050600160a060020a0333811660008181526006602052604090819020805485900390553090921691600080516020610fbb8339815191529084905190815260200160405180910390a35b50565b60035481565b600160a060020a0381166000908152600860205260408120546003544291909103908290819083101561071557600354600160a060020a0386166000908152600660205260409020548482030281016000190181151561071157fe5b0493505b5050600160a060020a0383166000908152600960209081526040808320600a909252909120545b81548110156107d357818181548110151561075357fe5b90600052602060002090600202016001015442039250600454831015801561078057506003546004548403105b156107cb57600354600160035460045486600354030185858154811015156107a457fe5b9060005260206000209060020201600001546002020201038115156107c557fe5b04840193505b60010161073c565b505050919050565b600a6020526000908152604090205481565b600160a060020a03811660009081526007602090815260408083205460089092528220549091429190910390808080841061087857600160a060020a03861660009081526006602052604090205460035490935084101561087357600354600160a060020a038716600090815260066020526040902054850281151561086f57fe5b0492505b938201935b5050600160a060020a0384166000908152600960209081526040808320600a909252909120545b81548110156109505781818154811015156108b657fe5b90600052602060002090600202016001015442039350600454841015156109485781818154811015156108e557fe5b906000526020600020906002020160000154600202925060035460045485031015610943576003546004548503838381548110151561092057fe5b9060005260206000209060020201600001546002020281151561093f57fe5b0492505b938201935b60010161089f565b50505050919050565b600061096482610a56565b61096d836106b5565b0192915050565b60408051908101604052600481527f504f494e00000000000000000000000000000000000000000000000000000000602082015281565b60045481565b60005481565b60006109c233610b65565b600160a060020a033316600090815260066020526040902054829010156109eb57506000610456565b6109f483610e16565b600160a060020a03338116600081815260066020526040808220805487900390559286168082529083902080548601905591600080516020610fbb8339815191529085905190815260200160405180910390a350600192915050565b60015481565b600160a060020a0381166000908152600960209081526040808320600a909252822054825b82548210156107d3578282815481101515610a9257fe5b9060005260206000209060020201600101544203905060045481101515610ab857610b0d565b600454818484815481101515610aca57fe5b90600052602060002090600202016000015402811515610ae657fe5b048383815481101515610af557fe5b90600052602060002090600202016000015401840193505b600190910190610a7b565b600960205281600052604060002081815481101515610b3357fe5b600091825260209091206002909102018054600190910154909250905082565b60026020526000908152604090205481565b6000806000806000610b7686610e16565b600160a060020a0386166000908152600960209081526040808320600a9092529091205490955093505b8454841015610d9d578484815481101515610bb757fe5b9060005260206000209060020201600101544203925060045483101515610d925760035460045484031015610ce95760035460016003546004548660035403018888815481101515610c0557fe5b906000526020600020906002020160000154600202020103811515610c2657fe5b049150818585815481101515610c3857fe5b6000918252602080832060029283020154600160a060020a03808c1680865260069093526040948590208054890190559202939093039350301690600080516020610fbb8339815191529085905190815260200160405180910390a36000811115610ce457600160a060020a038087166000908152600760205260408082208054850190559091301690600080516020610fbb8339815191529084905190815260200160405180910390a35b610d72565b8484815481101515610cf757fe5b6000918252602080832060029283020154600160a060020a03808b1685526007909252604084208054919093020190915586543090911690600080516020610fbb83398151915290889088908110610d4b57fe5b90600052602060002090600202016000015460020260405190815260200160405180910390a35b600160a060020a0386166000908152600a60205260409020805460010190555b600190930192610ba0565b600160a060020a0386166000908152600a6020526040812054118015610ddb57508454600160a060020a0387166000908152600a6020526040902054145b15610e0e57600160a060020a0386166000908152600a6020908152604080832083905560099091528120610e0e91610f5c565b505050505050565b600160a060020a038116600090815260086020526040812054420390811515610e3e57610f07565b50600160a060020a038216600090815260066020526040902054600354821015610e8d57600354600160a060020a0384166000908152600660205260409020548302811515610e8957fe5b0490505b6000811115610eeb57600160a060020a0383166000818152600660209081526040808320805486900390556007909152808220805485019055909190600080516020610fbb8339815191529084905190815260200160405180910390a35b600160a060020a03831660009081526008602052604090204290555b505050565b815481835581811511610f0757600083815260209020610f07918101908301610f7d565b815481835581811511610f0757600202816002028360005260206000209182019101610f079190610f9a565b50805460008255600202906000526020600020908101906106ac9190610f9a565b610f9791905b808211156104a25760008155600101610f83565b90565b610f9791905b808211156104a25760008082556001820155600201610fa05600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058204de8c36c8eeb32104ba95e462a38d82f78e6cc703d39c64cae9618988ee3e4f00029

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

00000000000000000000000000000000000000000000000000000000002a30000000000000000000000000000000000000000000000000000000000000278d000000000000000000000000000000000000000000000000000000000000093a80

-----Decoded View---------------
Arg [0] : _relief (uint256): 2764800
Arg [1] : _decay (uint256): 2592000
Arg [2] : _growth (uint256): 604800

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000002a3000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000278d00
Arg [2] : 0000000000000000000000000000000000000000000000000000000000093a80


Swarm Source

bzzr://4de8c36c8eeb32104ba95e462a38d82f78e6cc703d39c64cae9618988ee3e4f0

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.