You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.
The current code for the contract (in
assembly/main.ts
) has 2 similar (redundant) functions:getBalance
andbalanceOf
. alsocollections
is not used.in keeping with the standard interface, including the method order, the template code should be changed to the following:
note, the methods have been re-ordered to be in line with the ERC-20 standard here
totalSupply()
balanceOf(owner: string)
transfer(to: address, value: u64)
transferFrom(from: string, to: string, value: u64)
approve(spender: string, value: u64)
allowance(owner: string, spender: string): u64
The text was updated successfully, but these errors were encountered: