-
Notifications
You must be signed in to change notification settings - Fork 59
/
main.mo
38 lines (29 loc) · 1013 Bytes
/
main.mo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import Result "mo:base/Result";
import Principal "mo:base/Principal";
import HashMap "mo:base/HashMap";
import Types "types";
actor {
type Result<Ok, Err> = Types.Result<Ok, Err>;
type HashMap<K, V> = Types.HashMap<K, V>;
public query func tokenName() : async Text {
return "Not implemented";
};
public query func tokenSymbol() : async Text {
return "Not implemented";
};
public func mint(owner : Principal, amount : Nat) : async Result<(), Text> {
return #err("Not implemented");
};
public func burn(owner : Principal, amount : Nat) : async Result<(), Text> {
return #err("Not implemented");
};
public shared ({ caller }) func transfer(from : Principal, to : Principal, amount : Nat) : async Result<(), Text> {
return #err("Not implemented");
};
public query func balanceOf(account : Principal) : async Nat {
return 0;
};
public query func totalSupply() : async Nat {
return 0;
};
};