Address Contract Verified
Address
0xeB32e776b75707487D044c5B75462a11f72B905C
Balance
0 ETH
Nonce
1
Code Size
8058 bytes
Creator
0x7A3AD0f6...0581 at tx 0x528a79b8...ac23ed
Indexed Transactions
0
Contract Bytecode
8058 bytes
0x608060405234801561001057600080fd5b50600436106101005760003560e01c806342966c6811610097578063a457c2d711610066578063a457c2d7146102c1578063a9059cbb146102f1578063dd62ed3e14610321578063f2fde38b1461035157610100565b806342966c681461023b5780637065cb481461025757806370a082311461027357806395d89b41146102a357610100565b806323b872dd116100d357806323b872dd1461018d5780632f54bf6e146101bd578063313ce567146101ed578063395093511461020b57610100565b806306fdde0314610105578063095ea7b314610123578063173825d91461015357806318160ddd1461016f575b600080fd5b61010d61036d565b60405161011a9190611727565b60405180910390f35b61013d600480360381019061013891906117e2565b6103ff565b60405161014a919061183d565b60405180910390f35b61016d60048036038101906101689190611858565b6105d0565b005b6101776107af565b6040516101849190611894565b60405180910390f35b6101a760048036038101906101a291906118af565b6107b9565b6040516101b4919061183d565b60405180910390f35b6101d760048036038101906101d29190611858565b610923565b6040516101e4919061183d565b60405180910390f35b6101f5610978565b604051610202919061191e565b60405180910390f35b610225600480360381019061022091906117e2565b61098f565b604051610232919061183d565b60405180910390f35b61025560048036038101906102509190611939565b610bee565b005b610271600480360381019061026c9190611858565b610c43565b005b61028d60048036038101906102889190611858565b610e24565b60405161029a9190611894565b60405180910390f35b6102ab610e6d565b6040516102b89190611727565b60405180910390f35b6102db60048036038101906102d691906117e2565b610eff565b6040516102e8919061183d565b60405180910390f35b61030b600480360381019061030691906117e2565b61115e565b604051610318919061183d565b60405180910390f35b61033b60048036038101906103369190611966565b611175565b6040516103489190611894565b60405180910390f35b61036b60048036038101906103669190611858565b6111fc565b005b60606004805461037c906119d5565b80601f01602080910402602001604051908101604052809291908181526020018280546103a8906119d5565b80156103f55780601f106103ca576101008083540402835291602001916103f5565b820191906000526020600020905b8154815290600101906020018083116103d857829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610470576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046790611a53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156104e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d790611ae5565b60405180910390fd5b81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516105be9190611894565b60405180910390a36001905092915050565b6105d933610923565b610618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060f90611b51565b60405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166106a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069a90611bbd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070990611c29565b60405180910390fd5b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f58619076adf5bb0943d100ef88d52d7c3fd691b19d3a9071b555b651fbf418da60405160405180910390a250565b6000600354905090565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482111561087a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087190611c95565b60405180910390fd5b6108858484846113bf565b81600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546109119190611ce4565b92505081905550600190509392505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600660009054906101000a900460ff16905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f790611a53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6790611ae5565b60405180910390fd5b81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610afc9190611d18565b925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051610bdc9190611894565b60405180910390a36001905092915050565b610bf733610923565b610c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2d90611b51565b60405180910390fd5b610c403382611545565b50565b610c4c33610923565b610c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8290611b51565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf290611dba565b60405180910390fd5b6000808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90611e26565b60405180910390fd5b60016000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f994a936646fe87ffe4f1e469d3d6aa417d6b855598397f323de5b449f765f0c360405160405180910390a250565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060058054610e7c906119d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea8906119d5565b8015610ef55780601f10610eca57610100808354040283529160200191610ef5565b820191906000526020600020905b815481529060010190602001808311610ed857829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6790611a53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd790611ae5565b60405180910390fd5b81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461106c9190611ce4565b925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460405161114c9190611894565b60405180910390a36001905092915050565b600061116b3384846113bf565b6001905092915050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61120533610923565b611244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123b90611b51565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ab90611dba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561142f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142690611e92565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461147e9190611ce4565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114d49190611d18565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516115389190611894565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac90611f24565b60405180910390fd5b80600360008282546115c79190611ce4565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461161d9190611ce4565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516116829190611894565b60405180910390a35050565b600081519050919050565b600082825260208201905092915050565b60005b838110156116c85780820151818401526020810190506116ad565b838111156116d7576000848401525b50505050565b6000601f19601f8301169050919050565b60006116f98261168e565b6117038185611699565b93506117138185602086016116aa565b61171c816116dd565b840191505092915050565b6000602082019050818103600083015261174181846116ee565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006117798261174e565b9050919050565b6117898161176e565b811461179457600080fd5b50565b6000813590506117a681611780565b92915050565b6000819050919050565b6117bf816117ac565b81146117ca57600080fd5b50565b6000813590506117dc816117b6565b92915050565b600080604083850312156117f9576117f8611749565b5b600061180785828601611797565b9250506020611818858286016117cd565b9150509250929050565b60008115159050919050565b61183781611822565b82525050565b6000602082019050611852600083018461182e565b92915050565b60006020828403121561186e5761186d611749565b5b600061187c84828501611797565b91505092915050565b61188e816117ac565b82525050565b60006020820190506118a96000830184611885565b92915050565b6000806000606084860312156118c8576118c7611749565b5b60006118d686828701611797565b93505060206118e786828701611797565b92505060406118f8868287016117cd565b9150509250925092565b600060ff82169050919050565b61191881611902565b82525050565b6000602082019050611933600083018461190f565b92915050565b60006020828403121561194f5761194e611749565b5b600061195d848285016117cd565b91505092915050565b6000806040838503121561197d5761197c611749565b5b600061198b85828601611797565b925050602061199c85828601611797565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806119ed57607f821691505b60208210811415611a0157611a006119a6565b5b50919050565b7f5370656e646572207a65726f20616464726573732070726f6869626974656400600082015250565b6000611a3d601f83611699565b9150611a4882611a07565b602082019050919050565b60006020820190508181036000830152611a6c81611a30565b9050919050565b7f5a65726f206164647265737320636f756c64206e6f742063616c6c206d65746860008201527f6f64000000000000000000000000000000000000000000000000000000000000602082015250565b6000611acf602283611699565b9150611ada82611a73565b604082019050919050565b60006020820190508181036000830152611afe81611ac2565b9050919050565b7f417661696c61626c65206f6e6c7920666f72206f776e65727300000000000000600082015250565b6000611b3b601983611699565b9150611b4682611b05565b602082019050919050565b60006020820190508181036000830152611b6a81611b2e565b9050919050565b7f41646472657373206973206e6f7420616e206f776e6572000000000000000000600082015250565b6000611ba7601783611699565b9150611bb282611b71565b602082019050919050565b60006020820190508181036000830152611bd681611b9a565b9050919050565b7f4f776e6572732063616e6e6f742072656d6f7665207468656d73656c76657300600082015250565b6000611c13601f83611699565b9150611c1e82611bdd565b602082019050919050565b60006020820190508181036000830152611c4281611c06565b9050919050565b7f4e6f7420616c6c6f77656420746f207370656e64000000000000000000000000600082015250565b6000611c7f601483611699565b9150611c8a82611c49565b602082019050919050565b60006020820190508181036000830152611cae81611c72565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611cef826117ac565b9150611cfa836117ac565b925082821015611d0d57611d0c611cb5565b5b828203905092915050565b6000611d23826117ac565b9150611d2e836117ac565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611d6357611d62611cb5565b5b828201905092915050565b7f4e6577206f776e65722063616e6e6f74206265207a65726f2061646472657373600082015250565b6000611da4602083611699565b9150611daf82611d6e565b602082019050919050565b60006020820190508181036000830152611dd381611d97565b9050919050565b7f4164647265737320697320616c726561647920616e206f776e65720000000000600082015250565b6000611e10601b83611699565b9150611e1b82611dda565b602082019050919050565b60006020820190508181036000830152611e3f81611e03565b9050919050565b7f5a65726f20616464726573732063616e206e6f74206265207265636569766572600082015250565b6000611e7c602083611699565b9150611e8782611e46565b602082019050919050565b60006020820190508181036000830152611eab81611e6f565b9050919050565b7f4275726e696e672063616e206e6f7420626520706572666f726d6564206f6e2060008201527f5a65726f20616464726573730000000000000000000000000000000000000000602082015250565b6000611f0e602c83611699565b9150611f1982611eb2565b604082019050919050565b60006020820190508181036000830152611f3d81611f01565b905091905056fea2646970667358221220b5e02d8fc48d31b479c9cddacf076a8bf37bb51f73015ef178f55476c277a20764736f6c634300080c0033
Verified Source Code Full Match
Compiler: v0.8.12+commit.f00d7308
EVM: london
Optimization: No
ERC20.sol 110 lines
// SPDX-License-Identifier: MIT
pragma solidity =0.8.12;
import "./IERC20.sol";
import "./Ownable.sol";
contract ERC20 is IERC20, Ownable {
constructor(address owner_) Ownable(owner_){
}
mapping (address => uint256) _balances;
mapping (address => mapping (address => uint256)) _allowed;
uint256 internal _totalSupply;
function totalSupply() external view override virtual returns (uint256) {
return _totalSupply;
}
function balanceOf(address user) external view override returns (uint256) {
return _balances[user];
}
function allowance(address user, address spender) external view returns (uint256) {
return _allowed[user][spender];
}
function approve(address spender, uint256 value) external returns (bool) {
require(spender != address(0), 'Spender zero address prohibited');
require(msg.sender != address(0), 'Zero address could not call method');
_allowed[msg.sender][spender] = value;
emit Approval(msg.sender, spender, value);
return true;
}
function increaseAllowance(
address spender,
uint256 addedValue
) external returns (bool)
{
require(spender != address(0), 'Spender zero address prohibited');
require(msg.sender != address(0), 'Zero address could not call method');
_allowed[msg.sender][spender] += addedValue;
emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
return true;
}
function decreaseAllowance(
address spender,
uint256 subtractedValue
) external returns (bool)
{
require(spender != address(0), 'Spender zero address prohibited');
require(msg.sender != address(0), 'Zero address could not call method');
_allowed[msg.sender][spender] -= subtractedValue;
emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
return true;
}
function transferFrom(address from, address to, uint256 value) external returns (bool) {
require(value <= _allowed[from][msg.sender], 'Not allowed to spend');
_transfer(from, to, value);
_allowed[from][msg.sender] -= value;
return true;
}
function transfer(address to, uint256 value) external returns (bool) {
_transfer(msg.sender, to, value);
return true;
}
function _transfer(address from, address to, uint256 value) internal {
require(to != address(0), 'Zero address can not be receiver');
_balances[from] -= value;
_balances[to] += value;
emit Transfer(from, to, value);
}
function _mint(address account, uint256 value) internal {
require(account != address(0), 'Minting can not be done on Zero address');
_totalSupply += value;
_balances[account] += value;
emit Transfer(address(0), account, value);
}
function burn(uint256 amount) external onlyOwner() virtual {
_burn(msg.sender, amount);
}
function _burn(address account, uint256 value) internal {
require(account != address(0), 'Burning can not be performed on Zero address');
_totalSupply -= value;
_balances[account] -= value;
emit Transfer(account, address(0), value);
}
}
ERC20Detailed.sol 36 lines
// SPDX-License-Identifier: MIT
pragma solidity =0.8.12;
import "./ERC20.sol";
contract ERC20Detailed is ERC20 {
string private _name;
string private _symbol;
uint8 private _decimals;
constructor (
string memory name_,
string memory symbol_,
uint8 decimals_,
uint256 totalSupply,
address owner_
) ERC20(owner_) {
_name = name_;
_symbol = symbol_;
_decimals = decimals_;
_mint(owner_, totalSupply);
}
function name() external view returns (string memory) {
return _name;
}
function symbol() external view returns (string memory) {
return _symbol;
}
function decimals() external view returns (uint8) {
return _decimals;
}
}
IERC20.sol 28 lines
// SPDX-License-Identifier: MIT
pragma solidity =0.8.12;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256) ;
function transfer(address to, uint256 value) external returns (bool);
function transferFrom(address from, address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function decreaseAllowance(address spender,uint256 subtractedValue) external returns (bool);
function increaseAllowance(address spender,uint256 addedValue) external returns (bool);
event Transfer(
address indexed from,
address indexed to,
uint256 value
);
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
}
IXFI.sol 10 lines
// SPDX-License-Identifier: MIT
pragma solidity =0.8.12;
import "./ERC20Detailed.sol";
contract IXFI is ERC20Detailed {
constructor() ERC20Detailed("IXFI", "IXFI", 18, 5000000000000000000000000000, 0x01D3375701ee7d3AA219dD6888EEc0126A256404) {
}
}
Ownable.sol 47 lines
// SPDX-License-Identifier: MIT
pragma solidity =0.8.12;
contract Ownable {
// Mapping to track owner addresses
mapping(address => bool) private _owners;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
event OwnerAdded(address indexed newOwner);
event OwnerRemoved(address indexed removedOwner);
constructor (address owner_) {
_owners[owner_] = true;
emit OwnerAdded(owner_);
}
modifier onlyOwner() {
require(isOwner(msg.sender), "Available only for owners");
_;
}
function isOwner(address userAddress) public view returns (bool) {
return _owners[userAddress];
}
function addOwner(address newOwner) external onlyOwner {
require(newOwner != address(0), "New owner cannot be zero address");
require(!_owners[newOwner], "Address is already an owner");
_owners[newOwner] = true;
emit OwnerAdded(newOwner);
}
function removeOwner(address ownerToRemove) external onlyOwner {
require(_owners[ownerToRemove], "Address is not an owner");
require(msg.sender != ownerToRemove, "Owners cannot remove themselves");
_owners[ownerToRemove] = false;
emit OwnerRemoved(ownerToRemove);
}
function transferOwnership(address newOwner) external onlyOwner {
require(newOwner != address(0), "New owner cannot be zero address");
emit OwnershipTransferred(msg.sender, newOwner);
_owners[msg.sender] = false;
_owners[newOwner] = true;
}
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
isOwner 0x2f54bf6e → bool
name 0x06fdde03 → string
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 9 functions
These functions modify contract state and require a wallet transaction to execute.
addOwner 0x7065cb48
address newOwner
approve 0x095ea7b3
address spender
uint256 value
returns: bool
burn 0x42966c68
uint256 amount
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeOwner 0x173825d9
address ownerToRemove
transfer 0xa9059cbb
address to
uint256 value
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 value
returns: bool
transferOwnership 0xf2fde38b
address newOwner
Recent Transactions
No transactions found for this address