Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 13,182 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x4d787a74 | 6016132 | 2337 days ago | IN | 1.6 ETH | 0.00075408 | ||||
Transfer | 5793313 | 2375 days ago | IN | 0 ETH | 0.00074436 | ||||
Transfer | 5791716 | 2375 days ago | IN | 0 ETH | 0.00027434 | ||||
Approve | 5726522 | 2387 days ago | IN | 0 ETH | 0.00086394 | ||||
Approve | 5713606 | 2389 days ago | IN | 0 ETH | 0.00086394 | ||||
Approve | 5713066 | 2389 days ago | IN | 0 ETH | 0.00086394 | ||||
0x6449426c | 5493342 | 2428 days ago | IN | 1 ETH | 0.00075408 | ||||
Transfer | 5429105 | 2439 days ago | IN | 0.1 ETH | 0.00066912 | ||||
Transfer | 5429105 | 2439 days ago | IN | 0.1 ETH | 0.00066912 | ||||
Transfer | 5429105 | 2439 days ago | IN | 0.1 ETH | 0.00066912 | ||||
Transfer | 5429104 | 2439 days ago | IN | 0.1 ETH | 0.00066912 | ||||
Transfer | 5348146 | 2452 days ago | IN | 0 ETH | 0.00007462 | ||||
0x32313276 | 5280324 | 2464 days ago | IN | 0.19 ETH | 0.00005027 | ||||
0x50344835 | 5279259 | 2464 days ago | IN | 0.35 ETH | 0.0010332 | ||||
0x61613141 | 5276927 | 2464 days ago | IN | 1 ETH | 0.00075408 | ||||
Transfer | 5252395 | 2468 days ago | IN | 0.34 ETH | 0.00062451 | ||||
0x5a4a4452 | 5250675 | 2469 days ago | IN | 0.15 ETH | 0.00075408 | ||||
0x5a4a4452 | 5250662 | 2469 days ago | IN | 0.17 ETH | 0.00075408 | ||||
0x5a4a4452 | 5250642 | 2469 days ago | IN | 0.17 ETH | 0.00075408 | ||||
0x74566c4e | 5250427 | 2469 days ago | IN | 0.8 ETH | 0.00105903 | ||||
0x36444e70 | 5249848 | 2469 days ago | IN | 0.155 ETH | 0.00074907 | ||||
0x74566c4e | 5249231 | 2469 days ago | IN | 0.8 ETH | 0.00105903 | ||||
0x74566c4e | 5248959 | 2469 days ago | IN | 0.79 ETH | 0.00105903 | ||||
0x74566c4e | 5248940 | 2469 days ago | IN | 0.8 ETH | 0.00105903 | ||||
0x676a5539 | 5248656 | 2469 days ago | IN | 0.65 ETH | 0.0007749 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
5245010 | 2470 days ago | 4.53478147 ETH | ||||
5245010 | 2470 days ago | 5.46521852 ETH | ||||
5245008 | 2470 days ago | 0.38 ETH | ||||
5245006 | 2470 days ago | 10 ETH | ||||
5245004 | 2470 days ago | 0.2 ETH | ||||
5245003 | 2470 days ago | 0.965 ETH | ||||
5245003 | 2470 days ago | 0.5 ETH | ||||
5245003 | 2470 days ago | 10 ETH | ||||
5245000 | 2470 days ago | 0.8 ETH | ||||
5244996 | 2470 days ago | 2 ETH | ||||
5244996 | 2470 days ago | 0.39 ETH | ||||
5244989 | 2470 days ago | 0.5 ETH | ||||
5244989 | 2470 days ago | 0.42558599 ETH | ||||
5244988 | 2470 days ago | 2.6 ETH | ||||
5244988 | 2470 days ago | 10 ETH | ||||
5244988 | 2470 days ago | 1.50334675 ETH | ||||
5244985 | 2470 days ago | 0.19 ETH | ||||
5244985 | 2470 days ago | 0.2 ETH | ||||
5244981 | 2470 days ago | 10 ETH | ||||
5244981 | 2470 days ago | 1.74 ETH | ||||
5244979 | 2470 days ago | 1.6 ETH | ||||
5244979 | 2470 days ago | 0.15 ETH | ||||
5244969 | 2470 days ago | 0.13 ETH | ||||
5244965 | 2470 days ago | 1.1 ETH | ||||
5244961 | 2470 days ago | 2.55 ETH |
Loading...
Loading
Contract Name:
YggdrashCrowd
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-03-30 */ pragma solidity ^0.4.11; /** ERC20 Interface @author DongOk Peter Ryu - <[email protected]> */ contract ERC20 { function totalSupply() public constant returns (uint supply); function balanceOf( address who ) public constant returns (uint value); function allowance( address owner, address spender ) public constant returns (uint _allowance); function transfer( address to, uint value) public returns (bool ok); function transferFrom( address from, address to, uint value) public returns (bool ok); function approve( address spender, uint value ) public returns (bool ok); event Transfer( address indexed from, address indexed to, uint value); event Approval( address indexed owner, address indexed spender, uint value); } library SafeMath { function mul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint a, uint b) internal returns (uint) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function add(uint a, uint b) internal returns (uint) { uint c = a + b; assert(c >= a); return c; } function max64(uint64 a, uint64 b) internal constant returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal constant returns (uint64) { return a < b ? a : b; } function max256(uint256 a, uint256 b) internal constant returns (uint256) { return a >= b ? a : b; } function min256(uint256 a, uint256 b) internal constant returns (uint256) { return a < b ? a : b; } } /** YGGDRASH SmartContract @author Peter Ryu - <[email protected]> */ contract YggdrashCrowd { using SafeMath for uint; ERC20 public yeedToken; Stages stage; address public wallet; address public owner; address public tokenOwner; uint public totalAmount; // Contruibute Token amount uint public priceFactor; // ratio uint public startBlock; uint public totalReceived; uint public endTime; uint public maxValue; // max ETH uint public minValue; uint public maxGasPrice; // Max gasPrice // collect log event FundTransfer (address sender, uint amount); struct ContributeAddress { bool exists; // set to true address account; // sending account uint amount; // sending amount uint balance; // token value bytes data; // sending data } mapping(address => ContributeAddress) public _contributeInfo; mapping(bytes => ContributeAddress) _contruibuteData; /* Check is owner address */ modifier isOwner() { // Only owner is allowed to proceed require (msg.sender == owner); _; } /** Check Valid Payload */ modifier isValidPayload() { // check Max if(maxValue != 0){ require(msg.value < maxValue + 1); } // Check Min if(minValue != 0){ require(msg.value > minValue - 1); } require(wallet != msg.sender); // check data value require(msg.data.length != 0); _; } /* Check exists Contribute list */ modifier isExists() { require(_contruibuteData[msg.data].exists == false); require(_contributeInfo[msg.sender].amount == 0); _; } /* * Modifiers Stage */ modifier atStage(Stages _stage) { require(stage == _stage); _; } /* * Enums Stage Status */ enum Stages { Deployed, SetUp, Started, Ended } /// init /// @param _token token address /// @param _tokenOwner token owner wallet address /// @param _wallet Send ETH wallet /// @param _amount token total value /// @param _priceFactor token and ETH ratio /// @param _maxValue maximum ETH balance /// @param _minValue minimum ETH balance function YggdrashCrowd(address _token, address _tokenOwner, address _wallet, uint _amount, uint _priceFactor, uint _maxValue, uint _minValue) public { require (_tokenOwner != 0 && _wallet != 0 && _amount != 0 && _priceFactor != 0); tokenOwner = _tokenOwner; owner = msg.sender; wallet = _wallet; totalAmount = _amount; priceFactor = _priceFactor; maxValue = _maxValue; minValue = _minValue; stage = Stages.Deployed; if(_token != 0){ // setup token yeedToken = ERC20(_token); stage = Stages.SetUp; } // Max Gas Price is unlimited maxGasPrice = 0; } // setupToken function setupToken(address _token) public isOwner { require(_token != 0); yeedToken = ERC20(_token); stage = Stages.SetUp; } /// @dev Start Contruibute function startContruibute() public isOwner atStage(Stages.SetUp) { stage = Stages.Started; startBlock = block.number; } /** Contributer send to ETH Payload Check Exist Check GasPrice Check Stage Check */ function() public isValidPayload isExists atStage(Stages.Started) payable { uint amount = msg.value; uint maxAmount = totalAmount.div(priceFactor); // refund if (amount > maxAmount){ uint refund = amount.sub(maxAmount); assert(msg.sender.send(refund)); amount = maxAmount; } // NO MORE GAS WAR!!! if(maxGasPrice != 0){ assert(tx.gasprice < maxGasPrice + 1); } totalReceived = totalReceived.add(amount); // calculate token uint token = amount.mul(priceFactor); totalAmount = totalAmount.sub(token); // give token to sender yeedToken.transferFrom(tokenOwner, msg.sender, token); FundTransfer(msg.sender, token); // Set Contribute Account ContributeAddress crowdData = _contributeInfo[msg.sender]; crowdData.exists = true; crowdData.account = msg.sender; crowdData.data = msg.data; crowdData.amount = amount; crowdData.balance = token; // add contruibuteData _contruibuteData[msg.data] = crowdData; _contributeInfo[msg.sender] = crowdData; // send to wallet wallet.transfer(amount); // token sold out if (amount == maxAmount) finalizeContruibute(); } /// @dev Changes auction totalAmount and start price factor before auction is started. /// @param _totalAmount Updated auction totalAmount. /// @param _priceFactor Updated start price factor. /// @param _maxValue Maximum balance of ETH /// @param _minValue Minimum balance of ETH function changeSettings(uint _totalAmount, uint _priceFactor, uint _maxValue, uint _minValue, uint _maxGasPrice) public isOwner { require(_totalAmount != 0 && _priceFactor != 0); totalAmount = _totalAmount; priceFactor = _priceFactor; maxValue = _maxValue; minValue = _minValue; maxGasPrice = _maxGasPrice; } /** Set Max Gas Price by Admin */ function setMaxGasPrice(uint _maxGasPrice) public isOwner { maxGasPrice = _maxGasPrice; } // token balance // @param src sender wallet address function balanceOf(address src) public constant returns (uint256) { return _contributeInfo[src].balance; } // amount ETH value // @param src sender wallet address function amountOf(address src) public constant returns(uint256) { return _contributeInfo[src].amount; } // contruibute data // @param src Yggdrash uuid function contruibuteData(bytes src) public constant returns(address) { return _contruibuteData[src].account; } // Check contruibute is open function isContruibuteOpen() public constant returns (bool) { return stage == Stages.Started; } // Smartcontract halt function halt() public isOwner { finalizeContruibute(); } // END of this Contruibute function finalizeContruibute() private { stage = Stages.Ended; // remain token send to owner totalAmount = 0; endTime = now; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"src","type":"address"}],"name":"amountOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isContruibuteOpen","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_totalAmount","type":"uint256"},{"name":"_priceFactor","type":"uint256"},{"name":"_maxValue","type":"uint256"},{"name":"_minValue","type":"uint256"},{"name":"_maxGasPrice","type":"uint256"}],"name":"changeSettings","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"startContruibute","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxGasPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"halt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"yeedToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"setupToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"_contributeInfo","outputs":[{"name":"exists","type":"bool"},{"name":"account","type":"address"},{"name":"amount","type":"uint256"},{"name":"balance","type":"uint256"},{"name":"data","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_maxGasPrice","type":"uint256"}],"name":"setMaxGasPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"priceFactor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"bytes"}],"name":"contruibuteData","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_token","type":"address"},{"name":"_tokenOwner","type":"address"},{"name":"_wallet","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_priceFactor","type":"uint256"},{"name":"_maxValue","type":"uint256"},{"name":"_minValue","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"FundTransfer","type":"event"}]
Contract Creation Code
6060604052341561000f57600080fd5b60405160e08061188e8339810160405280805190602001909190805190602001909190805190602001909190805190602001909190805190602001909190805190602001909190805190602001909190505060008673ffffffffffffffffffffffffffffffffffffffff161415801561009f575060008573ffffffffffffffffffffffffffffffffffffffff1614155b80156100ac575060008414155b80156100b9575060008314155b15156100c457600080fd5b85600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600481905550826005819055508160098190555080600a8190555060008060146101000a81548160ff021916908360038111156101c157fe5b021790555060008773ffffffffffffffffffffffffffffffffffffffff1614151561024b57866000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff0219169083600381111561024557fe5b02179055505b6000600b8190555050505050505050611625806102696000396000f300606060405260043610610128576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806301608f5f1461088b5780630a08de75146108d857806316948e9b146109055780631a39d8ef1461094c5780632716baa6146109755780633197cbb61461098a5780633de39c11146109b357806348cd4cb1146109dc578063521eb27314610a055780635ed7ca5b14610a5a57806370a0823114610a6f57806382ad5ecf14610abc5780638da5cb5b14610b1157806394a5c2e414610b66578063963e63c714610b8f578063a3c2c46214610bb8578063a3e6761014610be1578063b3c4a36b14610c36578063b924d53114610c6f578063d2fa635e14610d8a578063dfb2866d14610dad578063fdcb753914610dd6575b60008060008060008060095414151561014f576001600954013410151561014e57600080fd5b5b6000600a5414151561016f576001600a54033411151561016e57600080fd5b5b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515156101cc57600080fd5b600080369050141515156101df57600080fd5b60001515600d60003660405180838380828437820191505092505050908152602001604051809103902060000160009054906101000a900460ff16151514151561022857600080fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015414151561027957600080fd5b600280600381111561028757fe5b600060149054906101000a900460ff1660038111156102a257fe5b1415156102ae57600080fd5b3495506102c8600554600454610e7390919063ffffffff16565b945084861115610328576102e58587610e8e90919063ffffffff16565b93503373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050151561032457fe5b8495505b6000600b54141515610345576001600b54013a10151561034457fe5b5b61035a86600754610ea790919063ffffffff16565b60078190555061037560055487610ec590919063ffffffff16565b925061038c83600454610e8e90919063ffffffff16565b6004819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633866000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15156104b457600080fd5b6102c65a03f115156104c557600080fd5b50505060405180519050507f97c35397cb6acebd9df368c206404479fc4c80dd6034d1b28943aaf5826318703384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020915060018260000160006101000a81548160ff021916908315150217905550338260000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000368360030191906105f09291906114cd565b5085826001018190555082826002018190555081600d6000366040518083838082843782019150509250505090815260200160405180910390206000820160009054906101000a900460ff168160000160006101000a81548160ff0219169083151502179055506000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001820154816001015560028201548160020155600382018160030190805460018160011615610100020316600290046106f992919061154d565b5090505081600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000820160009054906101000a900460ff168160000160006101000a81548160ff0219169083151502179055506000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018201548160010155600282015481600201556003820181600301908054600181600116156101000203166002900461080c92919061154d565b50905050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050151561087257600080fd5b8486141561088357610882610ef8565b5b505050505050005b341561089657600080fd5b6108c2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610f2d565b6040518082815260200191505060405180910390f35b34156108e357600080fd5b6108eb610f79565b604051808215151515815260200191505060405180910390f35b341561091057600080fd5b61094a6004808035906020019091908035906020019091908035906020019091908035906020019091908035906020019091905050610fa9565b005b341561095757600080fd5b61095f61104c565b6040518082815260200191505060405180910390f35b341561098057600080fd5b610988611052565b005b341561099557600080fd5b61099d611111565b6040518082815260200191505060405180910390f35b34156109be57600080fd5b6109c6611117565b6040518082815260200191505060405180910390f35b34156109e757600080fd5b6109ef61111d565b6040518082815260200191505060405180910390f35b3415610a1057600080fd5b610a18611123565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610a6557600080fd5b610a6d611149565b005b3415610a7a57600080fd5b610aa6600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506111af565b6040518082815260200191505060405180910390f35b3415610ac757600080fd5b610acf6111fb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610b1c57600080fd5b610b24611220565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610b7157600080fd5b610b79611246565b6040518082815260200191505060405180910390f35b3415610b9a57600080fd5b610ba261124c565b6040518082815260200191505060405180910390f35b3415610bc357600080fd5b610bcb611252565b6040518082815260200191505060405180910390f35b3415610bec57600080fd5b610bf4611258565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610c4157600080fd5b610c6d600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061127e565b005b3415610c7a57600080fd5b610ca6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611367565b60405180861515151581526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818154600181600116156101000203166002900481526020019150805460018160011615610100020316600290048015610d775780601f10610d4c57610100808354040283529160200191610d77565b820191906000526020600020905b815481529060010190602001808311610d5a57829003601f168201915b5050965050505050505060405180910390f35b3415610d9557600080fd5b610dab60048080359060200190919050506113c9565b005b3415610db857600080fd5b610dc061142f565b6040518082815260200191505060405180910390f35b3415610de157600080fd5b610e31600480803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611435565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000808284811515610e8157fe5b0490508091505092915050565b6000828211151515610e9c57fe5b818303905092915050565b6000808284019050838110151515610ebb57fe5b8091505092915050565b60008082840290506000841480610ee65750828482811515610ee357fe5b04145b1515610eee57fe5b8091505092915050565b6003600060146101000a81548160ff02191690836003811115610f1757fe5b0217905550600060048190555042600881905550565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101549050919050565b600060026003811115610f8857fe5b600060149054906101000a900460ff166003811115610fa357fe5b14905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561100557600080fd5b60008514158015611017575060008414155b151561102257600080fd5b84600481905550836005819055508260098190555081600a8190555080600b819055505050505050565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156110ae57600080fd5b60018060038111156110bc57fe5b600060149054906101000a900460ff1660038111156110d757fe5b1415156110e357600080fd5b6002600060146101000a81548160ff0219169083600381111561110257fe5b02179055504360068190555050565b60085481565b600b5481565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111a557600080fd5b6111ad610ef8565b565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201549050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b600a5481565b60075481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112da57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff161415151561130057600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff0219169083600381111561135f57fe5b021790555050565b600c6020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600101549080600201549080600301905085565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561142557600080fd5b80600b8190555050565b60055481565b6000600d826040518082805190602001908083835b60208310151561146f578051825260208201915060208101905060208303925061144a565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061150e57803560ff191683800117855561153c565b8280016001018555821561153c579182015b8281111561153b578235825591602001919060010190611520565b5b50905061154991906115d4565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061158657805485556115c3565b828001600101855582156115c357600052602060002091601f016020900482015b828111156115c25782548255916001019190600101906115a7565b5b5090506115d091906115d4565b5090565b6115f691905b808211156115f25760008160009055506001016115da565b5090565b905600a165627a7a72305820e848c096c7c1fb55ed811783e7df0806882731c02e6a83f5e93d96bc984bcf8400290000000000000000000000006f7a4bac3315b5082f793161a22e26666d22717f0000000000000000000000000000c72e03a01cd93b2b68b5e08b7bfd49182b3a000000000000000000000000a17993670e7ac9c4ce79e53ff8f931f02c901dc30000000000000000000000000000000000000000060f02a21734dd1b05d4000000000000000000000000000000000000000000000000000000000000000166eb0000000000000000000000000000000000000000000000008ac7230489e80000000000000000000000000000000000000000000000000000016345785d8a0000
Deployed Bytecode
0x606060405260043610610128576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806301608f5f1461088b5780630a08de75146108d857806316948e9b146109055780631a39d8ef1461094c5780632716baa6146109755780633197cbb61461098a5780633de39c11146109b357806348cd4cb1146109dc578063521eb27314610a055780635ed7ca5b14610a5a57806370a0823114610a6f57806382ad5ecf14610abc5780638da5cb5b14610b1157806394a5c2e414610b66578063963e63c714610b8f578063a3c2c46214610bb8578063a3e6761014610be1578063b3c4a36b14610c36578063b924d53114610c6f578063d2fa635e14610d8a578063dfb2866d14610dad578063fdcb753914610dd6575b60008060008060008060095414151561014f576001600954013410151561014e57600080fd5b5b6000600a5414151561016f576001600a54033411151561016e57600080fd5b5b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515156101cc57600080fd5b600080369050141515156101df57600080fd5b60001515600d60003660405180838380828437820191505092505050908152602001604051809103902060000160009054906101000a900460ff16151514151561022857600080fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001015414151561027957600080fd5b600280600381111561028757fe5b600060149054906101000a900460ff1660038111156102a257fe5b1415156102ae57600080fd5b3495506102c8600554600454610e7390919063ffffffff16565b945084861115610328576102e58587610e8e90919063ffffffff16565b93503373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050151561032457fe5b8495505b6000600b54141515610345576001600b54013a10151561034457fe5b5b61035a86600754610ea790919063ffffffff16565b60078190555061037560055487610ec590919063ffffffff16565b925061038c83600454610e8e90919063ffffffff16565b6004819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633866000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15156104b457600080fd5b6102c65a03f115156104c557600080fd5b50505060405180519050507f97c35397cb6acebd9df368c206404479fc4c80dd6034d1b28943aaf5826318703384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020915060018260000160006101000a81548160ff021916908315150217905550338260000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000368360030191906105f09291906114cd565b5085826001018190555082826002018190555081600d6000366040518083838082843782019150509250505090815260200160405180910390206000820160009054906101000a900460ff168160000160006101000a81548160ff0219169083151502179055506000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001820154816001015560028201548160020155600382018160030190805460018160011615610100020316600290046106f992919061154d565b5090505081600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000820160009054906101000a900460ff168160000160006101000a81548160ff0219169083151502179055506000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018201548160010155600282015481600201556003820181600301908054600181600116156101000203166002900461080c92919061154d565b50905050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050151561087257600080fd5b8486141561088357610882610ef8565b5b505050505050005b341561089657600080fd5b6108c2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610f2d565b6040518082815260200191505060405180910390f35b34156108e357600080fd5b6108eb610f79565b604051808215151515815260200191505060405180910390f35b341561091057600080fd5b61094a6004808035906020019091908035906020019091908035906020019091908035906020019091908035906020019091905050610fa9565b005b341561095757600080fd5b61095f61104c565b6040518082815260200191505060405180910390f35b341561098057600080fd5b610988611052565b005b341561099557600080fd5b61099d611111565b6040518082815260200191505060405180910390f35b34156109be57600080fd5b6109c6611117565b6040518082815260200191505060405180910390f35b34156109e757600080fd5b6109ef61111d565b6040518082815260200191505060405180910390f35b3415610a1057600080fd5b610a18611123565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610a6557600080fd5b610a6d611149565b005b3415610a7a57600080fd5b610aa6600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506111af565b6040518082815260200191505060405180910390f35b3415610ac757600080fd5b610acf6111fb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610b1c57600080fd5b610b24611220565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610b7157600080fd5b610b79611246565b6040518082815260200191505060405180910390f35b3415610b9a57600080fd5b610ba261124c565b6040518082815260200191505060405180910390f35b3415610bc357600080fd5b610bcb611252565b6040518082815260200191505060405180910390f35b3415610bec57600080fd5b610bf4611258565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3415610c4157600080fd5b610c6d600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061127e565b005b3415610c7a57600080fd5b610ca6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611367565b60405180861515151581526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818154600181600116156101000203166002900481526020019150805460018160011615610100020316600290048015610d775780601f10610d4c57610100808354040283529160200191610d77565b820191906000526020600020905b815481529060010190602001808311610d5a57829003601f168201915b5050965050505050505060405180910390f35b3415610d9557600080fd5b610dab60048080359060200190919050506113c9565b005b3415610db857600080fd5b610dc061142f565b6040518082815260200191505060405180910390f35b3415610de157600080fd5b610e31600480803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050611435565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000808284811515610e8157fe5b0490508091505092915050565b6000828211151515610e9c57fe5b818303905092915050565b6000808284019050838110151515610ebb57fe5b8091505092915050565b60008082840290506000841480610ee65750828482811515610ee357fe5b04145b1515610eee57fe5b8091505092915050565b6003600060146101000a81548160ff02191690836003811115610f1757fe5b0217905550600060048190555042600881905550565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101549050919050565b600060026003811115610f8857fe5b600060149054906101000a900460ff166003811115610fa357fe5b14905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561100557600080fd5b60008514158015611017575060008414155b151561102257600080fd5b84600481905550836005819055508260098190555081600a8190555080600b819055505050505050565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156110ae57600080fd5b60018060038111156110bc57fe5b600060149054906101000a900460ff1660038111156110d757fe5b1415156110e357600080fd5b6002600060146101000a81548160ff0219169083600381111561110257fe5b02179055504360068190555050565b60085481565b600b5481565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111a557600080fd5b6111ad610ef8565b565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201549050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b600a5481565b60075481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156112da57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff161415151561130057600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff0219169083600381111561135f57fe5b021790555050565b600c6020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff169080600101549080600201549080600301905085565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561142557600080fd5b80600b8190555050565b60055481565b6000600d826040518082805190602001908083835b60208310151561146f578051825260208201915060208101905060208303925061144a565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061150e57803560ff191683800117855561153c565b8280016001018555821561153c579182015b8281111561153b578235825591602001919060010190611520565b5b50905061154991906115d4565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061158657805485556115c3565b828001600101855582156115c357600052602060002091601f016020900482015b828111156115c25782548255916001019190600101906115a7565b5b5090506115d091906115d4565b5090565b6115f691905b808211156115f25760008160009055506001016115da565b5090565b905600a165627a7a72305820e848c096c7c1fb55ed811783e7df0806882731c02e6a83f5e93d96bc984bcf840029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006f7a4bac3315b5082f793161a22e26666d22717f0000000000000000000000000000c72e03a01cd93b2b68b5e08b7bfd49182b3a000000000000000000000000a17993670e7ac9c4ce79e53ff8f931f02c901dc30000000000000000000000000000000000000000060f02a21734dd1b05d4000000000000000000000000000000000000000000000000000000000000000166eb0000000000000000000000000000000000000000000000008ac7230489e80000000000000000000000000000000000000000000000000000016345785d8a0000
-----Decoded View---------------
Arg [0] : _token (address): 0x6F7A4bac3315B5082F793161a22e26666d22717f
Arg [1] : _tokenOwner (address): 0x0000c72E03A01cd93B2b68b5e08b7BfD49182B3a
Arg [2] : _wallet (address): 0xA17993670E7ac9c4cE79E53ff8f931F02c901dc3
Arg [3] : _amount (uint256): 1875056381000000000000000000
Arg [4] : _priceFactor (uint256): 91883
Arg [5] : _maxValue (uint256): 10000000000000000000
Arg [6] : _minValue (uint256): 100000000000000000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000006f7a4bac3315b5082f793161a22e26666d22717f
Arg [1] : 0000000000000000000000000000c72e03a01cd93b2b68b5e08b7bfd49182b3a
Arg [2] : 000000000000000000000000a17993670e7ac9c4ce79e53ff8f931f02c901dc3
Arg [3] : 0000000000000000000000000000000000000000060f02a21734dd1b05d40000
Arg [4] : 00000000000000000000000000000000000000000000000000000000000166eb
Arg [5] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [6] : 000000000000000000000000000000000000000000000000016345785d8a0000
Swarm Source
bzzr://e848c096c7c1fb55ed811783e7df0806882731c02e6a83f5e93d96bc984bcf84
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.