Wrapped MTV (WMTV) is Now Live!

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

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

StaFi — DETAILS ON THE PREEMINENT GROWTH AND DEVELOPMENT DURING THE MONTH OF APRIL

A World with Blockchain

What Is Tendermint Core? A Deep Dive

Tap Fantasy x CocosBcx IGO whitelist

Welcome To The dCombat Zone and Lets Fight Together

Earn Guild Partners with BattleVerse

The Concept of Blockchain Technology

An Introduction to Polkadot and Parachains

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
MultiVAC

MultiVAC

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

More from Medium

How to farm BLXM:WETH liquidity

What you need to know about Genesis Staking Phase I Launch

Sisilala TV’s Takeshi Ando attends Ethanim launch and delivers a speech

ACKNOLEDGER UPDATES