π¦ ClawHub
Pet Operator
by @aaigotchi
Delegate Aavegotchi petting rights to AAI's wallet on Base. Generate approve/revoke tx data, check approval, and maintain delegated wallet bookkeeping in pet...
TERMINAL
clawhub install pet-operatorπ About This Skill
name: pet-operator description: Delegate Aavegotchi petting rights to AAI's wallet on Base. Generate approve/revoke tx data, check approval, and maintain delegated wallet bookkeeping in pet-me-master config. metadata: openclaw: requires: bins: - cast - jq
pet-operator
Set or revoke AAI as pet operator for user wallets, and keep delegation bookkeeping aligned.
Constants
0xb96B48a6B190A9d509cE9312654F34E9770F21100xA99c4B08201F2913Db8D28e71d020c4298F29dBF8453)https://mainnet.base.orgOverridable env:
AAVEGOTCHI_DIAMONDAAI_OPERATORBASE_RPC_URLPET_ME_CONFIG_FILEScripts
./scripts/check-approval.sh isPetOperatorForAll(owner, operator).
./scripts/generate-delegation-tx.sh setPetOperatorForAll(AAI_OPERATOR, true).
./scripts/generate-revoke-tx.sh setPetOperatorForAll(AAI_OPERATOR, false).
./scripts/add-delegated-wallet.sh [name] pet-me-master config.
./scripts/remove-delegated-wallet.sh Config Bookkeeping
add-delegated-wallet.sh writes to:
.delegatedWallets (preferred).wallets (legacy compatibility, only if present)This does not grant on-chain permissions by itself; on-chain approval must already exist.