Skip to content

Commit 27022f0

Browse files
committed
upload image
1 parent 00fcb98 commit 27022f0

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

6-nfts-for-financial-applications/fond/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ Admins can
4949
- buy items with completed campaigns
5050
- sell items
5151

52+
#### Calling these methods
53+
To call these methods there are some Transaction Manifests defined in the codebase.
54+
55+
instantiate.rtm is the method needed for an admin to instantiate the component.
56+
57+
create-campaign.rtm is the method need for creating a campaign.
58+
59+
buy.rtm and sell.rtm are both self explanatory.
60+
61+
All of these manifests are using addresses etc on the Alphanet network but some details might need to be adjusted, such as the campaign index etc.
62+
5263
### User
5364
Users can
5465
- see available campaigns data
@@ -72,4 +83,6 @@ Creating a campaign can be difficult when finding high value items with good pot
7283
As the project grows, the requirement for Users to revoke their contribution from an investment will become more of a concern.
7384
Further, if for some reason an investment seems to have lost it's potential, admins will have the functionality to cancel a campaign in which case contributors will be able to retrieve their funds.
7485

75-
86+
## Admin panel
87+
At present, there is no admin panel. Everything is being done by Transaction Manifest in the browser extension.
88+
The intention is to build out a fully formed interactive admin page, where admins can handle all of the neccessary functionality needed.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CALL_METHOD ComponentAddress("system_tdx_a_1qsqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqs2ufe42") "lock_fee" Decimal("100");
2+
CALL_METHOD ComponentAddress("component_tdx_a_1qfjxhdlla3w5hp6pgyjypuwuuuga4hh8sw6gutvyuc4sxentdx") "add_to_inventory" 0u64;
3+
CALL_METHOD ComponentAddress("account_tdx_a_1qwdvy9jqgmqq7vw3mg2xzvxrzjwq3ykwp6u3l3qz6l4slwuurc") "deposit_batch" Expression("ENTIRE_WORKTOP");
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CALL_METHOD ComponentAddress("system_tdx_a_1qsqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqs2ufe42") "lock_fee" Decimal("100");
2+
CALL_METHOD ComponentAddress("component_tdx_a_1qfjxhdlla3w5hp6pgyjypuwuuuga4hh8sw6gutvyuc4sxentdx") "sell_item" 0u64;
3+
CALL_METHOD ComponentAddress("account_tdx_a_1qwdvy9jqgmqq7vw3mg2xzvxrzjwq3ykwp6u3l3qz6l4slwuurc") "deposit_batch" Expression("ENTIRE_WORKTOP");

0 commit comments

Comments
 (0)