Skip to content

Commit

Permalink
chore: rename ipfsHash to cid (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabin54 authored Aug 12, 2024
1 parent 2eb2f17 commit 7a94387
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"typescript": "^5.4.5"
},
"dependencies": {
"@morpho-org/blue-rewards-core-sdk": "0.0.8",
"@morpho-org/blue-rewards-core-sdk": "0.0.9",
"@morpho-org/morpho-ts": "^1.4.5",
"viem": "^2.9.31"
},
Expand Down
4 changes: 2 additions & 2 deletions src/airdrop-programs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type AirdropRewardProgramArgs = {
urdAddress: Address;
tokenAddress: Address;
chainId: ChainId;
ipfsHash: string;
cidV0: string;
};

/**
Expand All @@ -18,7 +18,7 @@ export type AirdropRewardProgramArgs = {
* fundsSender: "0xF057afeEc22E220f47AD4220871364e9E828b2e9",
* urdAddress: "0x330eefa8a787552dc5cad3c3ca644844b1e61ddb",
* tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
* ipfsHash: "QmUSNh34dpKFbX7YMU4fd5JbfkVYzb4e45o3pSqqXvzkKw",
* cidV0: "QmUSNh34dpKFbX7YMU4fd5JbfkVYzb4e45o3pSqqXvzkKw",
* chainId: ChainId.MAINNET
* }
* ]
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ function toAirdropRewardProgram(args: AirdropRewardProgramArgs): AirdropRewardPr
asset,
distributor,
chainId: args.chainId,
ipfsHash: args.ipfsHash,
cidV0: args.cidV0,
});
}
20 changes: 13 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -594,22 +594,28 @@
"@jridgewell/resolve-uri" "^3.1.0"
"@jridgewell/sourcemap-codec" "^1.4.14"

"@morpho-org/[email protected].8":
version "0.0.8"
resolved "https://registry.yarnpkg.com/@morpho-org/blue-rewards-core-sdk/-/blue-rewards-core-sdk-0.0.8.tgz#5401475dc1e0ef7d481fc1060150150e063b0bff"
integrity sha512-W62jOiMlXqcrDSJeUb3F66NoYC+DAEThQ8FwbEfdmwRJCB9ljUiXgPUGi1CdpowX0XdjQHBeglsILncqDItnKA==
"@morpho-org/[email protected].9":
version "0.0.9"
resolved "https://registry.yarnpkg.com/@morpho-org/blue-rewards-core-sdk/-/blue-rewards-core-sdk-0.0.9.tgz#4613f434715bbec177b35925504d5870a6cdff72"
integrity sha512-jXncQHWipkHo47PCJSgcx3n21HtjcZawNKkqOwWhhBPP/E/2APEguELBWQv9qhHcgPn+/HJ2gtiKdJrUwPxuHw==
dependencies:
"@morpho-org/blue-sdk" "^1.0.6"
"@morpho-org/morpho-ts" "^1.4.4"
bs58 "^5.0.0"
viem "^2.9.31"

"@morpho-org/blue-sdk@^1.0.6":
version "1.4.5"
resolved "https://registry.yarnpkg.com/@morpho-org/blue-sdk/-/blue-sdk-1.4.5.tgz#e93b05b725cd790d36aa0e62e5153d9e0b53e8e7"
integrity sha512-d6rNEAqPjeoQ1KqjGa2WdrhyghFdR3jL5mx4noEPI8AdcTBZl8Xs04vs8xIH0ZYBU7jp4Uh+YTPXz/yQlZ5zNw==
version "1.5.7"
resolved "https://registry.yarnpkg.com/@morpho-org/blue-sdk/-/blue-sdk-1.5.7.tgz#9931d922a6d01bb2106b0550b9d66dd9221d08c2"
integrity sha512-46fscBApabmMAxHnqG09Npx1fmnd+ikeyN/1u6GZ64ecm2jITrM9wTNRg7pKcPfd3Q7b6qCACrNyYsBlAZhDNg==
dependencies:
keccak256 "^1.0.6"

"@morpho-org/morpho-ts@^1.4.4":
version "1.5.7"
resolved "https://registry.yarnpkg.com/@morpho-org/morpho-ts/-/morpho-ts-1.5.7.tgz#7a1c595e36e8523b19cb5ebcb2dbe0ecbf43a0e1"
integrity sha512-DmOE/wXyv8oC56LIF/cw7YT7OYpy7Vo/gKu+/pgG8jqvQh1AYb7GelBvoKF31d4jk0ERzlsowpIcKQoCtkQfLQ==

"@morpho-org/morpho-ts@^1.4.5":
version "1.4.5"
resolved "https://registry.yarnpkg.com/@morpho-org/morpho-ts/-/morpho-ts-1.4.5.tgz#1bb3e266a033a38958746be9b3d380deca0470ec"
Expand Down

0 comments on commit 7a94387

Please sign in to comment.