Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
barak manos committed Jun 4, 2024
1 parent 7ce4735 commit 14b4976
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 42 deletions.
10 changes: 0 additions & 10 deletions fastlane_bot/config/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,6 @@ class _ConfigNetworkMainnet(ConfigNetwork):
# FACTORY, CONVERTER, AND CONTROLLER ADDRESSES
#######################################################################################
BANCOR_V3_NETWORK_INFO_ADDRESS = "0x8E303D296851B320e6a697bAcB979d13c9D6E760"
BANCOR_V3_NETWORK_ADDRESS = "0xeEF417e1D5CC832e619ae18D2F140De2999dD4fB"
BANCOR_V3_NETWORK_SETTINGS = "0x83E1814ba31F7ea95D216204BB45FE75Ce09b14F"
BANCOR_V3_VAULT = "0x649765821D9f64198c905eC0B2B037a4a52Bc373"
BANCOR_V3_POOL_COLLECTOR_ADDRESS = "0xde1B3CcfC45e3F5bff7f43516F2Cd43364D883E4"
BANCOR_V2_CONVERTER_REGISTRY_ADDRESS = "0xC0205e203F423Bcd8B2a4d6f8C8A154b0Aa60F19"
# FASTLANE_CONTRACT_ADDRESS = "0x51a6D03B156af044bda570CF35a919DB851Cebd1"
FASTLANE_CONTRACT_ADDRESS = "0x41Eeba3355d7D6FF628B7982F3F9D055c39488cB"
CARBON_CONTROLLER_ADDRESS = "0xC537e898CD774e2dCBa3B14Ea6f34C93d5eA45e1"
Expand Down Expand Up @@ -844,11 +839,6 @@ class _ConfigNetworkTenderly(ConfigNetwork):
# FACTORY, CONVERTER, AND CONTROLLER ADDRESSES
#######################################################################################
BANCOR_V3_NETWORK_INFO_ADDRESS = "0x8E303D296851B320e6a697bAcB979d13c9D6E760"
BANCOR_V3_NETWORK_ADDRESS = "0xeEF417e1D5CC832e619ae18D2F140De2999dD4fB"
BANCOR_V3_NETWORK_SETTINGS = "0x83E1814ba31F7ea95D216204BB45FE75Ce09b14F"
BANCOR_V3_VAULT = "0x649765821D9f64198c905eC0B2B037a4a52Bc373"
BANCOR_V3_POOL_COLLECTOR_ADDRESS = "0xde1B3CcfC45e3F5bff7f43516F2Cd43364D883E4"
BANCOR_V2_CONVERTER_REGISTRY_ADDRESS = "0xC0205e203F423Bcd8B2a4d6f8C8A154b0Aa60F19"
# FASTLANE_CONTRACT_ADDRESS = "0x51a6D03B156af044bda570CF35a919DB851Cebd1"
FASTLANE_CONTRACT_ADDRESS = "0x41Eeba3355d7D6FF628B7982F3F9D055c39488cB"
CARBON_CONTROLLER_ADDRESS = "0xC537e898CD774e2dCBa3B14Ea6f34C93d5eA45e1"
Expand Down
32 changes: 0 additions & 32 deletions fastlane_bot/data/abi.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,38 +597,6 @@
}
]

BANCOR_V3_NETWORK_ABI = [
{
"type": "event",
"name": "PoolCreated",
"anonymous": False,
"inputs": [{"indexed": True, "internalType": "contract Token", "name": "pool", "type": "address"}, {"indexed": True, "internalType": "contract IPoolCollection", "name": "poolCollection", "type": "address"}]
},
{
"type": "event",
"name": "TokensTraded",
"anonymous": False,
"inputs": [{"indexed": True, "internalType": "bytes32", "name": "contextId", "type": "bytes32"}, {"indexed": True, "internalType": "contract Token", "name": "sourceToken", "type": "address"}, {"indexed": True, "internalType": "contract Token", "name": "targetToken", "type": "address"}, {"indexed": False, "internalType": "uint256", "name": "sourceAmount", "type": "uint256"}, {"indexed": False, "internalType": "uint256", "name": "targetAmount", "type": "uint256"}, {"indexed": False, "internalType": "uint256", "name": "bntAmount", "type": "uint256"}, {"indexed": False, "internalType": "uint256", "name": "targetFeeAmount", "type": "uint256"}, {"indexed": False, "internalType": "uint256", "name": "bntFeeAmount", "type": "uint256"}, {"indexed": False, "internalType": "address", "name": "trader", "type": "address"}]
},
{
"type": "function",
"name": "withdrawPOL",
"stateMutability": "nonpayable",
"inputs": [{"internalType": "contract Token", "name": "pool", "type": "address"}],
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}]
}
]

BANCOR_V3_NETWORK_SETTINGS = [
{
"type": "function",
"name": "tokenWhitelistForPOL",
"stateMutability": "view",
"inputs": [],
"outputs": [{"internalType": "contract Token[]", "name": "", "type": "address[]"}]
}
]

BANCOR_V3_NETWORK_INFO_ABI = [
{
"type": "function",
Expand Down

0 comments on commit 14b4976

Please sign in to comment.