counterparty_ruby 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,713 @@
1
+ module Counterparty
2
+
3
+ # An object that describes a balance that is associated to a specific address.
4
+ class Balance < CounterResource
5
+ # (string): The address that has the balance
6
+ attr_accessor :address
7
+
8
+ # (string): The ID of the asset in which the balance is specified
9
+ attr_accessor :asset
10
+
11
+ # (integer): The balance of the specified asset at this address
12
+ attr_accessor :quantity
13
+ end
14
+
15
+ # An object that describes a specific bet.
16
+ class Bet < CounterResource
17
+ # (integer): The transaction index
18
+ attr_accessor :tx_index
19
+
20
+ # (string): The transaction hash
21
+ attr_accessor :tx_hash
22
+
23
+ # (integer): The block index (block number in the block chain)
24
+ attr_accessor :block_index
25
+
26
+ # (string): The address that made the bet
27
+ attr_accessor :source
28
+
29
+ # (string): The address with the feed that the bet is to be made on
30
+ attr_accessor :feed_address
31
+
32
+ # (integer): 0 for Bullish CFD, 1 for Bearish CFD, 2 for Equal, 3 for Not
33
+ # Equal
34
+ attr_accessor :bet_type
35
+
36
+ # (integer): The timestamp at which the bet should be decided/settled, in
37
+ # Unix time.
38
+ attr_accessor :deadline
39
+
40
+ # (integer): The quantity of XCP to wager
41
+ attr_accessor :wager_quantity
42
+
43
+ # (integer): The minimum quantity of XCP to be wagered by the user to bet
44
+ # against the bet issuer, if the other party were to accept the whole thing
45
+ attr_accessor :counterwager_quantity
46
+
47
+ # (integer): The quantity of XCP wagered that is remaining to bet on
48
+ attr_accessor :wager_remaining
49
+
50
+ # (float):
51
+ attr_accessor :odds
52
+
53
+ # (float): Target value for Equal/NotEqual bet
54
+ attr_accessor :target_value
55
+
56
+ # (integer): Leverage, as a fraction of 5040
57
+ attr_accessor :leverage
58
+
59
+ # (integer): The number of blocks for which the bet should be valid
60
+ attr_accessor :expiration
61
+
62
+ # (integer):
63
+ attr_accessor :fee_multiplier
64
+
65
+ # (string): Set to "valid" if a valid bet. Any other setting signifies an
66
+ # invalid/improper bet
67
+ attr_accessor :validity
68
+
69
+ # (integer): The quantity of XCP to wager. (Only used in Create)
70
+ attr_accessor :wager
71
+
72
+ # (integer): The minimum quantity of XCP to be
73
+ # wagered against, for the bets to match. (Only used in Create)
74
+ attr_accessor :counterwager
75
+ end
76
+
77
+ # An object that describes a specific occurance of two bets being matched
78
+ # (either partially, or fully).
79
+ class BetMatch < CounterResource
80
+ # (integer): The Bitcoin transaction index of the initial bet
81
+ attr_accessor :tx0_index
82
+
83
+ # (string): The Bitcoin transaction hash of the initial bet
84
+ attr_accessor :tx0_hash
85
+
86
+ # (integer): The Bitcoin block index of the initial bet
87
+ attr_accessor :tx0_block_index
88
+
89
+ # (integer): The number of blocks over which the initial bet was valid
90
+ attr_accessor :tx0_expiration
91
+
92
+ # (string): The address that issued the initial bet
93
+ attr_accessor :tx0_address
94
+
95
+ # (string): The type of the initial bet (0 for Bullish CFD,
96
+ # 1 for Bearish CFD, 2 for Equal, 3 for Not Equal)
97
+ attr_accessor :tx0_bet_type
98
+
99
+ # (integer): The transaction index of the matching (counter) bet
100
+ attr_accessor :tx1_index
101
+
102
+ # (string): The transaction hash of the matching bet
103
+ attr_accessor :tx1_hash
104
+
105
+ # (integer): The block index of the matching bet
106
+ attr_accessor :tx1_block_index
107
+
108
+ # (string): The address that issued the matching bet
109
+ attr_accessor :tx1_address
110
+
111
+ # (integer): The number of blocks over which the matching bet was valid
112
+ attr_accessor :tx1_expiration
113
+
114
+ # (string): The type of the counter bet (0 for Bullish CFD,
115
+ # 1 for Bearish CFD, 2 for Equal, 3 for Not Equal)
116
+ attr_accessor :tx1_bet_type
117
+
118
+ # (string): The address of the feed that the bets refer to
119
+ attr_accessor :feed_address
120
+
121
+ # (integer):
122
+ attr_accessor :initial_value
123
+
124
+ # (integer): The timestamp at which the bet match was made, in Unix time.
125
+ attr_accessor :deadline
126
+
127
+ # (float): Target value for Equal/NotEqual bet
128
+ attr_accessor :target_value
129
+
130
+ # (integer): Leverage, as a fraction of 5040
131
+ attr_accessor :leverage
132
+
133
+ # (integer): The quantity of XCP bet in the initial bet
134
+ attr_accessor :forward_quantity
135
+
136
+ # (integer): The quantity of XCP bet in the matching bet
137
+ attr_accessor :backward_quantity
138
+
139
+ # (integer):
140
+ attr_accessor :fee_multiplier
141
+
142
+ # (string): Set to "valid" if a valid order match. Any other setting
143
+ # signifies an invalid/improper order match
144
+ attr_accessor :validity
145
+ end
146
+
147
+ # An object that describes a specific occurance of a broadcast event
148
+ # (i.e. creating/extending a feed)
149
+ class Broadcast < CounterResource
150
+ # (integer): The transaction index
151
+ attr_accessor :tx_index
152
+
153
+ # (string): The transaction hash
154
+ attr_accessor :tx_hash
155
+
156
+ # (integer): The block index (block number in the block chain)
157
+ attr_accessor :block_index
158
+
159
+ # (string): The address that made the broadcast
160
+ attr_accessor :source
161
+
162
+ # (string): The time the broadcast was made, in Unix time.
163
+ attr_accessor :timestamp
164
+
165
+ # (float): The numerical value of the broadcast
166
+ attr_accessor :value
167
+
168
+ # (float): How much of every bet on this feed should go to its operator;
169
+ # a fraction of 1, (i.e. .05 is five percent)
170
+ attr_accessor :fee_multiplier
171
+
172
+ # (string): The textual component of the broadcast
173
+ attr_accessor :text
174
+
175
+ # (string): Set to "valid" if a valid broadcast. Any other setting signifies
176
+ # an invalid/improper broadcast
177
+ attr_accessor :validity
178
+
179
+ # (float): How much of every bet on this feed should go to its
180
+ # operator; a fraction of 1, (i.e. .05 is five percent). Used on create.
181
+ attr_accessor :fee_fraction
182
+ end
183
+
184
+ # An object that matches a request to settle an Order Match for which BTC is
185
+ # owed.
186
+ class BTCPay < CounterResource
187
+ # (integer): The transaction index
188
+ attr_accessor :tx_index
189
+
190
+ # (string): The transaction hash
191
+ attr_accessor :tx_hash
192
+
193
+ # (integer): The block index (block number in the block chain)
194
+ attr_accessor :block_index
195
+
196
+ # source (string):
197
+ attr_accessor :source
198
+
199
+ # (string):
200
+ attr_accessor :order_match_id
201
+
202
+ # (string): Set to "valid" if valid
203
+ attr_accessor :validity
204
+
205
+ def self.api_name; 'btcpays'; end
206
+ end
207
+
208
+ # An object that describes an instance of a specific burn.
209
+ class Burn < CounterResource
210
+ # (integer): The transaction index
211
+ attr_accessor :tx_index
212
+
213
+ # (string): The transaction hash
214
+ attr_accessor :tx_hash
215
+
216
+ # (integer): The block index (block number in the block chain)
217
+ attr_accessor :block_index
218
+
219
+ # (string): The address the burn was performed from
220
+ attr_accessor :source
221
+
222
+ # (integer): The quantity of BTC burned
223
+ attr_accessor :burned
224
+
225
+ # (integer): The quantity of XPC actually earned from the burn (takes into
226
+ # account any bonus quantitys, 1 BTC limitation, etc)
227
+ attr_accessor :earned
228
+
229
+ # (string): Set to "valid" if a valid burn. Any other setting signifies an
230
+ # invalid/improper burn
231
+ attr_accessor :validity
232
+
233
+ # (string): Set to "valid" if a valid burn. Any other setting signifies an
234
+ # invalid/improper burn
235
+ attr_accessor :status
236
+
237
+ # (integer): The amount of BTC to burn (only used in the Create Burn)
238
+ attr_accessor :quantity
239
+ end
240
+
241
+ # An object that describes a specific asset callback (i.e. the exercising of
242
+ # a call option on an asset owned by the source address).
243
+ class Callback < CounterResource
244
+ # (integer): The transaction index
245
+ attr_accessor :tx_index
246
+
247
+ # (string): The transaction hash
248
+ attr_accessor :tx_hash
249
+
250
+ # block_index (integer): The block index (block number in the block chain)
251
+ attr_accessor :block_index
252
+
253
+ # (string): The source address of the call back (should be the current owner
254
+ # of the asset)
255
+ attr_accessor :source
256
+
257
+ # (integer): A floating point number greater than zero but less than or
258
+ # equal to 1, where 0% is for a callback of 0%
259
+ attr_accessor :fraction
260
+
261
+ # of the balance of each of the asset's holders, and 1 would be for a
262
+ # callback of 100%). For example, 0.56 would be 56%. Each holder of the
263
+ # called asset will be paid the call price for the asset, times the number
264
+ # of units of that asset that were called back from them.
265
+ attr_accessor :of
266
+
267
+ # (string): The asset being called back
268
+ attr_accessor :asset
269
+
270
+ # (string): Set to "valid" if a valid send. Any other setting signifies an
271
+ # invalid/improper send
272
+ attr_accessor :validity
273
+ end
274
+
275
+ # An object that describes a cancellation of a (previously) open order or bet.
276
+ class Cancel < CounterResource
277
+ # (integer): The transaction index
278
+ attr_accessor :tx_index
279
+
280
+ # (string): The transaction hash
281
+ attr_accessor :tx_hash
282
+
283
+ # (integer): The block index (block number in the block chain)
284
+ attr_accessor :block_index
285
+
286
+ # (string): The address with the open order or bet that was cancelled
287
+ attr_accessor :source
288
+
289
+ # (string): The transaction hash of the order or bet cancelled
290
+ attr_accessor :offer_hash
291
+
292
+ # (string): Set to "valid" if a valid burn. Any other setting signifies an
293
+ # invalid/improper burn
294
+ attr_accessor :validity
295
+ end
296
+
297
+ # An object that describes a account credit.
298
+ class Credit < CounterResource
299
+ # (integer): The transaction index
300
+ attr_accessor :tx_index
301
+
302
+ # (string): The transaction hash
303
+ attr_accessor :tx_hash
304
+
305
+ # (integer): The block index (block number in the block chain)
306
+ attr_accessor :block_index
307
+
308
+ # (string): The address debited or credited
309
+ attr_accessor :address
310
+
311
+ # (string): The asset debited or credited
312
+ attr_accessor :asset
313
+
314
+ # (integer): The quantity of the specified asset debited or credited
315
+ attr_accessor :quantity
316
+
317
+ attr_accessor :action
318
+
319
+ attr_accessor :event
320
+ end
321
+
322
+ # An object that describes a account debit or credit.
323
+ class Debit < CounterResource
324
+ # (integer): The transaction index
325
+ attr_accessor :tx_index
326
+
327
+ # (string): The transaction hash
328
+ attr_accessor :tx_hash
329
+
330
+ # (integer): The block index (block number in the block chain)
331
+ attr_accessor :block_index
332
+
333
+ # (string): The address debited or credited
334
+ attr_accessor :address
335
+
336
+ # (string): The asset debited or credited
337
+ attr_accessor :asset
338
+
339
+ # (integer): The quantity of the specified asset debited or credited
340
+ attr_accessor :quantity
341
+
342
+ attr_accessor :action
343
+
344
+ attr_accessor :event
345
+ end
346
+
347
+ # An object that describes an issuance of dividends on a specific user
348
+ # defined asset.
349
+ class Dividend < CounterResource
350
+ # (integer): The transaction index
351
+ attr_accessor :tx_index
352
+
353
+ # (string): The transaction hash
354
+ attr_accessor :tx_hash
355
+
356
+ # (integer): The block index (block number in the block chain)
357
+ attr_accessor :block_index
358
+
359
+ # (string): The address that issued the dividend
360
+ attr_accessor :source
361
+
362
+ # (string): The asset that the dividends are being rewarded on
363
+ attr_accessor :asset
364
+
365
+ # (integer): The quantity of XCP rewarded per whole unit of the asset
366
+ attr_accessor :quantity_per_unit
367
+
368
+ # (string): Set to "valid" if a valid burn. Any other setting signifies an
369
+ # invalid/improper burn
370
+ attr_accessor :validity
371
+
372
+ # (string, required): The asset that the dividends are paid in.
373
+ attr_accessor :dividend_asset
374
+ end
375
+
376
+ # An object that describes a specific occurance of a user defined asset being
377
+ # issued, or re-issued
378
+ class Issuance < CounterResource
379
+ # (integer): The transaction index
380
+ attr_accessor :tx_index
381
+
382
+ # (string): The transaction hash
383
+ attr_accessor :tx_hash
384
+
385
+ # (integer): The block index (block number in the block chain)
386
+ attr_accessor :block_index
387
+
388
+ # (string): The asset being issued, or re-issued
389
+ attr_accessor :asset
390
+
391
+ # (integer): The quantity of the specified asset being issued
392
+ attr_accessor :quantity
393
+
394
+ # (boolean): Whether or not the asset is divisible (must agree with previous
395
+ # issuances of the asset, if there are any)
396
+ attr_accessor :divisible
397
+
398
+ # issuer (string):
399
+ attr_accessor :issuer
400
+
401
+ # (boolean): Whether or not this objects marks the transfer of ownership
402
+ # rights for the specified quantity of this asset
403
+ attr_accessor :transfer
404
+
405
+ # (string): Set to "valid" if a valid issuance. Any other setting signifies
406
+ # an invalid/improper issuance
407
+ attr_accessor :validity
408
+
409
+ # (string): This is used when creating an issuance, and indicates the source
410
+ # address of the asset
411
+ attr_accessor :source
412
+
413
+ # (string): This is used when creating an issuance, and indicates
414
+ # the destination address of the asset
415
+ attr_accessor :description
416
+
417
+ # (string): This is used when creating an issuance transfer, and indicates
418
+ # the destination address of the asset
419
+ attr_accessor :transfer_destination
420
+ end
421
+
422
+ # An object that describes a specific order.
423
+ class Order < CounterResource
424
+ # (integer): The transaction index
425
+ attr_accessor :tx_index
426
+
427
+ # (string): The transaction hash
428
+ attr_accessor :tx_hash
429
+
430
+ # (integer): The block index (block number in the block chain)
431
+ attr_accessor :block_index
432
+
433
+ # (string): The address that made the order
434
+ attr_accessor :source
435
+
436
+ # (string): The asset being offered
437
+ attr_accessor :give_asset
438
+
439
+ # (integer): The quantity of the specified asset being offered
440
+ attr_accessor :give_quantity
441
+
442
+ # (integer): The quantity of the specified give asset remaining for the order
443
+ attr_accessor :give_remaining
444
+
445
+ # (string): The asset desired in exchange
446
+ attr_accessor :get_asset
447
+
448
+ # (integer): The quantity of the specified asset desired in exchange
449
+ attr_accessor :get_quantity
450
+
451
+ # (integer): The quantity of the specified get asset remaining for the order
452
+ attr_accessor :get_remaining
453
+
454
+ # (float): The given exchange rate (as an exchange ratio desired from the
455
+ # asset offered to the asset desired)
456
+ attr_accessor :price
457
+
458
+ # (integer): The number of blocks over which the order should be valid
459
+ attr_accessor :expiration
460
+
461
+ # (integer): The miners' fee provided; in BTC; required only if selling BTC
462
+ # (should not be lower than is required for acceptance in a block)
463
+ attr_accessor :fee_provided
464
+
465
+ # (integer): The miners' fee required to be paid by orders for them to match
466
+ # this one; in BTC; required only if buying BTC (may be zero, though)
467
+ attr_accessor :fee_required
468
+ end
469
+
470
+ # An object that describes a specific occurance of two orders being matched
471
+ # (either partially, or fully)
472
+ class OrderMatch < CounterResource
473
+ # (integer): The Bitcoin transaction index of the first (earlier) order
474
+ attr_accessor :tx0_index
475
+
476
+ # (string): The Bitcoin transaction hash of the first order
477
+ attr_accessor :tx0_hash
478
+
479
+ # (integer): The Bitcoin block index of the first order
480
+ attr_accessor :tx0_block_index
481
+
482
+ # (integer): The number of blocks over which the first order was valid
483
+ attr_accessor :tx0_expiration
484
+
485
+ # (string): The address that issued the first (earlier) order
486
+ attr_accessor :tx0_address
487
+
488
+ # (integer): The transaction index of the second (matching) order
489
+ attr_accessor :tx1_index
490
+
491
+ # (string): The transaction hash of the second order
492
+ attr_accessor :tx1_hash
493
+
494
+ # (integer): The block index of the second order
495
+ attr_accessor :tx1_block_index
496
+
497
+ # (string): The address that issued the second order
498
+ attr_accessor :tx1_address
499
+
500
+ # (integer): The number of blocks over which the second order was valid
501
+ attr_accessor :tx1_expiration
502
+
503
+ # (string): The asset exchanged FROM the first order to the second order
504
+ attr_accessor :forward_asset
505
+
506
+ # (integer): The quantity of the specified forward asset
507
+ attr_accessor :forward_quantity
508
+
509
+ # (string): The asset exchanged FROM the second order to the first order
510
+ attr_accessor :backward_asset
511
+
512
+ # (integer): The quantity of the specified backward asset
513
+ attr_accessor :backward_quantity
514
+
515
+ # (string): Set to "valid" if a valid order match. Any other setting
516
+ # signifies an invalid/improper order match
517
+ attr_accessor :validity
518
+ end
519
+
520
+ # An object that describes a specific send (e.g. "simple send", of XCP, or a
521
+ # user defined asset).
522
+ class Send < CounterResource
523
+ # (integer): The transaction index
524
+ attr_accessor :tx_index
525
+
526
+ # (string): The transaction hash
527
+ attr_accessor :tx_hash
528
+
529
+ # (integer): The block index (block number in the block chain)
530
+ attr_accessor :block_index
531
+
532
+ # (string): The source address of the send
533
+ attr_accessor :source
534
+
535
+ # (string): The destination address of the send
536
+ attr_accessor :destination
537
+
538
+ # (string): The asset being sent
539
+ attr_accessor :asset
540
+
541
+ # (integer): The quantity of the specified asset sent
542
+ attr_accessor :quantity
543
+
544
+ # (string): Set to "valid" if a valid send. Any other setting signifies an
545
+ # invalid/improper send
546
+ attr_accessor :validity
547
+ end
548
+
549
+ # An object that describes a specific event in the counterpartyd message feed
550
+ # (which can be used by 3rd party applications to track state changes to the
551
+ # counterpartyd database on a block-by-block basis).
552
+ class Message < CounterResource
553
+ # (integer): The message index (i.e. transaction index)
554
+ attr_accessor :message_index
555
+
556
+ # (integer): The block index (block number in the block chain) this event
557
+ # occurred on
558
+ attr_accessor :block_index
559
+
560
+ # (string): A string denoting the entity that the message relates to, e.g.
561
+ # "credits", "burns", "debits". The category matches the relevant table name
562
+ # in counterpartyd (see blocks.py for more info).
563
+ attr_accessor :category
564
+
565
+ # (string): The operation done to the table noted in category. This is
566
+ # either "insert", or "update".
567
+ attr_accessor :command
568
+
569
+ # (string): A JSON-encoded object containing the message data. The
570
+ # properties in this object match the columns in the table referred to by category.
571
+ attr_accessor :bindings
572
+ end
573
+
574
+ # An object that describes a specific asset callback (i.e. the exercising of
575
+ # a call option on an asset owned by the source address).
576
+ class Callback < CounterResource
577
+ # (integer): The transaction index
578
+ attr_accessor :tx_index
579
+
580
+ # (string): The transaction hash
581
+ attr_accessor :tx_hash
582
+
583
+ # (integer): The block index (block number in the block chain)
584
+ attr_accessor :block_index
585
+
586
+ # (string): The source address of the call back (should be the current owner
587
+ # of the asset)
588
+ attr_accessor :source
589
+
590
+ # (integer): A floating point number greater than zero but less than
591
+ # or equal to 1, where 0% is for a callback of 0% of the balance of each of
592
+ # the asset's holders, and 1 would be for a callback of 100%). For example,
593
+ # 0.56 would be 56%. Each holder of the called asset will be paid the call
594
+ # price for the asset, times the number of units of that asset that were
595
+ # called back from them.
596
+ attr_accessor :fraction
597
+
598
+ # asset (string): The asset being called back
599
+ attr_accessor :asset
600
+
601
+ # (string): Set to "valid" if a valid send. Any other setting signifies an
602
+ # invalid/improper send
603
+ attr_accessor :validity
604
+ end
605
+
606
+ # An object that describes the expiration of a bet created by the source
607
+ # address.
608
+ class BetExpiration < CounterResource
609
+ # (integer): The transaction index of the bet expiring
610
+ attr_accessor :bet_index
611
+
612
+ # bet_hash (string): The transaction hash of the bet expiriing
613
+ attr_accessor :bet_hash
614
+
615
+ # (integer): The block index (block number in the block chain) when this
616
+ # expiration occurred
617
+ attr_accessor :block_index
618
+
619
+ # (string): The source address that created the bet
620
+ attr_accessor :source
621
+ end
622
+
623
+ # An object that describes the expiration of an order created by the source
624
+ # address.
625
+ class OrderExpiration < CounterResource
626
+ # (integer): The transaction index of the order expiring
627
+ attr_accessor :order_index
628
+
629
+ # (string): The transaction hash of the order expiriing
630
+ attr_accessor :order_hash
631
+
632
+ # (integer): The block index (block number in the block chain) when this
633
+ # expiration occurred
634
+ attr_accessor :block_index
635
+
636
+ # (string): The source address that created the order
637
+ attr_accessor :source
638
+ end
639
+
640
+ # An object that describes the expiration of a bet match.
641
+ class BetMatchExpiration < CounterResource
642
+ # (integer): The transaction index of the bet match ID (e.g. the
643
+ # concatenation of the tx0 and tx1 hashes)
644
+ attr_accessor :bet_match_id
645
+
646
+ # (string): The tx0 (first) address for the bet match
647
+ attr_accessor :tx0_address
648
+
649
+ # (string): The tx1 (second) address for the bet match
650
+ attr_accessor :tx1_address
651
+
652
+ # (integer): The block index (block number in the block chain) when this
653
+ # expiration occurred
654
+ attr_accessor :block_index
655
+ end
656
+
657
+ # An object that describes the expiration of an order match.
658
+ class OrderMatchExpiration < CounterResource
659
+ # (integer): The transaction index of the order match ID (e.g. the
660
+ # concatenation of the tx0 and tx1 hashes)
661
+ attr_accessor :order_match_id
662
+
663
+ # (string): The tx0 (first) address for the order match
664
+ attr_accessor :tx0_address
665
+
666
+ # (string): The tx1 (second) address for the order match
667
+ attr_accessor :tx1_address
668
+
669
+ # (integer): The block index (block number in the block chain) when this
670
+ # expiration occurred
671
+ attr_accessor :block_index
672
+ end
673
+
674
+ # An object that publishes a compiled serpent contract onto the Counterparty
675
+ # network
676
+ class Publish < CounterResource
677
+ # (string) the source address
678
+ attr_accessor :source
679
+
680
+ # (integer) the price of gas
681
+ attr_accessor :gasprice
682
+
683
+ # (integer) the maximum quantity of {} to be used to pay for the execution (satoshis)
684
+ attr_accessor :startgas
685
+
686
+ # (integer) quantity of {} to be transfered to the contract (satoshis)
687
+ attr_accessor :endowment
688
+
689
+ # (string) the hex‐encoded contract (returned by 'serpent compile')
690
+ attr_accessor :code_hex
691
+ end
692
+
693
+ # An object that executes contract code in the blockchain
694
+ class Execute < CounterResource
695
+ # (string) the source address
696
+ attr_accessor :source
697
+
698
+ # (integer) the price of gas
699
+ attr_accessor :gasprice
700
+
701
+ # (integer) the maximum quantity of {} to be used to pay for the execution (satoshis
702
+ attr_accessor :startgas
703
+
704
+ # (integer) the contract ID of the contract to be executed
705
+ attr_accessor :contract_id
706
+
707
+ # (integer) quantity to be transfered to the contract (satoshis)
708
+ attr_accessor :value
709
+
710
+ # (string) data to be provided to the contract (returned by serpent encode_datalist)
711
+ attr_accessor :payload_hex
712
+ end
713
+ end
@@ -0,0 +1,4 @@
1
+ module Counterparty
2
+ # The library version string
3
+ VERSION = "0.9.0"
4
+ end