ETH Price: $3,372.29 (-1.44%)
Gas: 6.3 Gwei

Token

balance.finance (AACE)
 

Overview

Max Total Supply

20,000 AACE

Holders

1,187

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Fei Protocol: Genesis Group
Balance
0.19999978 AACE

Value
$0.00
0xbffb152b9392e38cddc275d818a3db7fe364596b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
balancefinance

Compiler Version
v0.6.7+commit.b8d736ae

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-07-25
*/

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

abstract contract ERC20 {
    uint256 public totalSupply;
    function balanceOf(address _owner) view public virtual returns (uint256 balance);
    function transfer(address _to, uint256 _value) public virtual returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) public virtual returns (bool success);
    function approve(address _spender, uint256 _value) public virtual returns (bool success);
    function allowance(address _owner, address _spender) view public virtual returns (uint256 remaining);
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

contract Token is Owned,  ERC20 {
    string public symbol;
    string public name;
    uint8 public decimals;
    mapping (address=>uint256) balances;
    mapping (address=>mapping (address=>uint256)) allowed;
    
    function balanceOf(address _owner) view public virtual override returns (uint256 balance) {return balances[_owner];}
    
    function transfer(address _to, uint256 _amount) public virtual override 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 virtual override 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 virtual override returns (bool success) {
        allowed[msg.sender][_spender]=_amount;
        emit Approval(msg.sender, _spender, _amount);
        return true;
    }
    
    function allowance(address _owner, address _spender) view public virtual override returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }
}

contract balancefinance is Token{
    
    constructor() public{
        symbol = "AACE";
        name = "balance.finance";
        decimals = 18;
        totalSupply = 20000000000000000000000;  
        owner = 0xf17F862725A85c133c347725BD2B08493F94EecF;
        balances[owner] = totalSupply;
    }
    
    receive () payable external {
        require(msg.value>0);
        owner.transfer(msg.value);
    }
}

Contract Security Audit

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":"_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":"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"}]

608060405234801561001057600080fd5b50604080518082019091526004808252634141434560e01b602090920191825261003c916003916100d2565b5060408051808201909152600f8082526e62616c616e63652e66696e616e636560881b6020909201918252610073916004916100d2565b506005805460ff1916601217905569043c33c19375648000006002819055600080546001600160a01b03191673f17f862725a85c133c347725bd2b08493f94eecf178082556001600160a01b031681526006602052604090205561016d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011357805160ff1916838001178555610140565b82800160010185558215610140579182015b82811115610140578251825591602001919060010190610125565b5061014c929150610150565b5090565b61016a91905b8082111561014c5760008155600101610156565b90565b61078c8061017c6000396000f3fe6080604052600436106100a05760003560e01c806370a082311161006457806370a082311461026057806379ba50971461029357806395d89b41146102aa578063a6f9dae1146102bf578063a9059cbb146102f2578063dd62ed3e1461032b576100ef565b806306fdde03146100f4578063095ea7b31461017e57806318160ddd146101cb57806323b872dd146101f2578063313ce56714610235576100ef565b366100ef57600034116100b257600080fd5b600080546040516001600160a01b03909116913480156108fc02929091818181858888f193505050501580156100ec573d6000803e3d6000fd5b50005b600080fd5b34801561010057600080fd5b50610109610366565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014357818101518382015260200161012b565b50505050905090810190601f1680156101705780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018a57600080fd5b506101b7600480360360408110156101a157600080fd5b506001600160a01b0381351690602001356103f4565b604080519115158252519081900360200190f35b3480156101d757600080fd5b506101e061045a565b60408051918252519081900360200190f35b3480156101fe57600080fd5b506101b76004803603606081101561021557600080fd5b506001600160a01b03813581169160208101359091169060400135610460565b34801561024157600080fd5b5061024a61056d565b6040805160ff9092168252519081900360200190f35b34801561026c57600080fd5b506101e06004803603602081101561028357600080fd5b50356001600160a01b0316610576565b34801561029f57600080fd5b506102a8610591565b005b3480156102b657600080fd5b506101096105c9565b3480156102cb57600080fd5b506102a8600480360360208110156102e257600080fd5b50356001600160a01b0316610624565b3480156102fe57600080fd5b506101b76004803603604081101561031557600080fd5b506001600160a01b038135169060200135610670565b34801561033757600080fd5b506101e06004803603604081101561034e57600080fd5b506001600160a01b038135811691602001351661072b565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103ec5780601f106103c1576101008083540402835291602001916103ec565b820191906000526020600020905b8154815290600101906020018083116103cf57829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025481565b6001600160a01b03831660009081526006602052604081205482118015906104ab57506001600160a01b03841660009081526007602090815260408083203384529091529020548211155b80156104b75750600082115b80156104dc57506001600160a01b038316600090815260066020526040902054828101115b6104e557600080fd5b6001600160a01b0380851660008181526006602081815260408084208054899003905560078252808420338552825280842080548990039055948816808452918152918490208054870190558351868152935190937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a35060019392505050565b60055460ff1681565b6001600160a01b031660009081526006602052604090205490565b6001546001600160a01b03163314156105c757600154600080546001600160a01b0319166001600160a01b039092169190911790555b565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103ec5780601f106103c1576101008083540402835291602001916103ec565b6000546001600160a01b0316331461063b57600080fd5b6001600160a01b03811661064e57600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b33600090815260066020526040812054821180159061068f5750600082115b80156106b457506001600160a01b038316600090815260066020526040902054828101115b6106bd57600080fd5b336000818152600660209081526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b6001600160a01b0391821660009081526007602090815260408083209390941682529190915220549056fea26469706673582212206b3bed748cebcabee5597635bc4f772c0560647534fbb5a5aad72d912f98cee464736f6c63430006070033

Deployed Bytecode

0x6080604052600436106100a05760003560e01c806370a082311161006457806370a082311461026057806379ba50971461029357806395d89b41146102aa578063a6f9dae1146102bf578063a9059cbb146102f2578063dd62ed3e1461032b576100ef565b806306fdde03146100f4578063095ea7b31461017e57806318160ddd146101cb57806323b872dd146101f2578063313ce56714610235576100ef565b366100ef57600034116100b257600080fd5b600080546040516001600160a01b03909116913480156108fc02929091818181858888f193505050501580156100ec573d6000803e3d6000fd5b50005b600080fd5b34801561010057600080fd5b50610109610366565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014357818101518382015260200161012b565b50505050905090810190601f1680156101705780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018a57600080fd5b506101b7600480360360408110156101a157600080fd5b506001600160a01b0381351690602001356103f4565b604080519115158252519081900360200190f35b3480156101d757600080fd5b506101e061045a565b60408051918252519081900360200190f35b3480156101fe57600080fd5b506101b76004803603606081101561021557600080fd5b506001600160a01b03813581169160208101359091169060400135610460565b34801561024157600080fd5b5061024a61056d565b6040805160ff9092168252519081900360200190f35b34801561026c57600080fd5b506101e06004803603602081101561028357600080fd5b50356001600160a01b0316610576565b34801561029f57600080fd5b506102a8610591565b005b3480156102b657600080fd5b506101096105c9565b3480156102cb57600080fd5b506102a8600480360360208110156102e257600080fd5b50356001600160a01b0316610624565b3480156102fe57600080fd5b506101b76004803603604081101561031557600080fd5b506001600160a01b038135169060200135610670565b34801561033757600080fd5b506101e06004803603604081101561034e57600080fd5b506001600160a01b038135811691602001351661072b565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103ec5780601f106103c1576101008083540402835291602001916103ec565b820191906000526020600020905b8154815290600101906020018083116103cf57829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025481565b6001600160a01b03831660009081526006602052604081205482118015906104ab57506001600160a01b03841660009081526007602090815260408083203384529091529020548211155b80156104b75750600082115b80156104dc57506001600160a01b038316600090815260066020526040902054828101115b6104e557600080fd5b6001600160a01b0380851660008181526006602081815260408084208054899003905560078252808420338552825280842080548990039055948816808452918152918490208054870190558351868152935190937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a35060019392505050565b60055460ff1681565b6001600160a01b031660009081526006602052604090205490565b6001546001600160a01b03163314156105c757600154600080546001600160a01b0319166001600160a01b039092169190911790555b565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103ec5780601f106103c1576101008083540402835291602001916103ec565b6000546001600160a01b0316331461063b57600080fd5b6001600160a01b03811661064e57600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b33600090815260066020526040812054821180159061068f5750600082115b80156106b457506001600160a01b038316600090815260066020526040902054828101115b6106bd57600080fd5b336000818152600660209081526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b6001600160a01b0391821660009081526007602090815260408083209390941682529190915220549056fea26469706673582212206b3bed748cebcabee5597635bc4f772c0560647534fbb5a5aad72d912f98cee464736f6c63430006070033

Deployed Bytecode Sourcemap

2757:427:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3135:1;3125:9;:11;3117:20;;12:1:-1;9;2:12;3117:20:0;3148:5;;;:25;;-1:-1:-1;;;;;3148:5:0;;;;3163:9;3148:25;;;;;3163:9;;3148:25;:5;:25;3163:9;3148:5;:25;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3148:25:0;2757:427;;12:1:-1;9;2:12;1263:18:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1263:18:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1263:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2347:232;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2347:232:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;2347:232:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;505:26;;5:9:-1;2:2;;;27:1;24;17:12;2:2;505:26:0;;;:::i;:::-;;;;;;;;;;;;;;;;1906:431;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1906:431:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;1906:431:0;;;;;;;;;;;;;;;;;:::i;1288:21::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1288:21:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1424:116;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1424:116:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1424:116:0;-1:-1:-1;;;;;1424:116:0;;:::i;346:121::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;346:121:0;;;:::i;:::-;;1236:20;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1236:20:0;;;:::i;195:145::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;195:145:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;195:145:0;-1:-1:-1;;;;;195:145:0;;:::i;1552:344::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1552:344:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;1552:344:0;;;;;;;;:::i;2591:159::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2591:159:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;2591:159:0;;;;;;;;;;:::i;1263:18::-;;;;;;;;;;;;;;;-1:-1:-1;;1263:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2347:232::-;2465:10;2432:12;2457:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;2457:29:0;;;;;;;;;;;:37;;;2510:39;;;;;;;2432:12;;2457:29;;2465:10;;2510:39;;;;;;;;-1:-1:-1;2567:4:0;2347:232;;;;:::o;505:26::-;;;;:::o;1906:431::-;-1:-1:-1;;;;;2038:15:0;;2004:12;2038:15;;;:8;:15;;;;;;:24;-1:-1:-1;2038:24:0;;;:61;;-1:-1:-1;;;;;;2064:14:0;;;;;;:7;:14;;;;;;;;2079:10;2064:26;;;;;;;;:35;-1:-1:-1;2064:35:0;2038:61;:72;;;;;2109:1;2101:7;:9;2038:72;:109;;;;-1:-1:-1;;;;;;2134:13:0;;;;;;:8;:13;;;;;;2112:21;;;:35;2038:109;2029:119;;12:1:-1;9;2:12;2029:119:0;-1:-1:-1;;;;;2159:15:0;;;;;;;:8;:15;;;;;;;;:24;;;;;;;2194:7;:14;;;;;2209:10;2194:26;;;;;;;:35;;;;;;;2240:13;;;;;;;;;;;;;:22;;;;;;2278:29;;;;;;;2240:13;;2278:29;;;;;;;;;-1:-1:-1;2325:4:0;1906:431;;;;;:::o;1288:21::-;;;;;;:::o;1424:116::-;-1:-1:-1;;;;;1522:16:0;1497:15;1522:16;;;:8;:16;;;;;;;1424:116::o;346:121::-;407:8;;-1:-1:-1;;;;;407:8:0;395:10;:20;391:69;;;440:8;;;432:16;;-1:-1:-1;;;;;;432:16:0;-1:-1:-1;;;;;440:8:0;;;432:16;;;;;;391:69;346:121::o;1236:20::-;;;;;;;;;;;;;;;-1:-1:-1;;1236:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;195:145;104:5;;-1:-1:-1;;;;;104:5:0;92:10;:17;84:26;;12:1:-1;9;2:12;84:26:0;-1:-1:-1;;;;;279:21:0;::::1;271:30;;12:1:-1;9::::0;2:12:::1;271:30:0;312:8;:20:::0;;-1:-1:-1;;;;;;312:20:0::1;-1:-1:-1::0;;;;;312:20:0;;;::::1;::::0;;;::::1;::::0;;195:145::o;1552:344::-;1676:10;1633:12;1667:20;;;:8;:20;;;;;;:29;-1:-1:-1;1667:29:0;;;:40;;;1706:1;1698:7;:9;1667:40;:77;;;;-1:-1:-1;;;;;;1731:13:0;;;;;;:8;:13;;;;;;1709:21;;;:35;1667:77;1658:87;;12:1:-1;9;2:12;1658:87:0;1765:10;1756:20;;;;:8;:20;;;;;;;;:29;;;;;;;-1:-1:-1;;;;;1796:13:0;;;;;;;;;:22;;;;;;1834:32;;;;;;;1796:13;;1765:10;1834:32;;;;;;;;;;;-1:-1:-1;1884:4:0;1552:344;;;;:::o;2591:159::-;-1:-1:-1;;;;;2717:15:0;;;2682:17;2717:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;2591:159::o

Swarm Source

ipfs://6b3bed748cebcabee5597635bc4f772c0560647534fbb5a5aad72d912f98cee4
Loading...
Loading
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.