@aldea/compiler / "aldea/coin" / Coin
Class: Coin
"aldea/coin".Coin
Coin class
Built in Jig that proxies calls to the VM for handling.
Hierarchy
↳
Coin
Implements
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new Coin(): Coin
Returns
Overrides
Defined in
index.d.ts:133
Properties
$lock
• Readonly
$lock: Lock
Inherited from
Defined in
index.d.ts:76
$output
• Readonly
$output: Output
Inherited from
Defined in
index.d.ts:75
Accessors
amount
• get
amount(): number
Returns
number
Implementation of
Defined in
index.d.ts:134
Methods
combine
▸ combine(coins
): Coin
Parameters
Name | Type |
---|---|
coins | Coin [] |
Returns
Implementation of
Defined in
index.d.ts:136
send
▸ send(motos
): Coin
Parameters
Name | Type |
---|---|
motos | number |
Returns
Implementation of
Defined in
index.d.ts:135