Smart Contracts (Testnet)

Module: ewills152
back to overview
ewills152
Methods: 8
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": [
    {
      "ParseParamsError": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "OnlyAccount": []
    },
    {
      "NotaryCantBeTestator": []
    },
    {
      "IncorrectHash": []
    },
    {
      "NoWill": []
    },
    {
      "WillAlreadyNotarized": []
    },
    {
      "IncorrectNotary": []
    }
  ]
}
Return
None

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

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

Parameters
{
  "owner": "<AccountAddress>",
  "will_id": "<UInt32>"
}
Errors
None
Return
{
  "e_seal": {
    "timestamp": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
          ]
        }
      ]
    },
    "witness": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<AccountAddress>"
          ]
        }
      ]
    }
  },
  "is_notarized": "<Bool>",
  "notary": "<AccountAddress>",
  "will_file": "<String>",
  "will_hash": "<String of size 64 containing lowercase hex characters.>"
}

Parameters
{
  "owner": "<AccountAddress>",
  "will_id": "<UInt32>"
}
Errors
None
Return
"<UInt32>"

Parameters
{
  "owner": "<AccountAddress>",
  "will_id": "<UInt32>"
}
Errors
None
Return
"<Bool>"

Parameters
{
  "owner": "<AccountAddress>",
  "will_id": "<UInt32>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "OnlyAccount": []
    },
    {
      "NotaryCantBeTestator": []
    },
    {
      "IncorrectHash": []
    },
    {
      "NoWill": []
    },
    {
      "WillAlreadyNotarized": []
    },
    {
      "IncorrectNotary": []
    }
  ]
}
Return
"<Bool>"

Parameters
None
Errors
None
Return
"<Bool>"
Address
🗎<5161,0>


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