OPNet
Preparing search index...
IOP_NETContract
Interface IOP_NETContract
Description
This interface represents the OP_NET base contract. IOP_NETContract
Cathegory
Contracts
interface
IOP_NETContract
{
address
:
string
|
Address
;
get
p2opOrTweaked
()
:
string
;
currentGasParameters
()
:
Promise
<
BlockGasParameters
>
;
decodeEvent
(
event
:
NetEvent
)
:
OPNetEvent
;
decodeEvents
(
events
:
ContractEvents
|
NetEvent
[]
)
:
OPNetEvent
<
{}
>
[]
;
deployer
()
:
Promise
<
CallResult
<
{
deployer
:
Address
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
;
encodeCalldata
(
method
:
string
,
...
args
:
unknown
[]
)
:
Buffer
;
setAccessList
(
accessList
:
IAccessList
)
:
void
;
setSender
(
sender
:
Address
)
:
void
;
setSimulatedHeight
(
height
:
undefined
|
bigint
)
:
void
;
setTransactionDetails
(
tx
:
ParsedSimulatedTransaction
)
:
void
;
[
key
:
symbol
]:
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
;
}
Hierarchy (
View Summary
)
BaseContractProperties
IOP_NETContract
IMotoswapFactoryContract
IMotoswapRouterContract
INativeSwapContract
IOP20Contract
IOP721
Indexable
[
key
:
symbol
]:
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
Index
Properties
address
Accessors
p2op
Or
Tweaked
Methods
current
Gas
Parameters
decode
Event
decode
Events
deployer
encode
Calldata
set
Access
List
set
Sender
set
Simulated
Height
set
Transaction
Details
Properties
Readonly
address
address
:
string
|
Address
Accessors
p2op
Or
Tweaked
get
p2opOrTweaked
()
:
string
Returns
string
Methods
current
Gas
Parameters
currentGasParameters
()
:
Promise
<
BlockGasParameters
>
Returns
Promise
<
BlockGasParameters
>
decode
Event
decodeEvent
(
event
:
NetEvent
)
:
OPNetEvent
Parameters
event
:
NetEvent
Returns
OPNetEvent
decode
Events
decodeEvents
(
events
:
ContractEvents
|
NetEvent
[]
)
:
OPNetEvent
<
{}
>
[]
Parameters
events
:
ContractEvents
|
NetEvent
[]
Returns
OPNetEvent
<
{}
>
[]
deployer
deployer
()
:
Promise
<
CallResult
<
{
deployer
:
Address
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
Returns
Promise
<
CallResult
<
{
deployer
:
Address
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
encode
Calldata
encodeCalldata
(
method
:
string
,
...
args
:
unknown
[]
)
:
Buffer
Parameters
method
:
string
...
args
:
unknown
[]
Returns
Buffer
set
Access
List
setAccessList
(
accessList
:
IAccessList
)
:
void
Parameters
accessList
:
IAccessList
Returns
void
set
Sender
setSender
(
sender
:
Address
)
:
void
Parameters
sender
:
Address
Returns
void
set
Simulated
Height
setSimulatedHeight
(
height
:
undefined
|
bigint
)
:
void
Parameters
height
:
undefined
|
bigint
Returns
void
set
Transaction
Details
setTransactionDetails
(
tx
:
ParsedSimulatedTransaction
)
:
void
Parameters
tx
:
ParsedSimulatedTransaction
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
address
Accessors
p2op
Or
Tweaked
Methods
current
Gas
Parameters
decode
Event
decode
Events
deployer
encode
Calldata
set
Access
List
set
Sender
set
Simulated
Height
set
Transaction
Details
OPNet
Loading...
Description
This interface represents the OP_NET base contract. IOP_NETContract
Cathegory
Contracts