Private
constructorPrivate
_tryTry to get the token address given an address (returns if valid) or the token symbol via the resolver.
token address
Create a BatchCall
class from the Framework
.
the list of operations to execute
BatchCall
class
Create a signer which can be used to sign transactions.
Create a signer which can be used to sign transactions.
ethers.Signer
object
a Web3Provider object (e.g. client side - metamask, web3modal)
an ethers Provider object (e.g. via Hardhat ethers)
a test account private key
a signer object (e.g. ethers.Wallet instance)
ethers.Signer
object
Loads NativeAssetSuperToken
class from the Framework
. Will throw if token is not NativeAssetSuperToken.
Loads NativeAssetSuperToken
class from the Framework
. Will throw if token is not NativeAssetSuperToken.
NativeAssetSuperToken
class
NativeAssetSuperToken
class
Loads PureSuperToken
class from the Framework
. Will throw if token is not PureSuperToken.
Loads PureSuperToken
class from the Framework
. Will throw if token is not PureSuperToken.
PureSuperToken
class
PureSuperToken
class
Loads SuperToken
class from the Framework
. Use this when you're unsure of the token type.
Loads SuperToken
class from the Framework
. Use this when you're unsure of the token type.
the SuperToken
address or symbol (if symbol, it must be on the resolver)
SuperToken
class
the SuperToken
address or symbol (if symbol, it must be on the resolver)
SuperToken
class
Loads WrapperSuperToken
class from the Framework
. Will throw if token is not WrapperSuperToken.
Loads WrapperSuperToken
class from the Framework
. Will throw if token is not WrapperSuperToken.
WrapperSuperToken
class
WrapperSuperToken
class
Create an Operation
class from the Framework
.
Create an Operation
class from the Framework
.
the populated transaction to execute
the operation type
Operation
class
the populated transaction to execute
the operation type
Operation
class
Readonly
userStatic
createCreates the Framework object based on user provided options
.
the chainId of your desired network (e.g. 137 = matic)
your custom subgraph endpoint
a custom resolver address (advanced use for testing)
a custom release version (advanced use for testing)
a provider object (injected web3, injected ethers, ethers provider) necessary for initializing the framework
Framework
class
Generated using TypeDoc
Superfluid Framework Class
Description
The entrypoint for the SDK-core,
create
an instance of this for full functionality.