Wrapped MTV (WMTV) is Now Live!

MultiVAC
2 min readFeb 22, 2022

MultiVAC released their wrapped token, WMTV, on the 19th of February. The following are answers to some commonly asked questions you may have about wrapped tokens:

1. How do you use WMTV?

Wrapped MTV: 0x8e321596267a4727746b2f48bc8736db5da26977

On Metamask’s asset page, click the “import token” button found at the bottom. Then enter the above address and click to import WMTV. Now you can directly transfer MTV to this address and you will receive the corresponding amount in WMTV!

2. What’s the use of WMTV?

Wrapped MTV (WMTV) can be used for swapping as well as in many other DeFi contracts. We have built WMTV for the purpose of being able to better develop the MTV DeFi ecosystem moving forward.

3. Does WMTV have public source code anywhere?

We followed WETH’s code, but changed the token name and symbol.

The following is the source code:

pragma solidity ^0.4.18;

contract WETH9 {
string public name = “Wrapped MultiVAC”;
string public symbol = “WMTV”;
uint8 public decimals = 18;

event Approval(address indexed src, address indexed guy, uint wad);
event Transfer(address indexed src, address indexed dst, uint wad);
event Deposit(address indexed dst, uint wad);
event Withdrawal(address indexed src, uint wad);

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

function() public payable {
deposit();
}
function deposit() public payable {
balanceOf[msg.sender] += msg.value;
emit Deposit(msg.sender, msg.value);
}
function withdraw(uint wad) public {
require(balanceOf[msg.sender] >= wad);
balanceOf[msg.sender] -= wad;
msg.sender.transfer(wad);
emit Withdrawal(msg.sender, wad);
}

function totalSupply() public view returns (uint) {
return address(this).balance;
}

function approve(address guy, uint wad) public returns (bool) {
allowance[msg.sender][guy] = wad;
emit Approval(msg.sender, guy, wad);
return true;
}

function transfer(address dst, uint wad) public returns (bool) {
return transferFrom(msg.sender, dst, wad);
}

function transferFrom(address src, address dst, uint wad)
public
returns (bool)
{
require(balanceOf[src] >= wad);

if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) {
require(allowance[src][msg.sender] >= wad);
allowance[src][msg.sender] -= wad;
}

balanceOf[src] -= wad;
balanceOf[dst] += wad;

emit Transfer(src, dst, wad);

return true;
}
}

ABOUT MULTIVAC:

MultiVAC is a high-throughput flexible blockchain platform based on all-dimensional sharding. It’s a next-generation public blockchain platform built for integration with large-scale decentralized applications.

MultiVAC is developing the first solution in the world characterized by speediness, efficiency, and all-dimensional sharding to expand its capacity in computation, transmission, and storage. It realizes the maximum throughput while maintaining decentralization and without sacrificing security.

About us: Website | Mainnet

Technical Whitepaper | Technical Yellowpaper | Technical Purplepaper

--

--

MultiVAC

All-dimensional Sharding Flexible Blockchain, known as multi-core Ethereum with parallel processing.