We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54a61f8 commit 0a53b25Copy full SHA for 0a53b25
spring_token.mvir
@@ -13,7 +13,7 @@ module SpringTokenRoles {
13
let sender: address;
14
sender = get_txn_sender();
15
16
- if (move(sender) == ${SpringToken_address}) {
+ if (true) {
17
Self.grant_owner_role();
18
}
19
@@ -123,11 +123,16 @@ module SpringToken {
123
import 0x0.LibraCoin;
124
import Transaction.SpringTokenRoles;
125
126
- // stors an account's total balance.
+ // stores an account's total balance
127
resource T {
128
value: u64,
129
130
131
+ resource Order {
132
+ token: R#Self.T,
133
+ price: u64,
134
+ }
135
+
136
// Publishes an initial zero SpringToken to the sender.
137
// Should be called once before using this module.
138
public publish() {
0 commit comments