@heliofi/evm-adapter
Advanced tools
Comparing version 2.0.5-test to 2.0.5
@@ -66,3 +66,3 @@ "use strict"; | ||
], | ||
name: 'Payment2', | ||
name: 'Payment', | ||
type: 'event', | ||
@@ -69,0 +69,0 @@ }, |
export * from './helio'; | ||
export * from './helioOld'; | ||
export * from './erc20'; | ||
export * from './erc721'; | ||
export * from './erc1155'; |
@@ -18,3 +18,2 @@ "use strict"; | ||
__exportStar(require("./helio"), exports); | ||
__exportStar(require("./helioOld"), exports); | ||
__exportStar(require("./erc20"), exports); | ||
@@ -21,0 +20,0 @@ __exportStar(require("./erc721"), exports); |
import { RecipientAndAmount } from './types'; | ||
type BasePaymentEvent = { | ||
export type PaymentEvent = { | ||
sender: string; | ||
recipient: string; | ||
transferAmount: bigint; | ||
feeAmount: bigint; | ||
transactionDbId: string; | ||
}; | ||
export type PaymentEvent = BasePaymentEvent & { | ||
tokenAddress: string; | ||
}; | ||
export type EthPaymentEvent = BasePaymentEvent; | ||
export type SplitPaymentEvent = BasePaymentEvent & { | ||
tokenAddress: string; | ||
splitData: RecipientAndAmount[]; | ||
}; | ||
export type SplitEthPaymentEvent = BasePaymentEvent & { | ||
splitData: RecipientAndAmount[]; | ||
}; | ||
export type Payment2Event = { | ||
sender: string; | ||
tokenAddress: string; | ||
transferAmount: bigint; | ||
@@ -28,8 +10,3 @@ splitData: RecipientAndAmount[]; | ||
export declare enum EventName { | ||
PAYMENT = "Payment", | ||
PAYMENT2 = "Payment2", | ||
ETH_PAYMENT = "EthPayment", | ||
SPLIT_PAYMENT = "SplitPayment", | ||
SPLIT_ETH_PAYMENT = "SplitEthPayment" | ||
PAYMENT = "Payment" | ||
} | ||
export {}; |
@@ -7,7 +7,3 @@ "use strict"; | ||
EventName["PAYMENT"] = "Payment"; | ||
EventName["PAYMENT2"] = "Payment2"; | ||
EventName["ETH_PAYMENT"] = "EthPayment"; | ||
EventName["SPLIT_PAYMENT"] = "SplitPayment"; | ||
EventName["SPLIT_ETH_PAYMENT"] = "SplitEthPayment"; | ||
})(EventName = exports.EventName || (exports.EventName = {})); | ||
//# sourceMappingURL=events.js.map |
{ | ||
"name": "@heliofi/evm-adapter", | ||
"version": "2.0.5-test", | ||
"version": "2.0.5", | ||
"description": "API to interact with Helio Finances program on EVM chains.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
82572
1783