Skip to content

Commit

Permalink
strategy version bump (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt authored Feb 13, 2024
1 parent 9435560 commit bb737f3
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ class DonationVotingMerkleDistributionStrategy {
throw new Error("Invalid strategy type");
}
const version = strategyType === types_2.StrategyType.Vault
? "DonationVotingMerkleDistributionVaultStrategyv1.0a"
: "DonationVotingMerkleDistributionDirectTransferStrategyv1.0";
? "DonationVotingMerkleDistributionVaultStrategyv1.1"
: "DonationVotingMerkleDistributionDirectTransferStrategyv1.1";
const bytecode = strategyType === types_2.StrategyType.Vault ? donationVotingVault_config_1.bytecode : donationVotingDirect_config_1.bytecode;
const abi = strategyType === types_2.StrategyType.Vault ? donationVotingVault_config_1.abi : donationVotingDirect_config_1.abi;
const constructorArgs = (0, viem_1.encodeAbiParameters)((0, viem_1.parseAbiParameters)("address, string"), [this.allo.address(), version]);
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@allo-team/allo-v2-sdk",
"version": "1.0.46",
"version": "1.0.47",
"description": "sdk for allo v2",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ export class DonationVotingMerkleDistributionStrategy {

const version =
strategyType === StrategyType.Vault
? "DonationVotingMerkleDistributionVaultStrategyv1.0a"
: "DonationVotingMerkleDistributionDirectTransferStrategyv1.0";
? "DonationVotingMerkleDistributionVaultStrategyv1.1"
: "DonationVotingMerkleDistributionDirectTransferStrategyv1.1";

const bytecode =
strategyType === StrategyType.Vault ? vaultBytecode : directBytecode;
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit bb737f3

Please sign in to comment.