Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 23 from a total of 23 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Create Account | 16353103 | 664 days ago | IN | 0 ETH | 0.00484572 | ||||
Create Account | 15836564 | 736 days ago | IN | 0 ETH | 0.00365434 | ||||
Transfer Ownersh... | 14672070 | 918 days ago | IN | 0 ETH | 0.00096471 | ||||
Create Account | 14607529 | 928 days ago | IN | 0 ETH | 0.00705134 | ||||
Create Account | 14530228 | 940 days ago | IN | 0 ETH | 0.01714031 | ||||
Create Account | 14525574 | 941 days ago | IN | 0 ETH | 0.01654793 | ||||
Create Account | 14497477 | 945 days ago | IN | 0 ETH | 0.02221234 | ||||
Create Account | 14479450 | 948 days ago | IN | 0 ETH | 0.00921425 | ||||
Create Account | 14478945 | 948 days ago | IN | 0 ETH | 0.01139789 | ||||
Create Account | 14475536 | 949 days ago | IN | 0 ETH | 0.02204231 | ||||
Create Account | 14474037 | 949 days ago | IN | 0 ETH | 0.00914311 | ||||
Create Account | 14455490 | 952 days ago | IN | 0 ETH | 0.01197988 | ||||
Create Account | 14454105 | 952 days ago | IN | 0 ETH | 0.00690785 | ||||
Create Account | 14453930 | 952 days ago | IN | 0 ETH | 0.00702132 | ||||
Create Account | 14453828 | 952 days ago | IN | 0 ETH | 0.00866028 | ||||
Create Account | 14446595 | 953 days ago | IN | 0 ETH | 0.01103892 | ||||
Create Account | 14446527 | 953 days ago | IN | 0 ETH | 0.01334835 | ||||
Create Account | 14442268 | 954 days ago | IN | 0 ETH | 0.00624156 | ||||
Create Account | 14442231 | 954 days ago | IN | 0 ETH | 0.00848125 | ||||
Set Reward Cente... | 14441483 | 954 days ago | IN | 0 ETH | 0.00115252 | ||||
Add New Account ... | 14441458 | 954 days ago | IN | 0 ETH | 0.00131765 | ||||
Add New Account ... | 14441356 | 954 days ago | IN | 0 ETH | 0.00119495 | ||||
0x60806040 | 14441171 | 954 days ago | IN | 0 ETH | 0.01317217 |
Latest 18 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16353103 | 664 days ago | Contract Creation | 0 ETH | |||
15836564 | 736 days ago | Contract Creation | 0 ETH | |||
14607529 | 928 days ago | Contract Creation | 0 ETH | |||
14530228 | 940 days ago | Contract Creation | 0 ETH | |||
14525574 | 941 days ago | Contract Creation | 0 ETH | |||
14497477 | 945 days ago | Contract Creation | 0 ETH | |||
14479450 | 948 days ago | Contract Creation | 0 ETH | |||
14478945 | 948 days ago | Contract Creation | 0 ETH | |||
14475536 | 949 days ago | Contract Creation | 0 ETH | |||
14474037 | 949 days ago | Contract Creation | 0 ETH | |||
14455490 | 952 days ago | Contract Creation | 0 ETH | |||
14454105 | 952 days ago | Contract Creation | 0 ETH | |||
14453930 | 952 days ago | Contract Creation | 0 ETH | |||
14453828 | 952 days ago | Contract Creation | 0 ETH | |||
14446595 | 953 days ago | Contract Creation | 0 ETH | |||
14446527 | 953 days ago | Contract Creation | 0 ETH | |||
14442268 | 954 days ago | Contract Creation | 0 ETH | |||
14442231 | 954 days ago | Contract Creation | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
AccountCenter
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; interface OpDefaultInterface { function enable(address user) external; function setAccountCenter(address _accountCenter) external; } interface IRewardCenter { function claimOpenAccountReward(address EOA, address dsa) external; } contract AccountCenter is Ownable { // totally account count uint256 public accountCount; // Account Type ID count uint256 public accountTypeCount; // open account reward center address rewardCenter; // Account Type ID -> accountProxyTemplateAddress mapping(uint256 => address) accountProxyTemplate; // EOA -> AccountType -> SmartAccount mapping(address => mapping(uint256 => address)) accountBook; // Account Type ID -> account count in this type mapping(uint256 => uint256) accountOfTypeCount; // SmartAccount -> EOA mapping(address => address) eoaBook; // SmartAccount -> TypeID mapping(address => uint256) SmartAccountType; mapping(uint256 => address) accountIDtoAddress; event AddNewAccountType(uint256 accountTypeID, address acountProxyAddress); event UpdateAccountType(uint256 accountTypeID, address acountProxyAddress); event CreateAccount(address EOA, address account, uint256 accountTypeID); function addNewAccountType(address acountProxyAddress) external onlyOwner { require( acountProxyAddress != address(0), "CHFRY: acountProxyAddress should not be 0" ); accountTypeCount = accountTypeCount + 1; accountProxyTemplate[accountTypeCount] = acountProxyAddress; emit AddNewAccountType(accountTypeCount, acountProxyAddress); } function setRewardCenter(address _rewardCenter) external onlyOwner { require( _rewardCenter != address(0), "CHFRY: rewardCenter should not be 0" ); rewardCenter = _rewardCenter; } function updateAccountType( address acountProxyAddress, uint256 accountTypeID ) external onlyOwner { require( acountProxyAddress != address(0), "CHFRY: acountProxyAddress should not be 0" ); require( accountProxyTemplate[accountTypeID] != address(0), "CHFRY: account Type not exist" ); accountProxyTemplate[accountTypeID] = acountProxyAddress; emit UpdateAccountType(accountTypeID, acountProxyAddress); } function createAccount(uint256 accountTypeID) external returns (address _account) { require( accountTypeID <= accountTypeCount, "CHFRY: Invalid account Type ID" ); require( accountBook[msg.sender][accountTypeID] == address(0), "CHFRY: account exist" ); _account = cloneAccountProxy(accountTypeID); accountBook[msg.sender][accountTypeID] = _account; accountCount = accountCount + 1; accountIDtoAddress[accountCount] = _account; accountOfTypeCount[accountTypeID] = accountOfTypeCount[accountTypeID] + 1; eoaBook[_account] = msg.sender; SmartAccountType[_account] = accountTypeID; OpDefaultInterface(_account).setAccountCenter(address(this)); OpDefaultInterface(_account).enable(msg.sender); if (rewardCenter != address(0)) { IRewardCenter(rewardCenter).claimOpenAccountReward( msg.sender, _account ); } emit CreateAccount(msg.sender, _account, accountTypeID); } function getAccount(uint256 accountTypeID) external view returns (address _account) { _account = accountBook[msg.sender][accountTypeID]; require( accountBook[msg.sender][accountTypeID] != address(0), "account not exist" ); } function getAccountByTypeID(address EOA, uint256 accountTypeID) external view returns (address _account) { _account = accountBook[EOA][accountTypeID]; } function getAccountTypeCount() external view returns (uint256 _accountTypeCount) { _accountTypeCount = accountTypeCount; } function getEOA(address account) external view returns (address _eoa) { require(account != address(0), "CHFRY: address should not be 0"); _eoa = eoaBook[account]; } function isSmartAccount(address _address) external view returns (bool _isAccount) { require(_address != address(0), "CHFRY: address should not be 0"); if (eoaBook[_address] == address(0)) { _isAccount = false; } else { _isAccount = true; } } function isSmartAccountofTypeN(address _address, uint256 accountTypeID) external view returns (bool _isAccount) { require(_address != address(0), "CHFRY: address should not be 0"); if (SmartAccountType[_address] == accountTypeID) { _isAccount = true; } else { _isAccount = false; } } function getAccountCountOfTypeN(uint256 accountTypeID) external view returns (uint256 count) { count = accountOfTypeCount[accountTypeID]; } function cloneAccountProxy(uint256 accountTypeID) internal returns (address accountAddress) { address accountProxyTemplateAddress = accountProxyTemplate[ accountTypeID ]; require( accountProxyTemplateAddress != address(0), "CHFRY: accountProxyTemplateAddress not found" ); bytes20 targetBytes = bytes20(accountProxyTemplateAddress); assembly { let clone := mload(0x40) mstore( clone, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000 ) mstore(add(clone, 0x14), targetBytes) mstore( add(clone, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000 ) accountAddress := create(0, clone, 0x37) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"accountTypeID","type":"uint256"},{"indexed":false,"internalType":"address","name":"acountProxyAddress","type":"address"}],"name":"AddNewAccountType","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"EOA","type":"address"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"accountTypeID","type":"uint256"}],"name":"CreateAccount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"accountTypeID","type":"uint256"},{"indexed":false,"internalType":"address","name":"acountProxyAddress","type":"address"}],"name":"UpdateAccountType","type":"event"},{"inputs":[],"name":"accountCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accountTypeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"acountProxyAddress","type":"address"}],"name":"addNewAccountType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"accountTypeID","type":"uint256"}],"name":"createAccount","outputs":[{"internalType":"address","name":"_account","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"accountTypeID","type":"uint256"}],"name":"getAccount","outputs":[{"internalType":"address","name":"_account","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"EOA","type":"address"},{"internalType":"uint256","name":"accountTypeID","type":"uint256"}],"name":"getAccountByTypeID","outputs":[{"internalType":"address","name":"_account","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"accountTypeID","type":"uint256"}],"name":"getAccountCountOfTypeN","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAccountTypeCount","outputs":[{"internalType":"uint256","name":"_accountTypeCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getEOA","outputs":[{"internalType":"address","name":"_eoa","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isSmartAccount","outputs":[{"internalType":"bool","name":"_isAccount","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"accountTypeID","type":"uint256"}],"name":"isSmartAccountofTypeN","outputs":[{"internalType":"bool","name":"_isAccount","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardCenter","type":"address"}],"name":"setRewardCenter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"acountProxyAddress","type":"address"},{"internalType":"uint256","name":"accountTypeID","type":"uint256"}],"name":"updateAccountType","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610cf98061007e6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806394b80dc611610097578063ce88b14511610066578063ce88b14514610234578063e4af29fc14610247578063f2fde38b14610250578063fa94924c1461026357600080fd5b806394b80dc6146101fd5780639eb0f4e914610210578063a44f9fd314610219578063cab139151461022157600080fd5b806370338719116100d357806370338719146101be578063715018a6146101d1578063869e3b03146101d95780638da5cb5b146101ec57600080fd5b80631f1be9b0146101055780633575a3ee146101585780635e07a6e614610186578063692162b0146101a9575b600080fd5b61013b610113366004610ba5565b6001600160a01b03918216600090815260056020908152604080832093835292905220541690565b6040516001600160a01b0390911681526020015b60405180910390f35b610178610166366004610bcf565b60009081526006602052604090205490565b60405190815260200161014f565b610199610194366004610b83565b610276565b604051901515815260200161014f565b6101bc6101b7366004610ba5565b6102d7565b005b6101bc6101cc366004610b83565b6103f1565b6101bc61049f565b6101996101e7366004610ba5565b6104d5565b6000546001600160a01b031661013b565b6101bc61020b366004610b83565b61052f565b61017860025481565b600254610178565b61013b61022f366004610bcf565b61060a565b61013b610242366004610bcf565b610909565b61017860015481565b6101bc61025e366004610b83565b61096e565b61013b610271366004610b83565b610a09565b60006001600160a01b0382166102a75760405162461bcd60e51b815260040161029e90610c66565b60405180910390fd5b6001600160a01b03828116600090815260076020526040902054166102ce57506000919050565b5060015b919050565b6000546001600160a01b031633146103015760405162461bcd60e51b815260040161029e90610c31565b6001600160a01b0382166103275760405162461bcd60e51b815260040161029e90610be8565b6000818152600460205260409020546001600160a01b031661038b5760405162461bcd60e51b815260206004820152601d60248201527f43484652593a206163636f756e742054797065206e6f74206578697374000000604482015260640161029e565b60008181526004602090815260409182902080546001600160a01b0319166001600160a01b0386169081179091558251848152918201527f348693349115eb2dbed77e2002a38e839f30d911b636cec1bbd23ed476e63c65910160405180910390a15050565b6000546001600160a01b0316331461041b5760405162461bcd60e51b815260040161029e90610c31565b6001600160a01b03811661047d5760405162461bcd60e51b815260206004820152602360248201527f43484652593a2072657761726443656e7465722073686f756c64206e6f74206260448201526206520360ec1b606482015260840161029e565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104c95760405162461bcd60e51b815260040161029e90610c31565b6104d36000610a50565b565b60006001600160a01b0383166104fd5760405162461bcd60e51b815260040161029e90610c66565b6001600160a01b03831660009081526008602052604090205482141561052557506001610529565b5060005b92915050565b6000546001600160a01b031633146105595760405162461bcd60e51b815260040161029e90610c31565b6001600160a01b03811661057f5760405162461bcd60e51b815260040161029e90610be8565b60025461058d906001610c9d565b60028181556000918252600460205260409182902080546001600160a01b0385166001600160a01b03199091161790555490517f745840e57a234b11a3dd00a3316debe5e55f698a8fbe48496f2616d9b746c685916105ff9184909182526001600160a01b0316602082015260400190565b60405180910390a150565b600060025482111561065e5760405162461bcd60e51b815260206004820152601e60248201527f43484652593a20496e76616c6964206163636f756e7420547970652049440000604482015260640161029e565b3360009081526005602090815260408083208584529091529020546001600160a01b0316156106c65760405162461bcd60e51b815260206004820152601460248201527310d21194964e881858d8dbdd5b9d08195e1a5cdd60621b604482015260640161029e565b6106cf82610aa0565b336000908152600560209081526040808320868452909152902080546001600160a01b0319166001600160a01b038316179055600180549192506107139190610c9d565b6001818155600091825260096020908152604080842080546001600160a01b0319166001600160a01b03871617905585845260069091529091205461075791610c9d565b6000838152600660209081526040808320939093556001600160a01b0384168083526007825283832080546001600160a01b0319163317905560089091529082902084905590516312749fab60e21b81523060048201526349d27eac90602401600060405180830381600087803b1580156107d157600080fd5b505af11580156107e5573d6000803e3d6000fd5b5050604051630b7f436d60e31b81523360048201526001600160a01b0384169250635bfa1b689150602401600060405180830381600087803b15801561082a57600080fd5b505af115801561083e573d6000803e3d6000fd5b50506003546001600160a01b03161591506108bb905057600354604051632896db0360e11b81523360048201526001600160a01b0383811660248301529091169063512db60690604401600060405180830381600087803b1580156108a257600080fd5b505af11580156108b6573d6000803e3d6000fd5b505050505b604080513381526001600160a01b03831660208201529081018390527f898fa01cb61a3fd82b16d9f5e2c21854abbc52ab9fa7cbc754c55691ecbeb3db9060600160405180910390a1919050565b3360009081526005602090815260408083208484529091529020546001600160a01b0316806102d25760405162461bcd60e51b81526020600482015260116024820152701858d8dbdd5b9d081b9bdd08195e1a5cdd607a1b604482015260640161029e565b6000546001600160a01b031633146109985760405162461bcd60e51b815260040161029e90610c31565b6001600160a01b0381166109fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161029e565b610a0681610a50565b50565b60006001600160a01b038216610a315760405162461bcd60e51b815260040161029e90610c66565b506001600160a01b039081166000908152600760205260409020541690565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000818152600460205260408120546001600160a01b031680610b1a5760405162461bcd60e51b815260206004820152602c60248201527f43484652593a206163636f756e7450726f787954656d706c617465416464726560448201526b1cdcc81b9bdd08199bdd5b9960a21b606482015260840161029e565b60008160601b9050604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528160148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f095945050505050565b80356001600160a01b03811681146102d257600080fd5b600060208284031215610b9557600080fd5b610b9e82610b6c565b9392505050565b60008060408385031215610bb857600080fd5b610bc183610b6c565b946020939093013593505050565b600060208284031215610be157600080fd5b5035919050565b60208082526029908201527f43484652593a2061636f756e7450726f7879416464726573732073686f756c646040820152680206e6f7420626520360bc1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601e908201527f43484652593a20616464726573732073686f756c64206e6f7420626520300000604082015260600190565b60008219821115610cbe57634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220d00d44acf4f09df374040b6203804687efa57a72d3ad74a3e0272c281a4fe2e064736f6c63430008060033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c806394b80dc611610097578063ce88b14511610066578063ce88b14514610234578063e4af29fc14610247578063f2fde38b14610250578063fa94924c1461026357600080fd5b806394b80dc6146101fd5780639eb0f4e914610210578063a44f9fd314610219578063cab139151461022157600080fd5b806370338719116100d357806370338719146101be578063715018a6146101d1578063869e3b03146101d95780638da5cb5b146101ec57600080fd5b80631f1be9b0146101055780633575a3ee146101585780635e07a6e614610186578063692162b0146101a9575b600080fd5b61013b610113366004610ba5565b6001600160a01b03918216600090815260056020908152604080832093835292905220541690565b6040516001600160a01b0390911681526020015b60405180910390f35b610178610166366004610bcf565b60009081526006602052604090205490565b60405190815260200161014f565b610199610194366004610b83565b610276565b604051901515815260200161014f565b6101bc6101b7366004610ba5565b6102d7565b005b6101bc6101cc366004610b83565b6103f1565b6101bc61049f565b6101996101e7366004610ba5565b6104d5565b6000546001600160a01b031661013b565b6101bc61020b366004610b83565b61052f565b61017860025481565b600254610178565b61013b61022f366004610bcf565b61060a565b61013b610242366004610bcf565b610909565b61017860015481565b6101bc61025e366004610b83565b61096e565b61013b610271366004610b83565b610a09565b60006001600160a01b0382166102a75760405162461bcd60e51b815260040161029e90610c66565b60405180910390fd5b6001600160a01b03828116600090815260076020526040902054166102ce57506000919050565b5060015b919050565b6000546001600160a01b031633146103015760405162461bcd60e51b815260040161029e90610c31565b6001600160a01b0382166103275760405162461bcd60e51b815260040161029e90610be8565b6000818152600460205260409020546001600160a01b031661038b5760405162461bcd60e51b815260206004820152601d60248201527f43484652593a206163636f756e742054797065206e6f74206578697374000000604482015260640161029e565b60008181526004602090815260409182902080546001600160a01b0319166001600160a01b0386169081179091558251848152918201527f348693349115eb2dbed77e2002a38e839f30d911b636cec1bbd23ed476e63c65910160405180910390a15050565b6000546001600160a01b0316331461041b5760405162461bcd60e51b815260040161029e90610c31565b6001600160a01b03811661047d5760405162461bcd60e51b815260206004820152602360248201527f43484652593a2072657761726443656e7465722073686f756c64206e6f74206260448201526206520360ec1b606482015260840161029e565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104c95760405162461bcd60e51b815260040161029e90610c31565b6104d36000610a50565b565b60006001600160a01b0383166104fd5760405162461bcd60e51b815260040161029e90610c66565b6001600160a01b03831660009081526008602052604090205482141561052557506001610529565b5060005b92915050565b6000546001600160a01b031633146105595760405162461bcd60e51b815260040161029e90610c31565b6001600160a01b03811661057f5760405162461bcd60e51b815260040161029e90610be8565b60025461058d906001610c9d565b60028181556000918252600460205260409182902080546001600160a01b0385166001600160a01b03199091161790555490517f745840e57a234b11a3dd00a3316debe5e55f698a8fbe48496f2616d9b746c685916105ff9184909182526001600160a01b0316602082015260400190565b60405180910390a150565b600060025482111561065e5760405162461bcd60e51b815260206004820152601e60248201527f43484652593a20496e76616c6964206163636f756e7420547970652049440000604482015260640161029e565b3360009081526005602090815260408083208584529091529020546001600160a01b0316156106c65760405162461bcd60e51b815260206004820152601460248201527310d21194964e881858d8dbdd5b9d08195e1a5cdd60621b604482015260640161029e565b6106cf82610aa0565b336000908152600560209081526040808320868452909152902080546001600160a01b0319166001600160a01b038316179055600180549192506107139190610c9d565b6001818155600091825260096020908152604080842080546001600160a01b0319166001600160a01b03871617905585845260069091529091205461075791610c9d565b6000838152600660209081526040808320939093556001600160a01b0384168083526007825283832080546001600160a01b0319163317905560089091529082902084905590516312749fab60e21b81523060048201526349d27eac90602401600060405180830381600087803b1580156107d157600080fd5b505af11580156107e5573d6000803e3d6000fd5b5050604051630b7f436d60e31b81523360048201526001600160a01b0384169250635bfa1b689150602401600060405180830381600087803b15801561082a57600080fd5b505af115801561083e573d6000803e3d6000fd5b50506003546001600160a01b03161591506108bb905057600354604051632896db0360e11b81523360048201526001600160a01b0383811660248301529091169063512db60690604401600060405180830381600087803b1580156108a257600080fd5b505af11580156108b6573d6000803e3d6000fd5b505050505b604080513381526001600160a01b03831660208201529081018390527f898fa01cb61a3fd82b16d9f5e2c21854abbc52ab9fa7cbc754c55691ecbeb3db9060600160405180910390a1919050565b3360009081526005602090815260408083208484529091529020546001600160a01b0316806102d25760405162461bcd60e51b81526020600482015260116024820152701858d8dbdd5b9d081b9bdd08195e1a5cdd607a1b604482015260640161029e565b6000546001600160a01b031633146109985760405162461bcd60e51b815260040161029e90610c31565b6001600160a01b0381166109fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161029e565b610a0681610a50565b50565b60006001600160a01b038216610a315760405162461bcd60e51b815260040161029e90610c66565b506001600160a01b039081166000908152600760205260409020541690565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000818152600460205260408120546001600160a01b031680610b1a5760405162461bcd60e51b815260206004820152602c60248201527f43484652593a206163636f756e7450726f787954656d706c617465416464726560448201526b1cdcc81b9bdd08199bdd5b9960a21b606482015260840161029e565b60008160601b9050604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528160148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f095945050505050565b80356001600160a01b03811681146102d257600080fd5b600060208284031215610b9557600080fd5b610b9e82610b6c565b9392505050565b60008060408385031215610bb857600080fd5b610bc183610b6c565b946020939093013593505050565b600060208284031215610be157600080fd5b5035919050565b60208082526029908201527f43484652593a2061636f756e7450726f7879416464726573732073686f756c646040820152680206e6f7420626520360bc1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601e908201527f43484652593a20616464726573732073686f756c64206e6f7420626520300000604082015260600190565b60008219821115610cbe57634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220d00d44acf4f09df374040b6203804687efa57a72d3ad74a3e0272c281a4fe2e064736f6c63430008060033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.