diff --git a/src/contractsTypes/icp/bridge/bridge.ts b/src/contractsTypes/icp/bridge/bridge.ts index 8c78ce07..96b03cd1 100644 --- a/src/contractsTypes/icp/bridge/bridge.ts +++ b/src/contractsTypes/icp/bridge/bridge.ts @@ -90,11 +90,17 @@ export const idlFactory = ({ IDL }) => { [IDL.Opt(IDL.Bool)], ['query'], ), + 'get_claim_nonce' : IDL.Func([], [IDL.Nat], ['query']), 'get_claimed_data' : IDL.Func( [IDL.Text], [IDL.Opt(ClaimedEvent)], ['query'], ), + 'get_hash_from_claim_nonce' : IDL.Func( + [IDL.Nat], + [IDL.Opt(IDL.Text)], + ['query'], + ), 'get_hash_from_nonce' : IDL.Func([IDL.Nat], [IDL.Opt(IDL.Text)], ['query']), 'get_locked_data' : IDL.Func([IDL.Text], [IDL.Opt(LockedEvent)], ['query']), 'get_nonce' : IDL.Func([], [IDL.Nat], ['query']), diff --git a/src/contractsTypes/icp/bridge/bridge.types.ts b/src/contractsTypes/icp/bridge/bridge.types.ts index 21647150..8e36e577 100644 --- a/src/contractsTypes/icp/bridge/bridge.types.ts +++ b/src/contractsTypes/icp/bridge/bridge.types.ts @@ -64,7 +64,9 @@ export interface XPBridge { >, 'encode_claim_data' : ActorMethod<[ClaimData], Uint8Array | number[]>, 'get_blacklisted_validators' : ActorMethod<[string], [] | [boolean]>, + 'get_claim_nonce' : ActorMethod<[], bigint>, 'get_claimed_data' : ActorMethod<[string], [] | [ClaimedEvent]>, + 'get_hash_from_claim_nonce' : ActorMethod<[bigint], [] | [string]>, 'get_hash_from_nonce' : ActorMethod<[bigint], [] | [string]>, 'get_locked_data' : ActorMethod<[string], [] | [LockedEvent]>, 'get_nonce' : ActorMethod<[], bigint>,