Token YFIDapp

 

Overview [ERC-20]

Max Total Supply:
100,000 YFID

Holders:
577

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

YFIDapp is a DeFi platform that offers borderless, open, and secure finance while eliminating the hurdles generally encountered in traditional financial systems. Its democratic nature creates reliability and uniform power for its members who control it and reap its benefits.

Market

Volume (24H):$0.00
Market Capitalization:$0.00
Circulating Supply:0.00 YFID
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YFIDapp

Compiler Version
v0.7.2+commit.51b20bc0

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-10-03
*/

pragma solidity ^0.7.0;

contract Owned {
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }
    address owner;
    address newOwner;
    function changeOwner(address payable _newOwner) public onlyOwner {
        newOwner = _newOwner;
    }
    function acceptOwnership() public {
        if (msg.sender == newOwner) {
            owner = newOwner;
        }
    }
}

contract ERC20 {
    string public symbol;
    string public name;
    uint8 public decimals;
    uint256 public totalSupply;
    mapping (address=>uint256) balances;
    mapping (address=>mapping (address=>uint256)) allowed;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
    
    function balanceOf(address _owner) view public returns (uint256 balance) {return balances[_owner];}
    
    function transfer(address _to, uint256 _amount) public returns (bool success) {
        require (balances[msg.sender]>=_amount&&_amount>0&&balances[_to]+_amount>balances[_to]);
        balances[msg.sender]-=_amount;
        balances[_to]+=_amount;
        emit Transfer(msg.sender,_to,_amount);
        return true;
    }
  
    function transferFrom(address _from,address _to,uint256 _amount) public returns (bool success) {
        require (balances[_from]>=_amount&&allowed[_from][msg.sender]>=_amount&&_amount>0&&balances[_to]+_amount>balances[_to]);
        balances[_from]-=_amount;
        allowed[_from][msg.sender]-=_amount;
        balances[_to]+=_amount;
        emit Transfer(_from, _to, _amount);
        return true;
    }
  
    function approve(address _spender, uint256 _amount) public returns (bool success) {
        allowed[msg.sender][_spender]=_amount;
        emit Approval(msg.sender, _spender, _amount);
        return true;
    }
    
    function allowance(address _owner, address _spender) view public returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }
}

contract YFIDapp is Owned,ERC20{
    uint256 public maxSupply;

    constructor(address _owner) {
        symbol = "YFID";
        name = "YFIDapp";
        decimals = 18;                                // 18 Decimals are Best for Liquidity
        totalSupply = 100000000000000000000000;       // 100,000 is Total Supply ; Rest 18 Zeros are Decimals
        maxSupply   = 100000000000000000000000;       // 100,000 is Total Supply ; Rest 18 Zeros are Decimals
        owner = _owner;
        balances[owner] = totalSupply;
    }
    
    receive() external payable {
        revert();
    }
    
   
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","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":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"remaining","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":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5060405161112f38038061112f8339818101604052602081101561003357600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f59464944000000000000000000000000000000000000000000000000000000008152506002908051906020019061008f9291906101c7565b506040518060400160405280600781526020017f5946494461707000000000000000000000000000000000000000000000000000815250600390805190602001906100db9291906101c7565b506012600460006101000a81548160ff021916908360ff16021790555069152d02c7e14af680000060058190555069152d02c7e14af6800000600881905550806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600554600660008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050610264565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061020857805160ff1916838001178555610236565b82800160010185558215610236579182015b8281111561023557825182559160200191906001019061021a565b5b5090506102439190610247565b5090565b5b80821115610260576000816000905550600101610248565b5090565b610ebc806102736000396000f3fe6080604052600436106100ab5760003560e01c806379ba50971161006457806379ba50971461030a57806395d89b4114610321578063a6f9dae1146103b1578063a9059cbb14610402578063d5abeb0114610473578063dd62ed3e1461049e576100b5565b806306fdde03146100ba578063095ea7b31461014a57806318160ddd146101bb57806323b872dd146101e6578063313ce5671461027757806370a08231146102a5576100b5565b366100b557600080fd5b600080fd5b3480156100c657600080fd5b506100cf610523565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561010f5780820151818401526020810190506100f4565b50505050905090810190601f16801561013c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015657600080fd5b506101a36004803603604081101561016d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506105c1565b60405180821515815260200191505060405180910390f35b3480156101c757600080fd5b506101d06106b3565b6040518082815260200191505060405180910390f35b3480156101f257600080fd5b5061025f6004803603606081101561020957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506106b9565b60405180821515815260200191505060405180910390f35b34801561028357600080fd5b5061028c6109ba565b604051808260ff16815260200191505060405180910390f35b3480156102b157600080fd5b506102f4600480360360208110156102c857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109cd565b6040518082815260200191505060405180910390f35b34801561031657600080fd5b5061031f610a16565b005b34801561032d57600080fd5b50610336610ad1565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561037657808201518184015260208101905061035b565b50505050905090810190601f1680156103a35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103bd57600080fd5b50610400600480360360208110156103d457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b6f565b005b34801561040e57600080fd5b5061045b6004803603604081101561042557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c0b565b60405180821515815260200191505060405180910390f35b34801561047f57600080fd5b50610488610df9565b6040518082815260200191505060405180910390f35b3480156104aa57600080fd5b5061050d600480360360408110156104c157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610dff565b6040518082815260200191505060405180910390f35b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105b95780601f1061058e576101008083540402835291602001916105b9565b820191906000526020600020905b81548152906001019060200180831161059c57829003601f168201915b505050505081565b600081600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b60055481565b600081600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410158015610786575081600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b80156107925750600082115b801561081d5750600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401115b61082657600080fd5b81600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190509392505050565b600460009054906101000a900460ff1681565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610acf57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b675780601f10610b3c57610100808354040283529160200191610b67565b820191906000526020600020905b815481529060010190602001808311610b4a57829003601f168201915b505050505081565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bc757600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600081600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410158015610c5c5750600082115b8015610ce75750600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401115b610cf057600080fd5b81600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b60085481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490509291505056fea264697066735822122056f8a03e1f5ea278d897a6cda679a0c6d641b6ba353c640fbef54b49aaafd3f864736f6c63430007020033000000000000000000000000bbfbf4336d645787d7ef31b6a606aa25537f9c13

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000bbfbf4336d645787d7ef31b6a606aa25537f9c13

-----Decoded View---------------
Arg [0] : _owner (address): 0xbbfbf4336d645787d7ef31b6a606aa25537f9c13

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000bbfbf4336d645787d7ef31b6a606aa25537f9c13


Deployed ByteCode Sourcemap

2077:620:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2667:8;;;2077:620;;;;467:18;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1701:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;520:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1277:414;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;492:21;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;829:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;288:123;;;;;;;;;;;;;:::i;:::-;;440:20;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;178:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;940:327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2115:24;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1928:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;467:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1701:215::-;1769:12;1824:7;1794;:19;1802:10;1794:19;;;;;;;;;;;;;;;:29;1814:8;1794:29;;;;;;;;;;;;;;;:37;;;;1868:8;1847:39;;1856:10;1847:39;;;1878:7;1847:39;;;;;;;;;;;;;;;;;;1904:4;1897:11;;1701:215;;;;:::o;520:26::-;;;;:::o;1277:414::-;1358:12;1409:7;1392:8;:15;1401:5;1392:15;;;;;;;;;;;;;;;;:24;;:61;;;;;1446:7;1418;:14;1426:5;1418:14;;;;;;;;;;;;;;;:26;1433:10;1418:26;;;;;;;;;;;;;;;;:35;;1392:61;:72;;;;;1463:1;1455:7;:9;1392:72;:109;;;;;1488:8;:13;1497:3;1488:13;;;;;;;;;;;;;;;;1480:7;1466:8;:13;1475:3;1466:13;;;;;;;;;;;;;;;;:21;:35;1392:109;1383:119;;;;;;1530:7;1513:8;:15;1522:5;1513:15;;;;;;;;;;;;;;;;:24;;;;;;;;;;;1576:7;1548;:14;1556:5;1548:14;;;;;;;;;;;;;;;:26;1563:10;1548:26;;;;;;;;;;;;;;;;:35;;;;;;;;;;;1609:7;1594:8;:13;1603:3;1594:13;;;;;;;;;;;;;;;;:22;;;;;;;;;;;1648:3;1632:29;;1641:5;1632:29;;;1653:7;1632:29;;;;;;;;;;;;;;;;;;1679:4;1672:11;;1277:414;;;;;:::o;492:21::-;;;;;;;;;;;;;:::o;829:99::-;885:15;910:8;:16;919:6;910:16;;;;;;;;;;;;;;;;903:23;;829:99;;;:::o;288:123::-;351:8;;;;;;;;;;;337:22;;:10;:22;;;333:71;;;384:8;;;;;;;;;;;376:5;;:16;;;;;;;;;;;;;;;;;;333:71;288:123::o;440:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;178:104::-;103:5;;;;;;;;;;89:19;;:10;:19;;;81:28;;;;;;265:9:::1;254:8;;:20;;;;;;;;;;;;;;;;;;178:104:::0;:::o;940:327::-;1004:12;1060:7;1038:8;:20;1047:10;1038:20;;;;;;;;;;;;;;;;:29;;:40;;;;;1077:1;1069:7;:9;1038:40;:77;;;;;1102:8;:13;1111:3;1102:13;;;;;;;;;;;;;;;;1094:7;1080:8;:13;1089:3;1080:13;;;;;;;;;;;;;;;;:21;:35;1038:77;1029:87;;;;;;1149:7;1127:8;:20;1136:10;1127:20;;;;;;;;;;;;;;;;:29;;;;;;;;;;;1182:7;1167:8;:13;1176:3;1167:13;;;;;;;;;;;;;;;;:22;;;;;;;;;;;1225:3;1205:32;;1214:10;1205:32;;;1229:7;1205:32;;;;;;;;;;;;;;;;;;1255:4;1248:11;;940:327;;;;:::o;2115:24::-;;;;:::o;1928:142::-;2002:17;2037:7;:15;2045:6;2037:15;;;;;;;;;;;;;;;:25;2053:8;2037:25;;;;;;;;;;;;;;;;2030:32;;1928:142;;;;:::o

Swarm Source

ipfs://56f8a03e1f5ea278d897a6cda679a0c6d641b6ba353c640fbef54b49aaafd3f8

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.