Welcome to the PWN developer documentation.
PWN protocol is a decentralized and permissionless set of smart contracts. With PWN protocol you can unlock the full potential of your assets such as in-game collectibles, art or ERC-20 tokens - all of that without the risk of liquidation and with fixed interest. In this developer documentation you can learn about the contracts and the protocol architecture.
PWN smart contract architecture
PWN contract serves as the only interface between a user and the protocol.
PWN Vault is used for storing assets.
PWN LOAN is used to store information about LOANs. LOAN is an ERC-1155 token representing a loan in the PWN protocol.
MultiToken is a solidity library that wraps transfer, allowance and balance check calls for ERC20, ERC721 & ERC1155 tokens. Unifying the function calls used within the PWN context, so we don't have to worry about handling these token standards individually.
Token Bundler is an independent contract enabling bundling of ERC20, ERC721, and/or ERC1155 tokens into a single ERC1155 token (the Bundle token).
Here you can learn about the core functionalities of the protocol.
All contracts used in the PWN protocol are under GNU General Public License v3.0. Please refer to LICENSE.md on our GitHub for more information about the license.