logo

NFT finance Leveraging Non-Fungible Tokens

PDF Publication Title:

NFT finance Leveraging Non-Fungible Tokens ( nft-finance-leveraging-non-fungible-tokens )

Previous Page View | Next Page View | Return to Search List

Text from PDF Page: 038

uint256 tokenId, bytes memory data) public override returns (bytes4) { return this.onERC721Received.selector; } 2 3 4 5 6 Listing 4.1: Implementation to become compliant receiver of ERC-721 tokens 4.1.2 Leasing smart contract The first contract that we will go into detail about is the leasing smart contract. It will be used for the functionality of creating a new lease offer and storing it, as well as defining the mechanics of how the lease works. All the lease offers are stored in a mapping from LeaseID to LeaseOffer . The EVM has stack, memory and storage to hold variables for the smart contract and the storage is the most expensive. We have tried to keep the usage of storage to a minimum, however being the only location where the data is persistent we have chosen to keep the mapping of lease offers in this location. Each lease offer is a struct which contains the following components: • • • • • • • • • • uint leaseID : used to identify and query for a specified lease offer in the mapping. address payable lessor it to the . address payable lessee lessee : the address of the owner of the NFT who leases address smartContractAddressOfNFT : needs to be stored in order to call the ERC-721 functions of the tokens through the IERC721 interface using the tokenIdNFT to reference the exact NFT. uint tokenIdNFT uint collateralAmount : the amount guaranteed by the lessee in case they fail to return the NFT. uint leasePrice : the amount that has to be paid by the lessee to the lessor representing the rental payment. uint leasePeriod : the unix equivalent to the maximum duration that the asset can be leased for. uint endLeaseTimeStamp : the sum of the leasePeriod and the current Epoch time at the moment a lessee accepts the offer. Status status : an enum that represents the 4 possible states of a lease offer. The States of the Offer are: • Pending: The Lease Offer is on the market but no lessee has accepted it. 36

PDF Image | NFT finance Leveraging Non-Fungible Tokens

nft-finance-leveraging-non-fungible-tokens-038

PDF Search Title:

NFT finance Leveraging Non-Fungible Tokens

Original File Name Searched:

NFT-finance-Leveraging-Non-Fungible-Tokens.pdf

DIY PDF Search: Google It | Yahoo | Bing

NFT (Non Fungible Token): Buy our tech, design, development or system NFT and become part of our tech NFT network... More Info

IT XR Project Redstone NFT Available for Sale: NFT for high tech turbine design with one part 3D printed counter-rotating energy turbine. Be part of the future with this NFT. Can be bought and sold but only one design NFT exists. Royalties go to the developer (Infinity) to keep enhancing design and applications... More Info

Infinity Turbine IT XR Project Redstone Design: NFT for sale... NFT for high tech turbine design with one part 3D printed counter-rotating energy turbine. Includes all rights to this turbine design, including license for Fluid Handling Block I and II for the turbine assembly and housing. The NFT includes the blueprints (cad/cam), revenue streams, and all future development of the IT XR Project Redstone... More Info

Infinity Turbine ROT Radial Outflow Turbine 24 Design and Worldwide Rights: NFT for sale... NFT for the ROT 24 energy turbine. Be part of the future with this NFT. This design can be bought and sold but only one design NFT exists. You may manufacture the unit, or get the revenues from its sale from Infinity Turbine. Royalties go to the developer (Infinity) to keep enhancing design and applications... More Info

Infinity Supercritical CO2 10 Liter Extractor Design and Worldwide Rights: The Infinity Supercritical 10L CO2 extractor is for botanical oil extraction, which is rich in terpenes and can produce shelf ready full spectrum oil. With over 5 years of development, this industry leader mature extractor machine has been sold since 2015 and is part of many profitable businesses. The process can also be used for electrowinning, e-waste recycling, and lithium battery recycling, gold mining electronic wastes, precious metals. CO2 can also be used in a reverse fuel cell with nafion to make a gas-to-liquids fuel, such as methanol, ethanol and butanol or ethylene. Supercritical CO2 has also been used for treating nafion to make it more effective catalyst. This NFT is for the purchase of worldwide rights which includes the design. More Info

NFT (Non Fungible Token): Buy our tech, design, development or system NFT and become part of our tech NFT network... More Info

Infinity Turbine Products: Special for this month, any plans are $10,000 for complete Cad/Cam blueprints. License is for one build. Try before you buy a production license. May pay by Bitcoin or other Crypto. Products Page... More Info

CONTACT TEL: 608-238-6001 Email: greg@infinityturbine.com | RSS | AMP