Search
Preparing search index...
The search index is not available
@webb-tools/protocol-solidity
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@webb-tools/protocol-solidity
Tokens
Treasury
Class Treasury
Hierarchy
Treasury
Index
Constructors
constructor
Properties
RESCUE_
TOKENS_
SIGNATURE
SET_
HANDLER_
SIGNATURE
contract
signer
Methods
create
Resource
Id
get
Rescue
Tokens
Proposal
Data
get
Set
Handler
Proposal
Data
connect
create
Treasury
Constructors
constructor
new
Treasury
(
contract
:
Contracts
.
Treasury
, signer
:
Signer
)
:
Tokens
.
Treasury
Parameters
contract:
Contracts
.
Treasury
signer:
Signer
Returns
Tokens
.
Treasury
Properties
RESCUE_
TOKENS_
SIGNATURE
RESCUE_
TOKENS_
SIGNATURE
:
string
= "rescueTokens(address,address,uint256,uint256)"
SET_
HANDLER_
SIGNATURE
SET_
HANDLER_
SIGNATURE
:
string
= "setHandler(address,uint256)"
contract
contract
:
Contracts
.
Treasury
signer
signer
:
Signer
Methods
create
Resource
Id
create
Resource
Id
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Rescue
Tokens
Proposal
Data
get
Rescue
Tokens
Proposal
Data
(
tokenAddress
:
string
, to
:
string
, amountToRescue
:
BigNumber
)
:
Promise
<
string
>
Parameters
tokenAddress:
string
to:
string
amountToRescue:
BigNumber
Returns
Promise
<
string
>
Proposal data for rescue tokens proposal
get
Set
Handler
Proposal
Data
get
Set
Handler
Proposal
Data
(
newHandler
:
string
)
:
Promise
<
string
>
Parameters
newHandler:
string
Returns
Promise
<
string
>
Static
connect
connect
(
address
:
string
, signer
:
Signer
)
:
Tokens
.
Treasury
Parameters
address:
string
signer:
Signer
Returns
Tokens
.
Treasury
Static
create
Treasury
create
Treasury
(
treasuryHandler
:
string
, deployer
:
Signer
)
:
Promise
<
Tokens
.
Treasury
>
Parameters
treasuryHandler:
string
deployer:
Signer
Returns
Promise
<
Tokens
.
Treasury
>
Exports
Anchors
Bridges
Contracts
Interfaces
Merkle
Tree
Tokens
Utility
VBridge
Treasury
constructor
RESCUE_
TOKENS_
SIGNATURE
SET_
HANDLER_
SIGNATURE
contract
signer
create
Resource
Id
get
Rescue
Tokens
Proposal
Data
get
Set
Handler
Proposal
Data
connect
create
Treasury
Generated using
TypeDoc