Skip to content

Commit 81b0fa4

Browse files
igorlsIgor Lins e Silva
andauthored
updates for cdt 1.7.0 compatibility (#11)
* organize ricardians * Create build.sh * add now() util function * update includes * Update .gitignore * commit successful builds * replace eosio_assert with check * Delete .#expiration.hpp * eosio.cdt 1.7.0 compatibility Co-authored-by: Igor Lins e Silva <igor@eosrio.io>
1 parent 3a91245 commit 81b0fa4

20 files changed

+318
-192
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
*/*.wasm
2-
setup.sh
1+
setup.sh
2+
.vscode

README.md

100755100644
File mode changed.

bespiral.community/Makefile

100755100644
File mode changed.

bespiral.community/bespiral.community.abi

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"____comment": "This file was generated with eosio-abigen. DO NOT EDIT Wed Jun 17 13:00:07 2020",
2+
"____comment": "This file was generated with eosio-abigen. DO NOT EDIT ",
33
"version": "eosio::abi/1.1",
4+
"types": [],
45
"structs": [
56
{
67
"name": "action",
@@ -713,7 +714,6 @@
713714
]
714715
}
715716
],
716-
"types": [],
717717
"actions": [
718718
{
719719
"name": "claimaction",
@@ -723,7 +723,7 @@
723723
{
724724
"name": "clean",
725725
"type": "clean",
726-
"ricardian_contract": ""
726+
"ricardian_contract": "---\nspec-version: 0.0.1\ntitle: clean placeholder\nsummary: placeholder\nicon:"
727727
},
728728
{
729729
"name": "create",
@@ -738,12 +738,12 @@
738738
{
739739
"name": "deleteact",
740740
"type": "deleteact",
741-
"ricardian_contract": ""
741+
"ricardian_contract": "---\nspec-version: 0.0.1\ntitle: deleteact placeholder\nsummary: placeholder\nicon:"
742742
},
743743
{
744744
"name": "deleteobj",
745745
"type": "deleteobj",
746-
"ricardian_contract": ""
746+
"ricardian_contract": "---\nspec-version: 0.0.1\ntitle: deleteobj placeholder\nsummary: placeholder\nicon:"
747747
},
748748
{
749749
"name": "deletesale",
@@ -753,12 +753,12 @@
753753
{
754754
"name": "migrate",
755755
"type": "migrate",
756-
"ricardian_contract": ""
756+
"ricardian_contract": "---\nspec-version: 0.0.1\ntitle: migrate placeholder\nsummary: placeholder\nicon:"
757757
},
758758
{
759759
"name": "migrateafter",
760760
"type": "migrateafter",
761-
"ricardian_contract": ""
761+
"ricardian_contract": "---\nspec-version: 0.0.1\ntitle: migrateafter placeholder\nsummary: placeholder\nicon:"
762762
},
763763
{
764764
"name": "netlink",
@@ -778,7 +778,7 @@
778778
{
779779
"name": "setindices",
780780
"type": "setindices",
781-
"ricardian_contract": ""
781+
"ricardian_contract": "---\nspec-version: 0.0.1\ntitle: setindices placeholder\nsummary: placeholder\nicon:"
782782
},
783783
{
784784
"name": "transfersale",
@@ -798,12 +798,12 @@
798798
{
799799
"name": "updobjective",
800800
"type": "updobjective",
801-
"ricardian_contract": ""
801+
"ricardian_contract": "---\nspec-version: 0.0.1\ntitle: updobjective placeholder\nsummary: placeholder\nicon:"
802802
},
803803
{
804804
"name": "upsertaction",
805805
"type": "upsertaction",
806-
"ricardian_contract": ""
806+
"ricardian_contract": "---\nspec-version: 0.0.1\ntitle: upsertaction placeholder\nsummary: placeholder\nicon:"
807807
},
808808
{
809809
"name": "verifyaction",
@@ -903,6 +903,5 @@
903903
"body": "---\nspec-version: 0.0.1\ntitle: Data Ownership\nsummary: The smart contract promises to only use the data in accordance of the terms defined in the Ricardian Contract, now and at all future dates.\nicon:"
904904
}
905905
],
906-
"variants": [],
907-
"abi_extensions": []
906+
"variants": []
908907
}

bespiral.community/bespiral.community.cpp

100755100644
Lines changed: 108 additions & 108 deletions
Large diffs are not rendered by default.

bespiral.community/bespiral.community.hpp

100755100644
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
#include <eosiolib/eosio.hpp>
2-
#include <eosiolib/asset.hpp>
3-
#include <eosiolib/system.h>
4-
#include <eosiolib/singleton.hpp>
5-
#include <eosiolib/crypto.h>
1+
#include <eosio/eosio.hpp>
2+
#include <eosio/asset.hpp>
3+
#include <eosio/singleton.hpp>
64

75
class [[eosio::contract("bespiral.community")]] bespiral : public eosio::contract {
86
public:
117 KB
Binary file not shown.
File renamed without changes.

bespiral.community/bespiral.community.contracts.md renamed to bespiral.community/ricardian/bespiral.community.contracts.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,59 @@ spec-version: 0.0.1
9595
title: Process a sale transfer
9696
summary: Enable different users to exchange value for a given sale. It requires you to send: `sale_id`, `from`, `to`, `quantity` and `units`. No information is going to be saved, only used to update previous sale information. Note that `from` is the one interested in the sale, `to` the sale creator, `quantity` is related to price and `units` to number of items available.
9797
icon:
98+
99+
<h1 class="contract">updobjective</h1>
100+
---
101+
spec-version: 0.0.1
102+
title: updobjective placeholder
103+
summary: placeholder
104+
icon:
105+
106+
<h1 class="contract">upsertaction</h1>
107+
---
108+
spec-version: 0.0.1
109+
title: upsertaction placeholder
110+
summary: placeholder
111+
icon:
112+
113+
<h1 class="contract">setindices</h1>
114+
---
115+
spec-version: 0.0.1
116+
title: setindices placeholder
117+
summary: placeholder
118+
icon:
119+
120+
<h1 class="contract">deleteobj</h1>
121+
---
122+
spec-version: 0.0.1
123+
title: deleteobj placeholder
124+
summary: placeholder
125+
icon:
126+
127+
<h1 class="contract">deleteact</h1>
128+
---
129+
spec-version: 0.0.1
130+
title: deleteact placeholder
131+
summary: placeholder
132+
icon:
133+
134+
<h1 class="contract">migrate</h1>
135+
---
136+
spec-version: 0.0.1
137+
title: migrate placeholder
138+
summary: placeholder
139+
icon:
140+
141+
<h1 class="contract">clean</h1>
142+
---
143+
spec-version: 0.0.1
144+
title: clean placeholder
145+
summary: placeholder
146+
icon:
147+
148+
<h1 class="contract">migrateafter</h1>
149+
---
150+
spec-version: 0.0.1
151+
title: migrateafter placeholder
152+
summary: placeholder
153+
icon:

bespiral.token/.#expiration.hpp

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)