We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cfb9dc commit d01fc62Copy full SHA for d01fc62
1 file changed
src/contract.ts
@@ -92,12 +92,15 @@ export async function newContractTransaction(
92
return tx.build(seed, index);
93
}
94
95
-export async function updateContractTransaction(
+export function updateContractTransaction(
96
archethic: Archethic,
97
contractAddress: string,
98
contract: Contract
99
-): Promise<TransactionBuilder> {
100
- return archethic.transaction.new().setType("transfer").addRecipient(contractAddress, "upgrade", contract);
+): ExtendedTransactionBuilder {
+ return archethic.transaction
101
+ .new()
102
+ .setType("transfer")
103
+ .addRecipient(contractAddress, "upgrade", contract);
104
105
106
export class Contract {
0 commit comments