Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
99,998.00 oyBTC-fbtc

Holders:
3
Profile Summary
Blockchain:
Holesky (17000)


Decimals:
8
Contract Source Code Verified (Exact Match)
Contract Name:
OYBTCFBTC

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Created At:
Wed, 24 Jul 2024 04:08:00 GMT
OYBTCFBTC.sol
src
tokens
OYBTCFBTC.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_tokenAdmin",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [],
    "name": "BlackListed",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "PermissionDenied",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "_user",
        "type": "address"
      }
    ],
    "name": "AddedBlackList",
    "type": "event"
  },
  {
    "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": false,
        "internalType": "address",
        "name": "_oldAdmin",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "address",
        "name": "_admin",
        "type": "address"
      }
    ],
    "name": "BlackListAdminChanged",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint8",
        "name": "version",
        "type": "uint8"
      }
    ],
    "name": "Initialized",
    "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": false,
        "internalType": "address",
        "name": "_user",
        "type": "address"
      }
    ],
    "name": "RemovedBlackList",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "_oldTokenAdmin",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "address",
        "name": "_tokenAdmin",
        "type": "address"
      }
    ],
    "name": "TokenAdminChanged",
    "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": "_user",
        "type": "address"
      }
    ],
    "name": "addBlackList",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "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": "blackListAdmin",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_tokenAdmin",
        "type": "address"
      }
    ],
    "name": "changeTokenAdmin",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "pure",
    "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": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "isBlackListed",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "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": [
      {
        "internalType": "address",
        "name": "_user",
        "type": "address"
      }
    ],
    "name": "removeBlackList",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_blackListAdmin",
        "type": "address"
      }
    ],
    "name": "setBlackListAdmin",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "tokenAdmin",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "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"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_amount",
        "type": "uint256"
      },
      {
        "internalType": "address",
        "name": "_account",
        "type": "address"
      }
    ],
    "name": "whiteListBurn",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_amount",
        "type": "uint256"
      },
      {
        "internalType": "address",
        "name": "_account",
        "type": "address"
      }
    ],
    "name": "whiteListMint",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b50604051620012bc380380620012bc833981016040819052620000349162000201565b6040518060400160405280601681526020017f4f62656c69736b205969656c64204254432d46425443000000000000000000008152506040518060400160405280600a8152602001696f794254432d6662746360b01b8152508282828160039080519060200190620000a89291906200015b565b508051620000be9060049060208401906200015b565b505050620000db620000d56200010560201b60201c565b62000109565b603a80546001600160a01b0319166001600160a01b03929092169190911790555062000270915050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001699062000233565b90600052602060002090601f0160209004810192826200018d5760008555620001d8565b82601f10620001a857805160ff1916838001178555620001d8565b82800160010185558215620001d8579182015b82811115620001d8578251825591602001919060010190620001bb565b50620001e6929150620001ea565b5090565b5b80821115620001e65760008155600101620001eb565b6000602082840312156200021457600080fd5b81516001600160a01b03811681146200022c57600080fd5b9392505050565b600181811c908216806200024857607f821691505b602082108114156200026a57634e487b7160e01b600052602260045260246000fd5b50919050565b61103c80620002806000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80638da5cb5b116100c3578063d1829c621161007c578063d1829c62146102bf578063d53229eb146102d2578063dd62ed3e146102e5578063e47d6060146102f8578063e4997dc51461031b578063f2fde38b1461032e57600080fd5b80638da5cb5b146102465780638e433bc71461026b57806395d89b411461027e578063a457c2d714610286578063a9059cbb14610299578063b7e1917c146102ac57600080fd5b8063313ce56711610115578063313ce567146101cd57806339509351146101dc5780636455feac146101ef57806370a0823114610202578063715018a61461022b57806378bbc7c41461023357600080fd5b806306fdde0314610152578063095ea7b3146101705780630ecb93c01461019357806318160ddd146101a857806323b872dd146101ba575b600080fd5b61015a610341565b6040516101679190610e56565b60405180910390f35b61018361017e366004610ec7565b6103d3565b6040519015158152602001610167565b6101a66101a1366004610ef1565b6103eb565b005b6002545b604051908152602001610167565b6101836101c8366004610f13565b610471565b60405160088152602001610167565b6101836101ea366004610ec7565b610495565b6101a66101fd366004610f4f565b6104b7565b6101ac610210366004610ef1565b6001600160a01b031660009081526020819052604090205490565b6101a66104f0565b6101a6610241366004610ef1565b610504565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610167565b6101a6610279366004610f4f565b610518565b61015a61054d565b610183610294366004610ec7565b61055c565b6101836102a7366004610ec7565b6105dc565b603a54610253906001600160a01b031681565b600754610253906001600160a01b031681565b6101a66102e0366004610ef1565b6105ea565b6101ac6102f3366004610f7b565b61065b565b610183610306366004610ef1565b60066020526000908152604090205460ff1681565b6101a6610329366004610ef1565b610686565b6101a661033c366004610ef1565b610702565b60606003805461035090610fa5565b80601f016020809104026020016040519081016040528092919081815260200182805461037c90610fa5565b80156103c95780601f1061039e576101008083540402835291602001916103c9565b820191906000526020600020905b8154815290600101906020018083116103ac57829003601f168201915b5050505050905090565b6000336103e1818585610778565b5060019392505050565b6007546001600160a01b0316331461041657604051630782484160e21b815260040160405180910390fd5b6001600160a01b038116600081815260066020908152604091829020805460ff1916600117905590519182527f42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc91015b60405180910390a150565b60003361047f85828561089d565b61048a858585610917565b506001949350505050565b6000336103e18185856104a8838361065b565b6104b29190610fe0565b610778565b603a546001600160a01b031633146104e257604051630782484160e21b815260040160405180910390fd5b6104ec8183610ac6565b5050565b6104f8610b91565b6105026000610beb565b565b61050c610b91565b61051581610c3d565b50565b603a546001600160a01b0316331461054357604051630782484160e21b815260040160405180910390fd5b6104ec8183610ca6565b60606004805461035090610fa5565b6000338161056a828661065b565b9050838110156105cf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61048a8286868403610778565b6000336103e1818585610917565b6105f2610b91565b603a54604080516001600160a01b03928316815291831660208301527fdff85730d97165eed06f82497223e1e2ef37e17f22bbb4d3177ac0c80a873f83910160405180910390a1603a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6007546001600160a01b031633146106b157604051630782484160e21b815260040160405180910390fd5b6001600160a01b038116600081815260066020908152604091829020805460ff1916905590519182527fd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c9101610466565b61070a610b91565b6001600160a01b03811661076f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c6565b61051581610beb565b6001600160a01b0383166107da5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c6565b6001600160a01b03821661083b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006108a9848461065b565b9050600019811461091157818110156109045760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105c6565b6109118484848403610778565b50505050565b6001600160a01b03831661097b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c6565b6001600160a01b0382166109dd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c6565b6109e8838383610de1565b6001600160a01b03831660009081526020819052604090205481811015610a605760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c6565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610911565b6001600160a01b038216610b1c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105c6565b610b2860008383610de1565b8060026000828254610b3a9190610fe0565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b031633146105025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600754604080516001600160a01b03928316815291831660208301527f495fcd239ff1c5629c93d3cf8c56e64bb4cb6815e022c1f45ed5263e77ac2f7b910160405180910390a1600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216610d065760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c6565b610d1282600083610de1565b6001600160a01b03821660009081526020819052604090205481811015610d865760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105c6565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610890565b505050565b603a546001600160a01b0316331415610df957505050565b6001600160a01b03831660009081526006602052604090205460ff1680610e3857506001600160a01b03821660009081526006602052604090205460ff165b15610ddc57604051630fc2efc960e01b815260040160405180910390fd5b600060208083528351808285015260005b81811015610e8357858101830151858201604001528201610e67565b81811115610e95576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610ec257600080fd5b919050565b60008060408385031215610eda57600080fd5b610ee383610eab565b946020939093013593505050565b600060208284031215610f0357600080fd5b610f0c82610eab565b9392505050565b600080600060608486031215610f2857600080fd5b610f3184610eab565b9250610f3f60208501610eab565b9150604084013590509250925092565b60008060408385031215610f6257600080fd5b82359150610f7260208401610eab565b90509250929050565b60008060408385031215610f8e57600080fd5b610f9783610eab565b9150610f7260208401610eab565b600181811c90821680610fb957607f821691505b60208210811415610fda57634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561100157634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220c3ecd7772d5a53b9e8d7a37de204119787f32485bdb91745dc10606b062d230264736f6c634300080c0033000000000000000000000000285c5c76da2e12551337f654cd6ad7220c40c8d7