Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
100,000,000.00 COCO

Holders:
66
Profile Summary
Blockchain:
Ethereum (1)


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

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Created At:
Wed, 17 Apr 2024 16:56:23 GMT
CocoTradeAI.sol
CocoTradeAI.sol
CocoTradeAI.sol


Contract ABI
[
  {
    "inputs": [],
    "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": "createCocoTrade",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "enableTrading",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "maxWalletAmount",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "removeLimits",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "totalSupply",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "recipient",
        "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"
  },
  {
    "inputs": [],
    "name": "uniswapV2Pair",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "stateMutability": "payable",
    "type": "receive"
  }
]


Contract Creation Code
60c06040526802b5e3af16b188000060025569d3c21bcecceda1000000600355600060065560026007556002600e5569d3c21bcecceda100000060026200004791906200023c565b600f553480156200005757600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d6080819052604080516315ab88c960e31b8152905163ad5c4648916004808201926020929091908290030181865afa158015620000ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000115919062000268565b6001600160a01b0390811660a052600580546001600160a01b0319167338246ce533308e1ddae2f03a1120e779d2aea3ae1781553360008181526008602090815260408083206a52b7d2dcc80cd2e40000009055935485168252600a8152838220805460ff1990811660019081179092553084528584208054821683179055600b835285842080549091169091179055600980825284832060805190961680845295825284832060001990819055938352815283822094825293909352912055620001dd3390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6a52b7d2dcc80cd2e40000006040516200022e91815260200190565b60405180910390a36200029a565b80820281158282048414176200026257634e487b7160e01b600052601160045260246000fd5b92915050565b6000602082840312156200027b57600080fd5b81516001600160a01b03811681146200029357600080fd5b9392505050565b60805160a051611462620002d5600039600081816105150152610d0a015260008181610478015281816105ba0152610d6401526114626000f3fe6080604052600436106101025760003560e01c8063715018a61161009557806395d89b411161006457806395d89b41146102cb578063a9059cbb146102f8578063aa4bde2814610318578063dd62ed3e1461032e578063f2fde38b1461037457600080fd5b8063715018a61461026e578063751039fc146102835780638a8c523c146102985780638da5cb5b146102ad57600080fd5b8063313ce567116100d1578063313ce567146101cd578063494def07146101e957806349bd5a5e1461020057806370a082311461023857600080fd5b806306fdde031461010e578063095ea7b31461015557806318160ddd1461018557806323b872dd146101ad57600080fd5b3661010957005b600080fd5b34801561011a57600080fd5b5060408051808201909152600c81526b436f636f547261646520414960a01b60208201525b60405161014c919061116a565b60405180910390f35b34801561016157600080fd5b506101756101703660046111cd565b610394565b604051901515815260200161014c565b34801561019157600080fd5b506a52b7d2dcc80cd2e40000005b60405190815260200161014c565b3480156101b957600080fd5b506101756101c83660046111f9565b6103ab565b3480156101d957600080fd5b506040516012815260200161014c565b3480156101f557600080fd5b506101fe6103fd565b005b34801561020c57600080fd5b50600454610220906001600160a01b031681565b6040516001600160a01b03909116815260200161014c565b34801561024457600080fd5b5061019f61025336600461123a565b6001600160a01b031660009081526008602052604090205490565b34801561027a57600080fd5b506101fe61068c565b34801561028f57600080fd5b506101fe610700565b3480156102a457600080fd5b506101fe61073b565b3480156102b957600080fd5b506000546001600160a01b0316610220565b3480156102d757600080fd5b50604080518082019091526004815263434f434f60e01b602082015261013f565b34801561030457600080fd5b506101756103133660046111cd565b6107be565b34801561032457600080fd5b5061019f600f5481565b34801561033a57600080fd5b5061019f610349366004611257565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205490565b34801561038057600080fd5b506101fe61038f36600461123a565b6107cb565b60006103a1338484610801565b5060015b92915050565b60006103b8848484610925565b6001600160a01b0384166000908152600960209081526040808320338085529252909120546103f39186916103ee9086906112a6565b610801565b5060019392505050565b6000546001600160a01b031633146104305760405162461bcd60e51b8152600401610427906112b9565b60405180910390fd5b600c5460ff16156104765760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610427565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f891906112ee565b6040516364e329cb60e11b81523060048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166024830152919091169063c9c65396906044016020604051808303816000875af1158015610568573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058c91906112ee565b600480546001600160a01b0319166001600160a01b03928316179055306000818152600860205260409020547f00000000000000000000000000000000000000000000000000000000000000009092169163f305d7199147916000806105fa6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610662573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610687919061130b565b505050565b6000546001600160a01b031633146106b65760405162461bcd60e51b8152600401610427906112b9565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461072a5760405162461bcd60e51b8152600401610427906112b9565b6a52b7d2dcc80cd2e4000000600f55565b6000546001600160a01b031633146107655760405162461bcd60e51b8152600401610427906112b9565b600c5460ff16156107ab5760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610427565b600c805460ff1916600117905543600d55565b60006103a1338484610925565b6000546001600160a01b031633146107f55760405162461bcd60e51b8152600401610427906112b9565b6107fe81610f42565b50565b6001600160a01b0383166108635760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610427565b6001600160a01b0382166108c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610427565b6001600160a01b0383811660008181526009602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610427565b6001600160a01b0382166109eb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610427565b60008111610a4d5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610427565b6001600160a01b0383166000908152600b60205260408120546001919060ff1680610a9057506001600160a01b0384166000908152600b602052604090205460ff165b15610aa857610aa0858585611002565b505050505050565b6001600160a01b0385166000908152600a602052604090205460ff1680610ae757506001600160a01b0384166000908152600a602052604090205460ff165b15610af757506000905080610df1565b600c5460ff1615801590610b0d5750600f548311155b610b595760405162461bcd60e51b815260206004820152601d60248201527f4c61756e6368202f204d617820416d6f756e74206174206c61756e63680000006044820152606401610427565b600e54600d54610b699190611339565b431015610b7857506020610df1565b600c54610100900460ff16600103610c28576001600160a01b03851660009081526008602052604081208054859290610bb29084906112a6565b90915550506001600160a01b03841660009081526008602052604081208054859290610bdf908490611339565b92505081905550836001600160a01b0316856001600160a01b031660008051602061140d83398151915285604051610c1991815260200190565b60405180910390a35050505050565b6004546001600160a01b0390811690861603610c475750600654610df1565b6004546001600160a01b0390811690851603610ded573060009081526008602052604090205460025484118015610c865750600c54610100900460ff16155b15610de357600254811115610de357600354811115610ca457506003545b600c805461ff0019166101001790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610ce857610ce861134c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610d3c57610d3c61134c565b6001600160a01b03928316602091820292909201015260055460405163791ac94760e01b81527f000000000000000000000000000000000000000000000000000000000000000083169263791ac94792610da492879260009288929116904290600401611362565b600060405180830381600087803b158015610dbe57600080fd5b505af1158015610dd2573d6000803e3d6000fd5b5050600c805461ff00191690555050505b5050600754610df1565b5060005b8115610f105760006064610e0583866113d3565b610e0f91906113ea565b90506000610e1d82866112a6565b6001600160a01b038816600090815260086020526040812080549293508792909190610e4a9084906112a6565b90915550506001600160a01b03861660009081526008602052604081208054839290610e77908490611339565b90915550503060009081526008602052604081208054849290610e9b908490611339565b909155505060405182815230906001600160a01b0389169060008051602061140d8339815191529060200160405180910390a3856001600160a01b0316876001600160a01b031660008051602061140d83398151915283604051610f0191815260200190565b60405180910390a35050610f3b565b506001600160a01b038316600090815260086020526040812080548491908390610bdf908490611339565b5050505050565b6001600160a01b038116610fa75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610427565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03861660009081526008909152918220546110539184906110d6565b6001600160a01b0380861660009081526008602052604080822093909355908516815220546110829083611110565b6001600160a01b03808516600081815260086020526040908190209390935591519086169060008051602061140d833981519152906110c49086815260200190565b60405180910390a35060019392505050565b600081848411156110fa5760405162461bcd60e51b8152600401610427919061116a565b50600061110784866112a6565b95945050505050565b60008061111d8385611339565b9050838110156111635760405162461bcd60e51b81526020600482015260116024820152706164646974696f6e206f766572666c6f7760781b6044820152606401610427565b9392505050565b600060208083528351808285015260005b818110156111975785810183015185820160400152820161117b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146107fe57600080fd5b600080604083850312156111e057600080fd5b82356111eb816111b8565b946020939093013593505050565b60008060006060848603121561120e57600080fd5b8335611219816111b8565b92506020840135611229816111b8565b929592945050506040919091013590565b60006020828403121561124c57600080fd5b8135611163816111b8565b6000806040838503121561126a57600080fd5b8235611275816111b8565b91506020830135611285816111b8565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103a5576103a5611290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561130057600080fd5b8151611163816111b8565b60008060006060848603121561132057600080fd5b8351925060208401519150604084015190509250925092565b808201808211156103a5576103a5611290565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156113b25784516001600160a01b03168352938301939183019160010161138d565b50506001600160a01b03969096166060850152505050608001529392505050565b80820281158282048414176103a5576103a5611290565b60008261140757634e487b7160e01b600052601260045260246000fd5b50049056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a57419a337cf5847bf17fa2870b5ad0933177700b8f7b558079403b7134bb9b764736f6c63430008130033

Loading