Skip to content

Commit

Permalink
Refactor harvesters (#284)
Browse files Browse the repository at this point in the history
* Clean harvester1
* Rename harvester1 to contracter closes #283
* Rename harvester3 to harvester closes #283
* Move contracter test files to package folder
* Contracter listen for TransferOdyssey events on BC
* Fix tests
  • Loading branch information
terbooter authored Oct 30, 2023
1 parent 9126d1b commit 11908be
Show file tree
Hide file tree
Showing 45 changed files with 1,152 additions and 2,150 deletions.
87 changes: 0 additions & 87 deletions cmd/harvester/arbitrum_harvester/main.go

This file was deleted.

52 changes: 0 additions & 52 deletions cmd/harvester/arbitrum_harvester_start/main.go

This file was deleted.

65 changes: 0 additions & 65 deletions cmd/harvester/arbitrum_table/main.go

This file was deleted.

97 changes: 0 additions & 97 deletions cmd/harvester/harvester/main.go

This file was deleted.

59 changes: 0 additions & 59 deletions cmd/harvester/table/main.go

This file was deleted.

2 changes: 2 additions & 0 deletions config/Arbitrum.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type Arbitrum struct {
DADTokenAddress string `yaml:"arbitrum_dad_token_address" envconfig:"ARBITRUM_DAD_TOKEN_ADDRESS"`
StakeAddress string `yaml:"arbitrum_stake_token_address" envconfig:"ARBITRUM_STAKE_ADDRESS"`
NFTAddress string `yaml:"arbitrum_nft_address" envconfig:"ARBITRUM_NFT_ADDRESS"`
NodeAddress string `yaml:"arbitrum_node_address" envconfig:"ARBITRUM_NODE_ADDRESS"`
MintNFTAmount string `json:"arbitrum_mint_nft_amount" envconfig:"ARBITRUM_MINT_NFT_AMOUNT"`
MintNFTDeposit string `json:"arbitrum_mint_nft_deposit_address" envconfig:"ARBITRUM_MINT_NFT_DEPOSIT_ADDRESS"`
FaucetAddress string `yaml:"arbitrum_faucet_address" envconfig:"ARBITRUM_FAUCET_ADDRESS"`
Expand All @@ -20,6 +21,7 @@ func (a *Arbitrum) Init() {
a.DADTokenAddress = "0xfCa1B6bD67AeF9a9E7047bf7D3949f40E8dde18d"
a.StakeAddress = "0x18f3FEE919DBc22b5a68401298B01dcd46ab8665"
a.NFTAddress = "0xbc48cb82903f537614E0309CaF6fe8cEeBa3d174"
a.NodeAddress = "0x19DcA2dd179A260e9Fe88ea6c821d237EA10Bfd8"
a.FaucetAddress = "0x9E760F1CddA0694B6156076C60657118CF874289"
a.MintNFTAmount = "4.20"
a.MintNFTDeposit = "0x683642c22feDE752415D4793832Ab75EFdF6223c"
Expand Down
Loading

0 comments on commit 11908be

Please sign in to comment.