Module mint_wizard_100101_V3
Module Info
Module Name mint_wizard_100101_V3
Module Reference fc11efdb4f
Deployed in block 17,100,318
Deployed in tx 4f1f
Age 207 days
Sender 87725
Methods 15
Instances 0
Module Usage
Module Schema
Initialization

Parameters
{
  "premint_tokens": [
    [
      "<String with lowercase hex>",
      [
        {
          "hash": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String of size 64 containing lowercase hex characters.>"
                ]
              }
            ]
          },
          "url": "<String>"
        },
        {
          "amount": "<String of size at most 74 containing an unsigned integer.>",
          "max_supply": "<String of size at most 74 containing an unsigned integer.>"
        }
      ]
    ]
  ]
}
Errors
None
Event
{
  "Enum": [
    {
      "TokenMetadata": {
        "metadata_url": {
          "hash": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String of size 64 containing lowercase hex characters.>"
                ]
              }
            ]
          },
          "url": "<String>"
        },
        "token_id": "<String with lowercase hex>"
      }
    },
    {
      "UpdateOperator": {
        "operator": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "owner": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "update": {
          "Enum": [
            {
              "Remove": []
            },
            {
              "Add": []
            }
          ]
        }
      }
    },
    {
      "Burn": {
        "amount": "<String of size at most 74 containing an unsigned integer.>",
        "owner": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "token_id": "<String with lowercase hex>"
      }
    },
    {
      "Mint": {
        "amount": "<String of size at most 74 containing an unsigned integer.>",
        "owner": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "token_id": "<String with lowercase hex>"
      }
    },
    {
      "Transfer": {
        "amount": "<String of size at most 74 containing an unsigned integer.>",
        "from": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "to": {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        "token_id": "<String with lowercase hex>"
      }
    }
  ]
}
Methods

Parameters
None
Errors
None
Return
{
  "implementors": [
    [
      "<String>",
      [
        {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        }
      ]
    ]
  ],
  "nonces_registry": [
    [
      "<AccountAddress>",
      "<UInt64>"
    ]
  ],
  "roles": [
    [
      {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      },
      [
        {
          "Enum": [
            {
              "ADMIN": []
            },
            {
              "MINTER": []
            }
          ]
        }
      ]
    ]
  ],
  "state": [
    [
      {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      },
      {
        "balances": [
          [
            "<String with lowercase hex>",
            "<String of size at most 74 containing an unsigned integer.>"
          ]
        ],
        "operators": [
          {
            "Enum": [
              {
                "Account": [
                  "<AccountAddress>"
                ]
              },
              {
                "Contract": [
                  {
                    "index": "<UInt64>",
                    "subindex": "<UInt64>"
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  ],
  "tokens": [
    "<String with lowercase hex>"
  ]
}

Parameters
{
  "owner": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "tokens": [
    [
      "<String with lowercase hex>",
      [
        {
          "hash": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  "<String of size 64 containing lowercase hex characters.>"
                ]
              }
            ]
          },
          "url": "<String>"
        },
        {
          "amount": "<String of size at most 74 containing an unsigned integer.>",
          "max_supply": "<String of size at most 74 containing an unsigned integer.>"
        }
      ]
    ]
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  {
    "amount": "<String of size at most 74 containing an unsigned integer.>",
    "data": "<String with lowercase hex>",
    "from": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "to": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            },
            "<String>"
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "contract_address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "entry_point": "<String>",
  "nonce": "<UInt64>",
  "payload": [
    "<UInt8>"
  ],
  "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
Errors
None
Return
None

Parameters
{
  "message": {
    "contract_address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "entry_point": "<String>",
    "nonce": "<UInt64>",
    "payload": [
      "<UInt8>"
    ],
    "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
  },
  "signature": [
    [
      "<UInt8>",
      [
        [
          "<UInt8>",
          {
            "Enum": [
              {
                "Ed25519": [
                  "<String of size 128 containing lowercase hex characters.>"
                ]
              }
            ]
          }
        ]
      ]
    ]
  ],
  "signer": "<AccountAddress>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>"
]

Parameters
{
  "message": {
    "contract_address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "entry_point": "<String>",
    "nonce": "<UInt64>",
    "payload": [
      "<UInt8>"
    ],
    "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
  },
  "signature": [
    [
      "<UInt8>",
      [
        [
          "<UInt8>",
          {
            "Enum": [
              {
                "Ed25519": [
                  "<String of size 128 containing lowercase hex characters.>"
                ]
              }
            ]
          }
        ]
      ]
    ]
  ],
  "signer": "<AccountAddress>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  {
    "operator": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "update": {
      "Enum": [
        {
          "Remove": []
        },
        {
          "Add": []
        }
      ]
    }
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<String of size at most 74 containing an unsigned integer.>"
]

Parameters
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "owner": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    }
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<Bool>"
]

Parameters
[
  "<String with lowercase hex>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  }
]

Parameters
[
  "<String>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "Enum": [
      {
        "NoSupport": []
      },
      {
        "Support": []
      },
      {
        "SupportBy": [
          [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        ]
      }
    ]
  }
]

Parameters
{
  "queries": [
    "<String>"
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "Enum": [
      {
        "NoSupport": []
      },
      {
        "Support": []
      },
      {
        "SupportBy": [
          [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        ]
      }
    ]
  }
]

Parameters
{
  "id": "<String>",
  "implementors": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParams": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "InvalidContractName": []
            },
            {
              "ContractOnly": []
            },
            {
              "InvokeContractError": []
            },
            {
              "MissingAccount": []
            },
            {
              "MalformedData": []
            },
            {
              "WrongSignature": []
            },
            {
              "NonceMismatch": []
            },
            {
              "WrongContract": []
            },
            {
              "WrongEntryPoint": []
            },
            {
              "Expired": []
            },
            {
              "RoleWasNotGranted": []
            },
            {
              "RoleWasAlreadyGranted": []
            },
            {
              "MaxSupplyReached": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "address": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "role": {
    "Enum": [
      {
        "ADMIN": []
      },
      {
        "MINTER": []
      }
    ]
  }
}
Errors
None
Return
None

Parameters
{
  "address": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "role": {
    "Enum": [
      {
        "ADMIN": []
      },
      {
        "MINTER": []
      }
    ]
  }
}
Errors
None
Return
None