Preparing search index...
The search index is not available
@sentio/sdk
@sentio/sdk
fuel
FuelContractContext
Class FuelContractContext<TContract>
Type Parameters
TContract
extends
Contract
Hierarchy (
View Summary
)
FuelContext
FuelContractContext
Index
Constructors
constructor
Properties
base
Labels
block
chain
Id
contract
contract
Address
contract
Name
event
Logger
meter
timestamp
transaction
Accessors
provider
store
Methods
get
Chain
Id
get
Meta
Data
get
Meta
Data
Internal
init
Store
set
Log
Index
stop
And
Get
Result
update
Constructors
constructor
new
FuelContractContext
<
TContract
extends
Contract
>
(
chainId
:
FuelChainId
,
contract
:
TContract
,
contractAddress
:
string
,
contractName
:
string
,
timestamp
:
Date
,
transaction
:
null
|
FuelTransaction
,
block
:
null
|
FuelBlock
,
)
:
FuelContractContext
<
TContract
>
Type Parameters
TContract
extends
Contract
Parameters
chainId
:
FuelChainId
contract
:
TContract
contractAddress
:
string
contractName
:
string
timestamp
:
Date
transaction
:
null
|
FuelTransaction
block
:
null
|
FuelBlock
Returns
FuelContractContext
<
TContract
>
Properties
base
Labels
baseLabels
:
Labels
Readonly
block
block
:
null
|
FuelBlock
Readonly
chain
Id
chainId
:
FuelChainId
Readonly
contract
contract
:
TContract
Readonly
contract
Address
contractAddress
:
string
Readonly
contract
Name
contractName
:
string
event
Logger
eventLogger
:
EventLoggerBinding
meter
meter
:
Meter
Readonly
timestamp
timestamp
:
Date
Readonly
transaction
transaction
:
null
|
FuelTransaction
Accessors
provider
get
provider
()
:
Provider
Returns
Provider
store
get
store
()
:
Store
Returns
Store
Methods
get
Chain
Id
getChainId
()
:
FuelChainId
Returns
FuelChainId
get
Meta
Data
getMetaData
(
name
:
string
,
labels
:
Labels
)
:
RecordMetaData
Parameters
name
:
string
labels
:
Labels
Returns
RecordMetaData
Protected
get
Meta
Data
Internal
getMetaDataInternal
(
name
:
string
,
labels
:
Labels
)
:
RecordMetaData
Parameters
name
:
string
labels
:
Labels
Returns
RecordMetaData
init
Store
initStore
()
:
void
Returns
void
set
Log
Index
setLogIndex
(
logIndex
:
number
)
:
void
Parameters
logIndex
:
number
Returns
void
stop
And
Get
Result
stopAndGetResult
()
:
ProcessResult
Returns
ProcessResult
update
update
(
res
:
Partial
<
ProcessResult
>
)
:
void
Parameters
res
:
Partial
<
ProcessResult
>
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
Labels
block
chain
Id
contract
contract
Address
contract
Name
event
Logger
meter
timestamp
transaction
Accessors
provider
store
Methods
get
Chain
Id
get
Meta
Data
get
Meta
Data
Internal
init
Store
set
Log
Index
stop
And
Get
Result
update
@sentio/sdk
Loading...