Overview ERC20
PRICE
$0.10860974848431372

ON-CHAIN MARKET CAP n/a

Total Supply:
29,964,635.00 TRFC

Holders:
34
Profile Summary
Blockchain:
C-Chain (43114)


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

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Created At:
Tue, 26 Apr 2022 20:56:23 GMT
TRFC.sol
TRFC.sol
TRFC.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      },
      {
        "internalType": "address",
        "name": "_daoFund",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_devFund",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_treasuryFund",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_reserve",
        "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": "from",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "event"
  },
  {
    "inputs": [],
    "name": "MAX_TOTAL_SUPPLY",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "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": [
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burnFrom",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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": "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"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b5060405162000fb438038062000fb4833981016040819052620000349162000365565b85858181816003908051906020019062000050929190620001eb565b50805162000066906004906020840190620001eb565b50505050506200008533670de0b6b3a76400006200010360201b60201c565b6200009c846a027b46536c66c8e300000062000103565b620000b3836a027b46536c66c8e300000062000103565b620000ca826a027b46536c66c8e300000062000103565b620000f781620000f16a0771d30825eb0e506400006a18d0bf423c03d8de00000062000433565b62000103565b505050505050620004b6565b6001600160a01b0382166200015e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000172919062000418565b90915550506001600160a01b03821660009081526020819052604081208054839290620001a190849062000418565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001f9906200044d565b90600052602060002090601f0160209004810192826200021d576000855562000268565b82601f106200023857805160ff191683800117855562000268565b8280016001018555821562000268579182015b82811115620002685782518255916020019190600101906200024b565b50620002769291506200027a565b5090565b5b808211156200027657600081556001016200027b565b80516001600160a01b0381168114620002a957600080fd5b919050565b600082601f830112620002c057600080fd5b81516001600160401b0380821115620002dd57620002dd620004a0565b604051601f8301601f19908116603f01168101908282118183101715620003085762000308620004a0565b816040528381526020925086838588010111156200032557600080fd5b600091505b838210156200034957858201830151818301840152908201906200032a565b838211156200035b5760008385830101525b9695505050505050565b60008060008060008060c087890312156200037f57600080fd5b86516001600160401b03808211156200039757600080fd5b620003a58a838b01620002ae565b97506020890151915080821115620003bc57600080fd5b50620003cb89828a01620002ae565b955050620003dc6040880162000291565b9350620003ec6060880162000291565b9250620003fc6080880162000291565b91506200040c60a0880162000291565b90509295509295509295565b600082198211156200042e576200042e6200048a565b500190565b6000828210156200044857620004486200048a565b500390565b600181811c908216806200046257607f821691505b602082108114156200048457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b610aee80620004c66000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806342966c681161008c57806395d89b411161006657806395d89b41146101da578063a457c2d7146101e2578063a9059cbb146101f5578063dd62ed3e1461020857600080fd5b806342966c681461018957806370a082311461019e57806379cc6790146101c757600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce5671461015557806333039d3d14610164578063395093511461017657600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610241565b60405161010491906109e3565b60405180910390f35b61012061011b3660046109a0565b6102d3565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610964565b6102eb565b60405160128152602001610104565b6101346a18d0bf423c03d8de00000081565b6101206101843660046109a0565b61030f565b61019c6101973660046109ca565b61034e565b005b6101346101ac36600461090f565b6001600160a01b031660009081526020819052604090205490565b61019c6101d53660046109a0565b61035b565b6100f7610374565b6101206101f03660046109a0565b610383565b6101206102033660046109a0565b61041a565b610134610216366004610931565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461025090610a67565b80601f016020809104026020016040519081016040528092919081815260200182805461027c90610a67565b80156102c95780601f1061029e576101008083540402835291602001916102c9565b820191906000526020600020905b8154815290600101906020018083116102ac57829003601f168201915b5050505050905090565b6000336102e1818585610428565b5060019392505050565b6000336102f985828561054d565b6103048585856105df565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906102e19082908690610349908790610a38565b610428565b61035833826107ad565b50565b61036682338361054d565b61037082826107ad565b5050565b60606004805461025090610a67565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561040d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103048286868403610428565b6000336102e18185856105df565b6001600160a01b03831661048a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610404565b6001600160a01b0382166104eb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610404565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146105d957818110156105cc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610404565b6105d98484848403610428565b50505050565b6001600160a01b0383166106435760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610404565b6001600160a01b0382166106a55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610404565b6001600160a01b0383166000908152602081905260409020548181101561071d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610404565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610754908490610a38565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516107a091815260200190565b60405180910390a36105d9565b6001600160a01b03821661080d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610404565b6001600160a01b038216600090815260208190526040902054818110156108815760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610404565b6001600160a01b03831660009081526020819052604081208383039055600280548492906108b0908490610a50565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610540565b80356001600160a01b038116811461090a57600080fd5b919050565b60006020828403121561092157600080fd5b61092a826108f3565b9392505050565b6000806040838503121561094457600080fd5b61094d836108f3565b915061095b602084016108f3565b90509250929050565b60008060006060848603121561097957600080fd5b610982846108f3565b9250610990602085016108f3565b9150604084013590509250925092565b600080604083850312156109b357600080fd5b6109bc836108f3565b946020939093013593505050565b6000602082840312156109dc57600080fd5b5035919050565b600060208083528351808285015260005b81811015610a10578581018301518582016040015282016109f4565b81811115610a22576000604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610a4b57610a4b610aa2565b500190565b600082821015610a6257610a62610aa2565b500390565b600181811c90821680610a7b57607f821691505b60208210811415610a9c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220047c86543dc4c2ed7e2d7a2833d4e27c5177566fb7e87f0a9b0ae95531b7bb0d64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000c3cead403a59cc7e4b53bba6f21de9c09275541d000000000000000000000000236f2c57fcbd82bd62bcde60a74786830b85045e000000000000000000000000adf00c376c85ae9101050b64f9aa4e8c8ed9980a0000000000000000000000003c6a5b5d23aad40c452247e91489872574bf5a9e000000000000000000000000000000000000000000000000000000000000001c54657272696669632050726f746f636f6c205452464320546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000045452464300000000000000000000000000000000000000000000000000000000