---
# System prepended metadata

title: Balancer and Gelato Bro

---

# Balancer and Gelato Bro

## First Contract
### https://etherscan.io/tx/0xef519974028acec564824b265012c1101a77d829890f9f59ffebc84c762702a9

Disassembled contract:
 (disassembler.DisassembledContract) {
 Contract: (contract.Contract) {
  Constructor: (contract.Constructor) Function Selector: Constructor 
 Function Entrypoint: 0 
 Function Input Arguments: 0
 Function Modifiers: None
 Is Payable: false
 Input Arguments: None,
  Functions: (contract.Functions) (len=6 cap=7) {
   (contract.Function) Function Selector: 35f173e3 
 Function Entrypoint: 101 
 Function Input Arguments: 1
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: 4fb2e45d 
 Function Entrypoint: 135 
 Function Input Arguments: 1
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: 776d1a01 
 Function Entrypoint: 167 
 Function Input Arguments: 1
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: 8da5cb5b 
 Function Entrypoint: 199 
 Function Input Arguments: 0
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: 8f32d59b 
 Function Entrypoint: 244 
 Function Input Arguments: 0
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: abf7f5eb 
 Function Entrypoint: 287 
 Function Input Arguments: 4
 Function Modifiers: Payable
 Is Payable: true
  },
  Fallback: (contract.Functions) (len=1 cap=1) {
   (contract.Function) Function Selector: Fallback 
 Function Entrypoint: 89 
 Function Input Arguments: 0
 Function Modifiers: Payable
 Is Payable: true
  },
  Receive: (contract.Functions) <nil>,
  Metadata: (contract.Metadata) Solidity Compiler Version: v0.8.13,
  Bytecode: (string) (len=4750) "6080604052600180546001600160a01b03191673a6578726669adf969cbfbf5c757859f314fee85f17905534801561003657600080fd5b50600080546001600160a01b031916331790556108ef806100586000396000f3fe6080604052600436106100595760003560e01c806335f173e3146100655780634fb2e45d14610087578063776d1a01146100a75780638da5cb5b146100c75780638f32d59b146100f4578063abf7f5eb1461011f57600080fd5b3661006057005b600080fd5b34801561007157600080fd5b506100856100803660046104d0565b61013f565b005b34801561009357600080fd5b506100856100a23660046104d0565b610311565b3480156100b357600080fd5b506100856100c23660046104d0565b61035d565b3480156100d357600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b34801561010057600080fd5b506000546001600160a01b0316331460405190151581526020016100eb565b61013261012d366004610591565b6103a9565b6040516100eb919061066a565b606081816000815181106101555761015561069d565b6001600160a01b03909216602092830291909101909101526040516307ad377d60e11b815260009073ba12222222228d8ba445958a75a0704d566bf2c890630f5a6efa906101a990309086906004016106b3565b600060405180830381865afa1580156101c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ee919081019061070f565b90506000816000815181106102055761020561069d565b60200260200101519050600081116102495760405162461bcd60e51b8152602060048201526002602482015261363160f11b60448201526064015b60405180910390fd5b6040805160a0810190915260609080600181526001600160a01b0380881660208301526040820185905230606083015260015416608090910152815182906000906102965761029661069d565b60209081029190910101526040516303a38fa160e21b815273ba12222222228d8ba445958a75a0704d566bf2c890630e8e3e84906102d89084906004016107b5565b600060405180830381600087803b1580156102f257600080fd5b505af1158015610306573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b0316331461033b5760405162461bcd60e51b815260040161024090610850565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103875760405162461bcd60e51b815260040161024090610850565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546060906001600160a01b031633146103d65760405162461bcd60e51b815260040161024090610850565b606083516000036103e8575081610414565b83805190602001208360405160200161040292919061086c565b60405160208183030381529060405290505b600080876001600160a01b03168784604051610430919061089d565b60006040518083038185875af1925050503d806000811461046d576040519150601f19603f3d011682016040523d82523d6000602084013e610472565b606091505b5091509150816104a95760405162461bcd60e51b81526020600482015260026024820152616e7360f01b6044820152606401610240565b979650505050505050565b80356001600160a01b03811681146104cb57600080fd5b919050565b6000602082840312156104e257600080fd5b6104eb826104b4565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610531576105316104f2565b604052919050565b600067ffffffffffffffff831115610553576105536104f2565b610566601f8401601f1916602001610508565b905082815283838301111561057a57600080fd5b828260208301376000602084830101529392505050565b600080600080608085870312156105a757600080fd5b6105b0856104b4565b935060208501359250604085013567ffffffffffffffff808211156105d457600080fd5b818701915087601f8301126105e857600080fd5b6105f788833560208501610539565b9350606087013591508082111561060d57600080fd5b508501601f8101871361061f57600080fd5b61062e87823560208401610539565b91505092959194509250565b60005b8381101561065557818101518382015260200161063d565b83811115610664576000848401525b50505050565b602081526000825180602084015261068981604085016020870161063a565b601f01601f19169190910160400192915050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038381168252604060208084018290528451918401829052600092858201929091906060860190855b818110156107015785518516835294830194918301916001016106e3565b509098975050505050505050565b6000602080838503121561072257600080fd5b825167ffffffffffffffff8082111561073a57600080fd5b818501915085601f83011261074e57600080fd5b815181811115610760576107606104f2565b8060051b9150610771848301610508565b818152918301840191848101908884111561078b57600080fd5b938501935b838510156107a957845182529385019390850190610790565b98975050505050505050565b60208082528251828201819052600091906040908185019086840185805b83811015610842578251805160048082106107fb57634e487b7160e01b855260218152602485fd5b508652808801516001600160a01b03908116898801528782015188880152606080830151821690880152608091820151169086015260a090940193918601916001016107d3565b509298975050505050505050565b6020808252600290820152616e6f60f01b604082015260600190565b6001600160e01b031983168152815160009061088f81600485016020870161063a565b919091016004019392505050565b600082516108af81846020870161063a565b919091019291505056fea2646970667358221220ea5f203de86398b2f6dd94c5a72aa92ecfa2a144e047e9a38019762616dc0aa664736f6c634300080d0033"
 },
 Metadata: (disassembler.DisassemblyMetadata) {
  FuncSelectors: ([]string) (len=5 cap=5) {
   (string) (len=8) "03a38fa1",
   (string) (len=8) "0f5a6efa",
   (string) (len=8) "0e8e3e84",
   (string) (len=8) "4e487b71",
   (string) (len=8) "07ad377d"
  },
  Addresses: ([]evm.Address) (len=2 cap=2) {
   (evm.Address) (len=40) 0xA6578726669ADf969CbFBf5c757859f314Fee85f,
   (evm.Address) (len=40) 0xBA12222222228d8Ba445958a75a0704d566BF2C8
  }
 }
}

Contract in json form
{"Contract":{"constructor":{"function":{"selector":"Constructor","numberInputArguments":0,"entryPoint":0}},"functions":[{"selector":"35f173e3","numberInputArguments":1,"entryPoint":101},{"selector":"4fb2e45d","numberInputArguments":1,"entryPoint":135},{"selector":"776d1a01","numberInputArguments":1,"entryPoint":167},{"selector":"8da5cb5b","numberInputArguments":0,"entryPoint":199},{"selector":"8f32d59b","numberInputArguments":0,"entryPoint":244},{"selector":"abf7f5eb","numberInputArguments":4,"modifiers":["Payable"],"entryPoint":287}],"fallback":[{"selector":"Fallback","numberInputArguments":0,"modifiers":["Fallback","Payable"],"entryPoint":89}],"metadata":{"SolcVersion":"v0.8.13","Raw":{"ipfs":"EiDqXyA96GOYsvbdlMWnKqkuz6KhROBH6aOAGXYmFtwKpg==","solc":"AAgN"}}},"Metadata":{"unidentifiedFuncSel":["03a38fa1","0f5a6efa","0e8e3e84","4e487b71","07ad377d"],"hardcodedAddresses":["a6578726669adf969cbfbf5c757859f314fee85f","ba12222222228d8ba445958a75a0704d566bf2c8"]}}

## Second Contract
### https://etherscan.io/tx/0xe677f403df01a3eb364a88eb076d24a71df2bcedb4009cefab47b8c1b585188d

Disassembled contract:
 (disassembler.DisassembledContract) {
 Contract: (contract.Contract) {
  Constructor: (contract.Constructor) Function Selector: Constructor 
 Function Entrypoint: 0 
 Function Input Arguments: 0
 Function Modifiers: None
 Is Payable: false
 Input Arguments: None,
  Functions: (contract.Functions) (len=6 cap=7) {
   (contract.Function) Function Selector: 01681a62 
 Function Entrypoint: 101 
 Function Input Arguments: 1
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: 4fb2e45d 
 Function Entrypoint: 135 
 Function Input Arguments: 1
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: 776d1a01 
 Function Entrypoint: 167 
 Function Input Arguments: 1
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: 8da5cb5b 
 Function Entrypoint: 199 
 Function Input Arguments: 0
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: 8f32d59b 
 Function Entrypoint: 244 
 Function Input Arguments: 0
 Function Modifiers: None
 Is Payable: false,
   (contract.Function) Function Selector: abf7f5eb 
 Function Entrypoint: 287 
 Function Input Arguments: 4
 Function Modifiers: Payable
 Is Payable: true
  },
  Fallback: (contract.Functions) (len=1 cap=1) {
   (contract.Function) Function Selector: Fallback 
 Function Entrypoint: 89 
 Function Input Arguments: 0
 Function Modifiers: Payable
 Is Payable: true
  },
  Receive: (contract.Functions) <nil>,
  Metadata: (contract.Metadata) Solidity Compiler Version: v0.8.13,
  Bytecode: (string) (len=4538) "6080604052600180546001600160a01b031916739b3cf1250e25fda7377d383ebfb393b94140f70217905534801561003657600080fd5b50600080546001600160a01b0319163317905560405163095ea7b360e01b815273ba12222222228d8ba445958a75a0704d566bf2c860048201526000196024820152736b175474e89094c44da98b954eedeac495271d0f9063095ea7b3906044016020604051808303816000875af11580156100b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100da91906100e0565b50610109565b6000602082840312156100f257600080fd5b8151801515811461010257600080fd5b9392505050565b6107c5806101186000396000f3fe6080604052600436106100595760003560e01c806301681a62146100655780634fb2e45d14610087578063776d1a01146100a75780638da5cb5b146100c75780638f32d59b146100f4578063abf7f5eb1461011f57600080fd5b3661006057005b600080fd5b34801561007157600080fd5b506100856100803660046104a2565b61013f565b005b34801561009357600080fd5b506100856100a23660046104a2565b6102e3565b3480156100b357600080fd5b506100856100c23660046104a2565b61032f565b3480156100d357600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b34801561010057600080fd5b506000546001600160a01b0316331460405190151581526020016100eb565b61013261012d366004610550565b61037b565b6040516100eb9190610629565b60006001600160a01b038216156101bf576040516370a0823160e01b81523060048201526001600160a01b038316906370a08231906024016020604051808303816000875af1158015610196573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ba919061065c565b6101c1565b475b9050600081116101fd5760405162461bcd60e51b81526020600482015260026024820152613d3160f11b60448201526064015b60405180910390fd5b6040805160a0810190915260609080600081526001600160a01b03808616602083015260408201859052306060830152600154166080909101528151829060009061024a5761024a610675565b602090810291909101015260006001600160a01b0384161561026d57600061026f565b475b6040516303a38fa160e21b815290915073ba12222222228d8ba445958a75a0704d566bf2c890630e8e3e849083906102ab90869060040161068b565b6000604051808303818588803b1580156102c457600080fd5b505af11580156102d8573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b0316331461030d5760405162461bcd60e51b81526004016101f490610726565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103595760405162461bcd60e51b81526004016101f490610726565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546060906001600160a01b031633146103a85760405162461bcd60e51b81526004016101f490610726565b606083516000036103ba5750816103e6565b8380519060200120836040516020016103d4929190610742565b60405160208183030381529060405290505b600080876001600160a01b031687846040516104029190610773565b60006040518083038185875af1925050503d806000811461043f576040519150601f19603f3d011682016040523d82523d6000602084013e610444565b606091505b50915091508161047b5760405162461bcd60e51b81526020600482015260026024820152616e7360f01b60448201526064016101f4565b979650505050505050565b80356001600160a01b038116811461049d57600080fd5b919050565b6000602082840312156104b457600080fd5b6104bd82610486565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156104f5576104f56104c4565b604051601f8501601f19908116603f0116810190828211818310171561051d5761051d6104c4565b8160405280935085815286868601111561053657600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561056657600080fd5b61056f85610486565b935060208501359250604085013567ffffffffffffffff8082111561059357600080fd5b818701915087601f8301126105a757600080fd5b6105b6888335602085016104da565b935060608701359150808211156105cc57600080fd5b508501601f810187136105de57600080fd5b6105ed878235602084016104da565b91505092959194509250565b60005b838110156106145781810151838201526020016105fc565b83811115610623576000848401525b50505050565b60208152600082518060208401526106488160408501602087016105f9565b601f01601f19169190910160400192915050565b60006020828403121561066e57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60208082528251828201819052600091906040908185019086840185805b83811015610718578251805160048082106106d157634e487b7160e01b855260218152602485fd5b508652808801516001600160a01b03908116898801528782015188880152606080830151821690880152608091820151169086015260a090940193918601916001016106a9565b509298975050505050505050565b6020808252600290820152616e6f60f01b604082015260600190565b6001600160e01b03198316815281516000906107658160048501602087016105f9565b919091016004019392505050565b600082516107858184602087016105f9565b919091019291505056fea26469706673582212205c68ccc7cd79a2f7a717ff26434c429fcfb79f8f5c75ab0d26937a1ced85771664736f6c634300080d0033"
 },
 Metadata: (disassembler.DisassemblyMetadata) {
  FuncSelectors: ([]string) (len=5 cap=5) {
   (string) (len=8) "095ea7b3",
   (string) (len=8) "70a08231",
   (string) (len=8) "03a38fa1",
   (string) (len=8) "0e8e3e84",
   (string) (len=8) "4e487b71"
  },
  Addresses: ([]evm.Address) (len=3 cap=3) {
   (evm.Address) (len=40) 0xBA12222222228d8Ba445958a75a0704d566BF2C8,
   (evm.Address) (len=40) 0x6B175474E89094C44Da98b954EedeAC495271d0F,
   (evm.Address) (len=40) 0x9b3Cf1250e25fdA7377D383EbFB393B94140f702
  }
 }
}

Contract in json form
{"Contract":{"constructor":{"function":{"selector":"Constructor","numberInputArguments":0,"entryPoint":0}},"functions":[{"selector":"01681a62","numberInputArguments":1,"entryPoint":101},{"selector":"4fb2e45d","numberInputArguments":1,"entryPoint":135},{"selector":"776d1a01","numberInputArguments":1,"entryPoint":167},{"selector":"8da5cb5b","numberInputArguments":0,"entryPoint":199},{"selector":"8f32d59b","numberInputArguments":0,"entryPoint":244},{"selector":"abf7f5eb","numberInputArguments":4,"modifiers":["Payable"],"entryPoint":287}],"fallback":[{"selector":"Fallback","numberInputArguments":0,"modifiers":["Fallback","Payable"],"entryPoint":89}],"metadata":{"SolcVersion":"v0.8.13","Raw":{"ipfs":"EiBcaMzHzXmi96cX/yZDTEKfz7efj1x1qw0mk3oc7YV3Fg==","solc":"AAgN"}}},"Metadata":{"unidentifiedFuncSel":["095ea7b3","70a08231","03a38fa1","0e8e3e84","4e487b71"],"hardcodedAddresses":["ba12222222228d8ba445958a75a0704d566bf2c8","6b175474e89094c44da98b954eedeac495271d0f","9b3cf1250e25fda7377d383ebfb393b94140f702"]}}