Returns the ImmutableSplitsDriver
contract address to which the client is connected.
Returns the client's provider
.
Returns the client's signer
.
The signer
is the provider
's signer.
Creates a new user ID, configures its splits configuration and emits its metadata. The configuration is immutable and nobody can control the user ID after its creation. Calling this function is the only way and the only chance to emit metadata for that user.
The splits receivers.
The list of user metadata to emit for the created user. Note that a metadata key
needs to be 32bytes.
Tip: you might want to use Utils.UserMetadata.createFromStrings
to easily create metadata instances from string
inputs.
A Promise
which resolves to the new user ID.
Creates a new immutable ImmutableSplitsDriverClient
instance.
The network provider. It cannot be changed after creation.
The provider
must be connected to one of the following supported networks:
1
5
80001
The singer used to sign transactions. It cannot be changed after creation.
Important: If the signer
is not connected to a provider it will try to connect to the provider
, else it will use the signer.provider
.
Overrides the NFTDriver
contract address.
If it's undefined
(default value), the address will be automatically selected based on the provider
's network.
A Promise
which resolves to the new client instance.
Generated using TypeDoc
A client for creating immutable splits configurations.
Anybody can create a new
userId
and configure its splits configuration, but nobody can update its configuration afterwards, it's immutable.ImmutableSplitsDriver contract.