Overview
ETH Balance
0.005 ETH
Eth Value
$14.66 (@ $2,931.42/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 33 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 12279994 | 1297 days ago | IN | 0 ETH | 0.00686331 | ||||
Withdraw | 11681496 | 1389 days ago | IN | 0 ETH | 0.0020394 | ||||
Initiate Distrib... | 11681488 | 1389 days ago | IN | 0 ETH | 0.00104094 | ||||
Validate Balance | 11681488 | 1389 days ago | IN | 0 ETH | 0.00146983 | ||||
Withdraw | 11618380 | 1399 days ago | IN | 0 ETH | 0.00454013 | ||||
Initiate Distrib... | 11618370 | 1399 days ago | IN | 0 ETH | 0.00432068 | ||||
Withdraw To | 11589083 | 1403 days ago | IN | 0 ETH | 0.00888597 | ||||
Withdraw To | 11513136 | 1415 days ago | IN | 0 ETH | 0.01006491 | ||||
Withdraw | 11512591 | 1415 days ago | IN | 0 ETH | 0.022666 | ||||
Withdraw | 11416256 | 1430 days ago | IN | 0 ETH | 0.00203994 | ||||
Initiate Distrib... | 11343412 | 1441 days ago | IN | 0 ETH | 0.00070153 | ||||
Withdraw | 11321163 | 1444 days ago | IN | 0 ETH | 0.007543 | ||||
Initiate Distrib... | 11299454 | 1448 days ago | IN | 0 ETH | 0.00157961 | ||||
Withdraw | 10805794 | 1524 days ago | IN | 0 ETH | 0.00498916 | ||||
Withdraw | 10805779 | 1524 days ago | IN | 0 ETH | 0.00342014 | ||||
Withdraw | 10751626 | 1532 days ago | IN | 0 ETH | 0.00362656 | ||||
Initiate Distrib... | 10738920 | 1534 days ago | IN | 0 ETH | 0.00269462 | ||||
Withdraw | 10607026 | 1554 days ago | IN | 0 ETH | 0.00358217 | ||||
Initiate Distrib... | 10607018 | 1554 days ago | IN | 0 ETH | 0.00367026 | ||||
Initiate Distrib... | 10552869 | 1563 days ago | IN | 0 ETH | 0.00138792 | ||||
Initiate Distrib... | 10552869 | 1563 days ago | IN | 0 ETH | 0.00264816 | ||||
Withdraw | 10538444 | 1565 days ago | IN | 0 ETH | 0.00181376 | ||||
Initiate Distrib... | 10526608 | 1567 days ago | IN | 0 ETH | 0.00510109 | ||||
Withdraw | 10513874 | 1569 days ago | IN | 0 ETH | 0.00174574 | ||||
Initiate Distrib... | 10510232 | 1569 days ago | IN | 0 ETH | 0.00394901 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
12635832 | 1242 days ago | 0.002 ETH | ||||
12279994 | 1297 days ago | 0.08 ETH | ||||
11702894 | 1386 days ago | 0.002 ETH | ||||
11681496 | 1389 days ago | 0.03 ETH | ||||
11618380 | 1399 days ago | 16.39999999 ETH | ||||
11604017 | 1401 days ago | 0.001 ETH | ||||
11589083 | 1403 days ago | 10 ETH | ||||
11563610 | 1407 days ago | 0.001 ETH | ||||
11553214 | 1409 days ago | 0.002 ETH | ||||
11513136 | 1415 days ago | 6.64 ETH | ||||
11512591 | 1415 days ago | 1 ETH | ||||
11435969 | 1427 days ago | 0.002 ETH | ||||
11421316 | 1429 days ago | 0.05 ETH | ||||
11418755 | 1429 days ago | 0.001 ETH | ||||
11416256 | 1430 days ago | 0.49 ETH | ||||
11380904 | 1435 days ago | 0.001 ETH | ||||
11350713 | 1440 days ago | 0.01 ETH | ||||
11350690 | 1440 days ago | 0.005 ETH | ||||
11350108 | 1440 days ago | 0.01 ETH | ||||
11346933 | 1441 days ago | 0.002 ETH | ||||
11344519 | 1441 days ago | 0.002 ETH | ||||
11336420 | 1442 days ago | 0.0025 ETH | ||||
11336416 | 1442 days ago | 0.002 ETH | ||||
11329918 | 1443 days ago | 0.001 ETH | ||||
11329472 | 1443 days ago | 0.015 ETH |
Loading...
Loading
Contract Name:
P2Distribute
Compiler Version
v0.6.8+commit.0bbfe453
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: BSD-3-Clause pragma solidity 0.6.8; import "./Bank.sol"; contract P2Distribute is Bank { constructor(address _rec1, uint _perc1, uint _amount1, address _rec2, uint _perc2, uint _amount2, address _rec3, uint _perc3, uint _amount3) public { reentry_status = ENTRY_ENABLED; require((_perc1 + _perc2 + _perc3) == 100, "Percentage does not equal 100%"); createAccount(_rec1, address(this).balance, _perc1, _amount1); createAccount(_rec2, 0, _perc2, _amount2); createAccount(_rec3, 0, _perc3, _amount3); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity 0.6.8; import "./SafeMath.sol"; contract Bank { struct Account { uint amount; uint received; uint percentage; bool exists; } uint internal constant ENTRY_ENABLED = 1; uint internal constant ENTRY_DISABLED = 2; mapping(address => Account) internal accountStorage; mapping(uint => address) internal accountLookup; mapping(uint => uint) internal agreementAmount; uint internal reentry_status; uint internal totalHolders; uint internal systemBalance = 0; using SafeMath for uint; modifier hasAccount(address _account) { require(accountStorage[_account].exists, "Bank account dont exist!"); _; } modifier blockReEntry() { require(reentry_status != ENTRY_DISABLED, "Security Block"); reentry_status = ENTRY_DISABLED; _; reentry_status = ENTRY_ENABLED; } function initiateDistribute() external hasAccount(msg.sender) { uint amount = distribute(systemBalance); systemBalance = systemBalance.sub(amount); } function distribute(uint _amount) internal returns (uint) { require(_amount > 0, "No amount transferred"); uint percentage = _amount.div(100); uint total_used = 0; uint pay = 0; for (uint num = 0; num < totalHolders;num++) { pay = percentage * accountStorage[accountLookup[num]].percentage; if (pay > 0) { if (total_used.add(pay) > _amount) { //Ensure we do not pay out too much pay = _amount.sub(total_used); } deposit(accountLookup[num], pay); total_used = total_used.add(pay); } if (total_used >= _amount) { //Ensure we stop if we have paid out everything break; } } return total_used; } function deposit(address _to, uint _amount) internal hasAccount(_to) { accountStorage[_to].amount = accountStorage[_to].amount.add(_amount); } receive() external payable blockReEntry() { systemBalance = systemBalance.add(msg.value); } function getSystemBalance() external view hasAccount(msg.sender) returns (uint) { return systemBalance; } function getBalance() external view hasAccount(msg.sender) returns (uint) { return accountStorage[msg.sender].amount; } function getReceived() external view hasAccount(msg.sender) returns (uint) { return accountStorage[msg.sender].received; } function withdraw(uint _amount) external payable hasAccount(msg.sender) blockReEntry() { require(accountStorage[msg.sender].amount >= _amount && _amount > 0, "Not enough funds"); accountStorage[msg.sender].amount = accountStorage[msg.sender].amount.sub(_amount); accountStorage[msg.sender].received = accountStorage[msg.sender].received.add(_amount); (bool success, ) = msg.sender.call{ value: _amount }(""); require(success, "Transfer failed"); } function withdrawTo(address payable _to, uint _amount) external hasAccount(msg.sender) blockReEntry() { require(accountStorage[msg.sender].amount >= _amount && _amount > 0, "Not enough funds"); accountStorage[msg.sender].amount = accountStorage[msg.sender].amount.sub(_amount); accountStorage[msg.sender].received = accountStorage[msg.sender].received.add(_amount); (bool success, ) = _to.call{ value: _amount }(""); require(success, "Transfer failed"); } function subPercentage(address _addr, uint _percentage) internal hasAccount(_addr) { accountStorage[_addr].percentage = accountStorage[_addr].percentage.sub(_percentage); } function addPercentage(address _addr, uint _percentage) internal hasAccount(_addr) { accountStorage[_addr].percentage = accountStorage[_addr].percentage.add(_percentage); } function getPercentage() external view hasAccount(msg.sender) returns (uint) { return accountStorage[msg.sender].percentage; } function validateBalance() external hasAccount(msg.sender) returns (uint) { //Allow any account to verify/adjust contract balance uint amount = systemBalance; for (uint num = 0; num < totalHolders;num++) { amount = amount.add(accountStorage[accountLookup[num]].amount); } if (amount < address(this).balance) { uint balance = address(this).balance; balance = balance.sub(amount); systemBalance = systemBalance.add(balance); return balance; } return 0; } function createAccount(address _addr, uint _amount, uint _percentage, uint _agreementAmount) internal { accountStorage[_addr] = Account({amount: _amount, received: 0, percentage: _percentage, exists: true}); agreementAmount[totalHolders] = _agreementAmount; accountLookup[totalHolders++] = _addr; } function deleteAccount(address _addr, address _to) internal hasAccount(_addr) { deposit(_to, accountStorage[_addr].amount); for (uint8 num = 0; num < totalHolders;num++) { if (accountLookup[num] == _addr) { delete(accountLookup[num]); break; } } delete(accountStorage[_addr]); totalHolders--; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_rec1","type":"address"},{"internalType":"uint256","name":"_perc1","type":"uint256"},{"internalType":"uint256","name":"_amount1","type":"uint256"},{"internalType":"address","name":"_rec2","type":"address"},{"internalType":"uint256","name":"_perc2","type":"uint256"},{"internalType":"uint256","name":"_amount2","type":"uint256"},{"internalType":"address","name":"_rec3","type":"address"},{"internalType":"uint256","name":"_perc3","type":"uint256"},{"internalType":"uint256","name":"_amount3","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReceived","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSystemBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initiateDistribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"validateBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600060055534801561001557600080fd5b5060405161110a38038061110a833981810160405261012081101561003957600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e088015161010090980151600160035596979596949593949293919290919060648589018301146100ed57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50657263656e7461676520646f6573206e6f7420657175616c20313030250000604482015290519081900360640190fd5b6101038930318a8a64010000000061013d810204565b610119866000878764010000000061013d810204565b61012f836000848464010000000061013d810204565b5050505050505050506101d8565b6040805160808101825293845260006020808601828152868401958652600160608801818152600160a060020a039990991680855284845285852098518955915188820155955160028089019190915597516003909701805460ff1916971515979097179096556004805483529681528282209390935585548085019096559485529190529091208054600160a060020a0319169091179055565b610f23806101e76000396000f3fe60806040526004361061009c576000357c0100000000000000000000000000000000000000000000000000000000900480632e1a7d4d1161006b5780632e1a7d4d146101c157806355d0ad18146101de578063707fcf19146101f3578063e06295701461020857610123565b80630b2accb21461012857806312065fe01461014f578063205c28781461016457806321f4ae14146101ac57610123565b3661012357600260035414156101015760408051600080516020610ece833981519152815260206004820152600e60248201527f536563757269747920426c6f636b000000000000000000000000000000000000604482015290519081900360640190fd5b6002600355600554610119903463ffffffff61021d16565b6005556001600355005b600080fd5b34801561013457600080fd5b5061013d610286565b60408051918252519081900360200190f35b34801561015b57600080fd5b5061013d610312565b34801561017057600080fd5b506101aa6004803603604081101561018757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610399565b005b3480156101b857600080fd5b5061013d610604565b6101aa600480360360208110156101d757600080fd5b503561067e565b3480156101ea57600080fd5b5061013d6108d0565b3480156101ff57600080fd5b506101aa61095a565b34801561021457600080fd5b5061013d6109f3565b60008282018381101561027f5760408051600080516020610ece833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3360008181526020819052604081206003015490919060ff166102f85760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b3360009081526020819052604090206002015491505b5090565b3360008181526020819052604081206003015490919060ff166103845760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b50503360009081526020819052604090205490565b3360008181526020819052604090206003015460ff166104085760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b600260035414156104685760408051600080516020610ece833981519152815260206004820152600e60248201527f536563757269747920426c6f636b000000000000000000000000000000000000604482015290519081900360640190fd5b600260035533600090815260208190526040902054821180159061048c5750600082115b6104e55760408051600080516020610ece833981519152815260206004820152601060248201527f4e6f7420656e6f7567682066756e647300000000000000000000000000000000604482015290519081900360640190fd5b33600090815260208190526040902054610505908363ffffffff610b0816565b3360009081526020819052604090209081556001015461052b908363ffffffff61021d16565b3360009081526020819052604080822060010192909255905173ffffffffffffffffffffffffffffffffffffffff85169084908381818185875af1925050503d8060008114610596576040519150601f19603f3d011682016040523d82523d6000602084013e61059b565b606091505b50509050806105f95760408051600080516020610ece833981519152815260206004820152600f60248201527f5472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b505060016003555050565b3360008181526020819052604081206003015490919060ff166106765760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b505060055490565b3360008181526020819052604090206003015460ff166106ed5760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b6002600354141561074d5760408051600080516020610ece833981519152815260206004820152600e60248201527f536563757269747920426c6f636b000000000000000000000000000000000000604482015290519081900360640190fd5b60026003553360009081526020819052604090205482118015906107715750600082115b6107ca5760408051600080516020610ece833981519152815260206004820152601060248201527f4e6f7420656e6f7567682066756e647300000000000000000000000000000000604482015290519081900360640190fd5b336000908152602081905260409020546107ea908363ffffffff610b0816565b33600090815260208190526040902090815560010154610810908363ffffffff61021d16565b3360008181526020819052604080822060010193909355915184908381818185875af1925050503d8060008114610863576040519150601f19603f3d011682016040523d82523d6000602084013e610868565b606091505b50509050806108c65760408051600080516020610ece833981519152815260206004820152600f60248201527f5472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b5050600160035550565b3360008181526020819052604081206003015490919060ff166109425760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b50503360009081526020819052604090206001015490565b3360008181526020819052604090206003015460ff166109c95760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b60006109d6600554610b4a565b6005549091506109ec908263ffffffff610b0816565b6005555050565b3360008181526020819052604081206003015490919060ff16610a655760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b60055460005b600454811015610ac15760008181526001602090815260408083205473ffffffffffffffffffffffffffffffffffffffff16835290829052902054610ab790839063ffffffff61021d16565b9150600101610a6b565b503031811015610aff573031610add818363ffffffff610b0816565b600554909150610af3908263ffffffff61021d16565b600555925061030e9050565b60009250505090565b600061027f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c94565b6000808211610ba85760408051600080516020610ece833981519152815260206004820152601560248201527f4e6f20616d6f756e74207472616e736665727265640000000000000000000000604482015290519081900360640190fd5b6000610bbb83606463ffffffff610d3316565b9050600080805b600454811015610c8a5760008181526001602090815260408083205473ffffffffffffffffffffffffffffffffffffffff16835290829052902060020154840291508115610c765785610c1b848463ffffffff61021d16565b1115610c3457610c31868463ffffffff610b0816565b91505b600081815260016020526040902054610c639073ffffffffffffffffffffffffffffffffffffffff1683610d75565b610c73838363ffffffff61021d16565b92505b858310610c8257610c8a565b600101610bc2565b5090949350505050565b60008184841115610d2b57604051600080516020610ece83398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cf0578181015183820152602001610cd8565b50505050905090810190601f168015610d1d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061027f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610e60565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902060030154829060ff16610dfc5760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054610e32908363ffffffff61021d16565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152602081905260409020929092555050565b60008183610eb757604051600080516020610ece8339815191528152602060048201818152835160248401528351909283926044909101919085019080838360008315610cf0578181015183820152602001610cd8565b506000838581610ec357fe5b049594505050505056fe08c379a000000000000000000000000000000000000000000000000000000000a2646970667358221220f5572aa1f239857acf917da2079509302dd2df03c6d072c5a3aeb5f022309de964736f6c634300060800330000000000000000000000006948bd8b9008c93e84410067979ec1dd9d8f1d2d00000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c17a46b08db9e9ac9e1834e0b4f3fa8e0f7499a6000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000000000000000000000000000001aefffa2256be68b18eaa9fc051a30ad0dd9631d00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061009c576000357c0100000000000000000000000000000000000000000000000000000000900480632e1a7d4d1161006b5780632e1a7d4d146101c157806355d0ad18146101de578063707fcf19146101f3578063e06295701461020857610123565b80630b2accb21461012857806312065fe01461014f578063205c28781461016457806321f4ae14146101ac57610123565b3661012357600260035414156101015760408051600080516020610ece833981519152815260206004820152600e60248201527f536563757269747920426c6f636b000000000000000000000000000000000000604482015290519081900360640190fd5b6002600355600554610119903463ffffffff61021d16565b6005556001600355005b600080fd5b34801561013457600080fd5b5061013d610286565b60408051918252519081900360200190f35b34801561015b57600080fd5b5061013d610312565b34801561017057600080fd5b506101aa6004803603604081101561018757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610399565b005b3480156101b857600080fd5b5061013d610604565b6101aa600480360360208110156101d757600080fd5b503561067e565b3480156101ea57600080fd5b5061013d6108d0565b3480156101ff57600080fd5b506101aa61095a565b34801561021457600080fd5b5061013d6109f3565b60008282018381101561027f5760408051600080516020610ece833981519152815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3360008181526020819052604081206003015490919060ff166102f85760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b3360009081526020819052604090206002015491505b5090565b3360008181526020819052604081206003015490919060ff166103845760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b50503360009081526020819052604090205490565b3360008181526020819052604090206003015460ff166104085760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b600260035414156104685760408051600080516020610ece833981519152815260206004820152600e60248201527f536563757269747920426c6f636b000000000000000000000000000000000000604482015290519081900360640190fd5b600260035533600090815260208190526040902054821180159061048c5750600082115b6104e55760408051600080516020610ece833981519152815260206004820152601060248201527f4e6f7420656e6f7567682066756e647300000000000000000000000000000000604482015290519081900360640190fd5b33600090815260208190526040902054610505908363ffffffff610b0816565b3360009081526020819052604090209081556001015461052b908363ffffffff61021d16565b3360009081526020819052604080822060010192909255905173ffffffffffffffffffffffffffffffffffffffff85169084908381818185875af1925050503d8060008114610596576040519150601f19603f3d011682016040523d82523d6000602084013e61059b565b606091505b50509050806105f95760408051600080516020610ece833981519152815260206004820152600f60248201527f5472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b505060016003555050565b3360008181526020819052604081206003015490919060ff166106765760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b505060055490565b3360008181526020819052604090206003015460ff166106ed5760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b6002600354141561074d5760408051600080516020610ece833981519152815260206004820152600e60248201527f536563757269747920426c6f636b000000000000000000000000000000000000604482015290519081900360640190fd5b60026003553360009081526020819052604090205482118015906107715750600082115b6107ca5760408051600080516020610ece833981519152815260206004820152601060248201527f4e6f7420656e6f7567682066756e647300000000000000000000000000000000604482015290519081900360640190fd5b336000908152602081905260409020546107ea908363ffffffff610b0816565b33600090815260208190526040902090815560010154610810908363ffffffff61021d16565b3360008181526020819052604080822060010193909355915184908381818185875af1925050503d8060008114610863576040519150601f19603f3d011682016040523d82523d6000602084013e610868565b606091505b50509050806108c65760408051600080516020610ece833981519152815260206004820152600f60248201527f5472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b5050600160035550565b3360008181526020819052604081206003015490919060ff166109425760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b50503360009081526020819052604090206001015490565b3360008181526020819052604090206003015460ff166109c95760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b60006109d6600554610b4a565b6005549091506109ec908263ffffffff610b0816565b6005555050565b3360008181526020819052604081206003015490919060ff16610a655760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b60055460005b600454811015610ac15760008181526001602090815260408083205473ffffffffffffffffffffffffffffffffffffffff16835290829052902054610ab790839063ffffffff61021d16565b9150600101610a6b565b503031811015610aff573031610add818363ffffffff610b0816565b600554909150610af3908263ffffffff61021d16565b600555925061030e9050565b60009250505090565b600061027f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c94565b6000808211610ba85760408051600080516020610ece833981519152815260206004820152601560248201527f4e6f20616d6f756e74207472616e736665727265640000000000000000000000604482015290519081900360640190fd5b6000610bbb83606463ffffffff610d3316565b9050600080805b600454811015610c8a5760008181526001602090815260408083205473ffffffffffffffffffffffffffffffffffffffff16835290829052902060020154840291508115610c765785610c1b848463ffffffff61021d16565b1115610c3457610c31868463ffffffff610b0816565b91505b600081815260016020526040902054610c639073ffffffffffffffffffffffffffffffffffffffff1683610d75565b610c73838363ffffffff61021d16565b92505b858310610c8257610c8a565b600101610bc2565b5090949350505050565b60008184841115610d2b57604051600080516020610ece83398151915281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cf0578181015183820152602001610cd8565b50505050905090810190601f168015610d1d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061027f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610e60565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902060030154829060ff16610dfc5760408051600080516020610ece833981519152815260206004820152601860248201527f42616e6b206163636f756e7420646f6e74206578697374210000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054610e32908363ffffffff61021d16565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152602081905260409020929092555050565b60008183610eb757604051600080516020610ece8339815191528152602060048201818152835160248401528351909283926044909101919085019080838360008315610cf0578181015183820152602001610cd8565b506000838581610ec357fe5b049594505050505056fe08c379a000000000000000000000000000000000000000000000000000000000a2646970667358221220f5572aa1f239857acf917da2079509302dd2df03c6d072c5a3aeb5f022309de964736f6c63430006080033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006948bd8b9008c93e84410067979ec1dd9d8f1d2d00000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c17a46b08db9e9ac9e1834e0b4f3fa8e0f7499a6000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000000000000000000000000000001aefffa2256be68b18eaa9fc051a30ad0dd9631d00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _rec1 (address): 0x6948Bd8b9008c93E84410067979eC1DD9d8F1d2d
Arg [1] : _perc1 (uint256): 25
Arg [2] : _amount1 (uint256): 0
Arg [3] : _rec2 (address): 0xC17A46b08Db9e9AC9e1834e0b4f3fa8e0F7499a6
Arg [4] : _perc2 (uint256): 25
Arg [5] : _amount2 (uint256): 0
Arg [6] : _rec3 (address): 0x1AEFFFa2256be68b18EAa9fc051A30ad0DD9631D
Arg [7] : _perc3 (uint256): 50
Arg [8] : _amount3 (uint256): 0
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000006948bd8b9008c93e84410067979ec1dd9d8f1d2d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 000000000000000000000000c17a46b08db9e9ac9e1834e0b4f3fa8e0f7499a6
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000001aefffa2256be68b18eaa9fc051a30ad0dd9631d
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
94:482:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:1:0;790:14;;:32;;782:59;;;;;-1:-1:-1;;;;;;;;;;;782:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:1;848:14;:31;2068:13:::1;::::0;:28:::1;::::0;2086:9:::1;2068:28;:17;:28;:::i;:::-;2052:13;:44:::0;261:1;898:14;:30;94:482:1;;12:1:-1;9;2:12;3868:134:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3868:134:0;;;:::i;:::-;;;;;;;;;;;;;;;;2227:127;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2227:127:0;;;:::i;2989:493::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2989:493:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;2989:493:0;;;;;;;;;:::i;:::-;;2108:113;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2108:113:0;;;:::i;2498:485::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;2498:485:0;;:::i;2360:130::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2360:130:0;;;:::i;940:164::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;940:164:0;;;:::i;4008:530::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4008:530:0;;;:::i;876:176:2:-;934:7;965:5;;;988:6;;;;980:46;;;;;-1:-1:-1;;;;;;;;;;;980:46:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;1044:1;876:176;-1:-1:-1;;;876:176:2:o;3868:134:0:-;3918:10;3939:4;661:24;;;;;;;;;;:31;;;3939:4;;3918:10;661:31;;653:68;;;;;-1:-1:-1;;;;;;;;;;;653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3974:10:::1;3959:14;:26:::0;;;::::1;::::0;;;;;;:37:::1;;::::0;;-1:-1:-1;730:1:0::1;3868:134:::0;;:::o;2227:127::-;2274:10;2295:4;661:24;;;;;;;;;;:31;;;2295:4;;2274:10;661:31;;653:68;;;;;-1:-1:-1;;;;;;;;;;;653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2330:10:0::1;2315:14;:26:::0;;;::::1;::::0;;;;;;:33;;2227:127::o;2989:493::-;3064:10;661:14;:24;;;;;;;;;;:31;;;;;653:68;;;;;-1:-1:-1;;;;;;;;;;;653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:1:::1;790:14;;:32;;782:59;;;::::0;;-1:-1:-1;;;;;;;;;;;782:59:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;307:1;848:14;:31:::0;3121:10:::2;3106:14;:26:::0;;;::::2;::::0;;;;;;:33;:44;-1:-1:-1;3106:44:0;::::2;::::0;:59:::2;;;3164:1;3154:7;:11;3106:59;3098:88;;;::::0;;-1:-1:-1;;;;;;;;;;;3098:88:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;3246:10;3231:14;:26:::0;;;::::2;::::0;;;;;;:33;:46:::2;::::0;3269:7;3231:46:::2;:37;:46;:::i;:::-;3210:10;3195:14;:26:::0;;;::::2;::::0;;;;;;:82;;;3322:35:::2;;::::0;:48:::2;::::0;3362:7;3322:48:::2;:39;:48;:::i;:::-;3299:10;3284:14;:26:::0;;;::::2;::::0;;;;;;;:35:::2;;:86:::0;;;;3398:30;;3284:26:::2;3398:8:::0;::::2;::::0;3415:7;;3284:14;3398:30;3284:14;3398:30;3415:7;3398:8;:30:::2;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;3379:49:0;;;3449:7;3441:35;;;::::0;;-1:-1:-1;;;;;;;;;;;3441:35:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;-1:-1:-1::0;;261:1:0::1;898:14;:30:::0;-1:-1:-1;;2989:493:0:o;2108:113::-;2161:10;2182:4;661:24;;;;;;;;;;:31;;;2182:4;;2161:10;661:31;;653:68;;;;;-1:-1:-1;;;;;;;;;;;653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2202:13:0::1;::::0;;2108:113::o;2498:485::-;2558:10;661:14;:24;;;;;;;;;;:31;;;;;653:68;;;;;-1:-1:-1;;;;;;;;;;;653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:1:::1;790:14;;:32;;782:59;;;::::0;;-1:-1:-1;;;;;;;;;;;782:59:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;307:1;848:14;:31:::0;2615:10:::2;2600:14;:26:::0;;;::::2;::::0;;;;;;:33;:44;-1:-1:-1;2600:44:0;::::2;::::0;:59:::2;;;2658:1;2648:7;:11;2600:59;2592:88;;;::::0;;-1:-1:-1;;;;;;;;;;;2592:88:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;2740:10;2725:14;:26:::0;;;::::2;::::0;;;;;;:33;:46:::2;::::0;2763:7;2725:46:::2;:37;:46;:::i;:::-;2704:10;2689:14;:26:::0;;;::::2;::::0;;;;;;:82;;;2816:35:::2;;::::0;:48:::2;::::0;2856:7;2816:48:::2;:39;:48;:::i;:::-;2793:10;2778:14;:26:::0;;;::::2;::::0;;;;;;;:35:::2;;:86:::0;;;;2892:37;;2916:7;;2778:14;2892:37;2778:14;2892:37;2916:7;2793:10;2892:37:::2;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;2873:56:0;;;2950:7;2942:35;;;::::0;;-1:-1:-1;;;;;;;;;;;2942:35:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;-1:-1:-1::0;;261:1:0::1;898:14;:30:::0;-1:-1:-1;2498:485:0:o;2360:130::-;2408:10;2429:4;661:24;;;;;;;;;;:31;;;2429:4;;2408:10;661:31;;653:68;;;;;-1:-1:-1;;;;;;;;;;;653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2464:10:0::1;2449:14;:26:::0;;;::::1;::::0;;;;;;:35:::1;;::::0;;2360:130::o;940:164::-;990:10;661:14;:24;;;;;;;;;;:31;;;;;653:68;;;;;-1:-1:-1;;;;;;;;;;;653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1009:11:::1;1023:25;1034:13;;1023:10;:25::i;:::-;1073:13;::::0;1009:39;;-1:-1:-1;1073:25:0::1;::::0;1009:39;1073:25:::1;:17;:25;:::i;:::-;1057:13;:41:::0;-1:-1:-1;;940:164:0:o;4008:530::-;4055:10;4076:4;661:24;;;;;;;;;;:31;;;4076:4;;4055:10;661:31;;653:68;;;;;-1:-1:-1;;;;;;;;;;;653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4157:13:::1;::::0;4143:11:::1;4179:124;4204:12;;4198:3;:18;4179:124;;;4253:14;4268:18:::0;;;:13:::1;:18;::::0;;;;;;;;::::1;;4253:34:::0;;;;;;;;:41;4242:53:::1;::::0;:6;;:53:::1;:10;:53;:::i;:::-;4233:62:::0;-1:-1:-1;4217:5:0::1;;4179:124;;;-1:-1:-1::0;4332:4:0::1;4324:21;4315:30:::0;::::1;4311:205;;;4379:4;4371:21;4411:19;4371:21:::0;4423:6;4411:19:::1;:11;:19;:::i;:::-;4457:13;::::0;4401:29;;-1:-1:-1;4457:26:0::1;::::0;4401:29;4457:26:::1;:17;:26;:::i;:::-;4441:13;:42:::0;4501:7;-1:-1:-1;4494:14:0::1;::::0;-1:-1:-1;4494:14:0::1;4311:205;4531:1;4524:8;;;4008:530:::0;;:::o;1316:134:2:-;1374:7;1400:43;1404:1;1407;1400:43;;;;;;;;;;;;;;;;;:3;:43::i;1110:731:0:-;1162:4;1193:1;1183:7;:11;1175:45;;;;;-1:-1:-1;;;;;;;;;;;1175:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1229:15;1247:16;:7;1259:3;1247:16;:11;:16;:::i;:::-;1229:34;-1:-1:-1;1270:15:0;;;1317:493;1342:12;;1336:3;:18;1317:493;;;1390:14;1405:18;;;:13;:18;;;;;;;;;;;1390:34;;;;;;;;:45;;;1377:58;;;-1:-1:-1;1450:7:0;;1446:246;;1496:7;1474:19;:10;1489:3;1474:19;:14;:19;:::i;:::-;:29;1470:125;;;1560:23;:7;1572:10;1560:23;:11;:23;:::i;:::-;1554:29;;1470:125;1615:18;;;;:13;:18;;;;;;1607:32;;1615:18;;1635:3;1607:7;:32::i;:::-;1663:19;:10;1678:3;1663:19;:14;:19;:::i;:::-;1650:32;;1446:246;1720:7;1706:10;:21;1702:101;;1788:5;;1702:101;1355:5;;1317:493;;;-1:-1:-1;1825:10:0;;1110:731;-1:-1:-1;;;;1110:731:0:o;1734:187:2:-;1820:7;1855:12;1847:6;;;;1839:29;;;;-1:-1:-1;;;;;;;;;;;1839:29:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1839:29:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1890:5:2;;;1734:187::o;3075:130::-;3133:7;3159:39;3163:1;3166;3159:39;;;;;;;;;;;;;;;;;:3;:39::i;1847:150:0:-;661:24;;;:14;:24;;;;;;;;;;:31;;;1911:3;;661:31;;653:68;;;;;-1:-1:-1;;;;;;;;;;;653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1952:19:::1;::::0;::::1;:14;:19:::0;;;::::1;::::0;;;;;;:26;:39:::1;::::0;1983:7;1952:39:::1;:30;:39;:::i;:::-;1923:19;::::0;;::::1;:14;:19:::0;;;::::1;::::0;;;;;;:68;;;;-1:-1:-1;;1847:150:0:o;3680:338:2:-;3766:7;3866:12;3859:5;3851:28;;;;-1:-1:-1;;;;;;;;;;;3851:28:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;3851:28:2;;3889:9;3905:1;3901;:5;;;;;;;3680:338;-1:-1:-1;;;;;3680:338:2:o
Swarm Source
ipfs://f5572aa1f239857acf917da2079509302dd2df03c6d072c5a3aeb5f022309de9
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $2,937.89 | 0.005 | $14.69 |
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.