FTM Price: $0.68 (-7.14%)
Gas: 20 GWei

Token

FantomVelociMeter (FVM)
 

Overview

Max Total Supply

15,220,708.917047387600274829 FVM

Holders

415 ( 0.723%)

Total Transfers

-

Market

Price

$0.12 @ 0.177980 FTM (-7.05%)

Onchain Market Cap

$1,838,844.29

Circulating Supply Market Cap

$340,509.00

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

FVM is a decentralized exchange that has launched on the Fantom network with low fees, near 0 slippage on correlated assets and a strong focus on secondary markets for tokenized locks as NFTs.

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xE1689e9A...C4C1b5475
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Flow

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
/**
 *Submitted for verification at ftmscan.com on 2023-06-30
*/

pragma solidity 0.8.13;

interface IFlow {
    function totalSupply() external view returns (uint);
    function balanceOf(address) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);
    function transfer(address, uint) external returns (bool);
    function transferFrom(address,address,uint) external returns (bool);
    function mint(address, uint) external returns (bool);
    function minter() external returns (address);
}

contract Flow is IFlow {

    string public constant name = "FantomVelociMeter";
    string public constant symbol = "FVM";
    uint8 public constant decimals = 18;
    uint public totalSupply = 0;

    mapping(address => uint) public balanceOf;
    mapping(address => mapping(address => uint)) public allowance;

    address public minter;

    event Transfer(address indexed from, address indexed to, uint value);
    event Approval(address indexed owner, address indexed spender, uint value);

    constructor(address initialSupplyRecipient, uint initialAmount) {
        minter = msg.sender;
        _mint(initialSupplyRecipient, initialAmount);
    }

    // No checks as its meant to be once off to set minting rights to BaseV1 Minter
    function setMinter(address _minter) external {
        require(msg.sender == minter);
        minter = _minter;
    }

    function approve(address _spender, uint _value) external returns (bool) {
        allowance[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    function _mint(address _to, uint _amount) internal returns (bool) {
        totalSupply += _amount;
        unchecked {
            balanceOf[_to] += _amount;
        }
        emit Transfer(address(0x0), _to, _amount);
        return true;
    }

    function _transfer(address _from, address _to, uint _value) internal returns (bool) {
        balanceOf[_from] -= _value;
        unchecked {
            balanceOf[_to] += _value;
        }
        emit Transfer(_from, _to, _value);
        return true;
    }

    function transfer(address _to, uint _value) external returns (bool) {
        return _transfer(msg.sender, _to, _value);
    }

    function transferFrom(address _from, address _to, uint _value) external returns (bool) {
        uint allowed_from = allowance[_from][msg.sender];
        if (allowed_from != type(uint).max) {
            allowance[_from][msg.sender] -= _value;
        }
        return _transfer(_from, _to, _value);
    }

    function mint(address account, uint amount) external returns (bool) {
        require(msg.sender == minter);
        _mint(account, amount);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialSupplyRecipient","type":"address"},{"internalType":"uint256","name":"initialAmount","type":"uint256"}],"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":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","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":"_value","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":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040526000805534801561001457600080fd5b5060405161076d38038061076d833981016040819052610033916100c8565b600380546001600160a01b0319163317905561004f8282610057565b505050610128565b60008160008082825461006a9190610102565b90915550506001600160a01b0383166000818152600160209081526040808320805487019055518581527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350600192915050565b600080604083850312156100db57600080fd5b82516001600160a01b03811681146100f257600080fd5b6020939093015192949293505050565b6000821982111561012357634e487b7160e01b600052601160045260246000fd5b500190565b610636806101376000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461019157806370a08231146101a457806395d89b41146101c4578063a9059cbb146101e6578063dd62ed3e146101f9578063fca3b5aa1461022457600080fd5b806306fdde03146100b957806307546172146100ff578063095ea7b31461012a57806318160ddd1461014d57806323b872dd14610164578063313ce56714610177575b600080fd5b6100e9604051806040016040528060118152602001702330b73a37b6ab32b637b1b4a6b2ba32b960791b81525081565b6040516100f69190610496565b60405180910390f35b600354610112906001600160a01b031681565b6040516001600160a01b0390911681526020016100f6565b61013d610138366004610507565b610239565b60405190151581526020016100f6565b61015660005481565b6040519081526020016100f6565b61013d610172366004610531565b6102a5565b61017f601281565b60405160ff90911681526020016100f6565b61013d61019f366004610507565b61031f565b6101566101b236600461056d565b60016020526000908152604090205481565b6100e96040518060400160405280600381526020016246564d60e81b81525081565b61013d6101f4366004610507565b61034d565b610156610207366004610588565b600260209081526000928352604080842090915290825290205481565b61023761023236600461056d565b610361565b005b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102949086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600260209081526040808320338452909152812054600019811461030b576001600160a01b0385166000908152600260209081526040808320338452909152812080548592906103059084906105d1565b90915550505b61031685858561039a565b95945050505050565b6003546000906001600160a01b0316331461033957600080fd5b6103438383610431565b5060019392505050565b600061035a33848461039a565b9392505050565b6003546001600160a01b0316331461037857600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166000908152600160205260408120805483919083906103c49084906105d1565b90915550506001600160a01b03808416600081815260016020526040908190208054860190555190918616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061041f9086815260200190565b60405180910390a35060019392505050565b60008160008082825461044491906105e8565b90915550506001600160a01b0383166000818152600160209081526040808320805487019055518581527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610294565b600060208083528351808285015260005b818110156104c3578581018301518582016040015282016104a7565b818111156104d5576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461050257600080fd5b919050565b6000806040838503121561051a57600080fd5b610523836104eb565b946020939093013593505050565b60008060006060848603121561054657600080fd5b61054f846104eb565b925061055d602085016104eb565b9150604084013590509250925092565b60006020828403121561057f57600080fd5b61035a826104eb565b6000806040838503121561059b57600080fd5b6105a4836104eb565b91506105b2602084016104eb565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b6000828210156105e3576105e36105bb565b500390565b600082198211156105fb576105fb6105bb565b50019056fea26469706673582212200a473c0af6bf60115ecfbc4f9213039e8179d0365732c4a6ac5ae5f0c78a08e364736f6c634300080d0033000000000000000000000000db13d9b2af28405395243f5d28c5f34a6af9266200000000000000000000000000000000000000000004f68ca6d8cd91c6000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461019157806370a08231146101a457806395d89b41146101c4578063a9059cbb146101e6578063dd62ed3e146101f9578063fca3b5aa1461022457600080fd5b806306fdde03146100b957806307546172146100ff578063095ea7b31461012a57806318160ddd1461014d57806323b872dd14610164578063313ce56714610177575b600080fd5b6100e9604051806040016040528060118152602001702330b73a37b6ab32b637b1b4a6b2ba32b960791b81525081565b6040516100f69190610496565b60405180910390f35b600354610112906001600160a01b031681565b6040516001600160a01b0390911681526020016100f6565b61013d610138366004610507565b610239565b60405190151581526020016100f6565b61015660005481565b6040519081526020016100f6565b61013d610172366004610531565b6102a5565b61017f601281565b60405160ff90911681526020016100f6565b61013d61019f366004610507565b61031f565b6101566101b236600461056d565b60016020526000908152604090205481565b6100e96040518060400160405280600381526020016246564d60e81b81525081565b61013d6101f4366004610507565b61034d565b610156610207366004610588565b600260209081526000928352604080842090915290825290205481565b61023761023236600461056d565b610361565b005b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102949086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152600260209081526040808320338452909152812054600019811461030b576001600160a01b0385166000908152600260209081526040808320338452909152812080548592906103059084906105d1565b90915550505b61031685858561039a565b95945050505050565b6003546000906001600160a01b0316331461033957600080fd5b6103438383610431565b5060019392505050565b600061035a33848461039a565b9392505050565b6003546001600160a01b0316331461037857600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166000908152600160205260408120805483919083906103c49084906105d1565b90915550506001600160a01b03808416600081815260016020526040908190208054860190555190918616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061041f9086815260200190565b60405180910390a35060019392505050565b60008160008082825461044491906105e8565b90915550506001600160a01b0383166000818152600160209081526040808320805487019055518581527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610294565b600060208083528351808285015260005b818110156104c3578581018301518582016040015282016104a7565b818111156104d5576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461050257600080fd5b919050565b6000806040838503121561051a57600080fd5b610523836104eb565b946020939093013593505050565b60008060006060848603121561054657600080fd5b61054f846104eb565b925061055d602085016104eb565b9150604084013590509250925092565b60006020828403121561057f57600080fd5b61035a826104eb565b6000806040838503121561059b57600080fd5b6105a4836104eb565b91506105b2602084016104eb565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b6000828210156105e3576105e36105bb565b500390565b600082198211156105fb576105fb6105bb565b50019056fea26469706673582212200a473c0af6bf60115ecfbc4f9213039e8179d0365732c4a6ac5ae5f0c78a08e364736f6c634300080d0033

Deployed Bytecode Sourcemap

495:2274:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;527:49;;;;;;;;;;;;;;;-1:-1:-1;;;527:49:0;;;;;;;;;;;;:::i;:::-;;;;;;;;823:21;;;;;-1:-1:-1;;;;;823:21:0;;;;;;-1:-1:-1;;;;;780:32:1;;;762:51;;750:2;735:18;823:21:0;616:203:1;1389:207:0;;;;;;:::i;:::-;;:::i;:::-;;;1426:14:1;;1419:22;1401:41;;1389:2;1374:18;1389:207:0;1261:187:1;669:27:0;;;;;;;;;1599:25:1;;;1587:2;1572:18;669:27:0;1453:177:1;2275:312:0;;;;;;:::i;:::-;;:::i;627:35::-;;660:2;627:35;;;;;2140:4:1;2128:17;;;2110:36;;2098:2;2083:18;627:35:0;1968:184:1;2595:171:0;;;;;;:::i;:::-;;:::i;705:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;583:37;;;;;;;;;;;;;;;-1:-1:-1;;;583:37:0;;;;;2139:128;;;;;;:::i;:::-;;:::i;753:61::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1261:120;;;;;;:::i;:::-;;:::i;:::-;;1389:207;1482:10;1455:4;1472:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1472:31:0;;;;;;;;;;:40;;;1528:38;1455:4;;1472:31;;1528:38;;;;1506:6;1599:25:1;;1587:2;1572:18;;1453:177;1528:38:0;;;;;;;;-1:-1:-1;1584:4:0;1389:207;;;;:::o;2275:312::-;-1:-1:-1;;;;;2393:16:0;;2356:4;2393:16;;;:9;:16;;;;;;;;2410:10;2393:28;;;;;;;;-1:-1:-1;;2436:30:0;;2432:101;;-1:-1:-1;;;;;2483:16:0;;;;;;:9;:16;;;;;;;;2500:10;2483:28;;;;;;;:38;;2515:6;;2483:16;:38;;2515:6;;2483:38;:::i;:::-;;;;-1:-1:-1;;2432:101:0;2550:29;2560:5;2567:3;2572:6;2550:9;:29::i;:::-;2543:36;2275:312;-1:-1:-1;;;;;2275:312:0:o;2595:171::-;2696:6;;2657:4;;-1:-1:-1;;;;;2696:6:0;2682:10;:20;2674:29;;;;;;2714:22;2720:7;2729:6;2714:5;:22::i;:::-;-1:-1:-1;2754:4:0;;2595:171;-1:-1:-1;;;2595:171:0:o;2139:128::-;2201:4;2225:34;2235:10;2247:3;2252:6;2225:9;:34::i;:::-;2218:41;2139:128;-1:-1:-1;;;2139:128:0:o;1261:120::-;1339:6;;-1:-1:-1;;;;;1339:6:0;1325:10;:20;1317:29;;;;;;1357:6;:16;;-1:-1:-1;;;;;;1357:16:0;-1:-1:-1;;;;;1357:16:0;;;;;;;;;;1261:120::o;1865:266::-;-1:-1:-1;;;;;1960:16:0;;1943:4;1960:16;;;:9;:16;;;;;:26;;1980:6;;1960:16;1943:4;;1960:26;;1980:6;;1960:26;:::i;:::-;;;;-1:-1:-1;;;;;;;2022:14:0;;;;;;;:9;:14;;;;;;;:24;;;;;;2073:28;2022:14;;2073:28;;;;;;;2040:6;1599:25:1;;1587:2;1572:18;;1453:177;2073:28:0;;;;;;;;-1:-1:-1;2119:4:0;1865:266;;;;;:::o;1604:253::-;1664:4;1696:7;1681:11;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;1739:14:0;;;;;;:9;:14;;;;;;;;:25;;;;;;1791:36;1599:25:1;;;1791:36:0;;1572:18:1;1791:36:0;1453:177:1;14:597;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;824:173::-;892:20;;-1:-1:-1;;;;;941:31:1;;931:42;;921:70;;987:1;984;977:12;921:70;824:173;;;:::o;1002:254::-;1070:6;1078;1131:2;1119:9;1110:7;1106:23;1102:32;1099:52;;;1147:1;1144;1137:12;1099:52;1170:29;1189:9;1170:29;:::i;:::-;1160:39;1246:2;1231:18;;;;1218:32;;-1:-1:-1;;;1002:254:1:o;1635:328::-;1712:6;1720;1728;1781:2;1769:9;1760:7;1756:23;1752:32;1749:52;;;1797:1;1794;1787:12;1749:52;1820:29;1839:9;1820:29;:::i;:::-;1810:39;;1868:38;1902:2;1891:9;1887:18;1868:38;:::i;:::-;1858:48;;1953:2;1942:9;1938:18;1925:32;1915:42;;1635:328;;;;;:::o;2157:186::-;2216:6;2269:2;2257:9;2248:7;2244:23;2240:32;2237:52;;;2285:1;2282;2275:12;2237:52;2308:29;2327:9;2308:29;:::i;2348:260::-;2416:6;2424;2477:2;2465:9;2456:7;2452:23;2448:32;2445:52;;;2493:1;2490;2483:12;2445:52;2516:29;2535:9;2516:29;:::i;:::-;2506:39;;2564:38;2598:2;2587:9;2583:18;2564:38;:::i;:::-;2554:48;;2348:260;;;;;:::o;2613:127::-;2674:10;2669:3;2665:20;2662:1;2655:31;2705:4;2702:1;2695:15;2729:4;2726:1;2719:15;2745:125;2785:4;2813:1;2810;2807:8;2804:34;;;2818:18;;:::i;:::-;-1:-1:-1;2855:9:1;;2745:125::o;2875:128::-;2915:3;2946:1;2942:6;2939:1;2936:13;2933:39;;;2952:18;;:::i;:::-;-1:-1:-1;2988:9:1;;2875:128::o

Swarm Source

ipfs://0a473c0af6bf60115ecfbc4f9213039e8179d0365732c4a6ac5ae5f0c78a08e3
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.