-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.evm.<internal>.LiqualityHTLC
@liquality/evm..LiqualityHTLC
-
BaseContract
↳
LiqualityHTLC
- callStatic
- contractName
- estimateGas
- filters
- functions
- interface
- off
- on
- once
- populateTransaction
- removeListener
• callStatic: Object
Name | Type |
---|---|
claim |
(id : BytesLike , secret : BytesLike , overrides? : CallOverrides ) => Promise <void > |
htlcs |
(arg0 : BytesLike , overrides? : CallOverrides ) => Promise <[BigNumber , BigNumber , string , string , string , string ] & { amount : BigNumber ; expiration : BigNumber ; recipientAddress : string ; refundAddress : string ; secretHash : string ; tokenAddress : string }> |
initiate |
(htlc : HTLCDataStruct , overrides? : CallOverrides ) => Promise <string > |
refund |
(id : BytesLike , overrides? : CallOverrides ) => Promise <void > |
BaseContract.callStatic
evm/lib/typechain/LiqualityHTLC.ts:191
• contractName: "LiqualityHTLC"
evm/lib/typechain/LiqualityHTLC.ts:103
• estimateGas: Object
Name | Type |
---|---|
claim |
(id : BytesLike , secret : BytesLike , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
htlcs |
(arg0 : BytesLike , overrides? : CallOverrides ) => Promise <BigNumber > |
initiate |
(htlc : HTLCDataStruct , overrides? : PayableOverrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
refund |
(id : BytesLike , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
BaseContract.estimateGas
evm/lib/typechain/LiqualityHTLC.ts:234
• filters: Object
Name | Type |
---|---|
Claim |
(id? : BytesLike , secret? : null ) => ClaimEventFilter
|
Claim(bytes32,bytes32) |
(id? : BytesLike , secret? : null ) => ClaimEventFilter
|
Initiate |
(id? : null , htlc? : null ) => InitiateEventFilter
|
Initiate(bytes32,tuple) |
(id? : null , htlc? : null ) => InitiateEventFilter
|
Refund |
(id? : BytesLike ) => RefundEventFilter
|
Refund(bytes32) |
(id? : BytesLike ) => RefundEventFilter
|
BaseContract.filters
evm/lib/typechain/LiqualityHTLC.ts:220
• functions: Object
Name | Type |
---|---|
claim |
(id : BytesLike , secret : BytesLike , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
htlcs |
(arg0 : BytesLike , overrides? : CallOverrides ) => Promise <[BigNumber , BigNumber , string , string , string , string ] & { amount : BigNumber ; expiration : BigNumber ; recipientAddress : string ; refundAddress : string ; secretHash : string ; tokenAddress : string }> |
initiate |
(htlc : HTLCDataStruct , overrides? : PayableOverrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
refund |
(id : BytesLike , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
BaseContract.functions
evm/lib/typechain/LiqualityHTLC.ts:129
• interface: LiqualityHTLCInterface
BaseContract.interface
evm/lib/typechain/LiqualityHTLC.ts:108
• off: OnEvent
<LiqualityHTLC
>
BaseContract.off
evm/lib/typechain/LiqualityHTLC.ts:124
• on: OnEvent
<LiqualityHTLC
>
BaseContract.on
evm/lib/typechain/LiqualityHTLC.ts:125
• once: OnEvent
<LiqualityHTLC
>
BaseContract.once
evm/lib/typechain/LiqualityHTLC.ts:126
• populateTransaction: Object
Name | Type |
---|---|
claim |
(id : BytesLike , secret : BytesLike , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
htlcs |
(arg0 : BytesLike , overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
initiate |
(htlc : HTLCDataStruct , overrides? : PayableOverrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
refund |
(id : BytesLike , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
BaseContract.populateTransaction
evm/lib/typechain/LiqualityHTLC.ts:254
• removeListener: OnEvent
<LiqualityHTLC
>
BaseContract.removeListener
evm/lib/typechain/LiqualityHTLC.ts:127
▸ attach(addressOrName
): LiqualityHTLC
Name | Type |
---|---|
addressOrName |
string |
BaseContract.attach
evm/lib/typechain/LiqualityHTLC.ts:105
▸ claim(id
, secret
, overrides?
): Promise
<ContractTransaction
>
Name | Type |
---|---|
id |
BytesLike |
secret |
BytesLike |
overrides? |
Overrides & { from? : string | Promise <string > } |
Promise
<ContractTransaction
>
evm/lib/typechain/LiqualityHTLC.ts:161
▸ connect(signerOrProvider
): LiqualityHTLC
Name | Type |
---|---|
signerOrProvider |
string | Provider | Signer
|
BaseContract.connect
evm/lib/typechain/LiqualityHTLC.ts:104
▸ deployed(): Promise
<LiqualityHTLC
>
Promise
<LiqualityHTLC
>
BaseContract.deployed
evm/lib/typechain/LiqualityHTLC.ts:106
▸ htlcs(arg0
, overrides?
): Promise
<[BigNumber
, BigNumber
, string
, string
, string
, string
] & { amount
: BigNumber
; expiration
: BigNumber
; recipientAddress
: string
; refundAddress
: string
; secretHash
: string
; tokenAddress
: string
}>
Name | Type |
---|---|
arg0 |
BytesLike |
overrides? |
CallOverrides |
Promise
<[BigNumber
, BigNumber
, string
, string
, string
, string
] & { amount
: BigNumber
; expiration
: BigNumber
; recipientAddress
: string
; refundAddress
: string
; secretHash
: string
; tokenAddress
: string
}>
evm/lib/typechain/LiqualityHTLC.ts:167
▸ initiate(htlc
, overrides?
): Promise
<ContractTransaction
>
Name | Type |
---|---|
htlc |
HTLCDataStruct |
overrides? |
PayableOverrides & { from? : string | Promise <string > } |
Promise
<ContractTransaction
>
evm/lib/typechain/LiqualityHTLC.ts:181
▸ listeners<TEvent
>(eventFilter?
): TypedListener
<TEvent
>[]
Name | Type |
---|---|
TEvent |
extends TypedEvent <any , any , TEvent > |
Name | Type |
---|---|
eventFilter? |
TypedEventFilter <TEvent > |
TypedListener
<TEvent
>[]
BaseContract.listeners
evm/lib/typechain/LiqualityHTLC.ts:116
▸ listeners(eventName?
): Listener
[]
Name | Type |
---|---|
eventName? |
string |
Listener
[]
BaseContract.listeners
evm/lib/typechain/LiqualityHTLC.ts:119
▸ queryFilter<TEvent
>(event
, fromBlockOrBlockhash?
, toBlock?
): Promise
<TEvent
[]>
Name | Type |
---|---|
TEvent |
extends TypedEvent <any , any , TEvent > |
Name | Type |
---|---|
event |
TypedEventFilter <TEvent > |
fromBlockOrBlockhash? |
string | number
|
toBlock? |
string | number
|
Promise
<TEvent
[]>
BaseContract.queryFilter
evm/lib/typechain/LiqualityHTLC.ts:110
▸ refund(id
, overrides?
): Promise
<ContractTransaction
>
Name | Type |
---|---|
id |
BytesLike |
overrides? |
Overrides & { from? : string | Promise <string > } |
Promise
<ContractTransaction
>
evm/lib/typechain/LiqualityHTLC.ts:186
▸ removeAllListeners<TEvent
>(eventFilter
): LiqualityHTLC
Name | Type |
---|---|
TEvent |
extends TypedEvent <any , any , TEvent > |
Name | Type |
---|---|
eventFilter |
TypedEventFilter <TEvent > |
BaseContract.removeAllListeners
evm/lib/typechain/LiqualityHTLC.ts:120
▸ removeAllListeners(eventName?
): LiqualityHTLC
Name | Type |
---|---|
eventName? |
string |
BaseContract.removeAllListeners
evm/lib/typechain/LiqualityHTLC.ts:123