Exemplo n.º 1
0
 private CallInput GetTransferTokenCallInput(string from, string receipient, int amount)
 {
     return(DodgeEMToken.GetFunction("transferFrom").CreateCallInput(new object[] { from, receipient, amount }));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get the function which allows us to check the token owners balance
 /// which will aid in determining how many tokens we spawn in game
 /// </summary>
 /// <returns>Function</returns>
 public Function GetBalanceOfFunction()
 {
     return(DodgeEMToken.GetFunction("balanceOf"));
 }