Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 205 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 308557672 | 345 days ago | IN | 0 ETH | 0.00000266 | ||||
| Approve | 308557470 | 345 days ago | IN | 0 ETH | 0.00000266 | ||||
| Approve | 285574568 | 412 days ago | IN | 0 ETH | 0.00000124 | ||||
| Approve | 280680319 | 427 days ago | IN | 0 ETH | 0.00001377 | ||||
| Transfer | 227399571 | 582 days ago | IN | 0 ETH | 0.00000067 | ||||
| Approve | 183119184 | 712 days ago | IN | 0 ETH | 0.00007917 | ||||
| Approve | 179246465 | 723 days ago | IN | 0 ETH | 0.00008171 | ||||
| Approve | 179246229 | 723 days ago | IN | 0 ETH | 0.00008171 | ||||
| Approve | 178312498 | 726 days ago | IN | 0 ETH | 0.00006757 | ||||
| Approve | 177648627 | 728 days ago | IN | 0 ETH | 0.00003248 | ||||
| Approve | 177199534 | 729 days ago | IN | 0 ETH | 0.00002765 | ||||
| Approve | 177199394 | 729 days ago | IN | 0 ETH | 0.00002765 | ||||
| Approve | 177197250 | 729 days ago | IN | 0 ETH | 0.00003533 | ||||
| Transfer | 175731911 | 734 days ago | IN | 0 ETH | 0.00008894 | ||||
| Transfer | 175438642 | 735 days ago | IN | 0 ETH | 0.00005293 | ||||
| Approve | 174949120 | 736 days ago | IN | 0 ETH | 0.00003238 | ||||
| Approve | 174777162 | 737 days ago | IN | 0 ETH | 0.00003557 | ||||
| Approve | 174777008 | 737 days ago | IN | 0 ETH | 0.00003591 | ||||
| Approve | 174776850 | 737 days ago | IN | 0 ETH | 0.00003591 | ||||
| Approve | 174776691 | 737 days ago | IN | 0 ETH | 0.00003591 | ||||
| Approve | 174776537 | 737 days ago | IN | 0 ETH | 0.00003591 | ||||
| Approve | 174383423 | 738 days ago | IN | 0 ETH | 0.00006567 | ||||
| Approve | 174330394 | 738 days ago | IN | 0 ETH | 0.00004604 | ||||
| Approve | 174281306 | 738 days ago | IN | 0 ETH | 0.00004081 | ||||
| Approve | 174079992 | 739 days ago | IN | 0 ETH | 0.00009857 |
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x4a8A688C...BD8F429C7 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Rosa
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.10;
contract Rosa {
/// @notice EIP-20 token name for this token
string public constant name = "Rosa";
/// @notice EIP-20 token symbol for this token
string public constant symbol = "ROSA";
/// @notice EIP-20 token decimals for this token
uint8 public constant decimals = 18;
/// @notice Total number of tokens in circulation
uint256 public constant totalSupply = 600_000e18; // 600k Rosa
/// @notice Allowance amounts on behalf of others
mapping(address => mapping(address => uint96)) internal allowances;
/// @notice Official record of token balances for each account
mapping(address => uint96) internal balances;
/// @notice A record of each accounts delegate
mapping(address => address) public delegates;
/// @notice A checkpoint for marking number of votes from a given block
struct Checkpoint {
uint32 fromBlock;
uint224 votes;
}
/// @notice A record of votes checkpoints for each account, by index
mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;
/// @notice The number of checkpoints for each account
mapping(address => uint32) public numCheckpoints;
/// @notice The EIP-712 typehash for the contract's domain
bytes32 public constant DOMAIN_TYPEHASH =
keccak256(
"EIP712Domain(string name,uint256 chainId,address verifyingContract)"
);
/// @notice The EIP-712 typehash for the delegation struct used by the contract
bytes32 public constant DELEGATION_TYPEHASH =
keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
/// @notice A record of states for signing / validating signatures
mapping(address => uint256) public nonces;
/// @notice An event thats emitted when an account changes its delegate
event DelegateChanged(
address indexed delegator,
address indexed fromDelegate,
address indexed toDelegate
);
/// @notice An event thats emitted when a delegate account's vote balance changes
event DelegateVotesChanged(
address indexed delegate,
uint256 previousBalance,
uint256 newBalance
);
/// @notice The standard EIP-20 transfer event
event Transfer(address indexed from, address indexed to, uint256 amount);
/// @notice The standard EIP-20 approval event
event Approval(
address indexed owner,
address indexed spender,
uint256 amount
);
/**
* @notice Construct a new Rosa token
* @param account The initial account to grant all the tokens
*/
constructor(address account) {
require(account != address(0));
balances[account] = uint96(totalSupply);
emit Transfer(address(0), account, totalSupply);
}
/**
* @notice Get the number of tokens `spender` is approved to spend on behalf of `account`
* @param account The address of the account holding the funds
* @param spender The address of the account spending the funds
* @return The number of tokens approved
*/
function allowance(address account, address spender)
external
view
returns (uint256)
{
return allowances[account][spender];
}
/**
* @notice Approve `spender` to transfer up to `amount` from `src`
* @dev This will overwrite the approval amount for `spender`
* and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
* @param spender The address of the account which may transfer tokens
* @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
* @return Whether or not the approval succeeded
*/
function approve(address spender, uint256 rawAmount)
external
returns (bool)
{
uint96 amount;
if (rawAmount == type(uint256).max) {
amount = type(uint96).max;
} else {
amount = safe96(rawAmount, "Rosa::approve: amount exceeds 96 bits");
}
allowances[msg.sender][spender] = amount;
emit Approval(msg.sender, spender, amount);
return true;
}
/**
* @notice Get the number of tokens held by the `account`
* @param account The address of the account to get the balance of
* @return The number of tokens held
*/
function balanceOf(address account) external view returns (uint256) {
return balances[account];
}
/**
* @notice Transfer `amount` tokens from `msg.sender` to `dst`
* @param dst The address of the destination account
* @param rawAmount The number of tokens to transfer
* @return Whether or not the transfer succeeded
*/
function transfer(address dst, uint256 rawAmount) external returns (bool) {
uint96 amount = safe96(
rawAmount,
"Rosa::transfer: amount exceeds 96 bits"
);
_transferTokens(msg.sender, dst, amount);
return true;
}
/**
* @notice Transfer `amount` tokens from `src` to `dst`
* @param src The address of the source account
* @param dst The address of the destination account
* @param rawAmount The number of tokens to transfer
* @return Whether or not the transfer succeeded
*/
function transferFrom(
address src,
address dst,
uint256 rawAmount
) external returns (bool) {
address spender = msg.sender;
uint96 spenderAllowance = allowances[src][spender];
uint96 amount = safe96(
rawAmount,
"Rosa::approve: amount exceeds 96 bits"
);
if (spender != src && spenderAllowance != type(uint96).max) {
uint96 newAllowance = sub96(
spenderAllowance,
amount,
"Rosa::transferFrom: transfer amount exceeds spender allowance"
);
allowances[src][spender] = newAllowance;
emit Approval(src, spender, newAllowance);
}
_transferTokens(src, dst, amount);
return true;
}
/**
* @notice Delegate votes from `msg.sender` to `delegatee`
* @param delegatee The address to delegate votes to
*/
function delegate(address delegatee) public {
return _delegate(msg.sender, delegatee);
}
/**
* @notice Delegates votes from signatory to `delegatee`
* @param delegatee The address to delegate votes to
* @param nonce The contract state required to match the signature
* @param expiry The time at which to expire the signature
* @param v The recovery byte of the signature
* @param r Half of the ECDSA signature pair
* @param s Half of the ECDSA signature pair
*/
function delegateBySig(
address delegatee,
uint256 nonce,
uint256 expiry,
uint8 v,
bytes32 r,
bytes32 s
) public {
require(
block.timestamp <= expiry,
"Rosa::delegateBySig: signature expired"
);
bytes32 domainSeparator = keccak256(
abi.encode(
DOMAIN_TYPEHASH,
keccak256(bytes(name)),
getChainId(),
address(this)
)
);
bytes32 structHash = keccak256(
abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry)
);
bytes32 digest = keccak256(
abi.encodePacked("\x19\x01", domainSeparator, structHash)
);
address signatory = ecrecover(digest, v, r, s);
require(
signatory != address(0),
"Rosa::delegateBySig: invalid signature"
);
require(
nonce == nonces[signatory]++,
"Rosa::delegateBySig: invalid nonce"
);
return _delegate(signatory, delegatee);
}
/**
* @notice Gets the current votes balance for `account`
* @param account The address to get votes balance
* @return The number of current votes for `account`
*/
function getCurrentVotes(address account) external view returns (uint96) {
uint32 nCheckpoints = numCheckpoints[account];
uint224 votes = nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
require(votes <= type(uint96).max, "Rosa::getCurrentVotes: votes exceeds 96 bits");
return uint96(votes);
}
/**
* @notice Determine the prior number of votes for an account as of a block number
* @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
* @param account The address of the account to check
* @param blockNumber The block number to get the vote balance at
* @return The number of votes the account had as of the given block
*/
function getPriorVotes(address account, uint256 blockNumber)
public
view
returns (uint96)
{
require(
blockNumber < block.number,
"Rosa::getPriorVotes: not yet determined"
);
uint32 nCheckpoints = numCheckpoints[account];
if (nCheckpoints == 0) {
return 0;
}
// First check most recent balance
if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
uint224 votes = checkpoints[account][nCheckpoints - 1].votes;
require(votes <= type(uint96).max, "Rosa::getPriorVotes: votes exceeds 96 bits");
return uint96(votes);
}
// Next check implicit zero balance
if (checkpoints[account][0].fromBlock > blockNumber) {
return 0;
}
uint32 lower = 0;
uint32 upper = nCheckpoints - 1;
while (upper > lower) {
uint32 center;
unchecked {
center = upper - (upper - lower) / 2; // ceil, avoiding overflow
}
Checkpoint memory cp = checkpoints[account][center];
if (cp.fromBlock == blockNumber) {
require(cp.votes <= type(uint96).max, "Rosa::getPriorVotes: votes exceeds 96 bits");
return uint96(cp.votes);
} else if (cp.fromBlock < blockNumber) {
lower = center;
} else {
upper = center - 1;
}
}
uint224 finalVotes = checkpoints[account][lower].votes;
require(finalVotes <= type(uint96).max, "Rosa::getPriorVotes: votes exceeds 96 bits");
return uint96(finalVotes);
}
function _delegate(address delegator, address delegatee) internal {
address currentDelegate = delegates[delegator];
uint96 delegatorBalance = balances[delegator];
delegates[delegator] = delegatee;
emit DelegateChanged(delegator, currentDelegate, delegatee);
_moveDelegates(currentDelegate, delegatee, delegatorBalance);
}
function _transferTokens(
address src,
address dst,
uint96 amount
) internal {
require(
src != address(0),
"Rosa::_transferTokens: cannot transfer from the zero address"
);
require(
dst != address(0),
"Rosa::_transferTokens: cannot transfer to the zero address"
);
balances[src] = sub96(
balances[src],
amount,
"Rosa::_transferTokens: transfer amount exceeds balance"
);
balances[dst] = add96(
balances[dst],
amount,
"Rosa::_transferTokens: transfer amount overflows"
);
emit Transfer(src, dst, amount);
_moveDelegates(delegates[src], delegates[dst], amount);
}
function _moveDelegates(
address srcRep,
address dstRep,
uint96 amount
) internal {
if (srcRep != dstRep && amount > 0) {
if (srcRep != address(0)) {
uint32 srcRepNum = numCheckpoints[srcRep];
uint224 srcRepOld;
unchecked {
srcRepOld = srcRepNum > 0
? checkpoints[srcRep][srcRepNum - 1].votes
: 0;
}
uint96 srcRepNew = sub96(
uint96(srcRepOld),
amount,
"Rosa::_moveVotes: vote amount underflows"
);
_writeCheckpoint(srcRep, srcRepNum, uint96(srcRepOld), srcRepNew);
}
if (dstRep != address(0)) {
uint32 dstRepNum = numCheckpoints[dstRep];
uint224 dstRepOld;
unchecked {
dstRepOld = dstRepNum > 0
? checkpoints[dstRep][dstRepNum - 1].votes
: 0;
}
uint96 dstRepNew = add96(
uint96(dstRepOld),
amount,
"Rosa::_moveVotes: vote amount overflows"
);
_writeCheckpoint(dstRep, dstRepNum, uint96(dstRepOld), dstRepNew);
}
}
}
function _writeCheckpoint(
address delegatee,
uint32 nCheckpoints,
uint96 oldVotes,
uint96 newVotes
) internal {
uint32 blockNumber = safe32(
block.number,
"Rosa::_writeCheckpoint: block number exceeds 32 bits"
);
unchecked {
if (
nCheckpoints > 0 &&
checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber
) {
checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
} else {
checkpoints[delegatee][nCheckpoints] = Checkpoint(
blockNumber,
newVotes
);
numCheckpoints[delegatee] = nCheckpoints + 1;
}
}
emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
}
function safe32(uint256 n, string memory errorMessage)
internal
pure
returns (uint32)
{
require(n <= type(uint32).max, errorMessage);
return uint32(n);
}
function safe96(uint256 n, string memory errorMessage)
internal
pure
returns (uint96)
{
require(n <= type(uint96).max, errorMessage);
return uint96(n);
}
function add96(
uint96 a,
uint96 b,
string memory errorMessage
) internal pure returns (uint96) {
unchecked {
uint96 c = a + b;
require(c >= a, errorMessage);
return c;
}
}
function sub96(
uint96 a,
uint96 b,
string memory errorMessage
) internal pure returns (uint96) {
require(b <= a, errorMessage);
unchecked {
return a - b;
}
}
function getChainId() internal view returns (uint256) {
return block.chainid;
}
}{
"evmVersion": "istanbul",
"optimizer": {
"enabled": true,
"runs": 200,
"details": {
"yul": true
}
},
"libraries": {
"Rosa.sol": {}
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x608060405234801561001057600080fd5b5060405161192238038061192283398101604081905261002f916100b7565b6001600160a01b03811661004257600080fd5b6001600160a01b03811660008181526001602052604080822080546001600160601b031916697f0e10af47c1c700000090811790915590517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916100a99190815260200190565b60405180910390a3506100e7565b6000602082840312156100c957600080fd5b81516001600160a01b03811681146100e057600080fd5b9392505050565b61182c806100f66000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b4b5ea5711610071578063b4b5ea5714610339578063c3cda5201461034c578063dd62ed3e1461035f578063e7a324dc1461039f578063f1127ed8146103c657600080fd5b806370a0823114610286578063782d6fe1146102b85780637ecebe00146102e357806395d89b4114610303578063a9059cbb1461032657600080fd5b806323b872dd116100f457806323b872dd146101c8578063313ce567146101db578063587cde1e146101f55780635c19a95c146102365780636fcfff451461024b57600080fd5b806306fdde0314610126578063095ea7b31461015f57806318160ddd1461018257806320606b70146101a1575b600080fd5b61014960405180604001604052806004815260200163526f736160e01b81525081565b604051610156919061142a565b60405180910390f35b61017261016d366004611494565b61042d565b6040519015158152602001610156565b610193697f0e10af47c1c700000081565b604051908152602001610156565b6101937f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6101726101d63660046114be565b6104eb565b6101e3601281565b60405160ff9091168152602001610156565b61021e6102033660046114fa565b6002602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610156565b6102496102443660046114fa565b61062c565b005b6102716102593660046114fa565b60046020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610156565b6101936102943660046114fa565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b6102cb6102c6366004611494565b610639565b6040516001600160601b039091168152602001610156565b6101936102f13660046114fa565b60056020526000908152604090205481565b61014960405180604001604052806004815260200163524f534160e01b81525081565b610172610334366004611494565b61093b565b6102cb6103473660046114fa565b610977565b61024961035a366004611515565b610a6d565b61019361036d366004611575565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b6101937fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104096103d43660046115a8565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160e01b031682565b6040805163ffffffff90931683526001600160e01b03909116602083015201610156565b600080600019830361044757506001600160601b0361046c565b6104698360405180606001604052806025815260200161178460259139610d55565b90505b336000818152602081815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360019150505b92915050565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602580845291936001600160601b03909116928592610541928892919061178490830139610d55565b9050866001600160a01b0316836001600160a01b03161415801561056e57506001600160601b0382811614155b1561061457600061059883836040518060600160405280603d8152602001611747603d9139610d88565b6001600160a01b03898116600081815260208181526040808320948a168084529482529182902080546001600160601b0319166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b61061f878783610dc7565b5060019695505050505050565b6106363382611018565b50565b600043821061069f5760405162461bcd60e51b815260206004820152602760248201527f526f73613a3a6765745072696f72566f7465733a206e6f742079657420646574604482015266195c9b5a5b995960ca1b60648201526084015b60405180910390fd5b6001600160a01b03831660009081526004602052604081205463ffffffff16908190036106d05760009150506104e5565b6001600160a01b038416600090815260036020526040812084916106f56001856115fe565b63ffffffff90811682526020820192909252604001600020541611610791576001600160a01b0384166000908152600360205260408120816107386001856115fe565b63ffffffff168152602081019190915260400160002054600160201b90046001600160e01b031690506001600160601b038111156107885760405162461bcd60e51b815260040161069690611622565b91506104e59050565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff168310156107cc5760009150506104e5565b6000806107da6001846115fe565b90505b8163ffffffff168163ffffffff1611156108d0576000600263ffffffff848403166001600160a01b038916600090815260036020908152604080832094909304860363ffffffff818116845294825291839020835180850190945254938416808452600160201b9094046001600160e01b0316908301529250908790036108a4576001600160601b03801681602001516001600160e01b031611156108945760405162461bcd60e51b815260040161069690611622565b6020015194506104e59350505050565b805163ffffffff168711156108bb578193506108c9565b6108c66001836115fe565b92505b50506107dd565b6001600160a01b038616600090815260036020908152604080832063ffffffff86168452909152902054600160201b90046001600160e01b03166001600160601b038111156109315760405162461bcd60e51b815260040161069690611622565b9695505050505050565b600080610960836040518060600160405280602681526020016117d160269139610d55565b905061096d338583610dc7565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff1681816109a35760006109ef565b6001600160a01b0384166000908152600360205260408120906109c76001856115fe565b63ffffffff168152602081019190915260400160002054600160201b90046001600160e01b03165b90506001600160601b036001600160e01b0382161115610a665760405162461bcd60e51b815260206004820152602c60248201527f526f73613a3a67657443757272656e74566f7465733a20766f7465732065786360448201526b65656473203936206269747360a01b6064820152608401610696565b9392505050565b83421115610acc5760405162461bcd60e51b815260206004820152602660248201527f526f73613a3a64656c656761746542795369673a207369676e617475726520656044820152651e1c1a5c995960d21b6064820152608401610696565b6040805180820182526004815263526f736160e01b60209182015281517f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866818301527fc64d04b304cd1a5f7f64b26ea160b62ab856adf6e1c8c4c5a792301bcf43841d81840152466060820152306080808301919091528351808303909101815260a0820184528051908301207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08301526001600160a01b038a1660e083015261010082018990526101208083018990528451808403909101815261014083019094528351939092019290922061190160f01b6101608401526101628301829052610182830181905290916000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610c4b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cbd5760405162461bcd60e51b815260206004820152602660248201527f526f73613a3a64656c656761746542795369673a20696e76616c6964207369676044820152656e617475726560d01b6064820152608401610696565b6001600160a01b0381166000908152600560205260408120805491610ce18361166c565b919050558914610d3e5760405162461bcd60e51b815260206004820152602260248201527f526f73613a3a64656c656761746542795369673a20696e76616c6964206e6f6e604482015261636560f01b6064820152608401610696565b610d48818b611018565b505050505b505050505050565b6000816001600160601b03841115610d805760405162461bcd60e51b8152600401610696919061142a565b509192915050565b6000836001600160601b0316836001600160601b031611158290610dbf5760405162461bcd60e51b8152600401610696919061142a565b505050900390565b6001600160a01b038316610e435760405162461bcd60e51b815260206004820152603c60248201527f526f73613a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260448201527f616e736665722066726f6d20746865207a65726f2061646472657373000000006064820152608401610696565b6001600160a01b038216610ebf5760405162461bcd60e51b815260206004820152603a60248201527f526f73613a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260448201527f616e7366657220746f20746865207a65726f20616464726573730000000000006064820152608401610696565b6001600160a01b038316600090815260016020908152604091829020548251606081019093526036808452610f0a936001600160601b03909216928592919061171190830139610d88565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526030808452610f729491909116928592909190611686908301396110a2565b6001600160a01b0383811660008181526001602090815260409182902080546001600160601b0319166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36001600160a01b03808416600090815260026020526040808220548584168352912054611013929182169116836110de565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461109c8284836110de565b50505050565b6000838301826001600160601b0380871690831610156110d55760405162461bcd60e51b8152600401610696919061142a565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561110957506000816001600160601b0316115b15611013576001600160a01b038316156111c1576001600160a01b03831660009081526004602052604081205463ffffffff169081611149576000611188565b6001600160a01b0385166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160e01b03165b905060006111af82856040518060600160405280602881526020016117a960289139610d88565b90506111bd8684848461126c565b5050505b6001600160a01b03821615611013576001600160a01b03821660009081526004602052604081205463ffffffff1690816111fc57600061123b565b6001600160a01b0384166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160e01b03165b9050600061126282856040518060600160405280602781526020016116b6602791396110a2565b9050610d4d858484845b6000611290436040518060600160405280603481526020016116dd60349139611406565b905060008463ffffffff161180156112d957506001600160a01b038516600090815260036020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561132a576001600160a01b0385166000908152600360209081526040808320600019880163ffffffff9081168552925290912080549091166001600160601b038416600160201b021790556113b1565b60408051808201825263ffffffff80841682526001600160601b03851660208084019182526001600160a01b038a166000818152600383528681208b861682528352868120955193516001600160e01b0316600160201b0293851693909317909455928152600490925291902080546001870190921663ffffffff19929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b60008163ffffffff841115610d805760405162461bcd60e51b815260040161069691905b600060208083528351808285015260005b818110156114575785810183015185820160400152820161143b565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461148f57600080fd5b919050565b600080604083850312156114a757600080fd5b6114b083611478565b946020939093013593505050565b6000806000606084860312156114d357600080fd5b6114dc84611478565b92506114ea60208501611478565b9150604084013590509250925092565b60006020828403121561150c57600080fd5b610a6682611478565b60008060008060008060c0878903121561152e57600080fd5b61153787611478565b95506020870135945060408701359350606087013560ff8116811461155b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561158857600080fd5b61159183611478565b915061159f60208401611478565b90509250929050565b600080604083850312156115bb57600080fd5b6115c483611478565b9150602083013563ffffffff811681146115dd57600080fd5b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b63ffffffff82811682821603908082111561161b5761161b6115e8565b5092915050565b6020808252602a908201527f526f73613a3a6765745072696f72566f7465733a20766f7465732065786365656040820152696473203936206269747360b01b606082015260800190565b60006001820161167e5761167e6115e8565b506001019056fe526f73613a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773526f73613a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773526f73613a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473526f73613a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365526f73613a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365526f73613a3a617070726f76653a20616d6f756e7420657863656564732039362062697473526f73613a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773526f73613a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473a2646970667358221220b21e7d9ba4424bcdc53f82c7cb2efb921e8067a33d007bbbe578c58ce164021764736f6c634300081300330000000000000000000000009d255010d5125a3c6470f96ed395d1b584d444d1
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b4b5ea5711610071578063b4b5ea5714610339578063c3cda5201461034c578063dd62ed3e1461035f578063e7a324dc1461039f578063f1127ed8146103c657600080fd5b806370a0823114610286578063782d6fe1146102b85780637ecebe00146102e357806395d89b4114610303578063a9059cbb1461032657600080fd5b806323b872dd116100f457806323b872dd146101c8578063313ce567146101db578063587cde1e146101f55780635c19a95c146102365780636fcfff451461024b57600080fd5b806306fdde0314610126578063095ea7b31461015f57806318160ddd1461018257806320606b70146101a1575b600080fd5b61014960405180604001604052806004815260200163526f736160e01b81525081565b604051610156919061142a565b60405180910390f35b61017261016d366004611494565b61042d565b6040519015158152602001610156565b610193697f0e10af47c1c700000081565b604051908152602001610156565b6101937f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6101726101d63660046114be565b6104eb565b6101e3601281565b60405160ff9091168152602001610156565b61021e6102033660046114fa565b6002602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610156565b6102496102443660046114fa565b61062c565b005b6102716102593660046114fa565b60046020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610156565b6101936102943660046114fa565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b6102cb6102c6366004611494565b610639565b6040516001600160601b039091168152602001610156565b6101936102f13660046114fa565b60056020526000908152604090205481565b61014960405180604001604052806004815260200163524f534160e01b81525081565b610172610334366004611494565b61093b565b6102cb6103473660046114fa565b610977565b61024961035a366004611515565b610a6d565b61019361036d366004611575565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b6101937fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104096103d43660046115a8565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160e01b031682565b6040805163ffffffff90931683526001600160e01b03909116602083015201610156565b600080600019830361044757506001600160601b0361046c565b6104698360405180606001604052806025815260200161178460259139610d55565b90505b336000818152602081815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360019150505b92915050565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602580845291936001600160601b03909116928592610541928892919061178490830139610d55565b9050866001600160a01b0316836001600160a01b03161415801561056e57506001600160601b0382811614155b1561061457600061059883836040518060600160405280603d8152602001611747603d9139610d88565b6001600160a01b03898116600081815260208181526040808320948a168084529482529182902080546001600160601b0319166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b61061f878783610dc7565b5060019695505050505050565b6106363382611018565b50565b600043821061069f5760405162461bcd60e51b815260206004820152602760248201527f526f73613a3a6765745072696f72566f7465733a206e6f742079657420646574604482015266195c9b5a5b995960ca1b60648201526084015b60405180910390fd5b6001600160a01b03831660009081526004602052604081205463ffffffff16908190036106d05760009150506104e5565b6001600160a01b038416600090815260036020526040812084916106f56001856115fe565b63ffffffff90811682526020820192909252604001600020541611610791576001600160a01b0384166000908152600360205260408120816107386001856115fe565b63ffffffff168152602081019190915260400160002054600160201b90046001600160e01b031690506001600160601b038111156107885760405162461bcd60e51b815260040161069690611622565b91506104e59050565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff168310156107cc5760009150506104e5565b6000806107da6001846115fe565b90505b8163ffffffff168163ffffffff1611156108d0576000600263ffffffff848403166001600160a01b038916600090815260036020908152604080832094909304860363ffffffff818116845294825291839020835180850190945254938416808452600160201b9094046001600160e01b0316908301529250908790036108a4576001600160601b03801681602001516001600160e01b031611156108945760405162461bcd60e51b815260040161069690611622565b6020015194506104e59350505050565b805163ffffffff168711156108bb578193506108c9565b6108c66001836115fe565b92505b50506107dd565b6001600160a01b038616600090815260036020908152604080832063ffffffff86168452909152902054600160201b90046001600160e01b03166001600160601b038111156109315760405162461bcd60e51b815260040161069690611622565b9695505050505050565b600080610960836040518060600160405280602681526020016117d160269139610d55565b905061096d338583610dc7565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff1681816109a35760006109ef565b6001600160a01b0384166000908152600360205260408120906109c76001856115fe565b63ffffffff168152602081019190915260400160002054600160201b90046001600160e01b03165b90506001600160601b036001600160e01b0382161115610a665760405162461bcd60e51b815260206004820152602c60248201527f526f73613a3a67657443757272656e74566f7465733a20766f7465732065786360448201526b65656473203936206269747360a01b6064820152608401610696565b9392505050565b83421115610acc5760405162461bcd60e51b815260206004820152602660248201527f526f73613a3a64656c656761746542795369673a207369676e617475726520656044820152651e1c1a5c995960d21b6064820152608401610696565b6040805180820182526004815263526f736160e01b60209182015281517f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866818301527fc64d04b304cd1a5f7f64b26ea160b62ab856adf6e1c8c4c5a792301bcf43841d81840152466060820152306080808301919091528351808303909101815260a0820184528051908301207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08301526001600160a01b038a1660e083015261010082018990526101208083018990528451808403909101815261014083019094528351939092019290922061190160f01b6101608401526101628301829052610182830181905290916000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610c4b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cbd5760405162461bcd60e51b815260206004820152602660248201527f526f73613a3a64656c656761746542795369673a20696e76616c6964207369676044820152656e617475726560d01b6064820152608401610696565b6001600160a01b0381166000908152600560205260408120805491610ce18361166c565b919050558914610d3e5760405162461bcd60e51b815260206004820152602260248201527f526f73613a3a64656c656761746542795369673a20696e76616c6964206e6f6e604482015261636560f01b6064820152608401610696565b610d48818b611018565b505050505b505050505050565b6000816001600160601b03841115610d805760405162461bcd60e51b8152600401610696919061142a565b509192915050565b6000836001600160601b0316836001600160601b031611158290610dbf5760405162461bcd60e51b8152600401610696919061142a565b505050900390565b6001600160a01b038316610e435760405162461bcd60e51b815260206004820152603c60248201527f526f73613a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260448201527f616e736665722066726f6d20746865207a65726f2061646472657373000000006064820152608401610696565b6001600160a01b038216610ebf5760405162461bcd60e51b815260206004820152603a60248201527f526f73613a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747260448201527f616e7366657220746f20746865207a65726f20616464726573730000000000006064820152608401610696565b6001600160a01b038316600090815260016020908152604091829020548251606081019093526036808452610f0a936001600160601b03909216928592919061171190830139610d88565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526030808452610f729491909116928592909190611686908301396110a2565b6001600160a01b0383811660008181526001602090815260409182902080546001600160601b0319166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36001600160a01b03808416600090815260026020526040808220548584168352912054611013929182169116836110de565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461109c8284836110de565b50505050565b6000838301826001600160601b0380871690831610156110d55760405162461bcd60e51b8152600401610696919061142a565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561110957506000816001600160601b0316115b15611013576001600160a01b038316156111c1576001600160a01b03831660009081526004602052604081205463ffffffff169081611149576000611188565b6001600160a01b0385166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160e01b03165b905060006111af82856040518060600160405280602881526020016117a960289139610d88565b90506111bd8684848461126c565b5050505b6001600160a01b03821615611013576001600160a01b03821660009081526004602052604081205463ffffffff1690816111fc57600061123b565b6001600160a01b0384166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160e01b03165b9050600061126282856040518060600160405280602781526020016116b6602791396110a2565b9050610d4d858484845b6000611290436040518060600160405280603481526020016116dd60349139611406565b905060008463ffffffff161180156112d957506001600160a01b038516600090815260036020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561132a576001600160a01b0385166000908152600360209081526040808320600019880163ffffffff9081168552925290912080549091166001600160601b038416600160201b021790556113b1565b60408051808201825263ffffffff80841682526001600160601b03851660208084019182526001600160a01b038a166000818152600383528681208b861682528352868120955193516001600160e01b0316600160201b0293851693909317909455928152600490925291902080546001870190921663ffffffff19929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b60008163ffffffff841115610d805760405162461bcd60e51b815260040161069691905b600060208083528351808285015260005b818110156114575785810183015185820160400152820161143b565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461148f57600080fd5b919050565b600080604083850312156114a757600080fd5b6114b083611478565b946020939093013593505050565b6000806000606084860312156114d357600080fd5b6114dc84611478565b92506114ea60208501611478565b9150604084013590509250925092565b60006020828403121561150c57600080fd5b610a6682611478565b60008060008060008060c0878903121561152e57600080fd5b61153787611478565b95506020870135945060408701359350606087013560ff8116811461155b57600080fd5b9598949750929560808101359460a0909101359350915050565b6000806040838503121561158857600080fd5b61159183611478565b915061159f60208401611478565b90509250929050565b600080604083850312156115bb57600080fd5b6115c483611478565b9150602083013563ffffffff811681146115dd57600080fd5b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b63ffffffff82811682821603908082111561161b5761161b6115e8565b5092915050565b6020808252602a908201527f526f73613a3a6765745072696f72566f7465733a20766f7465732065786365656040820152696473203936206269747360b01b606082015260800190565b60006001820161167e5761167e6115e8565b506001019056fe526f73613a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773526f73613a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773526f73613a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473526f73613a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365526f73613a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365526f73613a3a617070726f76653a20616d6f756e7420657863656564732039362062697473526f73613a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773526f73613a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473a2646970667358221220b21e7d9ba4424bcdc53f82c7cb2efb921e8067a33d007bbbe578c58ce164021764736f6c63430008130033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.