Overview ERC20
PRICE
$0.051675

ON-CHAIN MARKET CAP n/a

Total Supply:
1,000,000,000.00 MIGR

Holders:
2
Profile Summary
Blockchain:
Base (8453)


Decimals:
18
Contract Source Code Verified (Partial Match)
Contract Name:
XchangeToken

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 800 runs

Created At:
Mon, 20 Jan 2025 04:06:39 GMT
XchangeToken.sol
contracts
XchangeToken.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol",
        "type": "string"
      },
      {
        "internalType": "uint256",
        "name": "supply",
        "type": "uint256"
      },
      {
        "internalType": "address",
        "name": "newOwner",
        "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": "value",
        "type": "uint256"
      }
    ],
    "name": "Approval",
    "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": true,
        "internalType": "address",
        "name": "from",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "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": "amount",
        "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": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "subtractedValue",
        "type": "uint256"
      }
    ],
    "name": "decreaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "addedValue",
        "type": "uint256"
      }
    ],
    "name": "increaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "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": [],
    "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": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "from",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
6040608081523461041457610ff48038038061001a81610419565b92833981016080828203126104145781516001600160401b0390818111610414578261004791850161043e565b9060209283850151908282116104145761006291860161043e565b85850151606090950151946001600160a01b039384871693919291848803610414578251918183116103335760038054936001958686811c9616801561040a575b8b8710146103135781908b601f978881116103b6575b50508b9087831160011461035457600092610349575b505060001982841b1c191690861b1781555b815192831161033357600254918583811c93168015610329575b8a8410146103135782858594116102bf575b5089908584116001146102575760009361024c575b505082851b92600019911b1c1916176002555b61013e336104a9565b831561020a57506004548281018091116101f4576000927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92879260045585855282528884208181540190558851908152a3339060055416036101b257506101a5906104a9565b51610b0190816104f38239f35b60649083519062461bcd60e51b825280600483015260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b634e487b7160e01b600052601160045260246000fd5b8560649189519162461bcd60e51b8352600483015260248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b015191503880610122565b9190869450601f1984169260026000528b6000209360005b8d8282106102a9575050851161028f575b50505050811b01600255610135565b01519060f884600019921b161c1916905538808080610280565b8385015187558a9890960195938401930161026f565b909192506002600052896000208580860160051c8201928c871061030a575b91889187969594930160051c01915b8281106102fb57505061010d565b600081558695508891016102ed565b925081926102de565b634e487b7160e01b600052602260045260246000fd5b92607f16926100fb565b634e487b7160e01b600052604160045260246000fd5b0151905038806100cf565b60008581528d81208a9550929190601f198516908f5b82821061039f5750508411610387575b505050811b0181556100e1565b015160001983861b60f8161c1916905538808061037a565b8385015186558c979095019493840193018f61036a565b909192508460005287826000209181860160051c8301938610610401575b918a91869594930160051c01915b8281106103f257508d91506100b9565b600081558594508a91016103e2565b925081926103d4565b95607f16956100a3565b600080fd5b6040519190601f01601f191682016001600160401b0381118382101761033357604052565b919080601f840112156104145782516001600160401b03811161033357602090610470601f8201601f19168301610419565b928184528282870101116104145760005b81811061049657508260009394955001015290565b8581018301518482018401528201610481565b600580546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a356fe6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde031461066157508063095ea7b31461063757806318160ddd1461061a57806323b872dd14610550578063313ce5671461053457806339509351146104cf57806370a0823114610498578063715018a6146104305780638da5cb5b1461040857806395d89b41146102e4578063a457c2d714610225578063a9059cbb146101f4578063dd62ed3e146101a85763f2fde38b146100bd57600080fd5b346101a45760203660031901126101a4576100d66107a1565b906100df610a73565b6001600160a01b0380921692831561013b5750506005548273ffffffffffffffffffffffffffffffffffffffff19821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b5050346101f057806003193601126101f057806020926101c66107a1565b6101ce6107bc565b6001600160a01b03918216835282865283832091168252845220549051908152f35b5080fd5b5050346101f057806003193601126101f05760209061021e6102146107a1565b60243590336108d4565b5160018152f35b5082346102e157826003193601126102e15761023f6107a1565b918360243592338152806020528181206001600160a01b03861682526020522054908282106102785760208561021e85850387336107d2565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152fd5b80fd5b509190346101f057816003193601126101f0578051908260035460018160011c90600183169283156103fe575b60209384841081146103eb578388529081156103cf5750600114610379575b505050829003601f01601f191682019267ffffffffffffffff8411838510176103665750829182610362925282610758565b0390f35b634e487b7160e01b815260418552602490fd5b600387529192508591837fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b8385106103bb5750505050830101388080610330565b8054888601830152930192849082016103a5565b60ff1916878501525050151560051b8401019050388080610330565b634e487b7160e01b895260228a52602489fd5b91607f1691610311565b5050346101f057816003193601126101f0576020906001600160a01b03600554169051908152f35b83346102e157806003193601126102e157610449610a73565b806001600160a01b0360055473ffffffffffffffffffffffffffffffffffffffff198116600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346101f05760203660031901126101f057806020926001600160a01b036104bf6107a1565b1681526001845220549051908152f35b5091346102e157816003193601126102e1576104e96107a1565b338252816020528282206001600160a01b0382168352602052828220549160243583018093116105215760208461021e8585336107d2565b634e487b7160e01b815260118552602490fd5b5050346101f057816003193601126101f0576020905160128152f35b508290346101f05760603660031901126101f05761056c6107a1565b6105746107bc565b9184604435946001600160a01b03841681528060205281812033825260205220549060001982036105ae575b60208661021e8787876108d4565b8482106105d757509183916105cc6020969561021e950333836107d2565b9193948193506105a0565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b50346101a457826003193601126101a45760209250549051908152f35b5050346101f057806003193601126101f05760209061021e6106576107a1565b60243590336107d2565b84915083346101a457826003193601126101a4578260025460018160011c906001831692831561074e575b60209384841081146103eb5783885290811561073257506001146106dc57505050829003601f01601f191682019267ffffffffffffffff8411838510176103665750829182610362925282610758565b600287529192508591837f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b83851061071e5750505050830101858080610330565b805488860183015293019284908201610708565b60ff1916878501525050151560051b8401019050858080610330565b91607f169161068c565b6020808252825181830181905290939260005b82811061078d57505060409293506000838284010152601f8019910116010190565b81810186015184820160400152850161076b565b600435906001600160a01b03821682036107b757565b600080fd5b602435906001600160a01b03821682036107b757565b6001600160a01b0380911691821561088357169182156108335760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260008252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b6001600160a01b03809116918215610a0857169182156109b7576000828152600160205260408120549180831061094c57604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef95876020965260018652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608490fd5b6001600160a01b03600554163303610a8757565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea264697066735822122003861df6f50fd1fb72ce48adda2d90b6828e98baacafa92b398076438f39cf9a64736f6c63430008190033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000d9511408f0042b75d2be3bfe9d9e9df7624afcc10000000000000000000000000000000000000000000000000000000000000019536f6369616c204d6967726174696f6e2050726f746f636f6c0000000000000000000000000000000000000000000000000000000000000000000000000000044d49475200000000000000000000000000000000000000000000000000000000