Preparing search index...
The search index is not available
OPNet
OPNet
IOP_NETContract
Interface IOP_NETContract
Description
This interface represents the OP_NET base contract. IOP_NETContract
Cathegory
Contracts
interface
IOP_NETContract
{
address
:
BitcoinAddressLike
;
decodeEvent
(
event
:
NetEvent
)
:
OPNetEvent
<
{}
>
;
decodeEvents
(
events
:
ContractEvents
|
NetEvent
[]
)
:
OPNetEvent
<
{}
>
[]
;
encodeCalldata
(
method
:
string
,
...
args
:
unknown
[]
)
:
Buffer
;
isAddressOwner
(
address
:
BitcoinAddressLike
)
:
Promise
<
BaseContractProperty
>
;
owner
(
)
:
Promise
<
BaseContractProperty
>
;
setSender
(
sender
:
BitcoinAddressLike
)
:
void
;
}
Hierarchy (
view full
)
BaseContractProperties
IOP_NETContract
IOP_20Contract
IMotoswapFactoryContract
IMotoswapRouterContract
Index
Properties
address
Methods
decode
Event
decode
Events
encode
Calldata
is
Address
Owner
owner
set
Sender
Properties
Readonly
address
address
:
BitcoinAddressLike
Methods
decode
Event
decode
Event
(
event
)
:
OPNetEvent
<
{}
>
Parameters
event
:
NetEvent
Returns
OPNetEvent
<
{}
>
decode
Events
decode
Events
(
events
)
:
OPNetEvent
<
{}
>
[]
Parameters
events
:
ContractEvents
|
NetEvent
[]
Returns
OPNetEvent
<
{}
>
[]
encode
Calldata
encode
Calldata
(
method
,
...
args
)
:
Buffer
Parameters
method
:
string
Rest
...
args
:
unknown
[]
Returns
Buffer
is
Address
Owner
is
Address
Owner
(
address
)
:
Promise
<
BaseContractProperty
>
Parameters
address
:
BitcoinAddressLike
Returns
Promise
<
BaseContractProperty
>
owner
owner
(
)
:
Promise
<
BaseContractProperty
>
Returns
Promise
<
BaseContractProperty
>
set
Sender
set
Sender
(
sender
)
:
void
Parameters
sender
:
BitcoinAddressLike
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
address
Methods
decode
Event
decode
Events
encode
Calldata
is
Address
Owner
owner
set
Sender
OPNet
Loading...
Description
This interface represents the OP_NET base contract. IOP_NETContract
Cathegory
Contracts