Skip to content

Commit 8821820

Browse files
chore: update BalancerMaxis → balancer org references
1 parent eba1a1b commit 8821820

6 files changed

Lines changed: 25 additions & 25 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[![Generate Addressbooks Deployments](https://github.com/BalancerMaxis/bal_addresses/actions/workflows/generate_addressbooks.yaml/badge.svg)](https://github.com/BalancerMaxis/bal_addresses/actions/workflows/generate_addressbooks.yaml)
2-
[![Generate Core Pools JSON](https://github.com/BalancerMaxis/bal_addresses/actions/workflows/generate_core_pools.yaml/badge.svg)](https://github.com/BalancerMaxis/bal_addresses/actions/workflows/generate_core_pools.yaml)
3-
[![Generate Active Permissions](https://github.com/BalancerMaxis/bal_addresses/actions/workflows/generate_permissions.yaml/badge.svg)](https://github.com/BalancerMaxis/bal_addresses/actions/workflows/generate_permissions.yaml)
1+
[![Generate Addressbooks Deployments](https://github.com/balancer/bal_addresses/actions/workflows/generate_addressbooks.yaml/badge.svg)](https://github.com/balancer/bal_addresses/actions/workflows/generate_addressbooks.yaml)
2+
[![Generate Core Pools JSON](https://github.com/balancer/bal_addresses/actions/workflows/generate_core_pools.yaml/badge.svg)](https://github.com/balancer/bal_addresses/actions/workflows/generate_core_pools.yaml)
3+
[![Generate Active Permissions](https://github.com/balancer/bal_addresses/actions/workflows/generate_permissions.yaml/badge.svg)](https://github.com/balancer/bal_addresses/actions/workflows/generate_permissions.yaml)
44

55
# Monorepo Addresses
66

@@ -20,7 +20,7 @@ Has all the addresses sorted into 2 dicts (active, and old). Each dict is then m
2020

2121
## Python helpers
2222

23-
You can import this into python scripts by adding the following into your requirements.txt `git+https://github.com/BalancerMaxis/bal_addresses`.
23+
You can import this into python scripts by adding the following into your requirements.txt `git+https://github.com/balancer/bal_addresses`.
2424

2525
once imported like `from bal_addresses import AddrBook`.
2626

bal_addresses/addresses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
)
2222
GITHUB_DEPLOYMENTS_NICE = "https://github.com/balancer/balancer-deployments/blob/master"
2323
GITHUB_RAW_OUTPUTS = (
24-
"https://raw.githubusercontent.com/BalancerMaxis/bal_addresses/main/outputs"
24+
"https://raw.githubusercontent.com/balancer/bal_addresses/main/outputs"
2525
)
2626
GITHUB_RAW_EXTRAS = (
27-
"https://raw.githubusercontent.com/BalancerMaxis/bal_addresses/main/extras"
27+
"https://raw.githubusercontent.com/balancer/bal_addresses/main/extras"
2828
)
2929
ZERO_ADDRESS = "0x0000000000000000000000000000000000000000"
3030

bal_addresses/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bal_tools @ git+https://github.com/BalancerMaxis/bal_tools.git
1+
bal_tools @ git+https://github.com/balancer/bal_tools.git

extras/func_desc_by_name.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"disableRecoveryMode()": "Removes a pool from [Recovery Mode](https://medium.com/@0xSkly/inside-balancer-code-recoverymode-9af34ce5ab72).",
88
"enableRecoveryMode()": "Puts a pool into [Recovery Mode](https://medium.com/@0xSkly/inside-balancer-code-recoverymode-9af34ce5ab72).",
99
"setTargets(uint256,uint256)": "Allows setting the targets of the linear pools. Targets determine the ideal amount of unwrapped tokens.",
10-
"exitPool(bytes32,address,address,(address[],uint256[],bytes,bool))": "Allow a relayer to remove liquidity from a pool on the user's behalf. [Relayer permissions notes](https://github.com/BalancerMaxis/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
11-
"joinPool(bytes32,address,address,(address[],uint256[],bytes,bool))": "Allow a relayer to add liquidity to a pool on the user's behalf. [Relayer permissions notes](https://github.com/BalancerMaxis/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
12-
"batchSwap(uint8,(bytes32,uint256,uint256,uint256,bytes)[],address[],(address,bool,address,bool),int256[],uint256)": "Allow a relayer to make a multihop trade or source liquidity from multiple pools on a users behalf. [Relayer permissions notes](https://github.com/BalancerMaxis/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
13-
"manageUserBalance((uint8,address,uint256,address,address)[])": "Utilize existing Vault allowances and internal balances so that a user does not have to re-approve the new relayer for each token. [Relayer permissions notes](https://github.com/BalancerMaxis/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
14-
"setRelayerApproval(address,address,bool)": "Approve the relayer on the user's behalf (user must still provide a signed message). [Relayer permissions notes](https://github.com/BalancerMaxis/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
15-
"swap((bytes32,uint8,address,address,uint256,bytes),(address,bool,address,bool),uint256,uint256)": "Allow a relayer to trade within a single pool on the user's behalf. [Relayer permissions notes](https://github.com/BalancerMaxis/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
10+
"exitPool(bytes32,address,address,(address[],uint256[],bytes,bool))": "Allow a relayer to remove liquidity from a pool on the user's behalf. [Relayer permissions notes](https://github.com/balancer/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
11+
"joinPool(bytes32,address,address,(address[],uint256[],bytes,bool))": "Allow a relayer to add liquidity to a pool on the user's behalf. [Relayer permissions notes](https://github.com/balancer/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
12+
"batchSwap(uint8,(bytes32,uint256,uint256,uint256,bytes)[],address[],(address,bool,address,bool),int256[],uint256)": "Allow a relayer to make a multihop trade or source liquidity from multiple pools on a users behalf. [Relayer permissions notes](https://github.com/balancer/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
13+
"manageUserBalance((uint8,address,uint256,address,address)[])": "Utilize existing Vault allowances and internal balances so that a user does not have to re-approve the new relayer for each token. [Relayer permissions notes](https://github.com/balancer/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
14+
"setRelayerApproval(address,address,bool)": "Approve the relayer on the user's behalf (user must still provide a signed message). [Relayer permissions notes](https://github.com/balancer/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
15+
"swap((bytes32,uint8,address,address,uint256,bytes),(address,bool,address,bool),uint256,uint256)": "Allow a relayer to trade within a single pool on the user's behalf. [Relayer permissions notes](https://github.com/balancer/multisig-ops/blob/staging/docs/Authorizer/vault_permissions.md).",
1616
"withdrawCollectedFees(address[],uint256[],address)": "Allows the withdrawal of collected protocol fees.",
1717
"setFlashLoanFeePercentage(uint256)": "Sets the protocol fee charged on flash loans for this deployment.",
1818
"setPaused(bool)": "Stops all trading activity involving the vault.",

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
packages=find_packages(),
1616
include_package_data=True, # Automatically include non-Python files
1717
package_data={"": ["abis/*.json"]},
18-
url="https://github.com/BalancerMaxis/bal_addresses",
18+
url="https://github.com/balancer/bal_addresses",
1919
install_requires=[
20-
"bal_tools @ git+https://github.com/BalancerMaxis/bal_tools.git",
20+
"bal_tools @ git+https://github.com/balancer/bal_tools.git",
2121
"setuptools>=42",
2222
"wheel",
2323
],
2424
extras_require={
2525
"brownie": [
26-
"bal_tools[brownie] @ git+https://github.com/BalancerMaxis/bal_tools.git"
26+
"bal_tools[brownie] @ git+https://github.com/balancer/bal_tools.git"
2727
],
2828
},
2929
keywords=["python", "first package"],

tests/test_addresses.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def test_deployments_populated():
99
responses.add(
1010
responses.GET,
11-
"https://raw.githubusercontent.com/BalancerMaxis"
11+
"https://raw.githubusercontent.com/balancer"
1212
"/bal_addresses/main/outputs/deployments.json",
1313
json={
1414
"BFactory": "0x9424B1412450D0f8Fc2255FAf6046b98213B76Bd",
@@ -40,7 +40,7 @@ def test_deployments_populated():
4040
)
4141
responses.add(
4242
responses.GET,
43-
"https://raw.githubusercontent.com/BalancerMaxis"
43+
"https://raw.githubusercontent.com/balancer"
4444
"/bal_addresses/main/extras/mainnet.json",
4545
json={
4646
"zero": {"zero": "0x0000000000000000000000000000000000000000"},
@@ -49,7 +49,7 @@ def test_deployments_populated():
4949
)
5050
responses.add(
5151
responses.GET,
52-
"https://raw.githubusercontent.com/BalancerMaxis"
52+
"https://raw.githubusercontent.com/balancer"
5353
"/bal_addresses/main/extras/multisigs.json",
5454
json={
5555
"mainnet": {
@@ -87,7 +87,7 @@ def test_deployments_invalid_format():
8787
"""
8888
responses.add(
8989
responses.GET,
90-
"https://raw.githubusercontent.com/BalancerMaxis"
90+
"https://raw.githubusercontent.com/balancer"
9191
"/bal_addresses/main/outputs/deployments.json",
9292
json={
9393
"BFactory": "0x9424B1412450D0f8Fc2255FAf6046b98213B76Bd",
@@ -101,13 +101,13 @@ def test_deployments_invalid_format():
101101
)
102102
responses.add(
103103
responses.GET,
104-
"https://raw.githubusercontent.com/BalancerMaxis"
104+
"https://raw.githubusercontent.com/balancer"
105105
"/bal_addresses/main/extras/mainnet.json",
106106
json={"vault": {"contracts": {"name": "Vault"}, "status": "ACTIVE"}},
107107
)
108108
responses.add(
109109
responses.GET,
110-
"https://raw.githubusercontent.com/BalancerMaxis"
110+
"https://raw.githubusercontent.com/balancer"
111111
"/bal_addresses/main/extras/multisigs.json",
112112
json={"mainnet": {"contracts": {"name": "Vault"}, "status": "ACTIVE"}},
113113
)
@@ -126,7 +126,7 @@ def test_deployments_invalid_format():
126126
def test_deployments_not_populated():
127127
responses.add(
128128
responses.GET,
129-
"https://raw.githubusercontent.com/BalancerMaxis"
129+
"https://raw.githubusercontent.com/balancer"
130130
"/bal_addresses/main/outputs/deployments.json",
131131
json={
132132
"BFactory": "0x9424B1412450D0f8Fc2255FAf6046b98213B76Bd",
@@ -141,14 +141,14 @@ def test_deployments_not_populated():
141141
)
142142
responses.add(
143143
responses.GET,
144-
"https://raw.githubusercontent.com/BalancerMaxis"
144+
"https://raw.githubusercontent.com/balancer"
145145
"/bal_addresses/main/extras/mainnet.json",
146146
json={},
147147
status=404,
148148
)
149149
responses.add(
150150
responses.GET,
151-
"https://raw.githubusercontent.com/BalancerMaxis"
151+
"https://raw.githubusercontent.com/balancer"
152152
"/bal_addresses/main/extras/multisigs.json",
153153
json={},
154154
status=404,

0 commit comments

Comments
 (0)