More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 38 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 20290072 | 155 days ago | IN | 0 ETH | 0.00009587 | ||||
Token Fallback | 19933313 | 204 days ago | IN | 0 ETH | 0.00088565 | ||||
Transfer | 19933273 | 204 days ago | IN | 0 ETH | 0.00029446 | ||||
Transfer | 17963047 | 481 days ago | IN | 0 ETH | 0.00112538 | ||||
Transfer | 16818715 | 642 days ago | IN | 0 ETH | 0.00076523 | ||||
Transfer | 16818480 | 642 days ago | IN | 0 ETH | 0.00091871 | ||||
Transfer | 12400683 | 1314 days ago | IN | 0.10668155 ETH | 0.01078003 | ||||
Transfer | 11988411 | 1378 days ago | IN | 1.076 ETH | 0.0047561 | ||||
Transfer | 10115731 | 1666 days ago | IN | 0.531 ETH | 0.00125907 | ||||
Transfer | 10034347 | 1679 days ago | IN | 0 ETH | 0.00030608 | ||||
Transfer | 10021420 | 1681 days ago | IN | 0.25 ETH | 0.00078692 | ||||
Transfer | 10021339 | 1681 days ago | IN | 0.00233 ETH | 0.00108692 | ||||
Transfer | 9084203 | 1830 days ago | IN | 0.07 ETH | 0.00008262 | ||||
Transfer | 8683051 | 1896 days ago | IN | 0.6 ETH | 0.00006479 | ||||
Transfer | 8402764 | 1940 days ago | IN | 0 ETH | 0.00015426 | ||||
Transfer | 8183779 | 1974 days ago | IN | 0.4 ETH | 0.00002565 | ||||
Transfer | 8136149 | 1982 days ago | IN | 0.16736529 ETH | 0.0000308 | ||||
Transfer | 8116043 | 1985 days ago | IN | 0 ETH | 0.00001817 | ||||
Approve | 8112651 | 1985 days ago | IN | 0 ETH | 0.00004716 | ||||
Transfer | 8112638 | 1985 days ago | IN | 0 ETH | 0.0000378 | ||||
Transfer | 8084631 | 1990 days ago | IN | 0 ETH | 0.00003773 | ||||
Transfer | 8084628 | 1990 days ago | IN | 0 ETH | 0.00003773 | ||||
Transfer | 8084572 | 1990 days ago | IN | 0 ETH | 0.00003773 | ||||
Transfer | 8084516 | 1990 days ago | IN | 0 ETH | 0.00003773 | ||||
Transfer | 8084516 | 1990 days ago | IN | 0 ETH | 0.00003773 |
Latest 7 internal transactions
Advanced mode:
Loading...
Loading
Contract Name:
FairSocialSystem
Compiler Version
v0.5.5+commit.47a71e8f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-04-04 */ pragma solidity >=0.4.22 <0.6.0; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraData) external; } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract ERC223Rtc { event Transfer(address indexed from, address indexed to, uint256 value,bytes _data); event tFallback(address indexed _contract,address indexed _from, uint256 _value,bytes _data); event tRetrive(address indexed _contract,address indexed _to, uint256 _value); mapping (address => bool) internal _tokenFull; // contract => user => balance mapping (address => mapping (address => uint256)) internal _tokenInContract; /// @notice entry to receve tokens function tokenFallback(address _from, uint _value, bytes memory _data) public { _tokenFull[msg.sender]=true; _tokenInContract[msg.sender][_from]=_value; emit tFallback(msg.sender,_from, _value, _data); } function balanceOfToken(address _contract,address _owner) public view returns(uint256) { IERC20 cont=IERC20(_contract); uint256 tBal = cont.balanceOf(address(this)); if(_tokenFull[_contract]==true) //full info { uint256 uBal=_tokenInContract[_contract][_owner]; // user balans on contract require(tBal >= uBal); return(uBal); } return(tBal); } function tokeneRetrive(address _contract, address _to, uint _value) public { IERC20 cont=IERC20(_contract); uint256 tBal = cont.balanceOf(address(this)); require(tBal >= _value); if(_tokenFull[_contract]==true) //full info { uint256 uBal=_tokenInContract[_contract][msg.sender]; // user balans on contract require(uBal >= _value); _tokenInContract[_contract][msg.sender]-=_value; } cont.transfer(_to, _value); emit tRetrive(_contract, _to, _value); } //test contract is or not function isContract(address _addr) internal view returns (bool) { uint length; assembly { //retrieve the size of the code on target address, this needs assembly length := extcodesize(_addr) } return (length>0); } function transfer(address _to, uint _value, bytes memory _data) public returns(bool) { if(isContract(_to)) { ERC223Rtc receiver = ERC223Rtc(_to); receiver.tokenFallback(msg.sender, _value, _data); } _transfer(msg.sender, _to, _value); emit Transfer(msg.sender, _to, _value, _data); return true; } function _transfer(address _from, address _to, uint _value) internal { // virtual must be defined later bytes memory empty; emit Transfer(_from, _to, _value,empty); } } contract FairSocialSystem is IERC20,ERC223Rtc { // Public variables of the token string internal _name; string internal _symbol; uint8 internal _decimals; uint256 internal _totalS; // Private variables of the token address payable internal _mainOwner; uint internal _maxPeriodVolume; //max volume for period uint internal _minPeriodVolume; //min volume for period uint internal _currentPeriodVolume; uint internal _startPrice; uint internal _currentPrice; uint internal _bonusPrice; uint16 internal _perUp; //percent / 2^20 uint16 internal _perDown; //99 & 98 uint8 internal _bonus; //for test price up bool internal _way; // buy or sell // This creates an array with all balances and allowance mapping (address => uint256) internal _balance; mapping (address => mapping (address => uint256)) internal _allowed; // This generates a public event on the blockchain that will notify clients event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); event Sell(address indexed owner, uint256 value); event Buy (address indexed owner, uint256 value); constructor() public { _name="Fair Social System"; // Set the name for display purposes _symbol="FSS"; // Set the symbol for display purposes _decimals=2; //start total = 128*1024*1024 _totalS=13421772800; // Update total supply with the decimal amount _currentPrice=0.00000001 ether; _startPrice=_currentPrice; _bonusPrice=_currentPrice<<1; //*2 _maxPeriodVolume=132864000; //for period _minPeriodVolume=131532800; _currentPeriodVolume=0; _mainOwner=0x394b570584F2D37D441E669e74563CD164142930; _balance[_mainOwner]=(_totalS*5)/100; // Give the creator 5% _perUp=10380; //percent / 2^20 _perDown=10276; //99 & 98 emit Transfer(address(this), _mainOwner, _balance[_mainOwner]); } function _calcPercent(uint mn1,uint mn2) internal pure returns (uint) //calc % by 2^20 { uint res=mn1*mn2; return res>>20; } function _initPeriod(bool way) internal { //main logic if(way) //true == sell { _totalS=_totalS-_maxPeriodVolume; _maxPeriodVolume=_minPeriodVolume; _minPeriodVolume=_minPeriodVolume-_calcPercent(_minPeriodVolume,_perUp); _currentPeriodVolume=_minPeriodVolume; _currentPrice=_currentPrice-_calcPercent(_currentPrice,_perUp); } else { _minPeriodVolume=_maxPeriodVolume; _maxPeriodVolume=_maxPeriodVolume+_calcPercent(_maxPeriodVolume,_perDown); _totalS=_totalS+_maxPeriodVolume; _currentPeriodVolume=0; _currentPrice=_currentPrice+_calcPercent(_currentPrice,_perDown); } if(_currentPrice>_bonusPrice) //bonus { _bonusPrice=_bonusPrice<<1; //next stage uint addBal=_totalS/100; _balance[_mainOwner]=_balance[_mainOwner]+addBal; _totalS=_totalS+addBal; emit Transfer(address(this), _mainOwner, addBal); } } function getPrice() public view returns (uint,uint,uint) { return (_currentPrice,_startPrice,_bonusPrice); } function getVolume() public view returns (uint,uint,uint) { return (_currentPeriodVolume,_minPeriodVolume,_maxPeriodVolume); } function restartPrice() public { require(address(msg.sender)==_mainOwner); if(_currentPrice<_startPrice) { require(_balance[_mainOwner]>100); _currentPrice=address(this).balance/_balance[_mainOwner]; _startPrice=_currentPrice; _bonusPrice=_startPrice<<1; } } //for all income function () external payable { buy(); } // entry to buy tokens function buy() public payable { // reject contract buyer to avoid breaking interval limit require(!isContract(msg.sender)); uint ethAm=msg.value; uint amount=ethAm/_currentPrice; uint tAmount=0; uint cAmount=_maxPeriodVolume-_currentPeriodVolume; //for sell now while (amount>=cAmount) { tAmount=tAmount+cAmount; ethAm=ethAm-cAmount*_currentPrice; _initPeriod(false); //set new params from buy amount=ethAm/_currentPrice; cAmount=_maxPeriodVolume; } if(amount>0) { _currentPeriodVolume=_currentPeriodVolume+amount; tAmount=tAmount+amount; } _balance[msg.sender]+=tAmount; emit Buy(msg.sender, tAmount); emit Transfer(address(this), msg.sender, tAmount); } // entry to sell tokens function sell(uint _amount) public { require(_balance[msg.sender] >= _amount); uint ethAm=0; //total uint tAmount=_amount; //for encounting // address payble internal userAddr; while (tAmount>=_currentPeriodVolume) { ethAm=ethAm+_currentPeriodVolume*_currentPrice; tAmount=tAmount-_currentPeriodVolume; _initPeriod(true); //set new params from sell } if(tAmount>0) //may be 0 { _currentPeriodVolume=_currentPeriodVolume-tAmount; ethAm=ethAm+tAmount*_currentPrice; } // userAddr=msg.sender; // userAddr.transfer(ethAm); _balance[msg.sender] -= _amount; msg.sender.transfer(ethAm); emit Sell(msg.sender, _amount); emit Transfer(msg.sender,address(this),_amount); } /** * Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal { // Prevent transfer to 0x0 address require(_to != address(0x0)); // Check if the sender has enough require(_balance[_from] >= _value); // Check for overflows require(_balance[_to] + _value > _balance[_to]); // Save this for an assertion in the future uint256 previousBalances = _balance[_from] + _balance[_to]; // Subtract from the sender _balance[_from] -= _value; // Add the same to the recipient _balance[_to] += _value; // Asserts are used to use static analysis to find bugs in your code. They should never fail require(_balance[_from] + _balance[_to] == previousBalances); emit Transfer(_from, _to, _value); } function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_allowed[_from][msg.sender] >= _value); _allowed[_from][msg.sender] -= _value; _transfer(_from, _to, _value); emit Approval(_from, msg.sender, _allowed[_from][msg.sender]); return true; } function transfer(address _to, uint256 _value) public returns(bool) { if (_to==address(this)) //sell token { sell(_value); return true; } bytes memory empty; if(isContract(_to)) { ERC223Rtc receiver = ERC223Rtc(_to); receiver.tokenFallback(msg.sender, _value, empty); } _transfer(msg.sender, _to, _value); return true; } function approveAndCall(address _spender, uint256 _value, bytes memory _extraData) public returns (bool) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, address(this), _extraData); return true; } } function approve(address _spender, uint256 _value) public returns(bool) { require(_spender != address(0)); _allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } //check the amount of tokens that an owner allowed to a spender function allowance(address owner, address spender) public view returns (uint256) { return _allowed[owner][spender]; } //balance of the specified address with interest function balanceOf(address _addr) public view returns(uint256) { return _balance[_addr]; } // Function to access total supply of tokens . function totalSupply() public view returns(uint256) { return _totalS; } // the name of the token. function name() public view returns (string memory) { return _name; } //the symbol of the token function symbol() public view returns (string memory) { return _symbol; } //number of decimals of the token function decimals() public view returns (uint8) { return _decimals; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getPrice","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"tokenFallback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getVolume","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_contract","type":"address"},{"name":"_owner","type":"address"}],"name":"balanceOfToken","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"restartPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_contract","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"tokeneRetrive","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Sell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"_data","type":"bytes"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_contract","type":"address"},{"indexed":true,"name":"_from","type":"address"},{"indexed":false,"name":"_value","type":"uint256"},{"indexed":false,"name":"_data","type":"bytes"}],"name":"tFallback","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_contract","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"tRetrive","type":"event"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040805180820190915260128082527f4661697220536f6369616c2053797374656d0000000000000000000000000000602090920191825262000058916002916200018c565b506040805180820190915260038082527f465353000000000000000000000000000000000000000000000000000000000060209092019182526200009d91816200018c565b506004805460ff191660021790556403200000006005556402540be400600b819055600a556404a817c800600c556307eb58006007556307d7080060085560006009819055600680546001600160a01b03191673394b570584f2d37d441e669e74563cd164142930178082556001600160a01b039081168352600e6020908152604080852063280000009055600d805461288c61ffff199091161763ffff000019166328240000179055925490911680845292829020548251908152915130927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a362000231565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001cf57805160ff1916838001178555620001ff565b82800160010185558215620001ff579182015b82811115620001ff578251825591602001919060010190620001e2565b506200020d92915062000211565b5090565b6200022e91905b808211156200020d576000815560010162000218565b90565b6115cc80620002416000396000f3fe6080604052600436106101145760003560e01c8063a9059cbb116100a0578063dd62ed3e11610064578063dd62ed3e146105ab578063e4849b32146105e6578063f59e38b714610610578063fc47bb611461064b578063ffcffb3c1461066057610114565b8063a9059cbb14610305578063be45fd621461033e578063c0ee0b8a14610406578063c67bbc24146104ce578063cae9ca51146104e357610114565b8063313ce567116100e7578063313ce5671461025f57806370a082311461028a57806395d89b41146102bd57806398d5fdca146102d2578063a6f2ae3a1461011457610114565b806306fdde031461011e578063095ea7b3146101a857806318160ddd146101f557806323b872dd1461021c575b61011c6106a3565b005b34801561012a57600080fd5b50610133610799565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016d578181015183820152602001610155565b50505050905090810190601f16801561019a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101b457600080fd5b506101e1600480360360408110156101cb57600080fd5b506001600160a01b03813516906020013561082c565b604080519115158252519081900360200190f35b34801561020157600080fd5b5061020a6108ab565b60408051918252519081900360200190f35b34801561022857600080fd5b506101e16004803603606081101561023f57600080fd5b506001600160a01b038135811691602081013590911690604001356108b1565b34801561026b57600080fd5b5061027461097d565b6040805160ff9092168252519081900360200190f35b34801561029657600080fd5b5061020a600480360360208110156102ad57600080fd5b50356001600160a01b0316610986565b3480156102c957600080fd5b506101336109a1565b3480156102de57600080fd5b506102e7610a02565b60408051938452602084019290925282820152519081900360600190f35b34801561031157600080fd5b506101e16004803603604081101561032857600080fd5b506001600160a01b038135169060200135610a10565b34801561034a57600080fd5b506101e16004803603606081101561036157600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561039157600080fd5b8201836020820111156103a357600080fd5b803590602001918460018302840111640100000000831117156103c557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b32945050505050565b34801561041257600080fd5b5061011c6004803603606081101561042957600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561045957600080fd5b82018360208201111561046b57600080fd5b8035906020019184600183028401116401000000008311171561048d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ce5945050505050565b3480156104da57600080fd5b506102e7610dc7565b3480156104ef57600080fd5b506101e16004803603606081101561050657600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561053657600080fd5b82018360208201111561054857600080fd5b8035906020019184600183028401116401000000008311171561056a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610dd5945050505050565b3480156105b757600080fd5b5061020a600480360360408110156105ce57600080fd5b506001600160a01b0381358116916020013516610edd565b3480156105f257600080fd5b5061011c6004803603602081101561060957600080fd5b5035610f08565b34801561061c57600080fd5b5061020a6004803603604081101561063357600080fd5b506001600160a01b038135811691602001351661100b565b34801561065757600080fd5b5061011c6110f6565b34801561066c57600080fd5b5061011c6004803603606081101561068357600080fd5b506001600160a01b0381358116916020810135909116906040013561117a565b6106ac3361135c565b156106b657600080fd5b600b543490600090828115156106c857fe5b600954600754929091049250600091035b80831061071157600b54810290930392908101906106f76000611362565b600b548481151561070457fe5b04925060075490506106d9565b8215610724576009805484019055908201905b336000818152600e6020908152604091829020805486019055815185815291517fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e9281900390910190a2604080518381529051339130916000805160206115818339815191529181900360200190a350505050565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156108225780601f106107f757610100808354040283529160200191610822565b820191906000526020600020905b81548152906001019060200180831161080557829003601f168201915b5050505050905090565b60006001600160a01b038316151561084357600080fd5b336000818152600f602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60055490565b6001600160a01b0383166000908152600f602090815260408083203384529091528120548211156108e157600080fd5b6001600160a01b0384166000908152600f60209081526040808320338452909152902080548390039055610916848484611497565b6001600160a01b0384166000818152600f60209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b9392505050565b60045460ff1690565b6001600160a01b03166000908152600e602052604090205490565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108225780601f106107f757610100808354040283529160200191610822565b600b54600a54600c54909192565b60006001600160a01b038316301415610a3457610a2c82610f08565b5060016108a5565b6060610a3f8461135c565b15610b1d57604051600160e11b63607705c502815233600482018181526024830186905260606044840190815284516064850152845188946001600160a01b0386169463c0ee0b8a9490938a93899360840190602085019080838360005b83811015610ab5578181015183820152602001610a9d565b50505050905090810190601f168015610ae25780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015610b0357600080fd5b505af1158015610b17573d6000803e3d6000fd5b50505050505b610b28338585611497565b5060019392505050565b6000610b3d8461135c565b15610c1b57604051600160e11b63607705c502815233600482018181526024830186905260606044840190815285516064850152855188946001600160a01b0386169463c0ee0b8a9490938a938a9360840190602085019080838360005b83811015610bb3578181015183820152602001610b9b565b50505050905090810190601f168015610be05780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015610c0157600080fd5b505af1158015610c15573d6000803e3d6000fd5b50505050505b610c26338585611497565b836001600160a01b0316336001600160a01b03167fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c1685856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610ca0578181015183820152602001610c88565b50505050905090810190601f168015610ccd5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a35060019392505050565b33600081815260208181526040808320805460ff1916600190811790915582528083206001600160a01b038816808552908352818420879055815187815280840183815287519382019390935286519195947f52ccd9342e404b20ebc49ddb26688c08c57179629b35f5802c47b815ad133890948994899490926060850192860191908190849084905b83811015610d87578181015183820152602001610d6f565b50505050905090810190601f168015610db45780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3505050565b600954600854600754909192565b600083610de2818561082c565b15610ed557604051600160e01b638f4ffcb102815233600482018181526024830187905230604484018190526080606485019081528751608486015287516001600160a01b03871695638f4ffcb195948b94938b939192909160a490910190602085019080838360005b83811015610e64578181015183820152602001610e4c565b50505050905090810190601f168015610e915780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610eb357600080fd5b505af1158015610ec7573d6000803e3d6000fd5b505050506001915050610976565b509392505050565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b336000908152600e6020526040902054811115610f2457600080fd5b6000815b6009548110610f5057600b5460095490810292909201919003610f4b6001611362565b610f28565b8015610f6b578060095403600981905550600b548102820191505b336000818152600e6020526040808220805487900390555184156108fc0291859190818181858888f19350505050158015610faa573d6000803e3d6000fd5b5060408051848152905133917f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df09919081900360200190a2604080518481529051309133916000805160206115818339815191529181900360200190a3505050565b60408051600160e01b6370a082310281523060048201529051600091849183916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561105c57600080fd5b505afa158015611070573d6000803e3d6000fd5b505050506040513d602081101561108657600080fd5b50516001600160a01b03861660009081526020819052604090205490915060ff161515600114156110ee576001600160a01b03808616600090815260016020908152604080832093881683529290522054808210156110e457600080fd5b92506108a5915050565b949350505050565b6006546001600160a01b0316331461110d57600080fd5b600a54600b541015611178576006546001600160a01b03166000908152600e602052604090205460641061114057600080fd5b6006546001600160a01b03166000908152600e6020526040902054303181151561116657fe5b04600b819055600a81905560011b600c555b565b60408051600160e01b6370a08231028152306004820152905184916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156111c857600080fd5b505afa1580156111dc573d6000803e3d6000fd5b505050506040513d60208110156111f257600080fd5b505190508281101561120357600080fd5b6001600160a01b03851660009081526020819052604090205460ff16151560011415611286576001600160a01b03851660009081526001602090815260408083203384529091529020548381101561125a57600080fd5b506001600160a01b03851660009081526001602090815260408083203384529091529020805484900390555b816001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156112e657600080fd5b505af11580156112fa573d6000803e3d6000fd5b505050506040513d602081101561131057600080fd5b50506040805184815290516001600160a01b0380871692908816917f6b5d2413e38861f73611ec149bca4ad4df0512660635a491656e018703d27c289181900360200190a35050505050565b3b151590565b80156113c057600780546005805491909103905560085490819055600d5461138e919061ffff16611579565b600880549190910390819055600955600b54600d546113b1919061ffff16611579565b600b5403600b8190555061141e565b6007546008819055600d546113df919062010000900461ffff16611579565b6007805491909101908190556005805490910190556000600955600b54600d54611413919062010000900461ffff16611579565b600b5401600b819055505b600c54600b54111561149457600c805460011b905560058054600680546001600160a01b039081166000908152600e6020908152604091829020805460649096049586019055855485019095559154825184815292519394911692309260008051602061158183398151915292908290030190a3505b50565b6001600160a01b03821615156114ac57600080fd5b6001600160a01b0383166000908152600e60205260409020548111156114d157600080fd5b6001600160a01b0382166000908152600e6020526040902054818101116114f757600080fd5b6001600160a01b038281166000908152600e6020526040808220805493871683529120805484810382558254850192839055905492019101811461153a57600080fd5b826001600160a01b0316846001600160a01b0316600080516020611581833981519152846040518082815260200191505060405180910390a350505050565b0260141c9056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820131c3bd1ebb78179f59f41b404d4fcc77a07a283026f51cdf625ab613e41767a0029
Deployed Bytecode
0x6080604052600436106101145760003560e01c8063a9059cbb116100a0578063dd62ed3e11610064578063dd62ed3e146105ab578063e4849b32146105e6578063f59e38b714610610578063fc47bb611461064b578063ffcffb3c1461066057610114565b8063a9059cbb14610305578063be45fd621461033e578063c0ee0b8a14610406578063c67bbc24146104ce578063cae9ca51146104e357610114565b8063313ce567116100e7578063313ce5671461025f57806370a082311461028a57806395d89b41146102bd57806398d5fdca146102d2578063a6f2ae3a1461011457610114565b806306fdde031461011e578063095ea7b3146101a857806318160ddd146101f557806323b872dd1461021c575b61011c6106a3565b005b34801561012a57600080fd5b50610133610799565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016d578181015183820152602001610155565b50505050905090810190601f16801561019a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101b457600080fd5b506101e1600480360360408110156101cb57600080fd5b506001600160a01b03813516906020013561082c565b604080519115158252519081900360200190f35b34801561020157600080fd5b5061020a6108ab565b60408051918252519081900360200190f35b34801561022857600080fd5b506101e16004803603606081101561023f57600080fd5b506001600160a01b038135811691602081013590911690604001356108b1565b34801561026b57600080fd5b5061027461097d565b6040805160ff9092168252519081900360200190f35b34801561029657600080fd5b5061020a600480360360208110156102ad57600080fd5b50356001600160a01b0316610986565b3480156102c957600080fd5b506101336109a1565b3480156102de57600080fd5b506102e7610a02565b60408051938452602084019290925282820152519081900360600190f35b34801561031157600080fd5b506101e16004803603604081101561032857600080fd5b506001600160a01b038135169060200135610a10565b34801561034a57600080fd5b506101e16004803603606081101561036157600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561039157600080fd5b8201836020820111156103a357600080fd5b803590602001918460018302840111640100000000831117156103c557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b32945050505050565b34801561041257600080fd5b5061011c6004803603606081101561042957600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561045957600080fd5b82018360208201111561046b57600080fd5b8035906020019184600183028401116401000000008311171561048d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ce5945050505050565b3480156104da57600080fd5b506102e7610dc7565b3480156104ef57600080fd5b506101e16004803603606081101561050657600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561053657600080fd5b82018360208201111561054857600080fd5b8035906020019184600183028401116401000000008311171561056a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610dd5945050505050565b3480156105b757600080fd5b5061020a600480360360408110156105ce57600080fd5b506001600160a01b0381358116916020013516610edd565b3480156105f257600080fd5b5061011c6004803603602081101561060957600080fd5b5035610f08565b34801561061c57600080fd5b5061020a6004803603604081101561063357600080fd5b506001600160a01b038135811691602001351661100b565b34801561065757600080fd5b5061011c6110f6565b34801561066c57600080fd5b5061011c6004803603606081101561068357600080fd5b506001600160a01b0381358116916020810135909116906040013561117a565b6106ac3361135c565b156106b657600080fd5b600b543490600090828115156106c857fe5b600954600754929091049250600091035b80831061071157600b54810290930392908101906106f76000611362565b600b548481151561070457fe5b04925060075490506106d9565b8215610724576009805484019055908201905b336000818152600e6020908152604091829020805486019055815185815291517fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e9281900390910190a2604080518381529051339130916000805160206115818339815191529181900360200190a350505050565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156108225780601f106107f757610100808354040283529160200191610822565b820191906000526020600020905b81548152906001019060200180831161080557829003601f168201915b5050505050905090565b60006001600160a01b038316151561084357600080fd5b336000818152600f602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60055490565b6001600160a01b0383166000908152600f602090815260408083203384529091528120548211156108e157600080fd5b6001600160a01b0384166000908152600f60209081526040808320338452909152902080548390039055610916848484611497565b6001600160a01b0384166000818152600f60209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b9392505050565b60045460ff1690565b6001600160a01b03166000908152600e602052604090205490565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108225780601f106107f757610100808354040283529160200191610822565b600b54600a54600c54909192565b60006001600160a01b038316301415610a3457610a2c82610f08565b5060016108a5565b6060610a3f8461135c565b15610b1d57604051600160e11b63607705c502815233600482018181526024830186905260606044840190815284516064850152845188946001600160a01b0386169463c0ee0b8a9490938a93899360840190602085019080838360005b83811015610ab5578181015183820152602001610a9d565b50505050905090810190601f168015610ae25780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015610b0357600080fd5b505af1158015610b17573d6000803e3d6000fd5b50505050505b610b28338585611497565b5060019392505050565b6000610b3d8461135c565b15610c1b57604051600160e11b63607705c502815233600482018181526024830186905260606044840190815285516064850152855188946001600160a01b0386169463c0ee0b8a9490938a938a9360840190602085019080838360005b83811015610bb3578181015183820152602001610b9b565b50505050905090810190601f168015610be05780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015610c0157600080fd5b505af1158015610c15573d6000803e3d6000fd5b50505050505b610c26338585611497565b836001600160a01b0316336001600160a01b03167fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c1685856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610ca0578181015183820152602001610c88565b50505050905090810190601f168015610ccd5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a35060019392505050565b33600081815260208181526040808320805460ff1916600190811790915582528083206001600160a01b038816808552908352818420879055815187815280840183815287519382019390935286519195947f52ccd9342e404b20ebc49ddb26688c08c57179629b35f5802c47b815ad133890948994899490926060850192860191908190849084905b83811015610d87578181015183820152602001610d6f565b50505050905090810190601f168015610db45780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3505050565b600954600854600754909192565b600083610de2818561082c565b15610ed557604051600160e01b638f4ffcb102815233600482018181526024830187905230604484018190526080606485019081528751608486015287516001600160a01b03871695638f4ffcb195948b94938b939192909160a490910190602085019080838360005b83811015610e64578181015183820152602001610e4c565b50505050905090810190601f168015610e915780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610eb357600080fd5b505af1158015610ec7573d6000803e3d6000fd5b505050506001915050610976565b509392505050565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b336000908152600e6020526040902054811115610f2457600080fd5b6000815b6009548110610f5057600b5460095490810292909201919003610f4b6001611362565b610f28565b8015610f6b578060095403600981905550600b548102820191505b336000818152600e6020526040808220805487900390555184156108fc0291859190818181858888f19350505050158015610faa573d6000803e3d6000fd5b5060408051848152905133917f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df09919081900360200190a2604080518481529051309133916000805160206115818339815191529181900360200190a3505050565b60408051600160e01b6370a082310281523060048201529051600091849183916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561105c57600080fd5b505afa158015611070573d6000803e3d6000fd5b505050506040513d602081101561108657600080fd5b50516001600160a01b03861660009081526020819052604090205490915060ff161515600114156110ee576001600160a01b03808616600090815260016020908152604080832093881683529290522054808210156110e457600080fd5b92506108a5915050565b949350505050565b6006546001600160a01b0316331461110d57600080fd5b600a54600b541015611178576006546001600160a01b03166000908152600e602052604090205460641061114057600080fd5b6006546001600160a01b03166000908152600e6020526040902054303181151561116657fe5b04600b819055600a81905560011b600c555b565b60408051600160e01b6370a08231028152306004820152905184916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156111c857600080fd5b505afa1580156111dc573d6000803e3d6000fd5b505050506040513d60208110156111f257600080fd5b505190508281101561120357600080fd5b6001600160a01b03851660009081526020819052604090205460ff16151560011415611286576001600160a01b03851660009081526001602090815260408083203384529091529020548381101561125a57600080fd5b506001600160a01b03851660009081526001602090815260408083203384529091529020805484900390555b816001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156112e657600080fd5b505af11580156112fa573d6000803e3d6000fd5b505050506040513d602081101561131057600080fd5b50506040805184815290516001600160a01b0380871692908816917f6b5d2413e38861f73611ec149bca4ad4df0512660635a491656e018703d27c289181900360200190a35050505050565b3b151590565b80156113c057600780546005805491909103905560085490819055600d5461138e919061ffff16611579565b600880549190910390819055600955600b54600d546113b1919061ffff16611579565b600b5403600b8190555061141e565b6007546008819055600d546113df919062010000900461ffff16611579565b6007805491909101908190556005805490910190556000600955600b54600d54611413919062010000900461ffff16611579565b600b5401600b819055505b600c54600b54111561149457600c805460011b905560058054600680546001600160a01b039081166000908152600e6020908152604091829020805460649096049586019055855485019095559154825184815292519394911692309260008051602061158183398151915292908290030190a3505b50565b6001600160a01b03821615156114ac57600080fd5b6001600160a01b0383166000908152600e60205260409020548111156114d157600080fd5b6001600160a01b0382166000908152600e6020526040902054818101116114f757600080fd5b6001600160a01b038281166000908152600e6020526040808220805493871683529120805484810382558254850192839055905492019101811461153a57600080fd5b826001600160a01b0316846001600160a01b0316600080516020611581833981519152846040518082815260200191505060405180910390a350505050565b0260141c9056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820131c3bd1ebb78179f59f41b404d4fcc77a07a283026f51cdf625ab613e41767a0029
Swarm Source
bzzr://131c3bd1ebb78179f59f41b404d4fcc77a07a283026f51cdf625ab613e41767a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,892.78 | 1.9155 | $7,456.56 |
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.