Crate warp_contracts

Source

Modules§

foreign_call
Type safe wrappers over https://docs.warp.cc/docs/sdk/basic/smartweave-global API
handler_result
Provides generic types each contract has to use to communicate outcome of contract methods, both success and error.
js_imports
This module provides an implementation of https://docs.warp.cc/docs/sdk/basic/smartweave-global API This is a low-level API. See super::foreign_call and super::kv_operations for high-level counterparts.
kv_operations
Type safe wrappers over https://docs.warp.cc/docs/sdk/advanced/kv-storage API

Attribute Macros§

warp_contract
Macro used to mark view and write function of your contract. It takes one of two obligatory parameters: view, write.