Browse Source

Update main.fc

master
Tal Kol 2 years ago committed by GitHub
parent
commit
5d22546d98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      contracts/main.fc

10
contracts/main.fc

@ -1,13 +1,13 @@
;; =============== storage =============================
;; storage binary format is defined as TL-B in companion .tlb file
#pragma version >=0.2.0;
#include "imports/stdlib.fc";
#include "imports/constants.fc";
#include "imports/utils.fc";
;; =============== storage =============================
;; storage binary format is defined as TL-B in companion .tlb file
(slice, int) load_data() inline {
var ds = get_data().begin_parse();
return (
@ -101,4 +101,4 @@ int counter() method_id {
int balance() method_id {
var [balance, _] = get_balance();
return balance;
}
}

Loading…
Cancel
Save