ETH Price: $3,266.91 (+1.01%)

Contract

0x24D7EFce423B220E12fb8065ED782b4384C44921
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Token130954802021-08-25 16:11:061235 days ago1629907866IN
0x24D7EFce...384C44921
0 ETH0.01176756146.34631301
Fund Tokens130243132021-08-14 16:19:131246 days ago1628957953IN
0x24D7EFce...384C44921
0 ETH0.0013418656.24150682
Fund Tokens130243122021-08-14 16:18:241246 days ago1628957904IN
0x24D7EFce...384C44921
0 ETH0.0036858264
Fund Tokens130243082021-08-14 16:17:461246 days ago1628957866IN
0x24D7EFce...384C44921
0 ETH0.0070654768
Fund Tokens130243062021-08-14 16:17:381246 days ago1628957858IN
0x24D7EFce...384C44921
0 ETH0.0032041255.68718627
Fund Tokens130242942021-08-14 16:15:191246 days ago1628957719IN
0x24D7EFce...384C44921
0 ETH0.0039709569
Fund Tokens130242302021-08-14 15:58:511246 days ago1628956731IN
0x24D7EFce...384C44921
0 ETH0.0047569948
Fund Tokens130242102021-08-14 15:53:541246 days ago1628956434IN
0x24D7EFce...384C44921
0 ETH0.0044838243.15351
Fund Tokens130242012021-08-14 15:51:231246 days ago1628956283IN
0x24D7EFce...384C44921
0 ETH0.0025055643.54618496
Fund Tokens130241242021-08-14 15:33:431246 days ago1628955223IN
0x24D7EFce...384C44921
0 ETH0.0045717744
Fund Tokens130241112021-08-14 15:31:201246 days ago1628955080IN
0x24D7EFce...384C44921
0 ETH0.00345360
Fund Tokens130240142021-08-14 15:12:011246 days ago1628953921IN
0x24D7EFce...384C44921
0 ETH0.0045717744
Fund Tokens130239732021-08-14 15:05:241246 days ago1628953524IN
0x24D7EFce...384C44921
0 ETH0.0062349660
Fund Tokens130239682021-08-14 15:03:021246 days ago1628953382IN
0x24D7EFce...384C44921
0 ETH0.0052835950.85075139
Fund Tokens130239022021-08-14 14:48:151246 days ago1628952495IN
0x24D7EFce...384C44921
0 ETH0.0023590541
Fund Tokens130235812021-08-14 13:36:201246 days ago1628948180IN
0x24D7EFce...384C44921
0 ETH0.0043644742
Fund Tokens130231272021-08-14 11:54:101246 days ago1628942050IN
0x24D7EFce...384C44921
0 ETH0.0029335428.2299246
Fund Tokens130226742021-08-14 10:20:171246 days ago1628936417IN
0x24D7EFce...384C44921
0 ETH0.0026627946.27882171
Fund Tokens130221092021-08-14 8:13:401246 days ago1628928820IN
0x24D7EFce...384C44921
0 ETH0.0024259446
Fund Tokens130209352021-08-14 3:45:231247 days ago1628912723IN
0x24D7EFce...384C44921
0 ETH0.002174937.79950922
Fund Tokens130207302021-08-14 2:53:511247 days ago1628909631IN
0x24D7EFce...384C44921
0 ETH0.0024560142.68506282
Fund Tokens130205942021-08-14 2:21:151247 days ago1628907675IN
0x24D7EFce...384C44921
0 ETH0.004955250
Fund Tokens130205882021-08-14 2:19:431247 days ago1628907583IN
0x24D7EFce...384C44921
0 ETH0.0055075453
Fund Tokens130205872021-08-14 2:19:341247 days ago1628907574IN
0x24D7EFce...384C44921
0 ETH0.0024949743.36220438
Fund Tokens130200182021-08-14 0:14:291247 days ago1628900069IN
0x24D7EFce...384C44921
0 ETH0.0049817647.94581943
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:
WiseFunder

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: WiseFunder.sol
// SPDX-License-Identifier: -- 💰️ --

pragma solidity ^0.8.0;

import "./Interfaces.sol";

contract WiseFunder {

    ITokenContract public immutable WISE_TOKEN;

    address public immutable FUND_OWNER;
    uint256 public immutable THRESHOLD;
    uint256 public immutable TIMESTAMP;

    uint256 public totalFunded;
    uint256 public totalFunders;

    bool public hasClaimed;

    mapping(address => uint256) public balanceMap;
    mapping(uint256 => address) public fundersMap;

    event FundraiserCreated(
        address indexed fundOwner,
        uint256 amount,
        uint256 timestamp
    );

    event NewFunder(
        uint256 indexed funderIndex,
        address indexed funderAddress,
        uint256 tokenAmount
    );

    event FundsAdded(
        address indexed funderAddress,
        uint256 tokenAmount
    );

    event FundsClaimed(
        address indexed fundOwner,
        uint256 totalFunded
    );

    event RefundIssued(
        address indexed refundAddress,
        uint256 amount
    );

    modifier onlyOwner {
        require(
            msg.sender == FUND_OWNER,
            'WiseFunder: invalid address'
        );
        _;
    }

    modifier fundingOpen {
        require(
            block.timestamp < TIMESTAMP,
            'WiseFunder: funding closed'
        );
        _;
    }

    modifier fundingClosed {
        require(
            block.timestamp >= TIMESTAMP,
            'WiseFunder: ongoing funding'
        );
        _;
    }

    constructor(
        address _wiseToken,
        address _fundOwner,
        uint256 _tokenAmount,
        uint256 _timeAmount
    ) {
        WISE_TOKEN = ITokenContract(
            _wiseToken
        );

        FUND_OWNER = _fundOwner;
        THRESHOLD = _tokenAmount;
        TIMESTAMP = block.timestamp + _timeAmount;

        emit FundraiserCreated(
            _fundOwner,
            _tokenAmount,
            _timeAmount
        );
    }

    function fundTokens(
        uint256 _tokenAmount
    )
        external
        fundingOpen
    {
        require(
            totalFunded < THRESHOLD,
            'WiseFunder: already funded'
        );

        _fundTokens(msg.sender, address(this),
            _adjustAmount(totalFunded, _tokenAmount,
                THRESHOLD
            )
        );
    }

    function _fundTokens(
        address _funderAddress,
        address _contractAddress,
        uint256 _funderAmount
    )
        private
    {
        WISE_TOKEN.transferFrom(
            _funderAddress,
            _contractAddress,
            _funderAmount
        );

        _traceBalanceMap(
            _funderAddress,
            _funderAmount
        );

        totalFunded =
        totalFunded + _funderAmount;

        emit FundsAdded(
            _funderAddress,
            _funderAmount
        );
    }

    function claimToken()
        external
        onlyOwner
    {
        require(
            totalFunded >= THRESHOLD,
            'WiseFunder: not funded'
        );

        require(
            hasClaimed == false,
            'WiseFunder: already claimed'
        );

        hasClaimed = true;

        WISE_TOKEN.transfer(
            FUND_OWNER,
            totalFunded
        );

        emit FundsClaimed(
            FUND_OWNER,
            totalFunded
        );
    }

    function refundTokens()
        external
        fundingClosed
    {
        require(
            totalFunded < THRESHOLD,
            'WiseFunder: funded'
        );

        _refundTokens(
            msg.sender,
            balanceMap[msg.sender]
        );
    }

    function _refundTokens(
        address _refundAddress,
        uint256 _refundAmount
    )
        private
    {
        balanceMap[_refundAddress] = 0;

        WISE_TOKEN.transfer(
            _refundAddress,
            _refundAmount
        );

        emit RefundIssued(
            _refundAddress,
            _refundAmount
        );
    }

    function _traceBalanceMap(
        address _funderAddress,
        uint256 _funderAmount
    )
        private
    {
        if (balanceMap[_funderAddress] == 0) {
            _fundersIncrease(
                _funderAddress,
                _funderAmount
            );
        }

        _balanceIncrease(
            _funderAddress,
            _funderAmount
        );
    }

    function _balanceIncrease(
        address _funderAddress,
        uint256 _funderAmount
    )
        private
    {
        balanceMap[_funderAddress] =
        balanceMap[_funderAddress] + _funderAmount;
    }

    function _fundersIncrease(
        address _funderAddress,
        uint256 _funderAmount
    )
        private
    {
        totalFunders =
        totalFunders + 1;

        fundersMap[totalFunders] = _funderAddress;

        emit NewFunder(
            totalFunders,
            _funderAddress,
            _funderAmount
        );
    }

    function _adjustAmount(
        uint256 _totalFunded,
        uint256 _tokenAmount,
        uint256 _thresholdAmount
    )
        private
        pure
        returns (uint256)
    {
        return _isOverflow(
            _tokenAmount,
            _totalFunded,
            _thresholdAmount
        )
            ? _thresholdAmount - _totalFunded
            : _tokenAmount;
    }

    function _isOverflow(
        uint256 _totalFunded,
        uint256 _tokenAmount,
        uint256 _thresholdValue
    )
        private
        pure
        returns (bool)
    {
        return _totalFunded + _tokenAmount > _thresholdValue;
    }
}

File 2 of 2: Interfaces.sol
// SPDX-License-Identifier: -- 💰️ --

pragma solidity ^0.8.0;

interface ITokenContract {

    function transfer(
        address _to,
        uint256 _value
    )
        external
        returns
    (
        bool success
    );

    function transferFrom(
        address _from,
        address _to,
        uint256 _value
    )
        external
        returns
    (
        bool success
    );
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_wiseToken","type":"address"},{"internalType":"address","name":"_fundOwner","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"uint256","name":"_timeAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fundOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"FundraiserCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"funderAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"FundsAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fundOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalFunded","type":"uint256"}],"name":"FundsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"funderIndex","type":"uint256"},{"indexed":true,"internalType":"address","name":"funderAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"NewFunder","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"refundAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RefundIssued","type":"event"},{"inputs":[],"name":"FUND_OWNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THRESHOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WISE_TOKEN","outputs":[{"internalType":"contract ITokenContract","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"fundTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"fundersMap","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalFunded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFunders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

61010060405234801561001157600080fd5b50604051610c8e380380610c8e833981016040819052610030916100c5565b6001600160601b0319606085811b821660805284901b1660a05260c08290526100598142610108565b60e05260408051838152602081018390526001600160a01b038516917f445822cea8f77ac9bbe0c9f03e2d1f5cdaf15c988dbad6850bb9e85f96acbf53910160405180910390a25050505061012e565b80516001600160a01b03811681146100c057600080fd5b919050565b600080600080608085870312156100db57600080fd5b6100e4856100a9565b93506100f2602086016100a9565b6040860151606090960151949790965092505050565b6000821982111561012957634e487b7160e01b600052601160045260246000fd5b500190565b60805160601c60a05160601c60c05160e051610ace6101c060003960008181610131015281816104a401526105960152600081816101660152818161029c015281816105140152818161060501526106820152600081816101e801528181610228015281816103ac015261043d01526000818160be0152818161037f015281816106e801526108050152610ace6000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806379a7cf4f1161007157806379a7cf4f14610188578063a5ec9a78146101b1578063ad044f49146101ba578063d250496c146101c3578063e910d673146101e3578063fff1939c1461020a57600080fd5b8063289e7630146100b957806340849c8e146100fd5780634451d89f1461011a5780637100750914610124578063749e480d1461012c578063785ffb3714610161575b600080fd5b6100e07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b60025461010a9060ff1681565b60405190151581526020016100f4565b61012261021d565b005b6101226104a2565b6101537f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100f4565b6101537f000000000000000000000000000000000000000000000000000000000000000081565b6100e0610196366004610a3a565b6004602052600090815260409020546001600160a01b031681565b61015360015481565b61015360005481565b6101536101d13660046109e8565b60036020526000908152604090205481565b6100e07f000000000000000000000000000000000000000000000000000000000000000081565b610122610218366004610a3a565b610594565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461029a5760405162461bcd60e51b815260206004820152601b60248201527f5769736546756e6465723a20696e76616c69642061646472657373000000000060448201526064015b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000060005410156103055760405162461bcd60e51b815260206004820152601660248201527515da5cd9519d5b99195c8e881b9bdd08199d5b99195960521b6044820152606401610291565b60025460ff16156103585760405162461bcd60e51b815260206004820152601b60248201527f5769736546756e6465723a20616c726561647920636c61696d656400000000006044820152606401610291565b6002805460ff1916600117905560005460405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb916103e8917f0000000000000000000000000000000000000000000000000000000000000000916004016001600160a01b03929092168252602082015260400190565b602060405180830381600087803b15801561040257600080fd5b505af1158015610416573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043a9190610a18565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167fa65a8b4f7f65a1063243d7f7e9e4da00ff767599acf21549ef2548a45d1695ae60005460405161049891815260200190565b60405180910390a2565b7f00000000000000000000000000000000000000000000000000000000000000004210156105125760405162461bcd60e51b815260206004820152601b60248201527f5769736546756e6465723a206f6e676f696e672066756e64696e6700000000006044820152606401610291565b7f0000000000000000000000000000000000000000000000000000000000000000600054106105785760405162461bcd60e51b815260206004820152601260248201527115da5cd9519d5b99195c8e88199d5b99195960721b6044820152606401610291565b3360008181526003602052604090205461059291906106ae565b565b7f000000000000000000000000000000000000000000000000000000000000000042106106035760405162461bcd60e51b815260206004820152601a60248201527f5769736546756e6465723a2066756e64696e6720636c6f7365640000000000006044820152606401610291565b7f0000000000000000000000000000000000000000000000000000000000000000600054106106745760405162461bcd60e51b815260206004820152601a60248201527f5769736546756e6465723a20616c72656164792066756e6465640000000000006044820152606401610291565b6106ab33306106a6600054857f00000000000000000000000000000000000000000000000000000000000000006107ae565b6107d7565b50565b6001600160a01b03828116600081815260036020526040808220919091555163a9059cbb60e01b81526004810191909152602481018390527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb90604401602060405180830381600087803b15801561072e57600080fd5b505af1158015610742573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107669190610a18565b50816001600160a01b03167fa171b6942063c6f2800ce40a780edce37baa2b618571b11eedd1e69e626e7d76826040516107a291815260200190565b60405180910390a25050565b60006107bb8385846108e0565b6107c557826107cf565b6107cf8483610a6b565b949350505050565b6040516323b872dd60e01b81526001600160a01b0384811660048301528381166024830152604482018390527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90606401602060405180830381600087803b15801561084957600080fd5b505af115801561085d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108819190610a18565b5061088c83826108f6565b8060005461089a9190610a53565b6000556040518181526001600160a01b038416907f8fe10ae416f22f5e5220b0018a6c1d4ff534d6aa3a471f2a20cb7747fe63e5b99060200160405180910390a2505050565b6000816108ed8486610a53565b11949350505050565b6001600160a01b03821660009081526003602052604090205461091d5761091d828261092b565b61092782826109a4565b5050565b6001805461093891610a53565b600181815560009182526004602090815260409283902080546001600160a01b0319166001600160a01b038716908117909155915492518481529192917f5159dee4280c1b0f9fe488abc404b98644454d05a218d36cbc9d6872a79baab7910160405180910390a35050565b6001600160a01b0382166000908152600360205260409020546109c8908290610a53565b6001600160a01b0390921660009081526003602052604090209190915550565b6000602082840312156109fa57600080fd5b81356001600160a01b0381168114610a1157600080fd5b9392505050565b600060208284031215610a2a57600080fd5b81518015158114610a1157600080fd5b600060208284031215610a4c57600080fd5b5035919050565b60008219821115610a6657610a66610a82565b500190565b600082821015610a7d57610a7d610a82565b500390565b634e487b7160e01b600052601160045260246000fdfea264697066735822122038c2f255a30264671c80315e4d87bcb38892dc5bf22ec990baf4546e1918f7f664736f6c6343000806003300000000000000000000000066a0f676479cee1d7373f3dc2e2952778bff5bd6000000000000000000000000fb5ce3078999c7346b9abde072bad104f8f6ef090000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000000000000000000000000000000000000000278d00

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806379a7cf4f1161007157806379a7cf4f14610188578063a5ec9a78146101b1578063ad044f49146101ba578063d250496c146101c3578063e910d673146101e3578063fff1939c1461020a57600080fd5b8063289e7630146100b957806340849c8e146100fd5780634451d89f1461011a5780637100750914610124578063749e480d1461012c578063785ffb3714610161575b600080fd5b6100e07f00000000000000000000000066a0f676479cee1d7373f3dc2e2952778bff5bd681565b6040516001600160a01b0390911681526020015b60405180910390f35b60025461010a9060ff1681565b60405190151581526020016100f4565b61012261021d565b005b6101226104a2565b6101537f000000000000000000000000000000000000000000000000000000006117f07681565b6040519081526020016100f4565b6101537f0000000000000000000000000000000000000000000034f086f3b33b6840000081565b6100e0610196366004610a3a565b6004602052600090815260409020546001600160a01b031681565b61015360015481565b61015360005481565b6101536101d13660046109e8565b60036020526000908152604090205481565b6100e07f000000000000000000000000fb5ce3078999c7346b9abde072bad104f8f6ef0981565b610122610218366004610a3a565b610594565b336001600160a01b037f000000000000000000000000fb5ce3078999c7346b9abde072bad104f8f6ef09161461029a5760405162461bcd60e51b815260206004820152601b60248201527f5769736546756e6465723a20696e76616c69642061646472657373000000000060448201526064015b60405180910390fd5b7f0000000000000000000000000000000000000000000034f086f3b33b6840000060005410156103055760405162461bcd60e51b815260206004820152601660248201527515da5cd9519d5b99195c8e881b9bdd08199d5b99195960521b6044820152606401610291565b60025460ff16156103585760405162461bcd60e51b815260206004820152601b60248201527f5769736546756e6465723a20616c726561647920636c61696d656400000000006044820152606401610291565b6002805460ff1916600117905560005460405163a9059cbb60e01b81526001600160a01b037f00000000000000000000000066a0f676479cee1d7373f3dc2e2952778bff5bd6169163a9059cbb916103e8917f000000000000000000000000fb5ce3078999c7346b9abde072bad104f8f6ef09916004016001600160a01b03929092168252602082015260400190565b602060405180830381600087803b15801561040257600080fd5b505af1158015610416573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043a9190610a18565b507f000000000000000000000000fb5ce3078999c7346b9abde072bad104f8f6ef096001600160a01b03167fa65a8b4f7f65a1063243d7f7e9e4da00ff767599acf21549ef2548a45d1695ae60005460405161049891815260200190565b60405180910390a2565b7f000000000000000000000000000000000000000000000000000000006117f0764210156105125760405162461bcd60e51b815260206004820152601b60248201527f5769736546756e6465723a206f6e676f696e672066756e64696e6700000000006044820152606401610291565b7f0000000000000000000000000000000000000000000034f086f3b33b68400000600054106105785760405162461bcd60e51b815260206004820152601260248201527115da5cd9519d5b99195c8e88199d5b99195960721b6044820152606401610291565b3360008181526003602052604090205461059291906106ae565b565b7f000000000000000000000000000000000000000000000000000000006117f07642106106035760405162461bcd60e51b815260206004820152601a60248201527f5769736546756e6465723a2066756e64696e6720636c6f7365640000000000006044820152606401610291565b7f0000000000000000000000000000000000000000000034f086f3b33b68400000600054106106745760405162461bcd60e51b815260206004820152601a60248201527f5769736546756e6465723a20616c72656164792066756e6465640000000000006044820152606401610291565b6106ab33306106a6600054857f0000000000000000000000000000000000000000000034f086f3b33b684000006107ae565b6107d7565b50565b6001600160a01b03828116600081815260036020526040808220919091555163a9059cbb60e01b81526004810191909152602481018390527f00000000000000000000000066a0f676479cee1d7373f3dc2e2952778bff5bd69091169063a9059cbb90604401602060405180830381600087803b15801561072e57600080fd5b505af1158015610742573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107669190610a18565b50816001600160a01b03167fa171b6942063c6f2800ce40a780edce37baa2b618571b11eedd1e69e626e7d76826040516107a291815260200190565b60405180910390a25050565b60006107bb8385846108e0565b6107c557826107cf565b6107cf8483610a6b565b949350505050565b6040516323b872dd60e01b81526001600160a01b0384811660048301528381166024830152604482018390527f00000000000000000000000066a0f676479cee1d7373f3dc2e2952778bff5bd616906323b872dd90606401602060405180830381600087803b15801561084957600080fd5b505af115801561085d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108819190610a18565b5061088c83826108f6565b8060005461089a9190610a53565b6000556040518181526001600160a01b038416907f8fe10ae416f22f5e5220b0018a6c1d4ff534d6aa3a471f2a20cb7747fe63e5b99060200160405180910390a2505050565b6000816108ed8486610a53565b11949350505050565b6001600160a01b03821660009081526003602052604090205461091d5761091d828261092b565b61092782826109a4565b5050565b6001805461093891610a53565b600181815560009182526004602090815260409283902080546001600160a01b0319166001600160a01b038716908117909155915492518481529192917f5159dee4280c1b0f9fe488abc404b98644454d05a218d36cbc9d6872a79baab7910160405180910390a35050565b6001600160a01b0382166000908152600360205260409020546109c8908290610a53565b6001600160a01b0390921660009081526003602052604090209190915550565b6000602082840312156109fa57600080fd5b81356001600160a01b0381168114610a1157600080fd5b9392505050565b600060208284031215610a2a57600080fd5b81518015158114610a1157600080fd5b600060208284031215610a4c57600080fd5b5035919050565b60008219821115610a6657610a66610a82565b500190565b600082821015610a7d57610a7d610a82565b500390565b634e487b7160e01b600052601160045260246000fdfea264697066735822122038c2f255a30264671c80315e4d87bcb38892dc5bf22ec990baf4546e1918f7f664736f6c63430008060033

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

00000000000000000000000066a0f676479cee1d7373f3dc2e2952778bff5bd6000000000000000000000000fb5ce3078999c7346b9abde072bad104f8f6ef090000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000000000000000000000000000000000000000278d00

-----Decoded View---------------
Arg [0] : _wiseToken (address): 0x66a0f676479Cee1d7373f3DC2e2952778BfF5bd6
Arg [1] : _fundOwner (address): 0xfb5cE3078999C7346B9Abde072BaD104F8F6ef09
Arg [2] : _tokenAmount (uint256): 250000000000000000000000
Arg [3] : _timeAmount (uint256): 2592000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000066a0f676479cee1d7373f3dc2e2952778bff5bd6
Arg [1] : 000000000000000000000000fb5ce3078999c7346b9abde072bad104f8f6ef09
Arg [2] : 0000000000000000000000000000000000000000000034f086f3b33b68400000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000278d00


Deployed Bytecode Sourcemap

96:5443:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123:42;;;;;;;;-1:-1:-1;;;;;936:32:2;;;918:51;;906:2;891:18;123:42:1;;;;;;;;360:22;;;;;;;;;;;;1804:14:2;;1797:22;1779:41;;1767:2;1752:18;360:22:1;1734:92:2;2848:479:1;;;:::i;:::-;;3333:266;;;:::i;253:34::-;;;;;;;;4682:25:2;;;4670:2;4655:18;253:34:1;4637:76:2;213:34:1;;;;;440:45;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;440:45:1;;;326:27;;;;;;294:26;;;;;;389:45;;;;;;:::i;:::-;;;;;;;;;;;;;;172:35;;;;;1952:362;;;;;;:::i;:::-;;:::i;2848:479::-;1083:10;-1:-1:-1;;;;;1097:10:1;1083:24;;1062:98;;;;-1:-1:-1;;;1062:98:1;;2618:2:2;1062:98:1;;;2600:21:2;2657:2;2637:18;;;2630:30;2696:29;2676:18;;;2669:57;2743:18;;1062:98:1;;;;;;;;;2955:9:::1;2940:11;;:24;;2919:93;;;::::0;-1:-1:-1;;;2919:93:1;;4031:2:2;2919:93:1::1;::::0;::::1;4013:21:2::0;4070:2;4050:18;;;4043:30;-1:-1:-1;;;4089:18:2;;;4082:52;4151:18;;2919:93:1::1;4003:172:2::0;2919:93:1::1;3044:10;::::0;::::1;;:19;3023:93;;;::::0;-1:-1:-1;;;3023:93:1;;4382:2:2;3023:93:1::1;::::0;::::1;4364:21:2::0;4421:2;4401:18;;;4394:30;4460:29;4440:18;;;4433:57;4507:18;;3023:93:1::1;4354:177:2::0;3023:93:1::1;3127:10;:17:::0;;-1:-1:-1;;3127:17:1::1;3140:4;3127:17;::::0;;:10:::1;3212:11:::0;3155:78:::1;::::0;-1:-1:-1;;;3155:78:1;;-1:-1:-1;;;;;3155:10:1::1;:19;::::0;::::1;::::0;:78:::1;::::0;3188:10:::1;::::0;3155:78:::1;;-1:-1:-1::0;;;;;1552:32:2;;;;1534:51;;1616:2;1601:18;;1594:34;1522:2;1507:18;;1489:145;3155:78:1::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3275:10;-1:-1:-1::0;;;;;3249:71:1::1;;3299:11;;3249:71;;;;4682:25:2::0;;4670:2;4655:18;;4637:76;3249:71:1::1;;;;;;;;2848:479::o:0;3333:266::-;1412:9;1393:15;:28;;1372:102;;;;-1:-1:-1;;;1372:102:1;;2262:2:2;1372:102:1;;;2244:21:2;2301:2;2281:18;;;2274:30;2340:29;2320:18;;;2313:57;2387:18;;1372:102:1;2234:177:2;1372:102:1;3445:9:::1;3431:11;;:23;3410:88;;;::::0;-1:-1:-1;;;3410:88:1;;2974:2:2;3410:88:1::1;::::0;::::1;2956:21:2::0;3013:2;2993:18;;;2986:30;-1:-1:-1;;;3032:18:2;;;3025:48;3090:18;;3410:88:1::1;2946:168:2::0;3410:88:1::1;3536:10;3560:22;::::0;;;:10:::1;:22;::::0;;;;;3509:83:::1;::::0;3536:10;3509:13:::1;:83::i;:::-;3333:266::o:0;1952:362::-;1254:9;1236:15;:27;1215:100;;;;-1:-1:-1;;;1215:100:1;;3676:2:2;1215:100:1;;;3658:21:2;3715:2;3695:18;;;3688:30;3754:28;3734:18;;;3727:56;3800:18;;1215:100:1;3648:176:2;1215:100:1;2094:9:::1;2080:11;;:23;2059:96;;;::::0;-1:-1:-1;;;2059:96:1;;3321:2:2;2059:96:1::1;::::0;::::1;3303:21:2::0;3360:2;3340:18;;;3333:30;3399:28;3379:18;;;3372:56;3445:18;;2059:96:1::1;3293:176:2::0;2059:96:1::1;2166:141;2178:10;2198:4;2217:80;2231:11;;2244:12;2274:9;2217:13;:80::i;:::-;2166:11;:141::i;:::-;1952:362:::0;:::o;3605:347::-;-1:-1:-1;;;;;3727:26:1;;;3756:1;3727:26;;;:10;:26;;;;;;:30;;;;3768:84;-1:-1:-1;;;3768:84:1;;;;;1534:51:2;;;;1601:18;;;1594:34;;;3768:10:1;:19;;;;;;1507:18:2;;3768:84:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3894:14;-1:-1:-1;;;;;3868:77:1;;3922:13;3868:77;;;;4682:25:2;;4670:2;4655:18;;4637:76;3868:77:1;;;;;;;;3605:347;;:::o;4904:382::-;5073:7;5103:103;5128:12;5154;5180:16;5103:11;:103::i;:::-;:176;;5267:12;5103:176;;;5221:31;5240:12;5221:16;:31;:::i;:::-;5096:183;4904:382;-1:-1:-1;;;;4904:382:1:o;2320:522::-;2474:118;;-1:-1:-1;;;2474:118:1;;-1:-1:-1;;;;;1238:15:2;;;2474:118:1;;;1220:34:2;1290:15;;;1270:18;;;1263:43;1322:18;;;1315:34;;;2474:10:1;:23;;;;1155:18:2;;2474:118:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2603:81;2633:14;2661:13;2603:16;:81::i;:::-;2731:13;2717:11;;:27;;;;:::i;:::-;2695:11;:49;2760:75;;4682:25:2;;;-1:-1:-1;;;;;2760:75:1;;;;;4670:2:2;4655:18;2760:75:1;;;;;;;2320:522;;;:::o;5292:245::-;5458:4;5515:15;5485:27;5500:12;5485;:27;:::i;:::-;:45;;5292:245;-1:-1:-1;;;;5292:245:1:o;3958:378::-;-1:-1:-1;;;;;4087:26:1;;;;;;:10;:26;;;;;;4083:155;;4134:93;4168:14;4200:13;4134:16;:93::i;:::-;4248:81;4278:14;4306:13;4248:16;:81::i;:::-;3958:378;;:::o;4559:339::-;4707:12;;;:16;;;:::i;:::-;4684:12;:39;;;4734:24;;;;:10;:24;;;;;;;;;:41;;-1:-1:-1;;;;;;4734:41:1;-1:-1:-1;;;;;4734:41:1;;;;;;;;4814:12;;4791:100;;4682:25:2;;;4734:41:1;;4814:12;4791:100;;4655:18:2;4791:100:1;;;;;;;4559:339;;:::o;4342:211::-;-1:-1:-1;;;;;4504:26:1;;;;;;:10;:26;;;;;;:42;;4533:13;;4504:42;:::i;:::-;-1:-1:-1;;;;;4467:26:1;;;;;;;:10;:26;;;;;:79;;;;-1:-1:-1;4342:211:1:o;14:286:2:-;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;142:1;139;132:12;94:2;168:23;;-1:-1:-1;;;;;220:31:2;;210:42;;200:2;;266:1;263;256:12;200:2;289:5;84:216;-1:-1:-1;;;84:216:2:o;305:277::-;372:6;425:2;413:9;404:7;400:23;396:32;393:2;;;441:1;438;431:12;393:2;473:9;467:16;526:5;519:13;512:21;505:5;502:32;492:2;;548:1;545;538:12;587:180;646:6;699:2;687:9;678:7;674:23;670:32;667:2;;;715:1;712;705:12;667:2;-1:-1:-1;738:23:2;;657:110;-1:-1:-1;657:110:2:o;4718:128::-;4758:3;4789:1;4785:6;4782:1;4779:13;4776:2;;;4795:18;;:::i;:::-;-1:-1:-1;4831:9:2;;4766:80::o;4851:125::-;4891:4;4919:1;4916;4913:8;4910:2;;;4924:18;;:::i;:::-;-1:-1:-1;4961:9:2;;4900:76::o;4981:127::-;5042:10;5037:3;5033:20;5030:1;5023:31;5073:4;5070:1;5063:15;5097:4;5094:1;5087:15

Swarm Source

ipfs://38c2f255a30264671c80315e4d87bcb38892dc5bf22ec990baf4546e1918f7f6

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.