Skip to content

Commit

Permalink
Add PullSplit to resources
Browse files Browse the repository at this point in the history
  • Loading branch information
huy-nodeset committed Jun 11, 2024
1 parent 080b8cf commit 7c419b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shared/config/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ type StakewiseResources struct {
// All node op rewards will live here; to claim them, call `Withdraw`.
// See https://docs.splits.org/core/warehouse
SplitWarehouse *common.Address

// The address of the PullSplit contract used to manage recipients/allocations and distributions
// See https://docs.splits.org/core/split-v2
PullSplit *common.Address
}

// Creates a new resource collection for the given network
Expand All @@ -39,6 +43,7 @@ func newStakewiseResources(network config.Network) *StakewiseResources {
Vault: nil,
FeeRecipient: nil,
SplitWarehouse: nil,
PullSplit: nil,
}

// Holesky
Expand All @@ -48,6 +53,7 @@ func newStakewiseResources(network config.Network) *StakewiseResources {
Vault: config.HexToAddressPtr("0x646F5285D195e08E309cF9A5aDFDF68D6Fcc51C4"),
FeeRecipient: config.HexToAddressPtr("0xc98F25BcAA6B812a07460f18da77AF8385be7b56"),
SplitWarehouse: config.HexToAddressPtr("0x8fb66F38cF86A3d5e8768f8F1754A24A6c661Fb8"),
PullSplit: config.HexToAddressPtr("0xAefad0Baa37e1BAF14404bcc2c5E91e4B41c929B"),
}

// Holesky Dev
Expand All @@ -57,6 +63,7 @@ func newStakewiseResources(network config.Network) *StakewiseResources {
Vault: config.HexToAddressPtr("0xf8763855473ce978232bBa37ef90fcFc8aAE10d1"),
FeeRecipient: config.HexToAddressPtr("0xc98F25BcAA6B812a07460f18da77AF8385be7b56"),
SplitWarehouse: config.HexToAddressPtr("0x8fb66F38cF86A3d5e8768f8F1754A24A6c661Fb8"),
PullSplit: config.HexToAddressPtr("0xAefad0Baa37e1BAF14404bcc2c5E91e4B41c929B"),
}
holeskyDevResources.Network = hdconfig.Network_HoleskyDev

Expand Down

0 comments on commit 7c419b1

Please sign in to comment.