Skip to content

Commit

Permalink
Strategy update (#497)
Browse files Browse the repository at this point in the history
* strategy update

* add migration contract

* fix version
  • Loading branch information
0xKurt authored Mar 19, 2024
1 parent d07d282 commit 409f25f
Show file tree
Hide file tree
Showing 4 changed files with 978 additions and 429 deletions.
10 changes: 5 additions & 5 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -622,11 +622,11 @@ const CHAINS: Chain[] = [
fromBlock: 123566896,
},
// Allo V1 -> V2 Migration
// {
// contractName: "AlloV2/AlloV1ToV2ProfileMigration",
// address: "0x",
// fromBlock: 0,
// },
{
contractName: "AlloV2/AlloV1ToV2ProfileMigration",
address: "0x1bFda15Ad5FC82E74Da81F0B8DcA486b3Ad14c71",
fromBlock: 191943906,
},
// Allo V2
{
address: "0x4aacca72145e1df2aec137e1f3c5e3d75db8b5f3",
Expand Down
34 changes: 22 additions & 12 deletions src/indexer/abis/allo-v2/v1/DirectGrantsSimpleStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ export default [
name: "NONCE_NOT_AVAILABLE",
type: "error",
},
{
inputs: [],
name: "NON_ZERO_VALUE",
type: "error",
},
{
inputs: [],
name: "NOT_APPROVED_STRATEGY",
Expand Down Expand Up @@ -429,15 +434,15 @@ export default [
inputs: [
{
indexed: false,
internalType: "uint128",
internalType: "uint64",
name: "registrationStartTime",
type: "uint128",
type: "uint64",
},
{
indexed: false,
internalType: "uint128",
internalType: "uint64",
name: "registrationEndTime",
type: "uint128",
type: "uint64",
},
{
indexed: false,
Expand Down Expand Up @@ -922,9 +927,9 @@ export default [
name: "registrationEndTime",
outputs: [
{
internalType: "uint128",
internalType: "uint64",
name: "",
type: "uint128",
type: "uint64",
},
],
stateMutability: "view",
Expand All @@ -935,9 +940,9 @@ export default [
name: "registrationStartTime",
outputs: [
{
internalType: "uint128",
internalType: "uint64",
name: "",
type: "uint128",
type: "uint64",
},
],
stateMutability: "view",
Expand Down Expand Up @@ -986,6 +991,11 @@ export default [
name: "_status",
type: "uint8",
},
{
internalType: "bytes32",
name: "milestonesHash",
type: "bytes32",
},
],
name: "reviewSetMilestones",
outputs: [],
Expand Down Expand Up @@ -1122,14 +1132,14 @@ export default [
{
inputs: [
{
internalType: "uint128",
internalType: "uint64",
name: "_registrationStartTime",
type: "uint128",
type: "uint64",
},
{
internalType: "uint128",
internalType: "uint64",
name: "_registrationEndTime",
type: "uint128",
type: "uint64",
},
],
name: "updatePoolTimestamps",
Expand Down
Loading

0 comments on commit 409f25f

Please sign in to comment.