sdk
Typescript SDK Package
Classes
| Class | Description |
|---|---|
| App | A class representing a App contract that extends the BaseContract class. BaseContract |
| BaseContract | Creates a new instance of the BaseContract which manages the provider and signer |
| Constellation | Represents an ERC20 contract instance with utility methods to interact with an ERC20 contract ERC20 BaseContract |
| ERC20Base | Represents an ERC20 contract instance with utility methods to interact with an ERC20 contract ERC20 BaseContract |
| ERC721Base | Represents an ERC721 contract instance with utility methods to interact with an ERC721 contract ERC721 BaseContract |
| ERC721LazyDrop | A class representing a ERC721LazyDrop contract that extends the BaseContract class. BaseContract |
| ERC721LazyMint | Represents an ERC721 contract instance with utility methods to interact with an ERC721 contract ERC721 BaseContract |
| Factory | A class representing a Factory contract that extends the BaseContract class. BaseContract |
| OpenFormatSDK | Creates a new instance of the Open Format SDK |
| Reward | A class representing a Reward contract that extends the BaseContract class. RewardContract |
| Subgraph | Creates a new Subgraph instance |
Enumerations
| Enumeration | Description |
|---|---|
| ActivityType | |
| ContractErrors | |
| ContractType | |
| ImplementationType | |
| RewardType |
Functions
| Function | Description |
|---|---|
| fromWei(amount) | Convert a wei amount as a BigNumber to its decimal Ether representation (ETH) as a string. |
| toWei(amount) | Convert a decimal Ether amount (ETH) to its smallest unit (wei) as a BigNumber. |
Interfaces
Variables
| Variable | Description |
|---|---|
| ADMIN_ROLE | |
| Chains | |
| constellationFactoryContracts | |
| MINTER_ROLE | |
| polygonMumbai | |
| starFactoryContracts | |
| Subgraphs |
Type Aliases
| Type Alias | Description |
|---|---|
| ChainId | |
| ClaimCondition | |
| GetContractParameters | |
| OpenFormatContract |