Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 14,320 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Enter | 15514294 | 869 days ago | IN | 0 ETH | 0.00030567 | ||||
Enter | 15464239 | 877 days ago | IN | 0 ETH | 0.00083275 | ||||
Enter | 15248165 | 911 days ago | IN | 0 ETH | 0.00036847 | ||||
Enter | 15248146 | 911 days ago | IN | 0 ETH | 0.00031714 | ||||
Enter | 15248146 | 911 days ago | IN | 0 ETH | 0.00036157 | ||||
Enter | 15192027 | 920 days ago | IN | 0 ETH | 0.00050239 | ||||
Enter | 15073398 | 938 days ago | IN | 0 ETH | 0.0043329 | ||||
Enter | 15061157 | 940 days ago | IN | 0 ETH | 0.00263115 | ||||
Enter | 15048424 | 942 days ago | IN | 0 ETH | 0.01070755 | ||||
Enter | 15047816 | 943 days ago | IN | 0 ETH | 0.01160405 | ||||
Enter | 15047529 | 943 days ago | IN | 0 ETH | 0.0049905 | ||||
Enter | 15045936 | 943 days ago | IN | 0 ETH | 0.00723262 | ||||
Enter | 15010436 | 950 days ago | IN | 0 ETH | 0.00771692 | ||||
Enter | 14994641 | 952 days ago | IN | 0 ETH | 0.0011412 | ||||
Enter | 14994641 | 952 days ago | IN | 0 ETH | 0.00114436 | ||||
Enter | 14985066 | 954 days ago | IN | 0 ETH | 0.00285026 | ||||
Enter | 14965099 | 957 days ago | IN | 0 ETH | 0.00440777 | ||||
Enter | 14965058 | 957 days ago | IN | 0 ETH | 0.0070884 | ||||
Enter | 14965056 | 957 days ago | IN | 0 ETH | 0.00503586 | ||||
Enter | 14952087 | 960 days ago | IN | 0 ETH | 0.00484459 | ||||
Enter | 14942393 | 961 days ago | IN | 0 ETH | 0.00304947 | ||||
Enter | 14941936 | 961 days ago | IN | 0 ETH | 0.00286346 | ||||
Enter | 14907225 | 967 days ago | IN | 0 ETH | 0.00196528 | ||||
Enter | 14902867 | 968 days ago | IN | 0 ETH | 0.00232028 | ||||
Enter | 14896310 | 969 days ago | IN | 0 ETH | 0.00712602 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
DappLogic
Compiler Version
v0.5.4+commit.9549d8ff
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-26 */ pragma solidity ^0.5.4; contract Account { // The implementation of the proxy address public implementation; // Logic manager address public manager; // The enabled static calls mapping (bytes4 => address) public enabled; event EnabledStaticCall(address indexed module, bytes4 indexed method); event Invoked(address indexed module, address indexed target, uint indexed value, bytes data); event Received(uint indexed value, address indexed sender, bytes data); event AccountInit(address indexed account); event ManagerChanged(address indexed mgr); modifier allowAuthorizedLogicContractsCallsOnly { require(LogicManager(manager).isAuthorized(msg.sender), "not an authorized logic"); _; } /** * @dev better to create and init account through AccountCreator.createAccount, which avoids race condition on Account.init */ function init(address _manager, address _accountStorage, address[] calldata _logics, address[] calldata _keys, address[] calldata _backups) external { require(manager == address(0), "Account: account already initialized"); require(_manager != address(0) && _accountStorage != address(0), "Account: address is null"); manager = _manager; for (uint i = 0; i < _logics.length; i++) { address logic = _logics[i]; require(LogicManager(manager).isAuthorized(logic), "must be authorized logic"); BaseLogic(logic).initAccount(this); } AccountStorage(_accountStorage).initAccount(this, _keys, _backups); emit AccountInit(address(this)); } /** * @dev Account calls an external target contract. * @param _target The target contract address. * @param _value ETH value of the call. * @param _data data of the call. */ function invoke(address _target, uint _value, bytes calldata _data) external allowAuthorizedLogicContractsCallsOnly returns (bytes memory _res) { bool success; // solium-disable-next-line security/no-call-value (success, _res) = _target.call.value(_value)(_data); require(success, "call to target failed"); emit Invoked(msg.sender, _target, _value, _data); } /** * @dev Enables a static method by specifying the target module to which the call must be delegated. * @param _module The target module. * @param _method The static method signature. */ function enableStaticCall(address _module, bytes4 _method) external allowAuthorizedLogicContractsCallsOnly { enabled[_method] = _module; emit EnabledStaticCall(_module, _method); } /** * @dev Reserved method to change account's manager. Normally it's unused. * Calling this method requires adding a new authorized logic. * @param _newMgr New logic manager. */ function changeManager(address _newMgr) external allowAuthorizedLogicContractsCallsOnly { require(_newMgr != address(0), "address cannot be null"); require(_newMgr != manager, "already changed"); manager = _newMgr; emit ManagerChanged(_newMgr); } /** * @dev This method makes it possible for the wallet to comply to interfaces expecting the wallet to * implement specific static methods. It delegates the static call to a target contract if the data corresponds * to an enabled method, or logs the call otherwise. */ function() external payable { if(msg.data.length > 0) { address logic = enabled[msg.sig]; if(logic == address(0)) { emit Received(msg.value, msg.sender, msg.data); } else { require(LogicManager(manager).isAuthorized(logic), "must be an authorized logic for static call"); // solium-disable-next-line security/no-inline-assembly assembly { calldatacopy(0, 0, calldatasize()) let result := staticcall(gas, logic, 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) switch result case 0 {revert(0, returndatasize())} default {return (0, returndatasize())} } } } } } contract Owned { // The owner address public owner; event OwnerChanged(address indexed _newOwner); /** * @dev Throws if the sender is not the owner. */ modifier onlyOwner { require(msg.sender == owner, "Must be owner"); _; } constructor() public { owner = msg.sender; } /** * @dev Lets the owner transfer ownership of the contract to a new owner. * @param _newOwner The new owner. */ function changeOwner(address _newOwner) external onlyOwner { require(_newOwner != address(0), "Address must not be null"); owner = _newOwner; emit OwnerChanged(_newOwner); } } contract LogicManager is Owned { event UpdateLogicSubmitted(address indexed logic, bool value); event UpdateLogicCancelled(address indexed logic); event UpdateLogicDone(address indexed logic, bool value); struct pending { bool value; //True: enable a new logic; False: disable an old logic. uint dueTime; //due time of a pending logic } // The authorized logic modules mapping (address => bool) public authorized; /* array index 0: AccountLogic address 1: TransferLogic address 2: DualsigsLogic address 3: DappLogic address 4: ... */ address[] public authorizedLogics; // updated logics and their due time of becoming effective mapping (address => pending) public pendingLogics; struct pendingTime { uint curPendingTime; //current pending time uint nextPendingTime; //new pending time uint dueTime; //due time of new pending time } pendingTime public pt; // how many authorized logics uint public logicCount; constructor(address[] memory _initialLogics, uint256 _pendingTime) public { for (uint i = 0; i < _initialLogics.length; i++) { address logic = _initialLogics[i]; authorized[logic] = true; logicCount += 1; } authorizedLogics = _initialLogics; pt.curPendingTime = _pendingTime; pt.nextPendingTime = _pendingTime; pt.dueTime = now; } /** * @dev Submit a new pending time. Called only by owner. * @param _pendingTime The new pending time. */ function submitUpdatePendingTime(uint _pendingTime) external onlyOwner { pt.nextPendingTime = _pendingTime; pt.dueTime = pt.curPendingTime + now; } /** * @dev Trigger updating pending time. */ function triggerUpdatePendingTime() external { require(pt.dueTime <= now, "too early to trigger updatePendingTime"); pt.curPendingTime = pt.nextPendingTime; } /** * @dev check if a logic contract is authorized. */ function isAuthorized(address _logic) external view returns (bool) { return authorized[_logic]; } /** * @dev get the authorized logic array. */ function getAuthorizedLogics() external view returns (address[] memory) { return authorizedLogics; } /** * @dev Submit a new logic. Called only by owner. * @param _logic The new logic contract address. * @param _value True: enable a new logic; False: disable an old logic. */ function submitUpdate(address _logic, bool _value) external onlyOwner { pending storage p = pendingLogics[_logic]; p.value = _value; p.dueTime = now + pt.curPendingTime; emit UpdateLogicSubmitted(_logic, _value); } /** * @dev Cancel a logic update. Called only by owner. */ function cancelUpdate(address _logic) external onlyOwner { delete pendingLogics[_logic]; emit UpdateLogicCancelled(_logic); } /** * @dev Trigger updating a new logic. * @param _logic The logic contract address. */ function triggerUpdateLogic(address _logic) external { pending memory p = pendingLogics[_logic]; require(p.dueTime > 0, "pending logic not found"); require(p.dueTime <= now, "too early to trigger updateLogic"); updateLogic(_logic, p.value); delete pendingLogics[_logic]; } /** * @dev To update an existing logic, for example authorizedLogics[1], * first a new logic is added to the array end, then copied to authorizedLogics[1], * then the last logic is dropped, done. */ function updateLogic(address _logic, bool _value) internal { if (authorized[_logic] != _value) { if(_value) { logicCount += 1; authorized[_logic] = true; authorizedLogics.push(_logic); } else { logicCount -= 1; require(logicCount > 0, "must have at least one logic module"); delete authorized[_logic]; removeLogic(_logic); } emit UpdateLogicDone(_logic, _value); } } function removeLogic(address _logic) internal { uint len = authorizedLogics.length; address lastLogic = authorizedLogics[len - 1]; if (_logic != lastLogic) { for (uint i = 0; i < len; i++) { if (_logic == authorizedLogics[i]) { authorizedLogics[i] = lastLogic; break; } } } authorizedLogics.length--; } } contract AccountStorage { modifier allowAccountCallsOnly(Account _account) { require(msg.sender == address(_account), "caller must be account"); _; } modifier allowAuthorizedLogicContractsCallsOnly(address payable _account) { require(LogicManager(Account(_account).manager()).isAuthorized(msg.sender), "not an authorized logic"); _; } struct KeyItem { address pubKey; uint256 status; } struct BackupAccount { address backup; uint256 effectiveDate;//means not effective until this timestamp uint256 expiryDate;//means effective until this timestamp } struct DelayItem { bytes32 hash; uint256 dueTime; } struct Proposal { bytes32 hash; address[] approval; } // account => quantity of operation keys (index >= 1) mapping (address => uint256) operationKeyCount; // account => index => KeyItem mapping (address => mapping(uint256 => KeyItem)) keyData; // account => index => backup account mapping (address => mapping(uint256 => BackupAccount)) backupData; /* account => actionId => DelayItem delayData applies to these 4 actions: changeAdminKey, changeAllOperationKeys, unfreeze, changeAdminKeyByBackup */ mapping (address => mapping(bytes4 => DelayItem)) delayData; // client account => proposer account => proposed actionId => Proposal mapping (address => mapping(address => mapping(bytes4 => Proposal))) proposalData; // *************** keyCount ********************** // function getOperationKeyCount(address _account) external view returns(uint256) { return operationKeyCount[_account]; } function increaseKeyCount(address payable _account) external allowAuthorizedLogicContractsCallsOnly(_account) { operationKeyCount[_account] = operationKeyCount[_account] + 1; } // *************** keyData ********************** // function getKeyData(address _account, uint256 _index) public view returns(address) { KeyItem memory item = keyData[_account][_index]; return item.pubKey; } function setKeyData(address payable _account, uint256 _index, address _key) external allowAuthorizedLogicContractsCallsOnly(_account) { require(_key != address(0), "invalid _key value"); KeyItem storage item = keyData[_account][_index]; item.pubKey = _key; } // *************** keyStatus ********************** // function getKeyStatus(address _account, uint256 _index) external view returns(uint256) { KeyItem memory item = keyData[_account][_index]; return item.status; } function setKeyStatus(address payable _account, uint256 _index, uint256 _status) external allowAuthorizedLogicContractsCallsOnly(_account) { KeyItem storage item = keyData[_account][_index]; item.status = _status; } // *************** backupData ********************** // function getBackupAddress(address _account, uint256 _index) external view returns(address) { BackupAccount memory b = backupData[_account][_index]; return b.backup; } function getBackupEffectiveDate(address _account, uint256 _index) external view returns(uint256) { BackupAccount memory b = backupData[_account][_index]; return b.effectiveDate; } function getBackupExpiryDate(address _account, uint256 _index) external view returns(uint256) { BackupAccount memory b = backupData[_account][_index]; return b.expiryDate; } function setBackup(address payable _account, uint256 _index, address _backup, uint256 _effective, uint256 _expiry) external allowAuthorizedLogicContractsCallsOnly(_account) { BackupAccount storage b = backupData[_account][_index]; b.backup = _backup; b.effectiveDate = _effective; b.expiryDate = _expiry; } function setBackupExpiryDate(address payable _account, uint256 _index, uint256 _expiry) external allowAuthorizedLogicContractsCallsOnly(_account) { BackupAccount storage b = backupData[_account][_index]; b.expiryDate = _expiry; } function clearBackupData(address payable _account, uint256 _index) external allowAuthorizedLogicContractsCallsOnly(_account) { delete backupData[_account][_index]; } // *************** delayData ********************** // function getDelayDataHash(address payable _account, bytes4 _actionId) external view returns(bytes32) { DelayItem memory item = delayData[_account][_actionId]; return item.hash; } function getDelayDataDueTime(address payable _account, bytes4 _actionId) external view returns(uint256) { DelayItem memory item = delayData[_account][_actionId]; return item.dueTime; } function setDelayData(address payable _account, bytes4 _actionId, bytes32 _hash, uint256 _dueTime) external allowAuthorizedLogicContractsCallsOnly(_account) { DelayItem storage item = delayData[_account][_actionId]; item.hash = _hash; item.dueTime = _dueTime; } function clearDelayData(address payable _account, bytes4 _actionId) external allowAuthorizedLogicContractsCallsOnly(_account) { delete delayData[_account][_actionId]; } // *************** proposalData ********************** // function getProposalDataHash(address _client, address _proposer, bytes4 _actionId) external view returns(bytes32) { Proposal memory p = proposalData[_client][_proposer][_actionId]; return p.hash; } function getProposalDataApproval(address _client, address _proposer, bytes4 _actionId) external view returns(address[] memory) { Proposal memory p = proposalData[_client][_proposer][_actionId]; return p.approval; } function setProposalData(address payable _client, address _proposer, bytes4 _actionId, bytes32 _hash, address _approvedBackup) external allowAuthorizedLogicContractsCallsOnly(_client) { Proposal storage p = proposalData[_client][_proposer][_actionId]; if (p.hash > 0) { if (p.hash == _hash) { for (uint256 i = 0; i < p.approval.length; i++) { require(p.approval[i] != _approvedBackup, "backup already exists"); } p.approval.push(_approvedBackup); } else { p.hash = _hash; p.approval.length = 0; } } else { p.hash = _hash; p.approval.push(_approvedBackup); } } function clearProposalData(address payable _client, address _proposer, bytes4 _actionId) external allowAuthorizedLogicContractsCallsOnly(_client) { delete proposalData[_client][_proposer][_actionId]; } // *************** init ********************** // /** * @dev Write account data into storage. * @param _account The Account. * @param _keys The initial keys. * @param _backups The initial backups. */ function initAccount(Account _account, address[] calldata _keys, address[] calldata _backups) external allowAccountCallsOnly(_account) { require(getKeyData(address(_account), 0) == address(0), "AccountStorage: account already initialized!"); require(_keys.length > 0, "empty keys array"); operationKeyCount[address(_account)] = _keys.length - 1; for (uint256 index = 0; index < _keys.length; index++) { address _key = _keys[index]; require(_key != address(0), "_key cannot be 0x0"); KeyItem storage item = keyData[address(_account)][index]; item.pubKey = _key; item.status = 0; } // avoid backup duplication if _backups.length > 1 // normally won't check duplication, in most cases only one initial backup when initialization if (_backups.length > 1) { address[] memory bkps = _backups; for (uint256 i = 0; i < _backups.length; i++) { for (uint256 j = 0; j < i; j++) { require(bkps[j] != _backups[i], "duplicate backup"); } } } for (uint256 index = 0; index < _backups.length; index++) { address _backup = _backups[index]; require(_backup != address(0), "backup cannot be 0x0"); require(_backup != address(_account), "cannot be backup of oneself"); backupData[address(_account)][index] = BackupAccount(_backup, now, uint256(-1)); } } } /* The MIT License (MIT) Copyright (c) 2016 Smart Contract Solutions, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on 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-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two numbers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); // Solidity only automatically asserts when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two numbers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two numbers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } /** * @dev Returns ceil(a / b). */ function ceil(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; if(a % b == 0) { return c; } else { return c + 1; } } } contract BaseLogic { bytes constant internal SIGN_HASH_PREFIX = "\x19Ethereum Signed Message:\n32"; mapping (address => uint256) keyNonce; AccountStorage public accountStorage; modifier allowSelfCallsOnly() { require (msg.sender == address(this), "only internal call is allowed"); _; } modifier allowAccountCallsOnly(Account _account) { require(msg.sender == address(_account), "caller must be account"); _; } // *************** Constructor ********************** // constructor(AccountStorage _accountStorage) public { accountStorage = _accountStorage; } // *************** Initialization ********************* // function initAccount(Account _account) external allowAccountCallsOnly(_account){ } // *************** Getter ********************** // function getKeyNonce(address _key) external view returns(uint256) { return keyNonce[_key]; } // *************** Signature ********************** // function getSignHash(bytes memory _data, uint256 _nonce) internal view returns(bytes32) { // use EIP 191 // 0x1900 + this logic address + data + nonce of signing key bytes32 msgHash = keccak256(abi.encodePacked(byte(0x19), byte(0), address(this), _data, _nonce)); bytes32 prefixedHash = keccak256(abi.encodePacked(SIGN_HASH_PREFIX, msgHash)); return prefixedHash; } function verifySig(address _signingKey, bytes memory _signature, bytes32 _signHash) internal pure { require(_signingKey != address(0), "invalid signing key"); address recoveredAddr = recover(_signHash, _signature); require(recoveredAddr == _signingKey, "signature verification failed"); } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * NOTE: This call _does not revert_ if the signature is invalid, or * if the signer is otherwise unable to be retrieved. In those scenarios, * the zero address is returned. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise) * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length if (signature.length != 65) { return (address(0)); } // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return address(0); } if (v != 27 && v != 28) { return address(0); } // If the signature is valid (and not malleable), return the signer address return ecrecover(hash, v, r, s); } /* get signer address from data * @dev Gets an address encoded as the first argument in transaction data * @param b The byte array that should have an address as first argument * @returns a The address retrieved from the array */ function getSignerAddress(bytes memory _b) internal pure returns (address _a) { require(_b.length >= 36, "invalid bytes"); // solium-disable-next-line security/no-inline-assembly assembly { let mask := 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF _a := and(mask, mload(add(_b, 36))) // b = {length:32}{method sig:4}{address:32}{...} // 36 is the offset of the first parameter of the data, if encoded properly. // 32 bytes for the length of the bytes array, and the first 4 bytes for the function signature. // 32 bytes is the length of the bytes array!!!! } } // get method id, first 4 bytes of data function getMethodId(bytes memory _b) internal pure returns (bytes4 _a) { require(_b.length >= 4, "invalid data"); // solium-disable-next-line security/no-inline-assembly assembly { // 32 bytes is the length of the bytes array _a := mload(add(_b, 32)) } } function checkKeyStatus(address _account, uint256 _index) internal view { // check operation key status if (_index > 0) { require(accountStorage.getKeyStatus(_account, _index) != 1, "frozen key"); } } // _nonce is timestamp in microsecond(1/1000000 second) function checkAndUpdateNonce(address _key, uint256 _nonce) internal { require(_nonce > keyNonce[_key], "nonce too small"); require(SafeMath.div(_nonce, 1000000) <= now + 86400, "nonce too big"); // 86400=24*3600 seconds keyNonce[_key] = _nonce; } } //https://github.com/hamdiallam/Solidity-RLP/blob/master/contracts/RLPReader.sol library RLPReader { uint8 constant STRING_SHORT_START = 0x80; uint8 constant STRING_LONG_START = 0xb8; uint8 constant LIST_SHORT_START = 0xc0; uint8 constant LIST_LONG_START = 0xf8; uint8 constant WORD_SIZE = 32; struct RLPItem { uint len; uint memPtr; } struct Iterator { RLPItem item; // Item that's being iterated over. uint nextPtr; // Position of the next item in the list. } /* * @dev Returns the next element in the iteration. Reverts if it has not next element. * @param self The iterator. * @return The next element in the iteration. */ function next(Iterator memory self) internal pure returns (RLPItem memory) { require(hasNext(self)); uint ptr = self.nextPtr; uint itemLength = _itemLength(ptr); self.nextPtr = ptr + itemLength; return RLPItem(itemLength, ptr); } /* * @dev Returns true if the iteration has more elements. * @param self The iterator. * @return true if the iteration has more elements. */ function hasNext(Iterator memory self) internal pure returns (bool) { RLPItem memory item = self.item; return self.nextPtr < item.memPtr + item.len; } /* * @param item RLP encoded bytes */ function toRlpItem(bytes memory item) internal pure returns (RLPItem memory) { uint memPtr; assembly { memPtr := add(item, 0x20) } return RLPItem(item.length, memPtr); } /* * @dev Create an iterator. Reverts if item is not a list. * @param self The RLP item. * @return An 'Iterator' over the item. */ function iterator(RLPItem memory self) internal pure returns (Iterator memory) { require(isList(self)); uint ptr = self.memPtr + _payloadOffset(self.memPtr); return Iterator(self, ptr); } /* * @param item RLP encoded bytes */ function rlpLen(RLPItem memory item) internal pure returns (uint) { return item.len; } /* * @param item RLP encoded bytes */ function payloadLen(RLPItem memory item) internal pure returns (uint) { return item.len - _payloadOffset(item.memPtr); } /* * @param item RLP encoded list in bytes */ function toList(RLPItem memory item) internal pure returns (RLPItem[] memory) { require(isList(item)); uint items = numItems(item); RLPItem[] memory result = new RLPItem[](items); uint memPtr = item.memPtr + _payloadOffset(item.memPtr); uint dataLen; for (uint i = 0; i < items; i++) { dataLen = _itemLength(memPtr); result[i] = RLPItem(dataLen, memPtr); memPtr = memPtr + dataLen; } return result; } // @return indicator whether encoded payload is a list. negate this function call for isData. function isList(RLPItem memory item) internal pure returns (bool) { if (item.len == 0) return false; uint8 byte0; uint memPtr = item.memPtr; assembly { byte0 := byte(0, mload(memPtr)) } if (byte0 < LIST_SHORT_START) return false; return true; } /** RLPItem conversions into data types **/ // @returns raw rlp encoding in bytes function toRlpBytes(RLPItem memory item) internal pure returns (bytes memory) { bytes memory result = new bytes(item.len); if (result.length == 0) return result; uint ptr; assembly { ptr := add(0x20, result) } copy(item.memPtr, ptr, item.len); return result; } // any non-zero byte is considered true function toBoolean(RLPItem memory item) internal pure returns (bool) { require(item.len == 1); uint result; uint memPtr = item.memPtr; assembly { result := byte(0, mload(memPtr)) } return result == 0 ? false : true; } function toAddress(RLPItem memory item) internal pure returns (address) { // 1 byte for the length prefix require(item.len == 21); return address(toUint(item)); } function toUint(RLPItem memory item) internal pure returns (uint) { require(item.len > 0 && item.len <= 33); uint offset = _payloadOffset(item.memPtr); uint len = item.len - offset; uint result; uint memPtr = item.memPtr + offset; assembly { result := mload(memPtr) // shfit to the correct location if neccesary if lt(len, 32) { result := div(result, exp(256, sub(32, len))) } } return result; } // enforces 32 byte length function toUintStrict(RLPItem memory item) internal pure returns (uint) { // one byte prefix require(item.len == 33); uint result; uint memPtr = item.memPtr + 1; assembly { result := mload(memPtr) } return result; } function toBytes(RLPItem memory item) internal pure returns (bytes memory) { require(item.len > 0); uint offset = _payloadOffset(item.memPtr); uint len = item.len - offset; // data length bytes memory result = new bytes(len); uint destPtr; assembly { destPtr := add(0x20, result) } copy(item.memPtr + offset, destPtr, len); return result; } /* * Private Helpers */ // @return number of payload items inside an encoded list. function numItems(RLPItem memory item) private pure returns (uint) { if (item.len == 0) return 0; uint count = 0; uint currPtr = item.memPtr + _payloadOffset(item.memPtr); uint endPtr = item.memPtr + item.len; while (currPtr < endPtr) { currPtr = currPtr + _itemLength(currPtr); // skip over an item count++; } return count; } // @return entire rlp item byte length function _itemLength(uint memPtr) private pure returns (uint) { uint itemLen; uint byte0; assembly { byte0 := byte(0, mload(memPtr)) } if (byte0 < STRING_SHORT_START) itemLen = 1; else if (byte0 < STRING_LONG_START) itemLen = byte0 - STRING_SHORT_START + 1; else if (byte0 < LIST_SHORT_START) { assembly { let byteLen := sub(byte0, 0xb7) // # of bytes the actual length is memPtr := add(memPtr, 1) // skip over the first byte /* 32 byte word size */ let dataLen := div(mload(memPtr), exp(256, sub(32, byteLen))) // right shifting to get the len itemLen := add(dataLen, add(byteLen, 1)) } } else if (byte0 < LIST_LONG_START) { itemLen = byte0 - LIST_SHORT_START + 1; } else { assembly { let byteLen := sub(byte0, 0xf7) memPtr := add(memPtr, 1) let dataLen := div(mload(memPtr), exp(256, sub(32, byteLen))) // right shifting to the correct length itemLen := add(dataLen, add(byteLen, 1)) } } return itemLen; } // @return number of bytes until the data function _payloadOffset(uint memPtr) private pure returns (uint) { uint byte0; assembly { byte0 := byte(0, mload(memPtr)) } if (byte0 < STRING_SHORT_START) return 0; else if (byte0 < STRING_LONG_START || (byte0 >= LIST_SHORT_START && byte0 < LIST_LONG_START)) return 1; else if (byte0 < LIST_SHORT_START) // being explicit return byte0 - (STRING_LONG_START - 1) + 1; else return byte0 - (LIST_LONG_START - 1) + 1; } /* * @param src Pointer to source * @param dest Pointer to destination * @param len Amount of memory to copy from the source */ function copy(uint src, uint dest, uint len) private pure { if (len == 0) return; // copy as many word sizes as possible for (; len >= WORD_SIZE; len -= WORD_SIZE) { assembly { mstore(dest, mload(src)) } src += WORD_SIZE; dest += WORD_SIZE; } // left over bytes. Mask is used to remove unwanted bytes from the word uint mask = 256 ** (WORD_SIZE - len) - 1; assembly { let srcpart := and(mload(src), not(mask)) // zero out src let destpart := and(mload(dest), mask) // retrieve the bytes mstore(dest, or(destpart, srcpart)) } } } contract DappLogic is BaseLogic { using RLPReader for RLPReader.RLPItem; using RLPReader for bytes; /* index 0: admin key 1: asset(transfer) 2: adding 3: reserved(dapp) 4: assist */ uint constant internal DAPP_KEY_INDEX = 3; // *************** Events *************************** // event DappLogicEntered(bytes data, uint256 indexed nonce); // *************** Constructor ********************** // constructor(AccountStorage _accountStorage) BaseLogic(_accountStorage) public { } // *************** action entry ********************* // /** * @dev Entry method of DappLogic. * DappLogic has 2 actions called from 'enter': callContract, callMultiContract */ function enter(bytes calldata _data, bytes calldata _signature, uint256 _nonce) external { address account = getSignerAddress(_data); checkKeyStatus(account, DAPP_KEY_INDEX); address dappKey = accountStorage.getKeyData(account, DAPP_KEY_INDEX); checkAndUpdateNonce(dappKey, _nonce); bytes32 signHash = getSignHash(_data, _nonce); verifySig(dappKey, _signature, signHash); // solium-disable-next-line security/no-low-level-calls (bool success,) = address(this).call(_data); require(success, "calling self failed"); emit DappLogicEntered(_data, _nonce); } // *************** call Dapp ********************* // // called from 'enter' // call other contract from base account function callContract(address payable _account, address payable _target, uint256 _value, bytes calldata _methodData) external allowSelfCallsOnly { bool success; // solium-disable-next-line security/no-low-level-calls (success,) = _account.call(abi.encodeWithSignature("invoke(address,uint256,bytes)", _target, _value, _methodData)); require(success, "calling invoke failed"); } // called from 'enter' // call serveral other contracts at a time // 'bytes[]' not supported, therefore an array of _methodData is rlp encoded into rlpBytes function callMultiContract(address payable _account, address[] calldata _targets, uint256[] calldata _values, bytes calldata _rlpBytes) external allowSelfCallsOnly { RLPReader.RLPItem[] memory ls = _rlpBytes.toRlpItem().toList(); uint256 len = _targets.length; require(len == _values.length && len == ls.length, "length mismatch"); for (uint256 i = 0; i < len; i++) { bool success; RLPReader.RLPItem memory item = ls[i]; // solium-disable-next-line security/no-low-level-calls (success,) = _account.call(abi.encodeWithSignature("invoke(address,uint256,bytes)", _targets[i], _values[i], bytes(item.toBytes()))); require(success, "calling invoke failed"); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"_key","type":"address"}],"name":"getKeyNonce","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"initAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"},{"name":"_targets","type":"address[]"},{"name":"_values","type":"uint256[]"},{"name":"_rlpBytes","type":"bytes"}],"name":"callMultiContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"accountStorage","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_data","type":"bytes"},{"name":"_signature","type":"bytes"},{"name":"_nonce","type":"uint256"}],"name":"enter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"},{"name":"_target","type":"address"},{"name":"_value","type":"uint256"},{"name":"_methodData","type":"bytes"}],"name":"callContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_accountStorage","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"data","type":"bytes"},{"indexed":true,"name":"nonce","type":"uint256"}],"name":"DappLogicEntered","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516020806115ec8339810180604052602081101561003057600080fd5b505160018054600160a060020a031916600160a060020a0390921691909117905561158c806100606000396000f3fe608060405234801561001057600080fd5b506004361061007e577c010000000000000000000000000000000000000000000000000000000060003504630978ec6781146100835780635a6c4158146100bb578063a9a387cf146100e3578063c281fb7214610207578063ee6824731461022b578063fd6ac309146102ed575b600080fd5b6100a96004803603602081101561009957600080fd5b5035600160a060020a031661037d565b60408051918252519081900360200190f35b6100e1600480360360208110156100d157600080fd5b5035600160a060020a031661039c565b005b6100e1600480360360808110156100f957600080fd5b600160a060020a03823516919081019060408101602082013564010000000081111561012457600080fd5b82018360208201111561013657600080fd5b8035906020019184602083028401116401000000008311171561015857600080fd5b91939092909160208101903564010000000081111561017657600080fd5b82018360208201111561018857600080fd5b803590602001918460208302840111640100000000831117156101aa57600080fd5b9193909290916020810190356401000000008111156101c857600080fd5b8201836020820111156101da57600080fd5b803590602001918460018302840111640100000000831117156101fc57600080fd5b509092509050610401565b61020f61076c565b60408051600160a060020a039092168252519081900360200190f35b6100e16004803603606081101561024157600080fd5b81019060208101813564010000000081111561025c57600080fd5b82018360208201111561026e57600080fd5b8035906020019184600183028401116401000000008311171561029057600080fd5b9193909290916020810190356401000000008111156102ae57600080fd5b8201836020820111156102c057600080fd5b803590602001918460018302840111640100000000831117156102e257600080fd5b91935091503561077b565b6100e16004803603608081101561030357600080fd5b600160a060020a0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561033e57600080fd5b82018360208201111561035057600080fd5b8035906020019184600183028401116401000000008311171561037257600080fd5b509092509050610a23565b600160a060020a0381166000908152602081905260409020545b919050565b8033600160a060020a038216146103fd576040805160e560020a62461bcd02815260206004820152601660248201527f63616c6c6572206d757374206265206163636f756e7400000000000000000000604482015290519081900360640190fd5b5050565b333014610458576040805160e560020a62461bcd02815260206004820152601d60248201527f6f6e6c7920696e7465726e616c2063616c6c20697320616c6c6f776564000000604482015290519081900360640190fd5b60606104a161049c84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c3692505050565b610c5b565b90508584811480156104b35750815181145b1515610509576040805160e560020a62461bcd02815260206004820152600f60248201527f6c656e677468206d69736d617463680000000000000000000000000000000000604482015290519081900360640190fd5b60005b8181101561076057600061051e611549565b848381518110151561052c57fe5b602090810290910101519050600160a060020a038c168b8b8581811061054e57fe5b90506020020135600160a060020a03168a8a86818110151561056c57fe5b9050602002013561057c84610d2f565b6040516024018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156105da5781810151838201526020016105c2565b50505050905090810190601f1680156106075780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8f6f033200000000000000000000000000000000000000000000000000000000178152905182519297509550859450925090508083835b602083106106935780518252601f199092019160209182019101610674565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146106f5576040519150601f19603f3d011682016040523d82523d6000602084013e6106fa565b606091505b5090925050811515610756576040805160e560020a62461bcd02815260206004820152601560248201527f63616c6c696e6720696e766f6b65206661696c65640000000000000000000000604482015290519081900360640190fd5b505060010161050c565b50505050505050505050565b600154600160a060020a031681565b60006107bc86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dab92505050565b90506107c9816003610e1a565b600154604080517f8d431198000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301526003602483015291516000939290921691638d43119891604480820192602092909190829003018186803b15801561083a57600080fd5b505afa15801561084e573d6000803e3d6000fd5b505050506040513d602081101561086457600080fd5b505190506108728184610f14565b60006108b588888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250889250611008915050565b90506108f98287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250869250611179915050565b600030600160a060020a03168989604051808383808284376040519201945060009350909150508083038183865af19150503d8060008114610957576040519150601f19603f3d011682016040523d82523d6000602084013e61095c565b606091505b505090508015156109b7576040805160e560020a62461bcd02815260206004820152601360248201527f63616c6c696e672073656c66206661696c656400000000000000000000000000604482015290519081900360640190fd5b847f79fe4c2a6e16a232d5cec08cce7e3fd31c0535038f359907c16fbf8ca69e7e9b8a8a60405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2505050505050505050565b333014610a7a576040805160e560020a62461bcd02815260206004820152601d60248201527f6f6e6c7920696e7465726e616c2063616c6c20697320616c6c6f776564000000604482015290519081900360640190fd5b600085600160a060020a0316858585856040516024018085600160a060020a0316600160a060020a0316815260200184815260200180602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8f6f033200000000000000000000000000000000000000000000000000000000178152925181519199509750879650919450909250829150849050835b60208310610b6b5780518252601f199092019160209182019101610b4c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610bcd576040519150601f19603f3d011682016040523d82523d6000602084013e610bd2565b606091505b5090915050801515610c2e576040805160e560020a62461bcd02815260206004820152601560248201527f63616c6c696e6720696e766f6b65206661696c65640000000000000000000000604482015290519081900360640190fd5b505050505050565b610c3e611549565b506040805180820190915281518152602082810190820152919050565b6060610c6682611250565b1515610c7157600080fd5b6000610c7c8361128f565b9050606081604051908082528060200260200182016040528015610cba57816020015b610ca7611549565b815260200190600190039081610c9f5790505b5090506000610ccc85602001516112ed565b60208601510190506000805b84811015610d2457610ce983611350565b91506040805190810160405280838152602001848152508482815181101515610d0e57fe5b6020908102909101015291810191600101610cd8565b509195945050505050565b8051606090600010610d4057600080fd5b6000610d4f83602001516112ed565b83516040805191839003808352601f19601f8201168301602001909152919250606090828015610d86576020820181803883390190505b5090506000816020019050610da28487602001510182856113e9565b50949350505050565b60006024825110151515610e09576040805160e560020a62461bcd02815260206004820152600d60248201527f696e76616c696420627974657300000000000000000000000000000000000000604482015290519081900360640190fd5b5060240151600160a060020a031690565b60008111156103fd57600154604080517f43090116000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015260248201859052915191909216916343090116916044808301926020929190829003018186803b158015610e9057600080fd5b505afa158015610ea4573d6000803e3d6000fd5b505050506040513d6020811015610eba57600080fd5b5051600114156103fd576040805160e560020a62461bcd02815260206004820152600a60248201527f66726f7a656e206b657900000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0382166000908152602081905260409020548111610f83576040805160e560020a62461bcd02815260206004820152600f60248201527f6e6f6e636520746f6f20736d616c6c0000000000000000000000000000000000604482015290519081900360640190fd5b426201518001610f9682620f4240611436565b1115610fec576040805160e560020a62461bcd02815260206004820152600d60248201527f6e6f6e636520746f6f2062696700000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03909116600090815260208190526040902055565b6040517f19000000000000000000000000000000000000000000000000000000000000006020808301828152600060218501819052306c010000000000000000000000008102602287015287519195869594869492938a938a939092603690910191908501908083835b602083106110915780518252601f199092019160209182019101611072565b51815160209384036101000a6000190180199092169116179052920193845250604080518085038152848301808352815191840191909120606086018352601c8083527f19457468657265756d205369676e6564204d6573736167653a0a3332000000009684019687529251909a50600099509097508996509091019350839291508083835b602083106111365780518252601f199092019160209182019101611117565b51815160209384036101000a6000190180199092169116179052920193845250604080518085038152938201905282519201919091209450505050505b92915050565b600160a060020a03831615156111d9576040805160e560020a62461bcd02815260206004820152601360248201527f696e76616c6964207369676e696e67206b657900000000000000000000000000604482015290519081900360640190fd5b60006111e5828461145a565b9050600160a060020a038082169085161461124a576040805160e560020a62461bcd02815260206004820152601d60248201527f7369676e617475726520766572696669636174696f6e206661696c6564000000604482015290519081900360640190fd5b50505050565b8051600090151561126357506000610397565b6020820151805160001a9060c060ff8316101561128557600092505050610397565b5060019392505050565b805160009015156112a257506000610397565b600080905060006112b684602001516112ed565b602085015185519181019250015b808210156112e4576112d582611350565b600190930192909101906112c4565b50909392505050565b8051600090811a6080811015611307576000915050610397565b60b8811080611322575060c08110801590611322575060f881105b15611331576001915050610397565b60c08110156113455760b519019050610397565b60f519019050610397565b80516000908190811a608081101561136b57600191506113e2565b60b881101561138057607e19810191506113e2565b60c08110156113ad5760b78103600185019450806020036101000a855104600182018101935050506113e2565b60f88110156113c25760be19810191506113e2565b60f78103600185019450806020036101000a855104600182018101935050505b5092915050565b8015156113f557611431565b5b60208110611415578251825260209283019290910190601f19016113f6565b8251825160208390036101000a60001901801990921691161782525b505050565b600080821161144457600080fd5b6000828481151561145157fe5b04949350505050565b805160009060411461146e57506000611173565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156114b45760009350505050611173565b8060ff16601b141580156114cc57508060ff16601c14155b156114dd5760009350505050611173565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015611534573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60408051808201909152600080825260208201529056fea165627a7a72305820fa0b3004cf3b8cb91a89b7cb7e014a171d328340dfc02c2a8cc5faf15f4291b30029000000000000000000000000adc92d1fd878580579716d944ef3460e241604b7
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061007e577c010000000000000000000000000000000000000000000000000000000060003504630978ec6781146100835780635a6c4158146100bb578063a9a387cf146100e3578063c281fb7214610207578063ee6824731461022b578063fd6ac309146102ed575b600080fd5b6100a96004803603602081101561009957600080fd5b5035600160a060020a031661037d565b60408051918252519081900360200190f35b6100e1600480360360208110156100d157600080fd5b5035600160a060020a031661039c565b005b6100e1600480360360808110156100f957600080fd5b600160a060020a03823516919081019060408101602082013564010000000081111561012457600080fd5b82018360208201111561013657600080fd5b8035906020019184602083028401116401000000008311171561015857600080fd5b91939092909160208101903564010000000081111561017657600080fd5b82018360208201111561018857600080fd5b803590602001918460208302840111640100000000831117156101aa57600080fd5b9193909290916020810190356401000000008111156101c857600080fd5b8201836020820111156101da57600080fd5b803590602001918460018302840111640100000000831117156101fc57600080fd5b509092509050610401565b61020f61076c565b60408051600160a060020a039092168252519081900360200190f35b6100e16004803603606081101561024157600080fd5b81019060208101813564010000000081111561025c57600080fd5b82018360208201111561026e57600080fd5b8035906020019184600183028401116401000000008311171561029057600080fd5b9193909290916020810190356401000000008111156102ae57600080fd5b8201836020820111156102c057600080fd5b803590602001918460018302840111640100000000831117156102e257600080fd5b91935091503561077b565b6100e16004803603608081101561030357600080fd5b600160a060020a0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561033e57600080fd5b82018360208201111561035057600080fd5b8035906020019184600183028401116401000000008311171561037257600080fd5b509092509050610a23565b600160a060020a0381166000908152602081905260409020545b919050565b8033600160a060020a038216146103fd576040805160e560020a62461bcd02815260206004820152601660248201527f63616c6c6572206d757374206265206163636f756e7400000000000000000000604482015290519081900360640190fd5b5050565b333014610458576040805160e560020a62461bcd02815260206004820152601d60248201527f6f6e6c7920696e7465726e616c2063616c6c20697320616c6c6f776564000000604482015290519081900360640190fd5b60606104a161049c84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c3692505050565b610c5b565b90508584811480156104b35750815181145b1515610509576040805160e560020a62461bcd02815260206004820152600f60248201527f6c656e677468206d69736d617463680000000000000000000000000000000000604482015290519081900360640190fd5b60005b8181101561076057600061051e611549565b848381518110151561052c57fe5b602090810290910101519050600160a060020a038c168b8b8581811061054e57fe5b90506020020135600160a060020a03168a8a86818110151561056c57fe5b9050602002013561057c84610d2f565b6040516024018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156105da5781810151838201526020016105c2565b50505050905090810190601f1680156106075780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8f6f033200000000000000000000000000000000000000000000000000000000178152905182519297509550859450925090508083835b602083106106935780518252601f199092019160209182019101610674565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146106f5576040519150601f19603f3d011682016040523d82523d6000602084013e6106fa565b606091505b5090925050811515610756576040805160e560020a62461bcd02815260206004820152601560248201527f63616c6c696e6720696e766f6b65206661696c65640000000000000000000000604482015290519081900360640190fd5b505060010161050c565b50505050505050505050565b600154600160a060020a031681565b60006107bc86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dab92505050565b90506107c9816003610e1a565b600154604080517f8d431198000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301526003602483015291516000939290921691638d43119891604480820192602092909190829003018186803b15801561083a57600080fd5b505afa15801561084e573d6000803e3d6000fd5b505050506040513d602081101561086457600080fd5b505190506108728184610f14565b60006108b588888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250889250611008915050565b90506108f98287878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250869250611179915050565b600030600160a060020a03168989604051808383808284376040519201945060009350909150508083038183865af19150503d8060008114610957576040519150601f19603f3d011682016040523d82523d6000602084013e61095c565b606091505b505090508015156109b7576040805160e560020a62461bcd02815260206004820152601360248201527f63616c6c696e672073656c66206661696c656400000000000000000000000000604482015290519081900360640190fd5b847f79fe4c2a6e16a232d5cec08cce7e3fd31c0535038f359907c16fbf8ca69e7e9b8a8a60405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2505050505050505050565b333014610a7a576040805160e560020a62461bcd02815260206004820152601d60248201527f6f6e6c7920696e7465726e616c2063616c6c20697320616c6c6f776564000000604482015290519081900360640190fd5b600085600160a060020a0316858585856040516024018085600160a060020a0316600160a060020a0316815260200184815260200180602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8f6f033200000000000000000000000000000000000000000000000000000000178152925181519199509750879650919450909250829150849050835b60208310610b6b5780518252601f199092019160209182019101610b4c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610bcd576040519150601f19603f3d011682016040523d82523d6000602084013e610bd2565b606091505b5090915050801515610c2e576040805160e560020a62461bcd02815260206004820152601560248201527f63616c6c696e6720696e766f6b65206661696c65640000000000000000000000604482015290519081900360640190fd5b505050505050565b610c3e611549565b506040805180820190915281518152602082810190820152919050565b6060610c6682611250565b1515610c7157600080fd5b6000610c7c8361128f565b9050606081604051908082528060200260200182016040528015610cba57816020015b610ca7611549565b815260200190600190039081610c9f5790505b5090506000610ccc85602001516112ed565b60208601510190506000805b84811015610d2457610ce983611350565b91506040805190810160405280838152602001848152508482815181101515610d0e57fe5b6020908102909101015291810191600101610cd8565b509195945050505050565b8051606090600010610d4057600080fd5b6000610d4f83602001516112ed565b83516040805191839003808352601f19601f8201168301602001909152919250606090828015610d86576020820181803883390190505b5090506000816020019050610da28487602001510182856113e9565b50949350505050565b60006024825110151515610e09576040805160e560020a62461bcd02815260206004820152600d60248201527f696e76616c696420627974657300000000000000000000000000000000000000604482015290519081900360640190fd5b5060240151600160a060020a031690565b60008111156103fd57600154604080517f43090116000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015260248201859052915191909216916343090116916044808301926020929190829003018186803b158015610e9057600080fd5b505afa158015610ea4573d6000803e3d6000fd5b505050506040513d6020811015610eba57600080fd5b5051600114156103fd576040805160e560020a62461bcd02815260206004820152600a60248201527f66726f7a656e206b657900000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0382166000908152602081905260409020548111610f83576040805160e560020a62461bcd02815260206004820152600f60248201527f6e6f6e636520746f6f20736d616c6c0000000000000000000000000000000000604482015290519081900360640190fd5b426201518001610f9682620f4240611436565b1115610fec576040805160e560020a62461bcd02815260206004820152600d60248201527f6e6f6e636520746f6f2062696700000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03909116600090815260208190526040902055565b6040517f19000000000000000000000000000000000000000000000000000000000000006020808301828152600060218501819052306c010000000000000000000000008102602287015287519195869594869492938a938a939092603690910191908501908083835b602083106110915780518252601f199092019160209182019101611072565b51815160209384036101000a6000190180199092169116179052920193845250604080518085038152848301808352815191840191909120606086018352601c8083527f19457468657265756d205369676e6564204d6573736167653a0a3332000000009684019687529251909a50600099509097508996509091019350839291508083835b602083106111365780518252601f199092019160209182019101611117565b51815160209384036101000a6000190180199092169116179052920193845250604080518085038152938201905282519201919091209450505050505b92915050565b600160a060020a03831615156111d9576040805160e560020a62461bcd02815260206004820152601360248201527f696e76616c6964207369676e696e67206b657900000000000000000000000000604482015290519081900360640190fd5b60006111e5828461145a565b9050600160a060020a038082169085161461124a576040805160e560020a62461bcd02815260206004820152601d60248201527f7369676e617475726520766572696669636174696f6e206661696c6564000000604482015290519081900360640190fd5b50505050565b8051600090151561126357506000610397565b6020820151805160001a9060c060ff8316101561128557600092505050610397565b5060019392505050565b805160009015156112a257506000610397565b600080905060006112b684602001516112ed565b602085015185519181019250015b808210156112e4576112d582611350565b600190930192909101906112c4565b50909392505050565b8051600090811a6080811015611307576000915050610397565b60b8811080611322575060c08110801590611322575060f881105b15611331576001915050610397565b60c08110156113455760b519019050610397565b60f519019050610397565b80516000908190811a608081101561136b57600191506113e2565b60b881101561138057607e19810191506113e2565b60c08110156113ad5760b78103600185019450806020036101000a855104600182018101935050506113e2565b60f88110156113c25760be19810191506113e2565b60f78103600185019450806020036101000a855104600182018101935050505b5092915050565b8015156113f557611431565b5b60208110611415578251825260209283019290910190601f19016113f6565b8251825160208390036101000a60001901801990921691161782525b505050565b600080821161144457600080fd5b6000828481151561145157fe5b04949350505050565b805160009060411461146e57506000611173565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156114b45760009350505050611173565b8060ff16601b141580156114cc57508060ff16601c14155b156114dd5760009350505050611173565b6040805160008152602080820180845289905260ff8416828401526060820186905260808201859052915160019260a0808401939192601f1981019281900390910190855afa158015611534573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60408051808201909152600080825260208201529056fea165627a7a72305820fa0b3004cf3b8cb91a89b7cb7e014a171d328340dfc02c2a8cc5faf15f4291b30029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000adc92d1fd878580579716d944ef3460e241604b7
-----Decoded View---------------
Arg [0] : _accountStorage (address): 0xADc92d1fD878580579716d944eF3460E241604b7
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000adc92d1fd878580579716d944ef3460e241604b7
Deployed Bytecode Sourcemap
38128:3003:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38128:3003:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23140:106;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23140:106:0;-1:-1:-1;;;;;23140:106:0;;:::i;:::-;;;;;;;;;;;;;;;;22986:87;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22986:87:0;-1:-1:-1;;;;;22986:87:0;;:::i;:::-;;40352:774;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;40352:774:0;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;40352:774:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40352:774:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;40352:774:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;40352:774:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40352:774:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;40352:774:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;40352:774:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;40352:774:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;40352:774:0;;-1:-1:-1;40352:774:0;-1:-1:-1;40352:774:0;:::i;22408:36::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22408:36:0;;;;;;;;;;;;;;38959:652;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;38959:652:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;38959:652:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38959:652:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;38959:652:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;38959:652:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38959:652:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;38959:652:0;;-1:-1:-1;38959:652:0;-1:-1:-1;38959:652:0;;:::i;39754:418::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;39754:418:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;39754:418:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39754:418:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;39754:418:0;;-1:-1:-1;39754:418:0;-1:-1:-1;39754:418:0;:::i;23140:106::-;-1:-1:-1;;;;;23224:14:0;;23197:7;23224:14;;;;;;;;;;;23140:106;;;;:::o;22986:87::-;23056:8;22660:10;-1:-1:-1;;;;;22660:31:0;;;22652:66;;;;;-1:-1:-1;;;;;22652:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22986:87;;:::o;40352:774::-;22503:10;22525:4;22503:27;22494:70;;;;;-1:-1:-1;;;;;22494:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40527:29;40559:30;:21;:9;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;40559:19:0;;-1:-1:-1;;;40559:21:0:i;:::-;:28;:30::i;:::-;40527:62;-1:-1:-1;40616:8:0;40650:21;;;:41;;;;;40682:2;:9;40675:3;:16;40650:41;40642:69;;;;;;;-1:-1:-1;;;;;40642:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40727:9;40722:397;40746:3;40742:1;:7;40722:397;;;40771:12;40798:29;;:::i;:::-;40830:2;40833:1;40830:5;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40932:13:0;;41003:8;;41012:1;41003:11;;;;;;;;;;;;;-1:-1:-1;;;;;41003:11:0;41016:7;;41024:1;41016:10;;;;;;;;;;;;;;;41034:14;:4;:12;:14::i;:::-;40946:104;;;;;;-1:-1:-1;;;;;40946:104:0;-1:-1:-1;;;;;40946:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;40946:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40946:104:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;40946:104:0;;;49:4:-1;25:18;;61:17;;40946:104:0;182:15:-1;40946:104:0;179:29:-1;160:49;;40932:119:0;;;;40946:104;;-1:-1:-1;40932:119:0;-1:-1:-1;40932:119:0;;-1:-1:-1;25:18;-1:-1;40932:119:0;-1:-1:-1;40932:119:0;;25:18:-1;36:153;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;40932:119:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;-1:-1;40919:132:0;;-1:-1:-1;;41066:41:0;;;;;;;;-1:-1:-1;;;;;41066:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40751:3:0;;40722:397;;;;22575:1;;40352:774;;;;;;;:::o;22408:36::-;;;-1:-1:-1;;;;;22408:36:0;;:::o;38959:652::-;39059:15;39077:23;39094:5;;39077:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39077:16:0;;-1:-1:-1;;;39077:23:0:i;:::-;39059:41;;39111:39;39126:7;38427:1;39111:14;:39::i;:::-;39181:14;;:50;;;;;;-1:-1:-1;;;;;39181:50:0;;;;;;;38427:1;39181:50;;;;;;39163:15;;39181:14;;;;;:25;;:50;;;;;;;;;;;;;;;:14;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;39181:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39181:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39181:50:0;;-1:-1:-1;39242:36:0;39181:50;39271:6;39242:19;:36::i;:::-;39289:16;39308:26;39320:5;;39308:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39327:6:0;;-1:-1:-1;39308:11:0;;-1:-1:-1;;39308:26:0:i;:::-;39289:45;;39345:40;39355:7;39364:10;;39345:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39376:8:0;;-1:-1:-1;39345:9:0;;-1:-1:-1;;39345:40:0:i;:::-;39464:12;39489:4;-1:-1:-1;;;;;39481:18:0;39500:5;;39481:25;;;;;30:3:-1;22:6;14;1:33;39481:25:0;;45:16:-1;;;-1:-1;39481:25:0;;-1:-1:-1;39481:25:0;;-1:-1:-1;;39481:25:0;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;39463:43:0;;;39525:7;39517:39;;;;;;;-1:-1:-1;;;;;39517:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39596:6;39572:31;39589:5;;39572:31;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;39572:31:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;39572:31:0;;;;-1:-1:-1;39572:31:0;;-1:-1:-1;;;;39572:31:0;38959:652;;;;;;;;;:::o;39754:418::-;22503:10;22525:4;22503:27;22494:70;;;;;-1:-1:-1;;;;;22494:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39910:12;40011:8;-1:-1:-1;;;;;40011:13:0;40082:7;40091:6;40099:11;;40025:86;;;;;;-1:-1:-1;;;;;40025:86:0;-1:-1:-1;;;;;40025:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;40025:86:0;;;137:4:-1;117:14;;;-1:-1;;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;40025:86:0;;;49:4:-1;25:18;;61:17;;40025:86:0;182:15:-1;40025:86:0;179:29:-1;160:49;;40011:101:0;;;;40025:86;;-1:-1:-1;40011:101:0;-1:-1:-1;40011:101:0;;-1:-1:-1;25:18;;-1:-1;40011:101:0;;-1:-1:-1;40011:101:0;;-1:-1:-1;40011:101:0;;-1:-1:-1;25:18;36:153;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;40011:101:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;-1:-1;39998:114:0;;-1:-1:-1;;40123:41:0;;;;;;;;-1:-1:-1;;;;;40123:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22575:1;39754:418;;;;;:::o;30362:225::-;30423:14;;:::i;:::-;-1:-1:-1;30551:28:0;;;;;;;;;30559:11;;30551:28;;30516:4;30506:15;;;30551:28;;;;30362:225;;;:::o;31397:523::-;31457:16;31494:12;31501:4;31494:6;:12::i;:::-;31486:21;;;;;;;;31520:10;31533:14;31542:4;31533:8;:14::i;:::-;31520:27;;31558:23;31598:5;31584:20;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;31558:46;;31617:11;31645:27;31660:4;:11;;;31645:14;:27::i;:::-;31631:11;;;;:41;;-1:-1:-1;31683:12:0;;31706:181;31727:5;31723:1;:9;31706:181;;;31764:19;31776:6;31764:11;:19::i;:::-;31754:29;;31810:24;;;;;;;;;31818:7;31810:24;;;;31827:6;31810:24;;;31798:6;31805:1;31798:9;;;;;;;;;;;;;;;;;;:36;31859:16;;;;31734:3;;31706:181;;;-1:-1:-1;31906:6:0;;31397:523;-1:-1:-1;;;;;31397:523:0:o;34277:445::-;34371:8;;34338:12;;34382:1;-1:-1:-1;34363:21:0;;;;;;34397:11;34411:27;34426:4;:11;;;34411:14;:27::i;:::-;34460:8;;34525:14;;;34460:17;;;;34525:14;;;-1:-1:-1;;34525:14:0;;;;;;;;;;;34397:41;;-1:-1:-1;34503:19:0;;34460:17;34525:14;;;;;;;21:6:-1;;104:10;34525:14:0;87:34:-1;135:17;;-1:-1;34525:14:0;;34503:36;;34552:12;34620:6;34614:4;34610:17;34599:28;;34650:40;34669:6;34655:4;:11;;;:20;34677:7;34686:3;34650:4;:40::i;:::-;-1:-1:-1;34708:6:0;34277:445;-1:-1:-1;;;;34277:445:0:o;27254:676::-;27320:10;27364:2;27351;:9;:15;;27343:41;;;;;;;-1:-1:-1;;;;;27343:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27582:2:0;27574:11;27568:18;-1:-1:-1;;;;;27558:29:0;;27469:454::o;28313:245::-;28448:1;28439:6;:10;28435:116;;;28474:14;;:45;;;;;;-1:-1:-1;;;;;28474:45:0;;;;;;;;;;;;;;;:14;;;;;:27;;:45;;;;;;;;;;;;;;:14;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;28474:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28474:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28474:45:0;28523:1;28474:50;;28466:73;;;;;-1:-1:-1;;;;;28466:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;28627:280;-1:-1:-1;;;;;28723:14:0;;:8;:14;;;;;;;;;;;28714:23;;28706:51;;;;;-1:-1:-1;;;;;28706:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28809:3;28815:5;28809:11;28776:29;28789:6;28797:7;28776:12;:29::i;:::-;:44;;28768:70;;;;;-1:-1:-1;;;;;28768:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28876:14:0;;;:8;:14;;;;;;;;;;:23;28627:280::o;23316:415::-;23537:67;;23554:10;23537:67;;;;;;;23395:7;23537:67;;;;;;23583:4;23537:67;;;;;;;;;23395:7;;;;23554:10;23395:7;;23583:4;;23537:67;;23597:6;;23537:67;;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;23537:67:0;;;;;-1:-1:-1;23537:67:0;;;26:21:-1;;;6:49;;23537:67:0;;;;;;23527:78;;;;;;;;;23666:16;;;;;;;;;;;;;;;;23649:43;;23527:78;;-1:-1:-1;;;;23537:67:0;;-1:-1:-1;23527:78:0;;-1:-1:-1;23649:43:0;;;;-1:-1:-1;23649:43:0;;23666:16;-1:-1:-1;23666:16:0;23649:43;23666:16;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;23649:43:0;;;;;-1:-1:-1;23649:43:0;;;26:21:-1;;;6:49;;23649:43:0;;;;;23639:54;;;;;;;;;-1:-1:-1;;;;;23316:415:0;;;;;:::o;23739:320::-;-1:-1:-1;;;;;23856:25:0;;;;23848:57;;;;;-1:-1:-1;;;;;23848:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23916:21;23940:30;23948:9;23959:10;23940:7;:30::i;:::-;23916:54;-1:-1:-1;;;;;;23989:28:0;;;;;;;23981:70;;;;;-1:-1:-1;;;;;23981:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23739:320;;;;:::o;32027:342::-;32108:8;;32087:4;;32108:13;32104:31;;;-1:-1:-1;32130:5:0;32123:12;;32104:31;32184:11;;;;32247:13;;32148:11;32239:22;;29153:4;32288:24;;;;32284:55;;;32334:5;32327:12;;;;;;32284:55;-1:-1:-1;32357:4:0;;32027:342;-1:-1:-1;;;32027:342:0:o;34835:422::-;34917:8;;34896:4;;34917:13;34913:27;;;-1:-1:-1;34939:1:0;34932:8;;34913:27;34953:10;34966:1;34953:14;;34978:12;35007:27;35022:4;:11;;;35007:14;:27::i;:::-;34993:11;;;;35073:8;;34993:41;;;;-1:-1:-1;35059:22:0;35092:133;35109:6;35099:7;:16;35092:133;;;35151:20;35163:7;35151:11;:20::i;:::-;35206:7;;;;;35141:30;;;;35092:133;;;-1:-1:-1;35244:5:0;;34835:422;-1:-1:-1;;;34835:422:0:o;36691:552::-;36829:13;;36750:4;;36821:22;;29059:4;36870:26;;36866:369;;;36919:1;36912:8;;;;;36866:369;29106:4;36940:25;;;:83;;-1:-1:-1;29153:4:0;36970:25;;;;;:52;;-1:-1:-1;29200:4:0;36999:23;;36970:52;36936:299;;;37045:1;37038:8;;;;;36936:299;29153:4;37066:24;;37062:173;;;-1:-1:-1;;37131:35:0;;-1:-1:-1;37124:42:0;;37062:173;-1:-1:-1;;37202:33:0;;-1:-1:-1;37195:40:0;;35309:1327;35467:13;;35365:4;;;;35459:22;;29059:4;35508:26;;35504:1098;;;35559:1;35549:11;;35504:1098;;;29106:4;35590:25;;35586:1016;;;-1:-1:-1;;35640:30:0;;;-1:-1:-1;35586:1016:0;;;29153:4;35692:24;;35688:914;;;35787:4;35780:5;35776:16;35867:1;35859:6;35855:14;35845:24;;36025:7;36021:2;36017:16;36012:3;36008:26;35999:6;35993:13;35989:46;36123:1;36114:7;36110:15;36101:7;36097:29;36086:40;;35742:399;;;;;29200:4;36173:23;;36169:433;;;-1:-1:-1;;36223:28:0;;;-1:-1:-1;36169:433:0;;;36350:4;36343:5;36339:16;36395:1;36387:6;36383:14;36373:24;;36468:7;36464:2;36460:16;36455:3;36451:26;36442:6;36436:13;36432:46;36573:1;36564:7;36560:15;36551:7;36547:29;36536:40;;36305:286;;;-1:-1:-1;36621:7:0;35309:1327;-1:-1:-1;;35309:1327:0:o;37404:717::-;37477:8;;37473:21;;;37487:7;;37473:21;37554:201;29238:2;37561:16;;37554:201;;37653:10;;37640:24;;29238:2;37695:16;;;;37726:17;;;;-1:-1:-1;;37579:16:0;37554:201;;;37942:10;;38014:11;;29238:2;37868:15;;;37860:3;:24;-1:-1:-1;;37860:28:0;37954:9;;37938:26;;;38010:22;;38081:21;38068:35;;37908:206;;;;:::o;20897:294::-;20955:7;20983:5;;;20975:14;;;;;;21058:9;21074:1;21070;:5;;;;;;;;;20897:294;-1:-1:-1;;;;20897:294:0:o;25061:1930::-;25202:16;;25139:7;;25222:2;25202:22;25198:74;;-1:-1:-1;25257:1:0;25241:19;;25198:74;25633:4;25618:20;;25612:27;25679:4;25664:20;;25658:27;25733:4;25718:20;;25712:27;25341:9;25704:36;26663:66;26650:79;;26646:129;;;26761:1;26746:17;;;;;;;26646:129;26791:1;:7;;26796:2;26791:7;;:18;;;;;26802:1;:7;;26807:2;26802:7;;26791:18;26787:68;;;26841:1;26826:17;;;;;;;26787:68;26959:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26959:24:0;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;26959:24:0;;-1:-1:-1;;26959:24:0;;;25061:1930;-1:-1:-1;;;;;;;25061:1930:0:o;38128:3003::-;;;;;;;;;;-1:-1:-1;38128:3003:0;;;;;;;;:::o
Swarm Source
bzzr://fa0b3004cf3b8cb91a89b7cb7e014a171d328340dfc02c2a8cc5faf15f4291b3
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.