Skip to content

Commit

Permalink
Rename array to Array
Browse files Browse the repository at this point in the history
  • Loading branch information
icyblob committed Jan 24, 2025
1 parent b0a52a7 commit d087b1c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/contracts/MsVault.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ struct MSVAULT : public ContractBase
{
uint64 vaultType;
id vaultName;
array<id, MSVAULT_MAX_OWNERS> owners;
Array<id, MSVAULT_MAX_OWNERS> owners;
uint16 numberOfOwners;
uint64 balance;
bit isActive;
array<uint64, MSVAULT_MAX_OWNERS> releaseAmounts;
array<id, MSVAULT_MAX_OWNERS> releaseDestinations;
Array<uint64, MSVAULT_MAX_OWNERS> releaseAmounts;
Array<id, MSVAULT_MAX_OWNERS> releaseDestinations;
};

struct MSVaultLogger
Expand Down Expand Up @@ -109,7 +109,7 @@ struct MSVAULT : public ContractBase
struct registerVault_input
{
id vaultName;
array<id, MSVAULT_MAX_OWNERS> owners;
Array<id, MSVAULT_MAX_OWNERS> owners;
uint64 vaultType;
};
struct registerVault_output
Expand Down Expand Up @@ -224,8 +224,8 @@ struct MSVAULT : public ContractBase
struct getVaults_output
{
uint64 numberOfVaults;
array<uint64, MSVAULT_MAX_COOWNER> vaultIds;
array<id, MSVAULT_MAX_COOWNER> vaultNames;
Array<uint64, MSVAULT_MAX_COOWNER> vaultIds;
Array<id, MSVAULT_MAX_COOWNER> vaultNames;
};
struct getVaults_locals
{
Expand All @@ -241,8 +241,8 @@ struct MSVAULT : public ContractBase
struct getReleaseStatus_output
{
bit status;
array<uint64, MSVAULT_MAX_OWNERS> amounts;
array<id, MSVAULT_MAX_OWNERS> destinations;
Array<uint64, MSVAULT_MAX_OWNERS> amounts;
Array<id, MSVAULT_MAX_OWNERS> destinations;
};
struct getReleaseStatus_locals
{
Expand Down Expand Up @@ -327,7 +327,7 @@ struct MSVAULT : public ContractBase
{
bit status;
uint64 numberOfOwners;
array<id, MSVAULT_MAX_OWNERS> owners;
Array<id, MSVAULT_MAX_OWNERS> owners;
};

struct BEGIN_EPOCH_locals
Expand All @@ -350,7 +350,7 @@ struct MSVAULT : public ContractBase

protected:
// Contract states
array<Vault, MSVAULT_MAX_VAULTS> vaults;
Array<Vault, MSVAULT_MAX_VAULTS> vaults;

uint64 numberOfActiveVaults;
uint64 totalRevenue;
Expand Down

0 comments on commit d087b1c

Please sign in to comment.