Contract 0x529c9f17594d55901d6314a0b7ce5dee92c6355e

 
Ad
Crypto.com
Txn Hash Method
Block
From
To
Value
0xb769026df85cd92c5f31defcd1cd864943d715043595e5b9383c52a67ce92063Transfer63046882018-09-10 7:15:171013 days 4 hrs ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.013481650.000000001
0x7eb22ade10237fa2bddbd0dae92b6485f44eeb30411751611c7908ffb2302cc7Transfer57984062018-06-16 10:09:391099 days 1 hr ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.01105491241.000000001
0x078fa01f974eb51ae937755a760bae8de526590941f31d6c32332f215f55227aTransfer56348542018-05-18 12:19:101127 days 23 hrs ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.00566361621.000000001
0xa3e9ec4ab7b76f4137c14e6c9fedfef5186642dda0eff2e6d904c808a7f30cceTransfer53837342018-04-05 7:14:471171 days 4 hrs ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0002696321.000000001
0x8ec6f50015f2218f77aa500f6cfcb85e2bbc11e2ef7ee7f10edb09043a96b34fTransfer50900152018-02-14 17:39:291220 days 18 hrs ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0002696321.000000001
0x45f0525062fa83a261360d29e42e39862ca754b1529db750e483b8b0f822c0c2Transfer50618432018-02-10 0:12:031225 days 11 hrs ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0002696321.000000001
0x9f69b6e8de0246bba6e1682690e88906cf419919d388235fbb3f0c9ef51486e1Transfer50558482018-02-08 23:53:211226 days 11 hrs ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0002696321.000000001
0x1b4937b6ed2e9b361e8384d78368094076c36bbc58b95e1a65e1c710a720d4ddTransfer50549892018-02-08 20:39:081226 days 15 hrs ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0002696321.000000001
0xa32e84e1588b19d0426df334bc7892f32e5706736adfac2552603e2188fb06e9Transfer50533442018-02-08 14:06:421226 days 21 hrs ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0002695681.000000001
0x88854f276e4607cc53ef4504a865a6844e5f3ab94efb62df7f993c6eb7263a0bTransfer50531562018-02-08 13:18:481226 days 22 hrs ago0x366e08394d79640d5f4cad18751afa5cd0135c26 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0002996321.000000001
0x7758a8d03a66a60e1e0224f1f4a949afaa2c4e36cced4e6168a7e79e4c67bb58Set Interval Sch...49755222018-01-26 10:57:041240 days 43 mins ago0x6c643992d016d077cf426de39b207304297a3166 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0000707861.000000002
0x1c201b7134f77da2ac6fd0e28947db5c56b282fcfa2f7da264428ab6f991de75Set Asset Proxy49755142018-01-26 10:54:321240 days 45 mins ago0x6c643992d016d077cf426de39b207304297a3166 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0001415541.000000002
0xf11a41adce8f05636dc45425f0e982d930b90b82942b5231447e8d4e7c854ac9Set Vesting49755122018-01-26 10:54:261240 days 45 mins ago0x6c643992d016d077cf426de39b207304297a3166 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0000465161.000000002
0x14ebe9f05411fbe246a92710e396aea4b2bf032a30eac944ba6e826a31281ef9Setup Ambi249754902018-01-26 10:48:441240 days 51 mins ago0x6c643992d016d077cf426de39b207304297a3166 IN  0x529c9f17594d55901d6314a0b7ce5dee92c6355e0 Ether0.0000891351.000000002
0xfffed4ca3ce5c954fda38cb1a5325fad601ca97dc9c272ed47dbaaa9869781500x6060604049754882018-01-26 10:48:201240 days 52 mins ago0x6c643992d016d077cf426de39b207304297a3166 IN  Contract Creation0 Ether0.0014127190021.000000002
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CryptykVestingManager

Compiler Version
v0.4.15+commit.bbb8e64f

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-01-26
*/

pragma solidity 0.4.15;

contract Ambi2 {
    function claimFor(address _address, address _owner) returns(bool);
    function hasRole(address _from, bytes32 _role, address _to) constant returns(bool);
    function isOwner(address _node, address _owner) constant returns(bool);
}

contract Ambi2Enabled {
    Ambi2 ambi2;

    modifier onlyRole(bytes32 _role) {
        if (address(ambi2) != 0x0 && ambi2.hasRole(this, _role, msg.sender)) {
            _;
        }
    }

    // Perform only after claiming the node, or claim in the same tx.
    function setupAmbi2(Ambi2 _ambi2) returns(bool) {
        if (address(ambi2) != 0x0) {
            return false;
        }

        ambi2 = _ambi2;
        return true;
    }
}

contract Ambi2EnabledFull is Ambi2Enabled {
    // Setup and claim atomically.
    function setupAmbi2(Ambi2 _ambi2) returns(bool) {
        if (address(ambi2) != 0x0) {
            return false;
        }
        if (!_ambi2.claimFor(this, msg.sender) && !_ambi2.isOwner(this, msg.sender)) {
            return false;
        }

        ambi2 = _ambi2;
        return true;
    }
}

contract AssetProxyInterface {
    function balanceOf(address _owner) constant returns(uint);
    function transferFrom(address _from, address _to, uint _value) returns(bool);
    function transferFromToICAP(address _from, bytes32 _icap, uint _value) returns(bool);
    function transferFromWithReference(address _from, address _to, uint _value, string _reference) returns(bool);
    function transfer(address _to, uint _value) returns(bool);
    function transferToICAP(bytes32 _icap, uint _value) returns(bool);
    function transferWithReference(address _to, uint _value, string _reference) returns(bool);
    function totalSupply() constant returns(uint);
    function approve(address _spender, uint _value) returns(bool);
}

contract VestingInterface {
    function createVesting(address _receiver, AssetProxyInterface _AssetProxy, uint _amount, uint _parts, uint _paymentInterval, uint _schedule) returns(bool);
    function sendVesting(uint _id) returns(bool);
    function getReceiverVesting(address _receiver, address _ERC20) constant returns(uint);
}

contract CryptykVestingManager is Ambi2EnabledFull {

    AssetProxyInterface public assetProxy;
    VestingInterface public vesting;

    uint public paymentInterval;
    uint public schedule;
    uint public presaleDeadline;

    function setVesting(VestingInterface _vesting) onlyRole('admin') returns(bool) {
        require(address(vesting) == 0x0);

        vesting = _vesting;
        return true;
    }

    function setAssetProxy(AssetProxyInterface _assetProxy) onlyRole('admin') returns(bool) {
        require(address(assetProxy) == 0x0);
        require(address(vesting) != 0x0);

        assetProxy = _assetProxy;
        assetProxy.approve(vesting, ((2 ** 256) - 1));
        return true;
    }

    function setIntervalSchedulePresale(uint _paymentInterval, uint _schedule, uint _presaleDeadline) onlyRole('admin') returns(bool) {
        paymentInterval = _paymentInterval;
        schedule = _schedule;
        presaleDeadline = _presaleDeadline;
        return true;
    }

    function transfer(address _to, uint _value) returns(bool) {
        if (now < presaleDeadline) {
            require(assetProxy.transferFrom(msg.sender, address(this), _value));
            require(vesting.createVesting(_to, assetProxy, _value, 1, paymentInterval, schedule));
            return true;
        }
        return assetProxy.transferFrom(msg.sender, _to, _value);
    }

    function transferToICAP(bytes32 _icap, uint _value) returns(bool) {
        return assetProxy.transferFromToICAP(msg.sender, _icap, _value);
    }

    function transferWithReference(address _to, uint _value, string _reference) returns(bool) {
        if (now < presaleDeadline) {
            require(assetProxy.transferFromWithReference(msg.sender, address(this), _value, _reference));
            require(vesting.createVesting(_to, assetProxy, _value, 1, paymentInterval, schedule));
            return true;
        }
        return assetProxy.transferFromWithReference(msg.sender, _to, _value, _reference);
    }

    function balanceOf(address _address) constant returns(uint) {
        return (vesting.getReceiverVesting(_address, assetProxy) + assetProxy.balanceOf(_address));
    }

    function totalSupply() constant returns(uint) {
        return assetProxy.totalSupply();
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"assetProxy","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"paymentInterval","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"vesting","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_vesting","type":"address"}],"name":"setVesting","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_icap","type":"bytes32"},{"name":"_value","type":"uint256"}],"name":"transferToICAP","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_ambi2","type":"address"}],"name":"setupAmbi2","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_reference","type":"string"}],"name":"transferWithReference","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"schedule","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_assetProxy","type":"address"}],"name":"setAssetProxy","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"presaleDeadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_paymentInterval","type":"uint256"},{"name":"_schedule","type":"uint256"},{"name":"_presaleDeadline","type":"uint256"}],"name":"setIntervalSchedulePresale","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"}]

6060604052341561000f57600080fd5b5b6114748061001f6000396000f300606060405236156100cd5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630b1350cf81146100d257806318160ddd1461010e5780631cc1cf461461013357806344c63eec146101585780636f6ff3bc1461019457806370a08231146101d4578063733480b7146102125780637a386e881461023f578063a9059cbb1461027f578063ac35caee146102c2578063b0604a2614610348578063c0b3569d1461036d578063ed185562146103ad578063f09304b5146103d2575b600080fd5b34156100dd57600080fd5b6100e5610402565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b341561011957600080fd5b61012161041e565b60405190815260200160405180910390f35b341561013e57600080fd5b6101216104ae565b60405190815260200160405180910390f35b341561016357600080fd5b6100e56104b4565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b341561019f57600080fd5b6101c073ffffffffffffffffffffffffffffffffffffffff600435166104d0565b604051901515815260200160405180910390f35b34156101df57600080fd5b61012173ffffffffffffffffffffffffffffffffffffffff60043516610648565b60405190815260200160405180910390f35b341561021d57600080fd5b6101c06004356024356107b2565b604051901515815260200160405180910390f35b341561024a57600080fd5b6101c073ffffffffffffffffffffffffffffffffffffffff60043516610872565b604051901515815260200160405180910390f35b341561028a57600080fd5b6101c073ffffffffffffffffffffffffffffffffffffffff60043516602435610a53565b604051901515815260200160405180910390f35b34156102cd57600080fd5b6101c06004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610cd895505050505050565b604051901515815260200160405180910390f35b341561035357600080fd5b6101216110b8565b60405190815260200160405180910390f35b341561037857600080fd5b6101c073ffffffffffffffffffffffffffffffffffffffff600435166110be565b604051901515815260200160405180910390f35b34156103b857600080fd5b61012161131c565b60405190815260200160405180910390f35b34156103dd57600080fd5b6101c0600435602435604435611322565b604051901515815260200160405180910390f35b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60015460009073ffffffffffffffffffffffffffffffffffffffff166318160ddd82604051602001526040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b151561048e57600080fd5b6102c65a03f1151561049f57600080fd5b50505060405180519150505b90565b60035481565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b600080547f61646d696e0000000000000000000000000000000000000000000000000000009073ffffffffffffffffffffffffffffffffffffffff16158015906105d357506000805473ffffffffffffffffffffffffffffffffffffffff1690632d3e579a90309084903390604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff861602815273ffffffffffffffffffffffffffffffffffffffff938416600482015260248101929092529091166044820152606401602060405180830381600087803b15156105b757600080fd5b6102c65a03f115156105c857600080fd5b505050604051805190505b156106405760025473ffffffffffffffffffffffffffffffffffffffff16156105fb57600080fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8516179055600191505b5b5b50919050565b60015460009073ffffffffffffffffffffffffffffffffffffffff166370a082318383604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff841602815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602401602060405180830381600087803b15156106d657600080fd5b6102c65a03f115156106e757600080fd5b505050604051805160025460015491925073ffffffffffffffffffffffffffffffffffffffff90811691637a6cb1aa918691166000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff851602815273ffffffffffffffffffffffffffffffffffffffff928316600482015291166024820152604401602060405180830381600087803b151561078e57600080fd5b6102c65a03f1151561079f57600080fd5b505050604051805190500190505b919050565b60015460009073ffffffffffffffffffffffffffffffffffffffff1663a525f42c33858585604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff861602815273ffffffffffffffffffffffffffffffffffffffff909316600484015260248301919091526044820152606401602060405180830381600087803b151561084f57600080fd5b6102c65a03f1151561086057600080fd5b50505060405180519150505b92915050565b6000805473ffffffffffffffffffffffffffffffffffffffff1615610899575060006107ad565b8173ffffffffffffffffffffffffffffffffffffffff1663b4ba9e1130336000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff851602815273ffffffffffffffffffffffffffffffffffffffff928316600482015291166024820152604401602060405180830381600087803b151561092b57600080fd5b6102c65a03f1151561093c57600080fd5b505050604051805190501580156109fd57508173ffffffffffffffffffffffffffffffffffffffff16637ddc02d430336000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff851602815273ffffffffffffffffffffffffffffffffffffffff928316600482015291166024820152604401602060405180830381600087803b15156109e057600080fd5b6102c65a03f115156109f157600080fd5b50505060405180519050155b15610a0a575060006107ad565b50600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831617905560015b919050565b6000600554421015610c165760015473ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff861602815273ffffffffffffffffffffffffffffffffffffffff93841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610afe57600080fd5b6102c65a03f11515610b0f57600080fd5b505050604051805190501515610b2457600080fd5b6002546001805460035460045473ffffffffffffffffffffffffffffffffffffffff948516946332f637db9489949091169288926000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff891602815273ffffffffffffffffffffffffffffffffffffffff968716600482015294909516602485015260448401929092526064830152608482015260a481019190915260c401602060405180830381600087803b1515610be857600080fd5b6102c65a03f11515610bf957600080fd5b505050604051805190501515610c0e57600080fd5b50600161086c565b60015473ffffffffffffffffffffffffffffffffffffffff166323b872dd3385856000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff861602815273ffffffffffffffffffffffffffffffffffffffff93841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561084f57600080fd5b6102c65a03f1151561086057600080fd5b50505060405180519150505b92915050565b6000600554421015610f485760015473ffffffffffffffffffffffffffffffffffffffff16636461fe39333086866000604051602001526040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610de25780820151818401525b602001610dc9565b50505050905090810190601f168015610e0f5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1515610e3057600080fd5b6102c65a03f11515610e4157600080fd5b505050604051805190501515610e5657600080fd5b6002546001805460035460045473ffffffffffffffffffffffffffffffffffffffff948516946332f637db948a949091169289926000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff891602815273ffffffffffffffffffffffffffffffffffffffff968716600482015294909516602485015260448401929092526064830152608482015260a481019190915260c401602060405180830381600087803b1515610f1a57600080fd5b6102c65a03f11515610f2b57600080fd5b505050604051805190501515610f4057600080fd5b5060016110b1565b60015473ffffffffffffffffffffffffffffffffffffffff16636461fe39338686866000604051602001526040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156110465780820151818401525b60200161102d565b50505050905090810190601f1680156110735780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b151561109457600080fd5b6102c65a03f115156110a557600080fd5b50505060405180519150505b9392505050565b60045481565b600080547f61646d696e0000000000000000000000000000000000000000000000000000009073ffffffffffffffffffffffffffffffffffffffff16158015906111c157506000805473ffffffffffffffffffffffffffffffffffffffff1690632d3e579a90309084903390604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff861602815273ffffffffffffffffffffffffffffffffffffffff938416600482015260248101929092529091166044820152606401602060405180830381600087803b15156111a557600080fd5b6102c65a03f115156111b657600080fd5b505050604051805190505b156106405760015473ffffffffffffffffffffffffffffffffffffffff16156111e957600080fd5b60025473ffffffffffffffffffffffffffffffffffffffff16151561120d57600080fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85811691909117918290556002549181169163095ea7b391167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff851602815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401602060405180830381600087803b15156112f457600080fd5b6102c65a03f1151561130557600080fd5b50505060405180515060019250505b5b5b50919050565b60055481565b600080547f61646d696e0000000000000000000000000000000000000000000000000000009073ffffffffffffffffffffffffffffffffffffffff161580159061142557506000805473ffffffffffffffffffffffffffffffffffffffff1690632d3e579a90309084903390604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff861602815273ffffffffffffffffffffffffffffffffffffffff938416600482015260248101929092529091166044820152606401602060405180830381600087803b151561140957600080fd5b6102c65a03f1151561141a57600080fd5b505050604051805190505b1561143e57600385905560048490556005839055600191505b5b5b5093925050505600a165627a7a7230582051f939a137415fdb4e970bf59cc4523ebbf47e4261ba0c50b27805fa12656db20029

Swarm Source

bzzr://51f939a137415fdb4e970bf59cc4523ebbf47e4261ba0c50b27805fa12656db2
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.