ETH Price: $3,398.15 (+2.09%)

Contract

0xbd9f694deA17F7F6466d64655EbC888e0EE37ff7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Vasa Power Switc...105526822020-07-29 5:46:331613 days ago1596001593IN
0xbd9f694d...e0EE37ff7
0 ETH0.0022765550
Vasa Power Switc...104534012020-07-13 20:33:131629 days ago1594672393IN
0xbd9f694d...e0EE37ff7
0 ETH0.0057325823
Vasa Power Switc...104532852020-07-13 20:08:301629 days ago1594670910IN
0xbd9f694d...e0EE37ff7
0 ETH0.0057325823
Vasa Power Switc...104519182020-07-13 15:02:351629 days ago1594652555IN
0xbd9f694d...e0EE37ff7
0 ETH0.0173357574
Vasa Power Switc...104484862020-07-13 2:24:101629 days ago1594607050IN
0xbd9f694d...e0EE37ff7
0 ETH0.0014567436
Vasa Power Switc...104484472020-07-13 2:15:271629 days ago1594606527IN
0xbd9f694d...e0EE37ff7
0 ETH0.0081102735
Vasa Power Switc...104472942020-07-12 22:02:221630 days ago1594591342IN
0xbd9f694d...e0EE37ff7
0 ETH0.0043288619.97427456
Vasa Power Switc...104471082020-07-12 21:21:291630 days ago1594588889IN
0xbd9f694d...e0EE37ff7
0 ETH0.0043344420
Vasa Power Switc...104470562020-07-12 21:09:271630 days ago1594588167IN
0xbd9f694d...e0EE37ff7
0 ETH0.0071833831
Vasa Power Switc...104468762020-07-12 20:27:021630 days ago1594585622IN
0xbd9f694d...e0EE37ff7
0 ETH0.0039425417.01410788
Vasa Power Switc...104468732020-07-12 20:26:371630 days ago1594585597IN
0xbd9f694d...e0EE37ff7
0 ETH0.0041940717
Vasa Power Switc...104468722020-07-12 20:26:201630 days ago1594585580IN
0xbd9f694d...e0EE37ff7
0 ETH0.000687917
Vasa Power Switc...104468722020-07-12 20:26:201630 days ago1594585580IN
0xbd9f694d...e0EE37ff7
0 ETH0.000687917
Vasa Power Switc...104468192020-07-12 20:14:481630 days ago1594584888IN
0xbd9f694d...e0EE37ff7
0 ETH0.000687917
Vasa Power Switc...104468192020-07-12 20:14:481630 days ago1594584888IN
0xbd9f694d...e0EE37ff7
0 ETH0.000687917
Vasa Power Switc...104468192020-07-12 20:14:481630 days ago1594584888IN
0xbd9f694d...e0EE37ff7
0 ETH0.000687917
Vasa Power Switc...104468192020-07-12 20:14:481630 days ago1594584888IN
0xbd9f694d...e0EE37ff7
0 ETH0.0039392717
Transfer104468092020-07-12 20:12:091630 days ago1594584729IN
0xbd9f694d...e0EE37ff7
0 ETH0.000403219.2
Transfer104468042020-07-12 20:11:201630 days ago1594584680IN
0xbd9f694d...e0EE37ff7
0 ETH0.0004220
Transfer104467982020-07-12 20:10:081630 days ago1594584608IN
0xbd9f694d...e0EE37ff7
0 ETH0.0004220
Vasa Power Switc...104467872020-07-12 20:07:201630 days ago1594584440IN
0xbd9f694d...e0EE37ff7
0 ETH0.0041177119
Vasa Power Switc...104467382020-07-12 19:53:531630 days ago1594583633IN
0xbd9f694d...e0EE37ff7
0 ETH0.0069516630
Vasa Power Switc...104467152020-07-12 19:49:361630 days ago1594583376IN
0xbd9f694d...e0EE37ff7
0 ETH0.0043563718.8
Vasa Power Switc...104466432020-07-12 19:31:251630 days ago1594582285IN
0xbd9f694d...e0EE37ff7
0 ETH0.0036842717
Vasa Power Switc...104459212020-07-12 16:50:491630 days ago1594572649IN
0xbd9f694d...e0EE37ff7
0 ETH0.006935132
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:
VasaPowerSwitch

Compiler Version
v0.6.10+commit.00c0fcaf

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-07-08
*/

pragma solidity ^0.6.0;

contract VasaPowerSwitch {

    uint256 private _totalMintable;
    uint256[] private _timeWindows;
    uint256[][] private _multipliers;

    address private _proxy;

    address private _oldTokenAddress;

    uint256 private _startBlock;

    constructor(address proxyAddress, address oldTokenAddress, uint256 startBlock, uint256 totalMintable, uint256[] memory timeWindows, uint256[] memory multipliers, uint256[] memory dividers) public {
        _startBlock = startBlock;
        _proxy = proxyAddress;
        _oldTokenAddress = oldTokenAddress;
        _totalMintable = totalMintable;
        _timeWindows = timeWindows;
        assert(timeWindows.length == multipliers.length && multipliers.length == dividers.length);
        for(uint256 i = 0; i < multipliers.length; i++) {
            _multipliers.push([multipliers[i], dividers[i]]);
        }
    }

    function totalMintable() public view returns(uint256) {
        return block.number > _timeWindows[_timeWindows.length - 1] ? 0 :_totalMintable;
    }

    function startBlock() public view returns(uint256) {
        return _startBlock;
    }

    function proxy() public view returns(address) {
        return _proxy;
    }

    function setProxy(address newProxy) public {
        require(IMVDFunctionalitiesManager(IMVDProxy(_proxy).getMVDFunctionalitiesManagerAddress()).isAuthorizedFunctionality(msg.sender), "Unauthorized Action!");
        _proxy = newProxy;
    }

    function calculateMintable(uint256 amount) public view returns(uint256) {
        if(amount == 0 || block.number > _timeWindows[_timeWindows.length - 1]) {
            return 0;
        }
        uint256 i = 0;
        for(i; i < _timeWindows.length; i++) {
            if(block.number <= _timeWindows[i]) {
                break;
            }
        }
        uint256 mintable = i >= _timeWindows.length ? 0 : ((amount * _multipliers[i][0]) / _multipliers[i][1]);
        return mintable > _totalMintable ? _totalMintable : mintable;
    }

    function length() public view returns(uint256) {
        return _timeWindows.length;
    }

    function timeWindow(uint256 i) public view returns(uint256, uint256, uint256) {
        return (_timeWindows[i], _multipliers[i][0], _multipliers[i][1]);
    }

    function getContextInfo(uint256 amount) public view returns (uint256 timeWindow, uint256 multiplier, uint256 divider, uint256 mintable) {
        if(amount == 0 || block.number > _timeWindows[_timeWindows.length - 1]) {
            return (0, 0, 0, 0);
        }
        uint256 i = 0;
        for(i; i < _timeWindows.length; i++) {
            if(block.number <= _timeWindows[i]) {
                break;
            }
        }
        if(i < _timeWindows.length) {
            timeWindow = _timeWindows[i];
            multiplier = _multipliers[i][0];
            divider = _multipliers[i][1];
        }
        mintable = i >= _timeWindows.length ? 0 : ((amount * multiplier) / divider);
        mintable = mintable > _totalMintable ? _totalMintable : mintable;
    }

    function vasaPowerSwitch(uint256 senderBalanceOf) public {
        require(block.number >= _startBlock, "Switch still not started!");

        IERC20 oldToken = IERC20(_oldTokenAddress);

        uint256 mintableAmount = calculateMintable(senderBalanceOf);
        require(mintableAmount > 0, "Zero tokens to mint!");

        oldToken.transferFrom(msg.sender, address(this), senderBalanceOf);
        oldToken.burn(senderBalanceOf);
        _totalMintable -= senderBalanceOf;
        IMVDProxy(_proxy).submit("mintAndTransfer", abi.encode(address(0), 0, mintableAmount, msg.sender));
    }
}

interface IMVDProxy {
    function getMVDFunctionalitiesManagerAddress() external view returns(address);
    function submit(string calldata codeName, bytes calldata data) external payable returns(bytes memory returnData);
}

interface IMVDFunctionalitiesManager {
    function isAuthorizedFunctionality(address functionality) external view returns(bool);
}

interface IERC20 {
    function balanceOf(address account) external view returns (uint256);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    function burn(uint256 amount) external;
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"},{"internalType":"address","name":"oldTokenAddress","type":"address"},{"internalType":"uint256","name":"startBlock","type":"uint256"},{"internalType":"uint256","name":"totalMintable","type":"uint256"},{"internalType":"uint256[]","name":"timeWindows","type":"uint256[]"},{"internalType":"uint256[]","name":"multipliers","type":"uint256[]"},{"internalType":"uint256[]","name":"dividers","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateMintable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getContextInfo","outputs":[{"internalType":"uint256","name":"timeWindow","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"uint256","name":"divider","type":"uint256"},{"internalType":"uint256","name":"mintable","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"length","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newProxy","type":"address"}],"name":"setProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"timeWindow","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"senderBalanceOf","type":"uint256"}],"name":"vasaPowerSwitch","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162000d8038038062000d80833981810160405260e08110156200003757600080fd5b81516020830151604080850151606086015160808701805193519597949692959194919392820192846401000000008211156200007357600080fd5b9083019060208201858111156200008957600080fd5b8251866020820283011164010000000082111715620000a757600080fd5b82525081516020918201928201910280838360005b83811015620000d6578181015183820152602001620000bc565b50505050905001604052602001805160405193929190846401000000008211156200010057600080fd5b9083019060208201858111156200011657600080fd5b82518660208202830111640100000000821117156200013457600080fd5b82525081516020918201928201910280838360005b838110156200016357818101518382015260200162000149565b50505050905001604052602001805160405193929190846401000000008211156200018d57600080fd5b908301906020820185811115620001a357600080fd5b8251866020820283011164010000000082111715620001c157600080fd5b82525081516020918201928201910280838360005b83811015620001f0578181015183820152602001620001d6565b5050505091909101604052505050600586905550600380546001600160a01b03808a166001600160a01b0319928316179092556004805492891692909116919091179055600084905582516200024e906001906020860190620002ef565b508151835114801562000262575080518251145b6200026957fe5b60005b8251811015620002e157600260405180604001604052808584815181106200029057fe5b60200260200101518152602001848481518110620002aa57fe5b602090810291909101810151909152825460018101845560009384529220620002d79201906002620002ef565b506001016200026c565b50505050505050506200035f565b8280548282559060005260206000209081019282156200032d579160200282015b828111156200032d57825182559160200191906001019062000310565b506200033b9291506200033f565b5090565b6200035c91905b808211156200033b576000815560010162000346565b90565b610a11806200036f6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80634f7e3b38116100665780634f7e3b381461011a57806397107d6d14610139578063adb889961461015f578063ec55688914610167578063fe7f12231461018b57610093565b80631f7b6d32146100985780634853b194146100b257806348b69103146100f557806348cd4cb114610112575b600080fd5b6100a06101c6565b60408051918252519081900360200190f35b6100cf600480360360208110156100c857600080fd5b50356101cc565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6100a06004803603602081101561010b57600080fd5b503561030a565b6100a0610413565b6101376004803603602081101561013057600080fd5b5035610419565b005b6101376004803603602081101561014f57600080fd5b50356001600160a01b03166107b7565b6100a061090f565b61016f610946565b604080516001600160a01b039092168252519081900360200190f35b6101a8600480360360208110156101a157600080fd5b5035610955565b60408051938452602084019290925282820152519081900360600190f35b60015490565b60008080808415806101f957506001805460001981019081106101eb57fe5b906000526020600020015443115b1561020f57506000925082915081905080610303565b60005b600154811015610247576001818154811061022957fe5b9060005260206000200154431161023f57610247565b600101610212565b6001548110156102cc576001818154811061025e57fe5b906000526020600020015494506002818154811061027857fe5b9060005260206000200160008154811061028e57fe5b90600052602060002001549350600281815481106102a857fe5b906000526020600020016001815481106102be57fe5b906000526020600020015492505b6001548110156102e75782848702816102e157fe5b046102ea565b60005b915060005482116102fb57816102ff565b6000545b9150505b9193509193565b6000811580610334575060018054600019810190811061032657fe5b906000526020600020015443115b156103415750600061040e565b60005b600154811015610379576001818154811061035b57fe5b9060005260206000200154431161037157610379565b600101610344565b6001546000908210156103f1576002828154811061039357fe5b906000526020600020016001815481106103a957fe5b9060005260206000200154600283815481106103c157fe5b906000526020600020016000815481106103d757fe5b90600052602060002001548502816103eb57fe5b046103f4565b60005b905060005481116104055780610409565b6000545b925050505b919050565b60055490565b600554431015610470576040805162461bcd60e51b815260206004820152601960248201527f537769746368207374696c6c206e6f7420737461727465642100000000000000604482015290519081900360640190fd5b6004546001600160a01b031660006104878361030a565b9050600081116104d5576040805162461bcd60e51b81526020600482015260146024820152735a65726f20746f6b656e7320746f206d696e742160601b604482015290519081900360640190fd5b604080516323b872dd60e01b81523360048201523060248201526044810185905290516001600160a01b038416916323b872dd9160648083019260209291908290030181600087803b15801561052a57600080fd5b505af115801561053e573d6000803e3d6000fd5b505050506040513d602081101561055457600080fd5b505060408051630852cd8d60e31b81526004810185905290516001600160a01b038416916342966c6891602480830192600092919082900301818387803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b5050600080548690038155600354604080516020808201859052818301859052606082018890523360808084019190915283518084038201815260a08401808652639e813f1f60e01b905260a48401948552600f60e48501526e36b4b73a20b7322a3930b739b332b960891b61010485015260c48401918252805161012485015280516001600160a01b039096169850639e813f1f97509593948594919361014401928701918190849084905b8381101561067757818101518382015260200161065f565b50505050905090810190601f1680156106a45780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b1580156106c457600080fd5b505af11580156106d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561070157600080fd5b810190808051604051939291908464010000000082111561072157600080fd5b90830190602082018581111561073657600080fd5b825164010000000081118282018810171561075057600080fd5b82525081516020918201929091019080838360005b8381101561077d578181015183820152602001610765565b50505050905090810190601f1680156107aa5780820380516001836020036101000a031916815260200191505b5060405250505050505050565b600360009054906101000a90046001600160a01b03166001600160a01b0316636701586a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561080557600080fd5b505afa158015610819573d6000803e3d6000fd5b505050506040513d602081101561082f57600080fd5b5051604080516318c8e99960e11b815233600482015290516001600160a01b0390921691633191d33291602480820192602092909190829003018186803b15801561087957600080fd5b505afa15801561088d573d6000803e3d6000fd5b505050506040513d60208110156108a357600080fd5b50516108ed576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001805460009190600019810190811061092557fe5b9060005260206000200154431161093e57600054610941565b60005b905090565b6003546001600160a01b031690565b60008060006001848154811061096757fe5b90600052602060002001546002858154811061097f57fe5b9060005260206000200160008154811061099557fe5b9060005260206000200154600286815481106109ad57fe5b906000526020600020016001815481106109c357fe5b9060005260206000200154925092509250919390925056fea2646970667358221220f018a3790f8b3ac8c861c951f4579227683e19b8cf030af95e3770c5777bbc0e64736f6c634300060a0033000000000000000000000000b9f1ed9a6dcbf12b0a288e6a7e7d77a3a7272ddc000000000000000000000000d6f0bb2a45110f819e908a915237d652ac7c5aa800000000000000000000000000000000000000000000000000000000009f2e000000000000000000000000000000000000000000000273c6afb10cd5580a000000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000009f469c00000000000000000000000000000000000000000000000000000000009f77d400000000000000000000000000000000000000000000000000000000009ff2e00000000000000000000000000000000000000000000000000000000000a4464c0000000000000000000000000000000000000000000000000000000000a4529a0000000000000000000000000000000000000000000000000000000000a45ee80000000000000000000000000000000000000000000000000000000000a46b360000000000000000000000000000000000000000000000000000000000a477840000000000000000000000000000000000000000000000000000000000a483d20000000000000000000000000000000000000000000000000000000000a490200000000000000000000000000000000000000000000000000000000000a49c6e0000000000000000000000000000000000000000000000000000000000a4a8bc0000000000000000000000000000000000000000000000000000000000a4b50a0000000000000000000000000000000000000000000000000000000000a4c1580000000000000000000000000000000000000000000000000000000000a4cda60000000000000000000000000000000000000000000000000000000000a4d9f40000000000000000000000000000000000000000000000000000000000a4e6420000000000000000000000000000000000000000000000000000000000a4f2900000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000000000f4240

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c80634f7e3b38116100665780634f7e3b381461011a57806397107d6d14610139578063adb889961461015f578063ec55688914610167578063fe7f12231461018b57610093565b80631f7b6d32146100985780634853b194146100b257806348b69103146100f557806348cd4cb114610112575b600080fd5b6100a06101c6565b60408051918252519081900360200190f35b6100cf600480360360208110156100c857600080fd5b50356101cc565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6100a06004803603602081101561010b57600080fd5b503561030a565b6100a0610413565b6101376004803603602081101561013057600080fd5b5035610419565b005b6101376004803603602081101561014f57600080fd5b50356001600160a01b03166107b7565b6100a061090f565b61016f610946565b604080516001600160a01b039092168252519081900360200190f35b6101a8600480360360208110156101a157600080fd5b5035610955565b60408051938452602084019290925282820152519081900360600190f35b60015490565b60008080808415806101f957506001805460001981019081106101eb57fe5b906000526020600020015443115b1561020f57506000925082915081905080610303565b60005b600154811015610247576001818154811061022957fe5b9060005260206000200154431161023f57610247565b600101610212565b6001548110156102cc576001818154811061025e57fe5b906000526020600020015494506002818154811061027857fe5b9060005260206000200160008154811061028e57fe5b90600052602060002001549350600281815481106102a857fe5b906000526020600020016001815481106102be57fe5b906000526020600020015492505b6001548110156102e75782848702816102e157fe5b046102ea565b60005b915060005482116102fb57816102ff565b6000545b9150505b9193509193565b6000811580610334575060018054600019810190811061032657fe5b906000526020600020015443115b156103415750600061040e565b60005b600154811015610379576001818154811061035b57fe5b9060005260206000200154431161037157610379565b600101610344565b6001546000908210156103f1576002828154811061039357fe5b906000526020600020016001815481106103a957fe5b9060005260206000200154600283815481106103c157fe5b906000526020600020016000815481106103d757fe5b90600052602060002001548502816103eb57fe5b046103f4565b60005b905060005481116104055780610409565b6000545b925050505b919050565b60055490565b600554431015610470576040805162461bcd60e51b815260206004820152601960248201527f537769746368207374696c6c206e6f7420737461727465642100000000000000604482015290519081900360640190fd5b6004546001600160a01b031660006104878361030a565b9050600081116104d5576040805162461bcd60e51b81526020600482015260146024820152735a65726f20746f6b656e7320746f206d696e742160601b604482015290519081900360640190fd5b604080516323b872dd60e01b81523360048201523060248201526044810185905290516001600160a01b038416916323b872dd9160648083019260209291908290030181600087803b15801561052a57600080fd5b505af115801561053e573d6000803e3d6000fd5b505050506040513d602081101561055457600080fd5b505060408051630852cd8d60e31b81526004810185905290516001600160a01b038416916342966c6891602480830192600092919082900301818387803b15801561059e57600080fd5b505af11580156105b2573d6000803e3d6000fd5b5050600080548690038155600354604080516020808201859052818301859052606082018890523360808084019190915283518084038201815260a08401808652639e813f1f60e01b905260a48401948552600f60e48501526e36b4b73a20b7322a3930b739b332b960891b61010485015260c48401918252805161012485015280516001600160a01b039096169850639e813f1f97509593948594919361014401928701918190849084905b8381101561067757818101518382015260200161065f565b50505050905090810190601f1680156106a45780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b1580156106c457600080fd5b505af11580156106d8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561070157600080fd5b810190808051604051939291908464010000000082111561072157600080fd5b90830190602082018581111561073657600080fd5b825164010000000081118282018810171561075057600080fd5b82525081516020918201929091019080838360005b8381101561077d578181015183820152602001610765565b50505050905090810190601f1680156107aa5780820380516001836020036101000a031916815260200191505b5060405250505050505050565b600360009054906101000a90046001600160a01b03166001600160a01b0316636701586a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561080557600080fd5b505afa158015610819573d6000803e3d6000fd5b505050506040513d602081101561082f57600080fd5b5051604080516318c8e99960e11b815233600482015290516001600160a01b0390921691633191d33291602480820192602092909190829003018186803b15801561087957600080fd5b505afa15801561088d573d6000803e3d6000fd5b505050506040513d60208110156108a357600080fd5b50516108ed576040805162461bcd60e51b8152602060048201526014602482015273556e617574686f72697a656420416374696f6e2160601b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001805460009190600019810190811061092557fe5b9060005260206000200154431161093e57600054610941565b60005b905090565b6003546001600160a01b031690565b60008060006001848154811061096757fe5b90600052602060002001546002858154811061097f57fe5b9060005260206000200160008154811061099557fe5b9060005260206000200154600286815481106109ad57fe5b906000526020600020016001815481106109c357fe5b9060005260206000200154925092509250919390925056fea2646970667358221220f018a3790f8b3ac8c861c951f4579227683e19b8cf030af95e3770c5777bbc0e64736f6c634300060a0033

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

000000000000000000000000b9f1ed9a6dcbf12b0a288e6a7e7d77a3a7272ddc000000000000000000000000d6f0bb2a45110f819e908a915237d652ac7c5aa800000000000000000000000000000000000000000000000000000000009f2e000000000000000000000000000000000000000000000273c6afb10cd5580a000000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000009f469c00000000000000000000000000000000000000000000000000000000009f77d400000000000000000000000000000000000000000000000000000000009ff2e00000000000000000000000000000000000000000000000000000000000a4464c0000000000000000000000000000000000000000000000000000000000a4529a0000000000000000000000000000000000000000000000000000000000a45ee80000000000000000000000000000000000000000000000000000000000a46b360000000000000000000000000000000000000000000000000000000000a477840000000000000000000000000000000000000000000000000000000000a483d20000000000000000000000000000000000000000000000000000000000a490200000000000000000000000000000000000000000000000000000000000a49c6e0000000000000000000000000000000000000000000000000000000000a4a8bc0000000000000000000000000000000000000000000000000000000000a4b50a0000000000000000000000000000000000000000000000000000000000a4c1580000000000000000000000000000000000000000000000000000000000a4cda60000000000000000000000000000000000000000000000000000000000a4d9f40000000000000000000000000000000000000000000000000000000000a4e6420000000000000000000000000000000000000000000000000000000000a4f2900000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000000000f4240

-----Decoded View---------------
Arg [0] : proxyAddress (address): 0xb9f1ed9a6DcbF12B0a288e6A7E7d77A3A7272ddc
Arg [1] : oldTokenAddress (address): 0xD6F0Bb2A45110f819e908a915237D652Ac7c5AA8
Arg [2] : startBlock (uint256): 10432000
Arg [3] : totalMintable (uint256): 2964588900000000000000000
Arg [4] : timeWindows (uint256[]): 10438300,10450900,10482400,10765900,10769050,10772200,10775350,10778500,10781650,10784800,10787950,10791100,10794250,10797400,10800550,10803700,10806850,10810000
Arg [5] : multipliers (uint256[]): 13,12,11,1,9,8,7,6,5,4,3,2,1,1,1,1,1,1
Arg [6] : dividers (uint256[]): 10,10,10,1,10,10,10,10,10,10,10,10,10,100,1000,10000,100000,1000000

-----Encoded View---------------
64 Constructor Arguments found :
Arg [0] : 000000000000000000000000b9f1ed9a6dcbf12b0a288e6a7e7d77a3a7272ddc
Arg [1] : 000000000000000000000000d6f0bb2a45110f819e908a915237d652ac7c5aa8
Arg [2] : 00000000000000000000000000000000000000000000000000000000009f2e00
Arg [3] : 0000000000000000000000000000000000000000000273c6afb10cd5580a0000
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000340
Arg [6] : 00000000000000000000000000000000000000000000000000000000000005a0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [8] : 00000000000000000000000000000000000000000000000000000000009f469c
Arg [9] : 00000000000000000000000000000000000000000000000000000000009f77d4
Arg [10] : 00000000000000000000000000000000000000000000000000000000009ff2e0
Arg [11] : 0000000000000000000000000000000000000000000000000000000000a4464c
Arg [12] : 0000000000000000000000000000000000000000000000000000000000a4529a
Arg [13] : 0000000000000000000000000000000000000000000000000000000000a45ee8
Arg [14] : 0000000000000000000000000000000000000000000000000000000000a46b36
Arg [15] : 0000000000000000000000000000000000000000000000000000000000a47784
Arg [16] : 0000000000000000000000000000000000000000000000000000000000a483d2
Arg [17] : 0000000000000000000000000000000000000000000000000000000000a49020
Arg [18] : 0000000000000000000000000000000000000000000000000000000000a49c6e
Arg [19] : 0000000000000000000000000000000000000000000000000000000000a4a8bc
Arg [20] : 0000000000000000000000000000000000000000000000000000000000a4b50a
Arg [21] : 0000000000000000000000000000000000000000000000000000000000a4c158
Arg [22] : 0000000000000000000000000000000000000000000000000000000000a4cda6
Arg [23] : 0000000000000000000000000000000000000000000000000000000000a4d9f4
Arg [24] : 0000000000000000000000000000000000000000000000000000000000a4e642
Arg [25] : 0000000000000000000000000000000000000000000000000000000000a4f290
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [27] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [28] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [29] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [31] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [32] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [33] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [34] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [35] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [36] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [37] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [38] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [39] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [40] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [41] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [42] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [43] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [44] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [45] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [46] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [47] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [48] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [49] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [50] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [51] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [52] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [53] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [54] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [55] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [56] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [57] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [58] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [59] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [60] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [61] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [62] : 00000000000000000000000000000000000000000000000000000000000186a0
Arg [63] : 00000000000000000000000000000000000000000000000000000000000f4240


Deployed Bytecode Sourcemap

27:3718:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2075:92;;;:::i;:::-;;;;;;;;;;;;;;;;2344:788;;;;;;;;;;;;;;;;-1:-1:-1;2344:788:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1513:554;;;;;;;;;;;;;;;;-1:-1:-1;1513:554:0;;:::i;1079:88::-;;;:::i;3140:602::-;;;;;;;;;;;;;;;;-1:-1:-1;3140:602:0;;:::i;:::-;;1261:244;;;;;;;;;;;;;;;;-1:-1:-1;1261:244:0;-1:-1:-1;;;;;1261:244:0;;:::i;919:152::-;;;:::i;1175:78::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1175:78:0;;;;;;;;;;;;;;2175:161;;;;;;;;;;;;;;;;-1:-1:-1;2175:161:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;2075:92;2140:12;:19;2075:92;:::o;2344:788::-;2405:18;;;;2494:11;;;:67;;-1:-1:-1;2524:12:0;2537:19;;-1:-1:-1;;2537:23:0;;;2524:37;;;;;;;;;;;;;;2509:12;:52;2494:67;2491:118;;;-1:-1:-1;2586:1:0;;-1:-1:-1;2586:1:0;;-1:-1:-1;2586:1:0;;-1:-1:-1;2586:1:0;2578:19;;2491:118;2619:9;2643:139;2654:12;:19;2650:23;;2643:139;;;2714:12;2727:1;2714:15;;;;;;;;;;;;;;;;2698:12;:31;2695:76;;2750:5;;2695:76;2675:3;;2643:139;;;2799:12;:19;2795:23;;2792:172;;;2848:12;2861:1;2848:15;;;;;;;;;;;;;;;;2835:28;;2891:12;2904:1;2891:15;;;;;;;;;;;;;;;2907:1;2891:18;;;;;;;;;;;;;;;;2878:31;;2934:12;2947:1;2934:15;;;;;;;;;;;;;;;2950:1;2934:18;;;;;;;;;;;;;;;;2924:28;;2792:172;2990:12;:19;2985:24;;;:64;;3041:7;3027:10;3018:6;:19;3017:31;;;;;;2985:64;;;3012:1;2985:64;2974:75;;3082:14;;3071:8;:25;:53;;3116:8;3071:53;;;3099:14;;3071:53;3060:64;;2344:788;;;;;;;:::o;1513:554::-;1576:7;1599:11;;;:67;;-1:-1:-1;1629:12:0;1642:19;;-1:-1:-1;;1642:23:0;;;1629:37;;;;;;;;;;;;;;1614:12;:52;1599:67;1596:107;;;-1:-1:-1;1690:1:0;1683:8;;1596:107;1713:9;1737:139;1748:12;:19;1744:23;;1737:139;;;1808:12;1821:1;1808:15;;;;;;;;;;;;;;;;1792:12;:31;1789:76;;1844:5;;1789:76;1769:3;;1737:139;;;1910:12;:19;1886:16;;1905:24;;;:83;;1969:12;1982:1;1969:15;;;;;;;;;;;;;;;1985:1;1969:18;;;;;;;;;;;;;;;;1947:12;1960:1;1947:15;;;;;;;;;;;;;;;1963:1;1947:18;;;;;;;;;;;;;;;;1938:6;:27;1937:50;;;;;;1905:83;;;1932:1;1905:83;1886:102;;2017:14;;2006:8;:25;:53;;2051:8;2006:53;;;2034:14;;2006:53;1999:60;;;;1513:554;;;;:::o;1079:88::-;1148:11;;1079:88;:::o;3140:602::-;3232:11;;3216:12;:27;;3208:65;;;;;-1:-1:-1;;;3208:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3311:16;;-1:-1:-1;;;;;3311:16:0;3286:15;3366:34;3384:15;3366:17;:34::i;:::-;3341:59;;3436:1;3419:14;:18;3411:51;;;;;-1:-1:-1;;;3411:51:0;;;;;;;;;;;;-1:-1:-1;;;3411:51:0;;;;;;;;;;;;;;;3475:65;;;-1:-1:-1;;;3475:65:0;;3497:10;3475:65;;;;3517:4;3475:65;;;;;;;;;;;;-1:-1:-1;;;;;3475:21:0;;;;;:65;;;;;;;;;;;;;;-1:-1:-1;3475:21:0;:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3551:30:0;;;-1:-1:-1;;;3551:30:0;;;;;;;;;;-1:-1:-1;;;;;3551:13:0;;;;;:30;;;;;-1:-1:-1;;3551:30:0;;;;;;;-1:-1:-1;3551:13:0;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3592:14:0;:33;;;;;;;3646:6;;3680:53;;;;;;;;;;;;;;;;;;;;;;3722:10;3680:53;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3636:98:0;;;;;;;;;;;;;-1:-1:-1;;;3636:98:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3646:6:0;;;;-1:-1:-1;3636:24:0;;-1:-1:-1;3680:53:0;3636:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3636:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3636:98:0;;;;;;;;;;-1:-1:-1;3636:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3140:602;;;:::o;1261:244::-;1360:6;;;;;;;;;-1:-1:-1;;;;;1360:6:0;-1:-1:-1;;;;;1350:53:0;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1350:55:0;1323:121;;;-1:-1:-1;;;1323:121:0;;1433:10;1323:121;;;;;;-1:-1:-1;;;;;1323:109:0;;;;;;:121;;;;;1350:55;;1323:121;;;;;;;;:109;:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1323:121:0;1315:154;;;;;-1:-1:-1;;;1315:154:0;;;;;;;;;;;;-1:-1:-1;;;1315:154:0;;;;;;;;;;;;;;;1480:6;:17;;-1:-1:-1;;;;;;1480:17:0;-1:-1:-1;;;;;1480:17:0;;;;;;;;;;1261:244::o;919:152::-;1006:12;1019:19;;964:7;;1006:12;-1:-1:-1;;1019:23:0;;;1006:37;;;;;;;;;;;;;;991:12;:52;:72;;1049:14;;991:72;;;1046:1;991:72;984:79;;919:152;:::o;1175:78::-;1239:6;;-1:-1:-1;;;;;1239:6:0;1175:78;:::o;2175:161::-;2226:7;2235;2244;2272:12;2285:1;2272:15;;;;;;;;;;;;;;;;2289:12;2302:1;2289:15;;;;;;;;;;;;;;;2305:1;2289:18;;;;;;;;;;;;;;;;2309:12;2322:1;2309:15;;;;;;;;;;;;;;;2325:1;2309:18;;;;;;;;;;;;;;;;2264:64;;;;;;2175:161;;;;;:::o

Swarm Source

ipfs://f018a3790f8b3ac8c861c951f4579227683e19b8cf030af95e3770c5777bbc0e

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.