ERC-20
Source Code
Overview
Max Total Supply
35,391,174,008,457,991.712737 AIWOR...
Holders
328
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
-
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 6 Decimals)
Balance
12,332,345 AIWORLDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
AIWorld
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/**
*Submitted for verification at optimistic.etherscan.io on 2023-07-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract AIWorld{
string constant public name = "AIWORLD";
string constant public symbol = "AIWORLD";
uint8 constant public decimals = 6;
uint constant public totalSupply = 35391174008457991712737;
mapping(address => uint) public balanceOf;
mapping(address => mapping(address => uint)) public allowance;
event Transfer(address indexed from, address indexed to, uint256 amount);
event Approval(address indexed from, address indexed spender, uint256 amount);
constructor(address vault){
balanceOf[vault] = totalSupply;
emit Transfer(address(0), vault, totalSupply);
}
function _transfer(address from, address to, uint amount) internal{
require(to != address(0), "zero address");
balanceOf[from] -= amount;
balanceOf[to] += amount;
emit Transfer(from, to, amount);
}
function transfer(address to, uint256 amount) public returns (bool success){
_transfer(msg.sender, to, amount);
return true;
}
function transferFrom(address from, address to, uint256 amount) public returns (bool success){
address spender = msg.sender;
uint _allowance = allowance[from][spender];
if(_allowance != type(uint).max){
_allowance -= amount;
allowance[from][spender] = _allowance;
emit Approval(from, spender, _allowance);
}
_transfer(from, to, amount);
return true;
}
function approve(address spender, uint256 amount) public returns (bool success){
allowance[msg.sender][spender] = amount;
emit Approval(msg.sender, spender, amount);
return true;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"vault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","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":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b5060405161063038038061063083398101604081905261002f9161008d565b6001600160a01b03811660008181526020818152604080832069077e8f340237601e6fe19081905590519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3506100bd565b60006020828403121561009f57600080fd5b81516001600160a01b03811681146100b657600080fd5b9392505050565b610564806100cc6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461012957806370a082311461014357806395d89b4114610098578063a9059cbb14610163578063dd62ed3e1461017657600080fd5b806306fdde0314610098578063095ea7b3146100d457806318160ddd146100f757806323b872dd14610116575b600080fd5b6100be60405180604001604052806007815260200166105255d3d4931160ca1b81525081565b6040516100cb91906103cd565b60405180910390f35b6100e76100e2366004610437565b6101a1565b60405190151581526020016100cb565b61010869077e8f340237601e6fe181565b6040519081526020016100cb565b6100e7610124366004610461565b61020e565b610131600681565b60405160ff90911681526020016100cb565b61010861015136600461049d565b60006020819052908152604090205481565b6100e7610171366004610437565b6102c0565b6101086101843660046104bf565b600160209081526000928352604080842090915290825290205481565b3360008181526001602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906101fc9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b038316600090815260016020908152604080832033808552925282205460001981146102a9576102458482610508565b6001600160a01b038781166000818152600160209081526040808320948816808452948252918290208590559051848152939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b6102b48686866102d6565b50600195945050505050565b60006102cd3384846102d6565b50600192915050565b6001600160a01b03821661031f5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015260640160405180910390fd5b6001600160a01b03831660009081526020819052604081208054839290610347908490610508565b90915550506001600160a01b0382166000908152602081905260408120805483929061037490849061051b565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516103c091815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156103fa578581018301518582016040015282016103de565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461043257600080fd5b919050565b6000806040838503121561044a57600080fd5b6104538361041b565b946020939093013593505050565b60008060006060848603121561047657600080fd5b61047f8461041b565b925061048d6020850161041b565b9150604084013590509250925092565b6000602082840312156104af57600080fd5b6104b88261041b565b9392505050565b600080604083850312156104d257600080fd5b6104db8361041b565b91506104e96020840161041b565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610208576102086104f2565b80820180821115610208576102086104f256fea264697066735822122071f294da916848807605a479fdf4e3b2d5aa4ad9eb59bc3e50a89a30fa71039964736f6c63430008120033000000000000000000000000bcc7cd5bfcae9ac3fa31f369b33cabe93e62b057
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461012957806370a082311461014357806395d89b4114610098578063a9059cbb14610163578063dd62ed3e1461017657600080fd5b806306fdde0314610098578063095ea7b3146100d457806318160ddd146100f757806323b872dd14610116575b600080fd5b6100be60405180604001604052806007815260200166105255d3d4931160ca1b81525081565b6040516100cb91906103cd565b60405180910390f35b6100e76100e2366004610437565b6101a1565b60405190151581526020016100cb565b61010869077e8f340237601e6fe181565b6040519081526020016100cb565b6100e7610124366004610461565b61020e565b610131600681565b60405160ff90911681526020016100cb565b61010861015136600461049d565b60006020819052908152604090205481565b6100e7610171366004610437565b6102c0565b6101086101843660046104bf565b600160209081526000928352604080842090915290825290205481565b3360008181526001602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906101fc9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b038316600090815260016020908152604080832033808552925282205460001981146102a9576102458482610508565b6001600160a01b038781166000818152600160209081526040808320948816808452948252918290208590559051848152939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b6102b48686866102d6565b50600195945050505050565b60006102cd3384846102d6565b50600192915050565b6001600160a01b03821661031f5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015260640160405180910390fd5b6001600160a01b03831660009081526020819052604081208054839290610347908490610508565b90915550506001600160a01b0382166000908152602081905260408120805483929061037490849061051b565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516103c091815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156103fa578581018301518582016040015282016103de565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461043257600080fd5b919050565b6000806040838503121561044a57600080fd5b6104538361041b565b946020939093013593505050565b60008060006060848603121561047657600080fd5b61047f8461041b565b925061048d6020850161041b565b9150604084013590509250925092565b6000602082840312156104af57600080fd5b6104b88261041b565b9392505050565b600080604083850312156104d257600080fd5b6104db8361041b565b91506104e96020840161041b565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610208576102086104f2565b80820180821115610208576102086104f256fea264697066735822122071f294da916848807605a479fdf4e3b2d5aa4ad9eb59bc3e50a89a30fa71039964736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000bcc7cd5bfcae9ac3fa31f369b33cabe93e62b057
-----Decoded View---------------
Arg [0] : vault (address): 0xBcc7cd5bFcaE9ac3Fa31f369B33CaBe93e62b057
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000bcc7cd5bfcae9ac3fa31f369b33cabe93e62b057
Deployed Bytecode Sourcemap
60:1722:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83:39;;;;;;;;;;;;;;;-1:-1:-1;;;83:39:0;;;;;;;;;;;;:::i;:::-;;;;;;;;1567:212;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;1567:212:0;1004:187:1;218:58:0;;253:23;218:58;;;;;1342:25:1;;;1330:2;1315:18;218:58:0;1196:177:1;1110:449:0;;;;;;:::i;:::-;;:::i;177:34::-;;210:1;177:34;;;;;1883:4:1;1871:17;;;1853:36;;1841:2;1826:18;177:34:0;1711:184:1;283:41:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;953:149;;;;;;:::i;:::-;;:::i;331:61::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1567:212;1667:10;1633:12;1657:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1657:30:0;;;;;;;;;;:39;;;1712:37;1633:12;;1657:30;;1712:37;;;;1690:6;1342:25:1;;1330:2;1315:18;;1196:177;1712:37:0;;;;;;;;-1:-1:-1;1767:4:0;1567:212;;;;;:::o;1110:449::-;-1:-1:-1;;;;;1271:15:0;;1190:12;1271:15;;;:9;:15;;;;;;;;1232:10;1271:24;;;;;;;;-1:-1:-1;;1309:28:0;;1306:186;;1353:20;1367:6;1353:20;;:::i;:::-;-1:-1:-1;;;;;1388:15:0;;;;;;;:9;:15;;;;;;;;:24;;;;;;;;;;;;;:37;;;1445:35;;1342:25:1;;;1388:37:0;;-1:-1:-1;1388:24:0;;:15;;1445:35;;1315:18:1;1445:35:0;;;;;;;1306:186;1502:27;1512:4;1518:2;1522:6;1502:9;:27::i;:::-;-1:-1:-1;1547:4:0;;1110:449;-1:-1:-1;;;;;1110:449:0:o;953:149::-;1015:12;1039:33;1049:10;1061:2;1065:6;1039:9;:33::i;:::-;-1:-1:-1;1090:4:0;953:149;;;;:::o;703:238::-;-1:-1:-1;;;;;788:16:0;;780:41;;;;-1:-1:-1;;;780:41:0;;2823:2:1;780:41:0;;;2805:21:1;2862:2;2842:18;;;2835:30;-1:-1:-1;;;2881:18:1;;;2874:42;2933:18;;780:41:0;;;;;;;;-1:-1:-1;;;;;832:15:0;;:9;:15;;;;;;;;;;:25;;851:6;;832:9;:25;;851:6;;832:25;:::i;:::-;;;;-1:-1:-1;;;;;;;868:13:0;;:9;:13;;;;;;;;;;:23;;885:6;;868:9;:23;;885:6;;868:23;:::i;:::-;;;;;;;;922:2;-1:-1:-1;;;;;907:26:0;916:4;-1:-1:-1;;;;;907:26:0;;926:6;907:26;;;;1342:25:1;;1330:2;1315:18;;1196:177;907:26:0;;;;;;;;703:238;;;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;1900:186;-1:-1:-1;;;1900:186:1:o;2091:260::-;2159:6;2167;2220:2;2208:9;2199:7;2195:23;2191:32;2188:52;;;2236:1;2233;2226:12;2188:52;2259:29;2278:9;2259:29;:::i;:::-;2249:39;;2307:38;2341:2;2330:9;2326:18;2307:38;:::i;:::-;2297:48;;2091:260;;;;;:::o;2356:127::-;2417:10;2412:3;2408:20;2405:1;2398:31;2448:4;2445:1;2438:15;2472:4;2469:1;2462:15;2488:128;2555:9;;;2576:11;;;2573:37;;;2590:18;;:::i;2962:125::-;3027:9;;;3048:10;;;3045:36;;;3061:18;;:::i
Swarm Source
ipfs://71f294da916848807605a479fdf4e3b2d5aa4ad9eb59bc3e50a89a30fa710399
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.
Add Token to MetaMask (Web3)