File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -245,8 +245,8 @@ export class Canton extends BaseCoin {
245245 if ( params . txRequestId ) {
246246 intent . txRequestId = params . txRequestId ;
247247 }
248- if ( params . contractId ) {
249- intent . contractId = params . contractId ;
248+ if ( params . transferId ) {
249+ intent . transferId = params . transferId ;
250250 }
251251 }
252252}
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export abstract class MpcUtils {
142142 }
143143
144144 if ( params . intentType === 'transferOfferWithdrawn' && baseCoin . getFamily ( ) === 'canton' ) {
145- assert ( params . contractId , `'contractId ' is required parameter for ${ params . intentType } intent` ) ;
145+ assert ( params . transferId , `'transferId ' is required parameter for ${ params . intentType } intent` ) ;
146146 }
147147
148148 if (
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ export interface PrebuildTransactionWithIntentOptions extends IntentOptionsBase
270270 } ;
271271 txRequestId ?: string ;
272272 isTestTransaction ?: boolean ;
273- contractId ?: string ;
273+ transferId ?: string ;
274274}
275275export interface IntentRecipient {
276276 address : {
@@ -341,7 +341,7 @@ export interface PopulatedIntent extends PopulatedIntentBase {
341341 aptosCustomTransactionParams ?: aptosCustomTransactionParams ;
342342 txRequestId ?: string ;
343343 isTestTransaction ?: boolean ;
344- contractId ?: string ;
344+ transferId ?: string ;
345345}
346346
347347export type TxRequestState =
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ export interface PrebuildTransactionOptions {
218218 } ;
219219 txRequestId ?: string ;
220220 isTestTransaction ?: boolean ;
221- contractId ?: string ;
221+ transferId ?: string ;
222222}
223223
224224export interface PrebuildAndSignTransactionOptions extends PrebuildTransactionOptions , WalletSignTransactionOptions {
Original file line number Diff line number Diff line change @@ -3719,8 +3719,8 @@ export class Wallet implements IWallet {
37193719 {
37203720 reqId,
37213721 intentType : 'transferOfferWithdrawn' ,
3722- contractId : params . contractId ,
3723- sequenceId : params . contractId ,
3722+ transferId : params . transferId ,
3723+ sequenceId : params . transferId ,
37243724 } ,
37253725 apiVersion ,
37263726 params . preview
You can’t perform that action at this time.
0 commit comments