tessl install tessl/pypi-web3@7.13.0A Python library for interacting with Ethereum blockchain
Agent Success
Agent success rate when using this tile
88%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.01x
Baseline
Agent success rate without this tile
87%
{
"context": "This criteria evaluates the engineer's ability to use web3.py for deploying smart contracts from bytecode and ABI. The focus is on proper usage of the Contract API, constructor encoding, transaction management, and receipt handling.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Contract object creation",
"description": "Uses w3.eth.contract() to create a Contract object from bytecode and ABI",
"max_score": 20
},
{
"name": "Constructor call",
"description": "Uses the constructor() method on the Contract object to specify constructor arguments",
"max_score": 15
},
{
"name": "Build transaction",
"description": "Uses build_transaction() or transact() to create/send the deployment transaction with proper parameters including 'from' address",
"max_score": 20
},
{
"name": "Transaction submission",
"description": "Uses w3.eth.send_transaction() or w3.eth.send_raw_transaction() to submit the deployment transaction (if using build_transaction)",
"max_score": 10
},
{
"name": "Receipt retrieval",
"description": "Uses w3.eth.wait_for_transaction_receipt() or w3.eth.get_transaction_receipt() to obtain the deployment transaction receipt",
"max_score": 15
},
{
"name": "Contract address extraction",
"description": "Extracts the deployed contract address from the transaction receipt's 'contractAddress' field",
"max_score": 10
},
{
"name": "Gas estimation",
"description": "Uses estimate_gas() method on the constructor to estimate deployment gas costs",
"max_score": 10
}
]
}