Registers a new reusable smart contract template from Solidity source code.
SmartContractImplementationReportModel containing:
Smart contract implementation details including type, source code, and metadata.
Represents a request payload for creating a new smart contract implementation.
Type of smart contract implementation to create.
Undefined, AuditRegistryImplementation, AttestationRegistryImplementation, MetaFactoryImplementation, IssuerFactoryImplementation, TokenImplementation "IssuerFactoryImplementation"
Source code of the smart contract in Solidity format.
"pragma solidity ^0.8.0; contract MyContract { }"
Description providing context about the smart contract implementation.
"Enhanced IssuerFactory with improved gas efficiency"
Name of the contract class in the source code that will be compiled and deployed.
"IssuerFactory"
JSON template for metadata that will be used when deploying the contract.
{
"name": "My Token",
"symbol": "MTK",
"decimals": 18
}Smart contract implementation created successfully.
Wrapper for API operation results containing success status, error information, and return value.
True if the operation completed successfully, false otherwise.
true
True if the operation failed, false otherwise.
false
Error information returned when the operation fails.
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}The result value returned when the operation is successful.
{
"id": 1,
"type": "IssuerFactoryImplementation",
"version": 2,
"description": "Enhanced IssuerFactory with improved gas efficiency",
"contractClassName": "IssuerFactory"
}