fix: rename tokens to lamports

This commit is contained in:
Michael Vines
2019-03-05 17:52:13 -08:00
parent 09b6d2b764
commit be8821e0d0
12 changed files with 68 additions and 68 deletions

View File

@@ -38,7 +38,7 @@ export type TimestampCondition = {
* Represents a payment to a given public key
*
* @typedef {Object} Payment
* @property {number} amount Number of tokens
* @property {number} amount Number of lamports
* @property {PublicKey} to Public key of the recipient
*/
export type Payment = {
@@ -177,7 +177,7 @@ export class BudgetProgram {
}
/**
* Generates a transaction that transfers tokens once any of the conditions are met
* Generates a transaction that transfers lamports once any of the conditions are met
*/
static pay(
from: PublicKey,
@@ -258,7 +258,7 @@ export class BudgetProgram {
}
/**
* Generates a transaction that transfers tokens once both conditions are met
* Generates a transaction that transfers lamports once both conditions are met
*/
static payOnBoth(
from: PublicKey,