We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ownable_id: string, package: string, [nft: {network: string, address: string, id: number, [lock_service: "address"]}], [type: "robot:plugin"]}
{ ownable_transfer: { to: "address" } }
{ ownable_lock: {} }
{ ownable_consume: { consumed_by: "contract id" } }
emit Event({ty: "consume", attribute: {issuer: "address", owner: "address", consumed_by: "consumer contract id", consumable_type: "..." })
{ ty: "consume", contract: "consumable contract id", attributes: { issuer: "address", owner: "address", consumed_by: "consumer contract id", consumable_type: "..." } }
{ network: "eip155:5", ty: "Lock", contract: "goerli address", attributes: {tokenId: number, owner: "address"} }
{ get_ownable_info: {} }
{ owner: "address", issuer: "address", [nft: {network: string, address: string, id: number, [lock_service: "address"]}], [type: "robot:plugin"] } }
{ get_ownable_metadata: {} }
{ issuer: "address", ... }
{ get_ownable_widget_state: {} }
{ ... }
{ is_ownable_locked: {} }
{ can_ownable_consume: { issuer: "address", type: "robot:plugin" } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Instantiate
{ownable_id: string, package: string, [nft: {network: string, address: string, id: number, [lock_service: "address"]}], [type: "robot:plugin"]}
Execute
{ ownable_transfer: { to: "address" } }
{ ownable_lock: {} }
{ ownable_consume: { consumed_by: "contract id" } }
➡️emit Event({ty: "consume", attribute: {issuer: "address", owner: "address", consumed_by: "consumer contract id", consumable_type: "..." })
External event
{ ty: "consume", contract: "consumable contract id", attributes: { issuer: "address", owner: "address", consumed_by: "consumer contract id", consumable_type: "..." } }
{ network: "eip155:5", ty: "Lock", contract: "goerli address", attributes: {tokenId: number, owner: "address"} }
Query
{ get_ownable_info: {} }
➡️{ owner: "address", issuer: "address", [nft: {network: string, address: string, id: number, [lock_service: "address"]}], [type: "robot:plugin"] } }
{ get_ownable_metadata: {} }
➡️{ issuer: "address", ... }
{ get_ownable_widget_state: {} }
➡️{ ... }
{ is_ownable_locked: {} }
➡️ boolean{ can_ownable_consume: { issuer: "address", type: "robot:plugin" } }
➡️ booleanThe text was updated successfully, but these errors were encountered: