contracts.ProtocolDiamond
@bosonprotocol/ethers-sdk / Exports / contracts / ProtocolDiamond
Interface: ProtocolDiamond
contracts.ProtocolDiamond
Hierarchy
BaseContract
↳
ProtocolDiamond
Table of contents
Properties
- _deployedPromise
- _runningEvents
- _wrappedEmits
- address
- callStatic
- contractName
- deployTransaction
- estimateGas
- filters
- functions
- interface
- off
- on
- once
- populateTransaction
- provider
- removeListener
- resolvedAddress
- signer
Methods
- _checkRunningEvents
- _deployed
- _wrapEvent
- attach
- connect
- deployed
- emit
- fallback
- listenerCount
- listeners
- queryFilter
- removeAllListeners
Properties
_deployedPromise
• _deployedPromise: Promise
<Contract
>
Inherited from
BaseContract._deployedPromise
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:100
_runningEvents
• _runningEvents: Object
Index signature
▪ [eventTag: string
]: RunningEvent
Inherited from
BaseContract._runningEvents
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:101
_wrappedEmits
• _wrappedEmits: Object
Index signature
▪ [eventTag: string
]: (...args
: any
[]) => void
Inherited from
BaseContract._wrappedEmits
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:104
address
• Readonly
address: string
Inherited from
BaseContract.address
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:79
callStatic
• callStatic: Object
Overrides
BaseContract.callStatic
Defined in
src/contracts/ProtocolDiamond.ts:59
contractName
• contractName: "ProtocolDiamond"
Defined in
src/contracts/ProtocolDiamond.ts:31
deployTransaction
• Readonly
deployTransaction: TransactionResponse
Inherited from
BaseContract.deployTransaction
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:99
estimateGas
• estimateGas: Object
Overrides
BaseContract.estimateGas
Defined in
src/contracts/ProtocolDiamond.ts:63
filters
• filters: Object
Overrides
BaseContract.filters
Defined in
src/contracts/ProtocolDiamond.ts:61
functions
• functions: Object
Overrides
BaseContract.functions
Defined in
src/contracts/ProtocolDiamond.ts:57
interface
• interface: ProtocolDiamondInterface
Overrides
BaseContract.interface
Defined in
src/contracts/ProtocolDiamond.ts:36
off
• off: OnEvent
<ProtocolDiamond
>
Overrides
BaseContract.off
Defined in
src/contracts/ProtocolDiamond.ts:52
on
• on: OnEvent
<ProtocolDiamond
>
Overrides
BaseContract.on
Defined in
src/contracts/ProtocolDiamond.ts:53
once
• once: OnEvent
<ProtocolDiamond
>
Overrides
BaseContract.once
Defined in
src/contracts/ProtocolDiamond.ts:54
populateTransaction
• populateTransaction: Object
Overrides
BaseContract.populateTransaction
Defined in
src/contracts/ProtocolDiamond.ts:65
provider
• Readonly
provider: Provider
Inherited from
BaseContract.provider
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:82
removeListener
• removeListener: OnEvent
<ProtocolDiamond
>
Overrides
BaseContract.removeListener
Defined in
src/contracts/ProtocolDiamond.ts:55
resolvedAddress
• Readonly
resolvedAddress: Promise
<string
>
Inherited from
BaseContract.resolvedAddress
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:98
signer
• Readonly
signer: Signer
Inherited from
BaseContract.signer
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:81
Methods
_checkRunningEvents
▸ _checkRunningEvents(runningEvent
): void
Parameters
Name | Type |
---|---|
runningEvent | RunningEvent |
Returns
void
Inherited from
BaseContract._checkRunningEvents
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:121
_deployed
▸ _deployed(blockTag?
): Promise
<Contract
>
Parameters
Name | Type |
---|---|
blockTag? | BlockTag |
Returns
Promise
<Contract
>
Inherited from
BaseContract._deployed
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:114
_wrapEvent
▸ _wrapEvent(runningEvent
, log
, listener
): Event
Parameters
Name | Type |
---|---|
runningEvent | RunningEvent |
log | Log |
listener | Listener |
Returns
Event
Inherited from
BaseContract._wrapEvent
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:122
attach
▸ attach(addressOrName
): ProtocolDiamond
Parameters
Name | Type |
---|---|
addressOrName | string |
Returns
Overrides
BaseContract.attach
Defined in
src/contracts/ProtocolDiamond.ts:33
connect
▸ connect(signerOrProvider
): ProtocolDiamond
Parameters
Name | Type |
---|---|
signerOrProvider | string | Signer | Provider |
Returns
Overrides
BaseContract.connect
Defined in
src/contracts/ProtocolDiamond.ts:32
deployed
▸ deployed(): Promise
<ProtocolDiamond
>
Returns
Promise
<ProtocolDiamond
>
Overrides
BaseContract.deployed
Defined in
src/contracts/ProtocolDiamond.ts:34
emit
▸ emit(eventName
, ...args
): boolean
Parameters
Name | Type |
---|---|
eventName | string | EventFilter |
...args | any [] |
Returns
boolean
Inherited from
BaseContract.emit
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:127
fallback
▸ fallback(overrides?
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
overrides? | TransactionRequest |
Returns
Promise
<TransactionResponse
>
Inherited from
BaseContract.fallback
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:115
listenerCount
▸ listenerCount(eventName?
): number
Parameters
Name | Type |
---|---|
eventName? | string | EventFilter |
Returns
number
Inherited from
BaseContract.listenerCount
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:128
listeners
▸ listeners<TEvent
>(eventFilter?
): TypedListener
<TEvent
>[]
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
eventFilter? | TypedEventFilter <TEvent > |
Returns
TypedListener
<TEvent
>[]
Overrides
BaseContract.listeners
Defined in
src/contracts/ProtocolDiamond.ts:44
▸ listeners(eventName?
): Listener
[]
Parameters
Name | Type |
---|---|
eventName? | string |
Returns
Listener
[]
Overrides
BaseContract.listeners
Defined in
src/contracts/ProtocolDiamond.ts:47
queryFilter
▸ queryFilter<TEvent
>(event
, fromBlockOrBlockhash?
, toBlock?
): Promise
<TEvent
[]>
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
event | TypedEventFilter <TEvent > |
fromBlockOrBlockhash? | string | number |
toBlock? | string | number |
Returns
Promise
<TEvent
[]>
Overrides
BaseContract.queryFilter
Defined in
src/contracts/ProtocolDiamond.ts:38
removeAllListeners
▸ removeAllListeners<TEvent
>(eventFilter
): ProtocolDiamond
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
eventFilter | TypedEventFilter <TEvent > |
Returns
Overrides
BaseContract.removeAllListeners
Defined in
src/contracts/ProtocolDiamond.ts:48
▸ removeAllListeners(eventName?
): ProtocolDiamond
Parameters
Name | Type |
---|---|
eventName? | string |
Returns
Overrides
BaseContract.removeAllListeners