Skip to content

Commit

Permalink
rename properties to parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppecrj committed Sep 10, 2024

Verified

This commit was signed with the committer’s verified signature.
giuseppecrj Giuseppe Rodriguez
1 parent f1642e4 commit 553277e
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions contracts/src/spaces/entitlements/ICrossChainEntitlement.sol
Original file line number Diff line number Diff line change
@@ -7,16 +7,16 @@ pragma solidity ^0.8.23;

// contracts
interface ICrossChainEntitlement {
struct Property {
struct Parameter {
string name;
string primitive;
string description;
}

function isEntitled(
address[] calldata users,
bytes calldata data
bytes calldata parameters
) external view returns (bool);

function properties() external view returns (Property[] memory);
function parameters() external view returns (Parameter[] memory);
}
6 changes: 3 additions & 3 deletions contracts/src/spaces/entitlements/poap/PoapEntitlement.sol
Original file line number Diff line number Diff line change
@@ -29,9 +29,9 @@ contract PoapEntitlement is ICrossChainEntitlement {
return false;
}

function properties() external pure returns (Property[] memory) {
Property[] memory schema = new Property[](1);
schema[0] = Property(
function parameters() external pure returns (Parameter[] memory) {
Parameter[] memory schema = new Parameter[](1);
schema[0] = Parameter(
"eventId",
"uint256",
"The ID of the event associated with the POAP token"

0 comments on commit 553277e

Please sign in to comment.