{
"basic_info": [things in basic_info],
"awesome_things": [things in awesome things],
"dao_joined": [things in dao joined]
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule CodesOnChain.MoveCrowdfund do | |
@moduledoc """ | |
Weightlight backend for MoveCrowdfund. | |
""" | |
alias Web3SuiEx.Sui | |
@network "https://fullnode.testnet.sui.io:443" | |
@move_crowdfund_contract "0x928530ad292091fde082959ca7131f8b0f6209f8faf1a3fe8dc5ca86b2583acf" | |
@shared_fund_info "0x807b26a94f540b4164f5dd03acfb1fecf0c996db627945da4b2cd09ec3014a07" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THIS STORY takes place in Rome, where a Greek slave named Androcles escaped from his master and fled into the forest. There he wandered for a long time until he was weary and well nigh spent with hunger and despair. Just then he heard a lion near him moaning and groaning and at times roaring terribly. Tired as he was, Androcles rose up and rushed away, as he thought, from the lion; but as he made his way through the bushes he stumbled over the root of a tree and fell down lamed. When he tried to get up, there he saw the lion coming towards him, limping on three feet and holding his forepaw in front of him. Androcles was in despair; he had no strength to rise and run away, and there was the lion coming upon him. But when the great beast came up to him instead of attacking him it kept on moaning and looking at him, he saw that the lion was holding out his right paw, it was covered with blood and much swollen. Androcles and the Lion Looking more closely at it, Androcles saw a great big thorn pressed into the paw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule CodesOnChain.AwesomeMoveProjects do | |
@moduledoc """ | |
The awesome projects of Move Micro Accelerator. | |
""" | |
defstruct [ | |
:name, | |
:homepage, | |
:github, | |
:prizes, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x2df41622c0c1baabaa73b2c24360d205e23e803959ebbcb0e5b80462165893ed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule CodesOnChain.DID.Indexer do | |
@moduledoc """ | |
Indexer for MoveDID. | |
""" | |
alias TaiShangMicroFaasSystem.Users.User | |
alias Web3AptosEx.Aptos | |
alias Components.{KVHandler, ModuleHandler} | |
def get_module_doc, do: @moduledoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule CodesOnChain.PermaLife.Role do | |
@moduledoc """ | |
backend forPermaLife.Role | |
""" | |
alias Components.{KVHandler, ModuleHandler} | |
def get_module_doc, do: @moduledoc | |
def create_role(payload) do | |
key = RandGen.gen_hex(8) | |
KVHandler.put(key, payload, ModuleHandler.get_module_name(__MODULE__)) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Kei", | |
"avatar": "./avatar/avatar_Kei.c36f2ed0.png", | |
"description": "一个价值投资小能手。全职摸鱼大王,兼职产品经理", | |
"tag": ["PM"] | |
}, | |
{ | |
"name": "Pixie", | |
"avatar": "./avatar/avatar_Pixie.274f8eed.png", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule CodesOnChain.AsciiDrawer do | |
@moduledoc """ | |
This is an code-on-chain example: | |
Draw ascii pic with param | |
""" | |
def get_module_doc, do: @moduledoc | |
@spec get_ascii(String.t()) :: String.t() | |
def get_ascii("surprised"), do: "( ✧Д✧) OMG!!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<style type="text/css"> | |
#app { |