radrow
83616392e1
Add CREATE, CLONE and BYTECODE_HASH opcodes. Add bytecode typerep and datatype.
...
Format fixes. Changed type of BLOCKHASH to variant.
Fixed number of parameters to include target
Changed op args
Protected create
Make new type store a SERIALIZED CODE (instead of RAW BYTECODE)
Fix test
Format
Make create not protected
format
Fix serialization of fate_code type
Align
Add rebar3
Use shipped rebar3
Fix serialization, test
Fix tests
Rename fate_code to contract_bytearray
Update README
2021-03-23 12:27:35 +01:00
Artur Puzio
b30f8a2bfd
Avoid unnecessery calls to eblake2
...
We frequently need identifier of init function. Store it precalculated
in headers.
2021-03-23 09:27:25 +01:00
Ulf Norell
834ab298d1
typereps are values
2019-08-14 09:27:51 +02:00
Ulf Norell
986a7e6734
Add a store map fate value.
...
A store map is a (contract local) unique id pointing to a map saved in the contract store, plus a cache of updates.
2019-08-08 12:41:42 +02:00
Tobias Lindahl
c63ac888dd
Pt 166233700 fate nameservice ( #60 )
...
* Introduce AENS instructions in FATE
* Remove name object and fixup some documentation
2019-06-26 13:19:44 +02:00
Ulf Norell
f421c1e361
Add bytes type and values
...
and remove hash and signature
2019-06-20 14:27:18 +02:00
Tobias Lindahl
e321882b98
Pt 166233685 fate oracles ( #52 )
...
* Introduce typereps
* Use typereps for registering oracles
* Add TTL to oracle register
* Introduce oracle query object and ORACLE_QUERY operation
* Stub the remaining oracle instructions
* Adapt oracle respond and extend
* Document oracle ops
* Add unit tests for all oracle instructions
2019-06-18 13:56:48 +02:00
Erik Stenman
46f9d34447
Total order for FATE types.
2019-05-31 13:17:50 +02:00
Erik Stenman
53130fc638
Add FATE_BOOLEAN_VALUE
2019-05-30 12:31:01 +02:00
Thomas Arts
e1e2236a26
If we have destructors for maps, lists, etc, we need one for tuples as well
2019-04-10 15:42:33 +02:00
Erik Stenman
662b611e6d
New representation of variant values. ( #23 )
...
* New representation of variant values.
* Specify type of elments (byte) in arities list.
2019-03-29 14:52:22 +01:00
Erik Stenman
9abeb21eee
Pt 164601244 add hash and signature type ( #22 )
...
* Add hash, signature and object types.
* Add serilaize/deserialize test for new types.
* Document new types.
* Use aeserialization for base58c encoding/decoding.
2019-03-25 17:57:12 +01:00
Erik Stenman
c5a9878bd9
Rename to library standard.
2019-02-15 12:34:46 +01:00