bap578_adapter_blueprint
SKILL.md
BAP578 Adapter Blueprint
Usage
- Category: BAP578 Dev
- Mode: guide
- Version: 0.1.0
Input Example
{
"contractName": "MyBAP578Adapter",
"nfaInterface": "INFAOwner"
}
Output Example
contract MyBAP578Adapter {
modifier onlyOperator(uint256 tokenId) {
require(INFAOwner(nfa).ownerOf(tokenId) == msg.sender, 'not operator');
_;
}
}
Security Notes
- Keep
ownerOf(tokenId)as the primary authorization guard. - Isolate vault debit/credit permissions from business logic.
Install
npx @skillshub/bap578-adapter-blueprint
Weekly Installs
1
Repository
brief-onchain/skills-labFirst Seen
6 days ago
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1