TokenTankSystem

Git Source

Inherits: System

Functions

fillTank

Convert material tokens to fill tank

function fillTank(bytes32 _tankEntity, uint256 _amount, MaterialId _materialId) public;

Parameters

NameTypeDescription
_tankEntitybytes32Id of tank entity
_amountuint256Amount of material in whole units
_materialIdMaterialIdMaterial id of the material