@wormhole-foundation/sdk-definitions
Advanced tools
Comparing version 0.2.3-beta.1 to 0.2.4-beta.0
@@ -26,6 +26,6 @@ import { Chain, Network, Platform, PlatformToChains } from "@wormhole-foundation/sdk-base"; | ||
export interface AutomaticTokenBridge<N extends Network, P extends Platform, C extends PlatformToChains<P>> { | ||
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, relayerFee: bigint, nativeGas?: bigint): AsyncGenerator<UnsignedTransaction<N, C>>; | ||
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, nativeGas?: bigint): AsyncGenerator<UnsignedTransaction<N, C>>; | ||
redeem(sender: AccountAddress<C>, vaa: TokenBridge.VAA<"TransferWithPayload">): AsyncGenerator<UnsignedTransaction<N, C>>; | ||
getRelayerFee(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<Chain> | "native"): Promise<bigint>; | ||
getRelayerFee(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C> | "native"): Promise<bigint>; | ||
} | ||
//# sourceMappingURL=tokenBridge.d.ts.map |
@@ -26,6 +26,6 @@ import { Chain, Network, Platform, PlatformToChains } from "@wormhole-foundation/sdk-base"; | ||
export interface AutomaticTokenBridge<N extends Network, P extends Platform, C extends PlatformToChains<P>> { | ||
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, relayerFee: bigint, nativeGas?: bigint): AsyncGenerator<UnsignedTransaction<N, C>>; | ||
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, nativeGas?: bigint): AsyncGenerator<UnsignedTransaction<N, C>>; | ||
redeem(sender: AccountAddress<C>, vaa: TokenBridge.VAA<"TransferWithPayload">): AsyncGenerator<UnsignedTransaction<N, C>>; | ||
getRelayerFee(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<Chain> | "native"): Promise<bigint>; | ||
getRelayerFee(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C> | "native"): Promise<bigint>; | ||
} | ||
//# sourceMappingURL=tokenBridge.d.ts.map |
{ | ||
"name": "@wormhole-foundation/sdk-definitions", | ||
"version": "0.2.3-beta.1", | ||
"version": "0.2.4-beta.0", | ||
"repository": { | ||
@@ -33,4 +33,4 @@ "type": "git", | ||
"@noble/hashes": "^1.3.1", | ||
"@wormhole-foundation/sdk-base": "^0.2.3-beta.1" | ||
"@wormhole-foundation/sdk-base": "^0.2.4-beta.0" | ||
} | ||
} |
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
Sorry, the diff of this file is not supported yet
691943