FUNCTION
tx.op
Add a list of test operation calls to this test transaction builder.
Parameters
- ops — the list of operations to add
Since 0.10.4
Add test operation calls to this test transaction builder.
Parameters
- ops — the operations to add
Since 0.10.4
function op(ops: list<-mirror_struct<-operation>>): txAdd a list of test operation calls to this test transaction builder.
The test operation calls are given as struct<operation> values.
For example, calls to the operation:
Rell
operation my_op(foo: integer, bar: list<text>) { ... }may be passed as a struct<my_op>:
Rell
my_transaction_builder.op([
struct<my_op>(foo = 1, bar = ["a", "b"]),
struct<my_op>(foo = 2, bar = ["c", "d"])
]);Parameters
- ops — the list of test operation calls to add to this transaction builder
Since 0.10.4
function op(ops: mirror_struct<-operation>...): txAdd the given test operation calls to this test transaction builder.
The test operation calls are given as struct<operation> values.
For example, calls to the operation:
Rell
operation my_op(foo: integer, bar: list<text>) { ... }may be passed as a struct<my_op>:
Rell
my_transaction_builder.op(
struct<my_op>(foo = 1, bar = ["a", "b"]),
struct<my_op>(foo = 2, bar = ["c", "d"])
);Parameters
- ops — the test operation calls to add to this transaction builder
Since 0.10.4