Hans Svensson
370c7387a9
Add AUTH_TX to FATE operations
2020-02-11 09:34:48 +01:00
Hans Svensson
4565188c6a
Add AENS_LOOKUP and ORACLE_EXPIRY as FATE operations
2020-02-03 13:19:08 +01:00
Hans Svensson
e4b09d7c5c
Add FATE-ops for BLS12-381
2019-11-27 09:06:20 +01:00
skkw
211ee74df2
fixed documenting of AENS_UPDATE type
2019-11-18 16:00:36 +01:00
skkw
38f4f0ecd7
Merge pull request #81 from aeternity/PT-158904718-aens-update-sophia
...
add support for AENS.update call
2019-11-12 14:17:11 +01:00
Ulf Norell
176df87bb0
Add ADDRESS_TO_CONTRACT
2019-09-30 13:14:11 +02:00
Ulf Norell
872766260b
Bump gas cost for non-trivial instructions
2019-09-30 11:39:38 +02:00
skkw
f184abeb87
add support for AENS.update call
2019-09-10 15:46:04 +02:00
Ulf Norell
17c9656f5c
Add FATE instructions for Bytes.concat and Bytes.split
2019-09-09 14:45:23 +02:00
Erik Stenman
b036531dc2
Renumber ops and set base gas. ( #78 )
2019-09-06 14:13:51 +02:00
Tobias Lindahl
69912db2b6
Make api function for exposing gas costs of ops
2019-09-05 13:27:33 +02:00
sennui
e21abb875e
Add argument to claim tx to enable bidding
2019-08-28 11:02:21 +02:00
Hans Svensson
50df849709
VERIFY_SIG_SECP256K1 was too long for code generation
2019-08-21 09:26:01 +02:00
Hans Svensson
dfa9b80a3c
Change ECVERIFY to VERIFY_SIG and add proper ECVERIFY
2019-08-21 09:25:28 +02:00
Hans Svensson
efb4afeafa
Add IS_PAYABLE opcode
2019-08-16 09:31:27 +02:00
Ulf Norell
fdd660a219
Merge pull request #67 from aeternity/PT-167221635-remote-type-check
...
PT-167221635 remote type check
2019-08-16 09:10:47 +02:00
Tino Breddin
3954bd22da
Merge pull request #64 from aeternity/newby/ecrecover
...
[PT-167805291] Add opcode for ecrecover
2019-08-14 16:08:45 +02:00
Ulf Norell
13211887a3
Update src/aeb_fate_generate_ops.erl
...
Co-Authored-By: Hans Svensson <hanssv@gmail.com>
2019-08-14 09:32:23 +02:00
Ulf Norell
3721fde7e8
Add typereps to remote call instructions
2019-08-14 09:01:53 +02:00
Tino Breddin
197dfd5da1
Let ecrecover only require two parameters
2019-08-13 15:15:03 +02:00
Ulf Norell
f5a9be67d9
Remove CALL_TR and CALL_GTR
2019-08-13 09:20:29 +02:00
Ulf Norell
5aee70b8ff
Add arity to CALL_R and CALL_GR
...
and deprecate CALL_TR and CALL_GTR
2019-08-12 14:38:10 +02:00
John Newby
44ec31d958
fixed ordering
2019-08-12 13:52:27 +02:00
John Newby
8fde1e5e24
Added FATE opcode for ecrecover
2019-08-12 13:36:49 +02:00
Tobias Lindahl
e62cedb22c
Add information on offchain capabilities of operation
2019-07-10 10:09:17 +02:00
Tobias Lindahl
487e087287
Use string instead of name hash for transfer and revoke
2019-06-26 15:33:24 +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
Hans Svensson
35ce283736
Add in_auth field to aeb_fate_generate_ops
2019-06-26 11:31:10 +02:00
Ulf Norell
5171b800cc
Add FATE oracle check instructions (and others)
2019-06-25 10:01:22 +02:00
Ulf Norell
e3a00905de
Add bytes_to_int and bytes_to_str instructions to FATE
2019-06-24 10:55:12 +02:00
Ulf Norell
f7f0dfde51
Update and fix quickcheck fuzz test
2019-06-20 15:27:16 +02:00
Tobias Lindahl
f92e23c955
Add oracle types to some oracle instructions
2019-06-19 12:11:22 +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
Hans Svensson
506f9ca72e
Add AUTH_TX_HASH operation
2019-06-11 15:31:16 +02:00
Hans Svensson
896290ad3b
contract_to_address instruction
2019-06-11 09:20:13 +02:00
Ulf Norell
876e8504c8
crypto instructions
2019-06-05 14:21:47 +02:00
Ulf Norell
f1298870e5
Merge pull request #47 from aeternity/add-target-register-to-tuple
...
Add target register to TUPLE
2019-05-28 14:17:16 +02:00
Ulf Norell
f115feb16d
Print state variables as storeN
instead of var-N
2019-05-28 11:53:13 +02:00
Tobias Lindahl
241a96ebaa
Change the correct function name to not shadow builting guard ( #46 )
2019-05-28 11:32:52 +02:00
Ulf Norell
880cf573aa
Add a target register to TUPLE instruction
2019-05-28 11:24:38 +02:00
Tobias Lindahl
89f5ebc84b
Add missing basic instructions ( #45 )
...
* Add missing basic instructions
* MAP_SIZE
* MAP_TO_LIST
* STR_LENGTH
* Change name of erlang function to not shadow builtin guard
2019-05-28 11:15:04 +02:00
Erik Stenman
e98298cce4
Add accepted types to operator declarations. Check opcode numbering. ( #43 )
...
* Add accepted types to operator declarations.
* Check opcode numbering.
2019-05-24 13:21:49 +02:00
Erik Stenman
0d1899b32a
Pt 165352420 dissallow stack n ( #42 )
...
* Get rid of redundant arity field from op defs. Reorder and renumber ops. Fix bb_end for abort and exit.
* FATE does not accept arbitrary stack positions, only the accumulator aka stack 0.
2019-05-23 13:40:49 +02:00
Erik Stenman
3e0e289f2f
Get rid of redundant arity field from op defs. Reorder and renumber ops. Fix bb_end for abort and exit. ( #41 )
2019-05-23 13:37:32 +02:00
Tobias Lindahl
11a8997ac7
Pt 166148534 refactor fate code ( #40 )
...
* Change names of generated aeb_fate_code -> aeb_fate_ops
* Break out fate code to separate adt module
* Fix documentation of the SPEND op
* More compact implementation of serialization/deserialization
* Changed argument specification order
2019-05-23 08:15:18 +02:00
Tobias Lindahl
a9389e4e69
Add the CALL_VALUE instruction
2019-05-09 10:57:18 +02:00
Tobias Lindahl
2d3cede235
Add value to remote calls and the new ops CALL_GR and CALL_GTR
2019-05-09 10:57:18 +02:00
Ulf Norell
91fc56c322
Change local calls to allow dynamic function name
2019-05-07 09:04:24 +02:00
Ulf Norell
1887486d36
Replace STR_EQ by APPEND
...
STR_EQ is not needed, the regular EQ instruction can handle strings as well. Having
an instruction for list append is quite handy though (would need two passes to do it
tail recursive in FATE assembly)
2019-05-07 09:04:24 +02:00
Ulf Norell
bf6741eac4
Format of li should be {immediate, [integer()]}
2019-05-07 08:38:23 +02:00