@oraichain/bitcoin-bridge-contracts-sdk
Advanced tools
Comparing version 1.1.21 to 1.1.36
@@ -135,2 +135,5 @@ /** | ||
registerValidator: (_fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>; | ||
updateFoundationKeys: ({ xpubs, }: { | ||
xpubs: String[]; | ||
}, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>; | ||
relayDeposit: ({ btcHeight, btcProof, btcTx, btcVout, dest, sigsetIndex, }: { | ||
@@ -205,2 +208,5 @@ btcHeight: number; | ||
registerValidator: (_fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>; | ||
updateFoundationKeys: ({ xpubs, }: { | ||
xpubs: String[]; | ||
}, _fee?: number | StdFee | "auto", _memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>; | ||
relayDeposit: ({ btcHeight, btcProof, btcTx, btcVout, dest, sigsetIndex, }: { | ||
@@ -251,1 +257,2 @@ btcHeight: number; | ||
} | ||
//# sourceMappingURL=AppBitcoin.client.d.ts.map |
@@ -213,2 +213,9 @@ "use strict"; | ||
}; | ||
this.updateFoundationKeys = async ({ xpubs, }, _fee = "auto", _memo, _funds) => { | ||
return await this.client.execute(this.sender, this.contractAddress, { | ||
update_foundation_keys: { | ||
xpubs, | ||
}, | ||
}, _fee, _memo, _funds); | ||
}; | ||
this.relayDeposit = async ({ btcHeight, btcProof, btcTx, btcVout, dest, sigsetIndex, }, _fee = "auto", _memo, _funds) => { | ||
@@ -305,2 +312,3 @@ return await this.client.execute(this.sender, this.contractAddress, { | ||
this.registerValidator = this.registerValidator.bind(this); | ||
this.updateFoundationKeys = this.updateFoundationKeys.bind(this); | ||
this.relayDeposit = this.relayDeposit.bind(this); | ||
@@ -307,0 +315,0 @@ this.relayCheckpoint = this.relayCheckpoint.bind(this); |
@@ -46,2 +46,6 @@ export type Addr = string; | ||
} | { | ||
update_foundation_keys: { | ||
xpubs: String[]; | ||
}; | ||
} | { | ||
relay_deposit: { | ||
@@ -101,2 +105,3 @@ btc_height: number; | ||
}; | ||
export type String = string; | ||
export type Binary = string; | ||
@@ -109,3 +114,2 @@ export type Dest = { | ||
export type Signature = number[]; | ||
export type String = string; | ||
export interface Ratio { | ||
@@ -323,2 +327,3 @@ denominator: number; | ||
create_time: number; | ||
foundation_signatories: Signatory[]; | ||
index: number; | ||
@@ -392,1 +397,2 @@ possible_vp: number; | ||
][]; | ||
//# sourceMappingURL=AppBitcoin.types.d.ts.map |
@@ -5,1 +5,2 @@ export * from "./AppBitcoin.client"; | ||
export * as LightClientBitcoinTypes from "./LightClientBitcoin.types"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -63,1 +63,2 @@ /** | ||
} | ||
//# sourceMappingURL=LightClientBitcoin.client.d.ts.map |
@@ -53,1 +53,2 @@ export interface InstantiateMsg { | ||
export type Null = null; | ||
//# sourceMappingURL=LightClientBitcoin.types.d.ts.map |
{ | ||
"name": "@oraichain/bitcoin-bridge-contracts-sdk", | ||
"version": "1.1.21", | ||
"version": "1.1.36", | ||
"main": "build/index.js", | ||
@@ -17,3 +17,3 @@ "files": [ | ||
}, | ||
"gitHead": "97509b69a860fe046e2bd7ee71063943286dc906" | ||
"gitHead": "9e2b5cffb4bc0d163b01eb3211870c5494c8ba38" | ||
} |
Sorry, the diff of this file is not supported yet
165024
28
2241