Smart Contracts (Testnet)

Module: ewills908
back to overview
ewills908
Methods: 16
Instances: 1
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "notary": "<AccountAddress>",
  "will_file": "<String>",
  "will_hash": "<String of size 64 containing lowercase hex characters.>"
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParamsError": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "OnlyAccount": []
            },
            {
              "IncorrectHash": []
            },
            {
              "NoWill": []
            },
            {
              "NoActiveWill": []
            },
            {
              "NotaryCantBeTestator": []
            },
            {
              "WillAlreadyNotarized": []
            },
            {
              "IncorrectNotary": []
            },
            {
              "NotNotarized": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidTokenId": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
{
  "owner": "<AccountAddress>",
  "token_id": "<String with lowercase hex>"
}
Errors
None
Return
"<UInt32>"

Parameters
{
  "owner": "<AccountAddress>",
  "token_id": "<String with lowercase hex>"
}
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "e_seal": {
            "timestamp": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
                  ]
                }
              ]
            },
            "witness": [
              "<AccountAddress>"
            ]
          },
          "mod_history": [
            {
              "mod_type": {
                "Enum": [
                  {
                    "Mint": []
                  },
                  {
                    "Notarized": []
                  },
                  {
                    "Revoke": []
                  },
                  {
                    "Revived": []
                  }
                ]
              },
              "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
            }
          ],
          "notarized": "<Bool>",
          "notary": "<AccountAddress>",
          "will_file": "<String>",
          "will_hash": "<String of size 64 containing lowercase hex characters.>"
        }
      ]
    }
  ]
}

Parameters
{
  "testator": "<AccountAddress>",
  "token_id": "<String with lowercase hex>",
  "will_hash": "<String of size 64 containing lowercase hex characters.>",
  "witness": [
    "<AccountAddress>"
  ]
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "OnlyAccount": []
    },
    {
      "IncorrectHash": []
    },
    {
      "NoWill": []
    },
    {
      "NoActiveWill": []
    },
    {
      "NotaryCantBeTestator": []
    },
    {
      "WillAlreadyNotarized": []
    },
    {
      "IncorrectNotary": []
    },
    {
      "NotNotarized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "InvalidTokenId": []
    }
  ]
}
Return
None

Parameters
{
  "owner": "<AccountAddress>",
  "token_id": "<String with lowercase hex>"
}
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "e_seal": {
            "timestamp": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
                  ]
                }
              ]
            },
            "witness": [
              "<AccountAddress>"
            ]
          },
          "mod_history": [
            {
              "mod_type": {
                "Enum": [
                  {
                    "Mint": []
                  },
                  {
                    "Notarized": []
                  },
                  {
                    "Revoke": []
                  },
                  {
                    "Revived": []
                  }
                ]
              },
              "timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
            }
          ],
          "notarized": "<Bool>",
          "notary": "<AccountAddress>",
          "will_file": "<String>",
          "will_hash": "<String of size 64 containing lowercase hex characters.>"
        }
      ]
    }
  ]
}

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "OnlyAccount": []
    },
    {
      "IncorrectHash": []
    },
    {
      "NoWill": []
    },
    {
      "NoActiveWill": []
    },
    {
      "NotaryCantBeTestator": []
    },
    {
      "WillAlreadyNotarized": []
    },
    {
      "IncorrectNotary": []
    },
    {
      "NotNotarized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "InvalidTokenId": []
    }
  ]
}
Return
"<Bool>"

Parameters
{
  "owner": "<AccountAddress>",
  "token_id": "<String with lowercase hex>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "OnlyAccount": []
    },
    {
      "IncorrectHash": []
    },
    {
      "NoWill": []
    },
    {
      "NoActiveWill": []
    },
    {
      "NotaryCantBeTestator": []
    },
    {
      "WillAlreadyNotarized": []
    },
    {
      "IncorrectNotary": []
    },
    {
      "NotNotarized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "InvalidTokenId": []
    }
  ]
}
Return
"<Bool>"

Parameters
{
  "owner": "<AccountAddress>",
  "token_id": "<String with lowercase hex>"
}
Errors
None
Return
"<Bool>"

Parameters
{
  "owner": "<AccountAddress>",
  "token_id": "<String with lowercase hex>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "OnlyAccount": []
    },
    {
      "IncorrectHash": []
    },
    {
      "NoWill": []
    },
    {
      "NoActiveWill": []
    },
    {
      "NotaryCantBeTestator": []
    },
    {
      "WillAlreadyNotarized": []
    },
    {
      "IncorrectNotary": []
    },
    {
      "NotNotarized": []
    },
    {
      "InvokeContractError": []
    },
    {
      "InvalidTokenId": []
    }
  ]
}
Return
"<Bool>"

Parameters
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParamsError": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "OnlyAccount": []
            },
            {
              "IncorrectHash": []
            },
            {
              "NoWill": []
            },
            {
              "NoActiveWill": []
            },
            {
              "NotaryCantBeTestator": []
            },
            {
              "WillAlreadyNotarized": []
            },
            {
              "IncorrectNotary": []
            },
            {
              "NotNotarized": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidTokenId": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<String of size at most 74 containing an unsigned integer.>"
]

Parameters
[
  {
    "amount": "<String of size at most 74 containing an unsigned integer.>",
    "data": [
      "<UInt8>"
    ],
    "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": [
            {
              "ParseParamsError": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "OnlyAccount": []
            },
            {
              "IncorrectHash": []
            },
            {
              "NoWill": []
            },
            {
              "NoActiveWill": []
            },
            {
              "NotaryCantBeTestator": []
            },
            {
              "WillAlreadyNotarized": []
            },
            {
              "IncorrectNotary": []
            },
            {
              "NotNotarized": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidTokenId": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

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": [
            {
              "ParseParamsError": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "OnlyAccount": []
            },
            {
              "IncorrectHash": []
            },
            {
              "NoWill": []
            },
            {
              "NoActiveWill": []
            },
            {
              "NotaryCantBeTestator": []
            },
            {
              "WillAlreadyNotarized": []
            },
            {
              "IncorrectNotary": []
            },
            {
              "NotNotarized": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidTokenId": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  "<Bool>"
]

Parameters
[
  "<String with lowercase hex>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParamsError": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "OnlyAccount": []
            },
            {
              "IncorrectHash": []
            },
            {
              "NoWill": []
            },
            {
              "NoActiveWill": []
            },
            {
              "NotaryCantBeTestator": []
            },
            {
              "WillAlreadyNotarized": []
            },
            {
              "IncorrectNotary": []
            },
            {
              "NotNotarized": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidTokenId": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  }
]

Parameters
[
  "<String>"
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParamsError": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "OnlyAccount": []
            },
            {
              "IncorrectHash": []
            },
            {
              "NoWill": []
            },
            {
              "NoActiveWill": []
            },
            {
              "NotaryCantBeTestator": []
            },
            {
              "WillAlreadyNotarized": []
            },
            {
              "IncorrectNotary": []
            },
            {
              "NotNotarized": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidTokenId": []
            }
          ]
        }
      ]
    }
  ]
}
Return
[
  {
    "Enum": [
      {
        "NoSupport": []
      },
      {
        "Support": []
      },
      {
        "SupportBy": [
          [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        ]
      }
    ]
  }
]

Parameters
{
  "id": "<String>",
  "implementors": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ]
}
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParamsError": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "OnlyAccount": []
            },
            {
              "IncorrectHash": []
            },
            {
              "NoWill": []
            },
            {
              "NoActiveWill": []
            },
            {
              "NotaryCantBeTestator": []
            },
            {
              "WillAlreadyNotarized": []
            },
            {
              "IncorrectNotary": []
            },
            {
              "NotNotarized": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidTokenId": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None

Parameters
[
  {
    "operator": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "update": {
      "Enum": [
        {
          "Remove": []
        },
        {
          "Add": []
        }
      ]
    }
  }
]
Errors
{
  "Enum": [
    {
      "InvalidTokenId": []
    },
    {
      "InsufficientFunds": []
    },
    {
      "Unauthorized": []
    },
    {
      "Custom": [
        {
          "Enum": [
            {
              "ParseParamsError": []
            },
            {
              "LogFull": []
            },
            {
              "LogMalformed": []
            },
            {
              "OnlyAccount": []
            },
            {
              "IncorrectHash": []
            },
            {
              "NoWill": []
            },
            {
              "NoActiveWill": []
            },
            {
              "NotaryCantBeTestator": []
            },
            {
              "WillAlreadyNotarized": []
            },
            {
              "IncorrectNotary": []
            },
            {
              "NotNotarized": []
            },
            {
              "InvokeContractError": []
            },
            {
              "InvalidTokenId": []
            }
          ]
        }
      ]
    }
  ]
}
Return
None
Address
🗎<5700,0>


Release: 2024.12
Support CCDExplorer.io Uptime Backend Status CCDExplorer is supported by AesirX - Decentralized Consent & Data Ownership