Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Stateful TXO is the new Contract
Search
sgtn
December 18, 2018
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Stateful TXO is the new Contract
sgtn
December 18, 2018
More Decks by sgtn
See All by sgtn
On Human Supremacy
shogochiai
0
49
カルダシェフ文明の新世界秩序
shogochiai
0
47
ローカルシニョリッジ論:ASIに対するゲリラ戦術
shogochiai
1
72
生存のアーキテクチャ (United Locals for Suboptimal World)
shogochiai
0
63
Failure Sink 概説
shogochiai
0
46
なぜプリンターは裏切るのか?
shogochiai
0
93
war model
shogochiai
0
170
Meta Contract on Steroids
shogochiai
0
170
Workshop: Solidity with LLM
shogochiai
2
220
Other Decks in Technology
See All in Technology
しくみを学んで使いこなそう GitHub Copilot app
torumakabe
2
290
SREとQA 二人三脚で進めるSLO運用/sre-qa-slo
sugitak
0
880
Claude Code公式skillで 自分の仕事を少しずつ手放そう!(Claude Code開発ノウハウ大公開スペシャル by クラスメソッド)
kaym
1
490
大量データに対しても、生成AIを用いてリーズナブルにデータ加工をしたい!Databricksのai_queryについて調べてみた
kamoshika
1
220
誤解だらけの開発生産性 / Myths and Misconceptions about Developer Productivity
i35_267
2
790
AmplifyHostingConstructからSSRフレームワークのためのホスティング設計を考察する/amplify-hosting-construct
fossamagna
1
230
「守りたい体験」を渡すだけで E2E を生成させられるようになった話
hinac0
0
190
あなたの『Site』はどこですか? — xREという考え方
miyamu
0
1.2k
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
400
AI Coding Agent時代のcdk-nagガードレール 〜組織ルールを強制CIで守り抜く設計の挑戦〜
mhrtech
3
410
AI時代のPlaywright活用(システムテストを自動化する ー 実行エンジンにPla ywrightを選んだ理由)
ynisqa1988
0
140
個人開発で育てる「大規模設計の苗床」 - AI時代の1人開発から始める業務への知識接続 / The Seedbed for Large-Scale Design - From AI-Era Solo Projects to Professional Knowledge
bitkey
PRO
1
280
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.3k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
610
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.8k
We Are The Robots
honzajavorek
0
280
The SEO Collaboration Effect
kristinabergwall1
1
510
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
190
The SEO identity crisis: Don't let AI make you average
varn
0
510
Site-Speed That Sticks
csswizardry
13
1.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
420
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Transcript
For better UTXO Contract Cryptoeconomics Lab / Sg
We need simpler paradigm of UTXO based contract
Visualization of TX in UTXO model
Stateful TXO Stateful TXO
Stateful TXO = Contract Let’s say
Contract Log
Pick a Log (Stateful UTXO) by TxID Prepare the data
Update Contract(ex-Log) by prepared data And next Log
Breakdown to the Language Design
Build Stateful TXO owners: “0xH2ZX87….” values: SimpleToken(ticker:”ZRX”, amount:394) state: {
“pairedTokenName”: “DAI”, “price”: 100 } blockNum: undefined
Update the Contract Solidity esque
owners: “0xH2ZX87….” values: SimpleToken(ticker:”ZRX”, amount:394) state: { “pairedTokenName”: “DAI”, “price”:
100 } blockNum: 10092 owners: “0xA11287J….” values: SimpleToken(ticker:”DAI”, amount:100) state: null blockNum: 9802 owners: “0xA11287J….” values: SimpleToken(ticker:”ZRX”, amount:394) state: null blockNum: undefined owners: “0xH2ZX87….” values: SimpleToken(ticker:”DAI”, amount:100) state: null blockNum: undefined Wallet will implicitly do this And SDK would be generated from DSL UTXO1 UTXO2 New UTXO1 New UTXO2
owners: “0xH2ZX87….” values: SimpleToken(ticker:”ZRX”, amount:394) state: { “pairedTokenName”: “DAI”, “price”:
100 } blockNum: 10092 owners: “0xA11287J….” values: SimpleToken(ticker:”DAI”, amount:100) state: null blockNum: 9802 owners: “0xA11287J….” values: SimpleToken(ticker:”ZRX”, amount:394) state: null blockNum: undefined owners: “0xH2ZX87….” values: SimpleToken(ticker:”DAI”, amount:100) state: null blockNum: undefined New perspective/paradigm is like this. Contract Arg1 Log1 Log2