Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Stateful TXO is the new Contract
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
sgtn
December 18, 2018
Technology
150
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
66
カルダシェフ文明の新世界秩序
shogochiai
0
62
ローカルシニョリッジ論:ASIに対するゲリラ戦術
shogochiai
1
81
生存のアーキテクチャ (United Locals for Suboptimal World)
shogochiai
0
74
Failure Sink 概説
shogochiai
0
62
なぜプリンターは裏切るのか?
shogochiai
0
100
war model
shogochiai
0
200
Meta Contract on Steroids
shogochiai
0
190
Workshop: Solidity with LLM
shogochiai
2
240
Other Decks in Technology
See All in Technology
ログラスのマルチプロダクトを 支える認証基盤 〜テナントごとに異なる統制とどう向き合うか〜
dada4386
3
320
私の推しは「聞いてから進む」AIです -AI-DLCに一人でアプリを作らせた話
yama3133
1
160
SQL Server 2025 最適化されたロック
odashinsuke
0
120
顧客の成果創出とプロダクトの成長を 両立するためのFDE
sansantech
PRO
0
610
BedrockとLambdaで作る リアルタイム進行型推理ゲーム
kawametho
0
150
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
1
180
AWS FinOps Agent 結局何が得意なの?
siromi
0
230
3人で1000GPU超を統合運用する?マルチクラウド&オンプレを跨ぐ、構築と運用のリアル!
kazukun0716
2
800
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
140
Apache Iceberg が拓く AI 時代のオープンレイクハウス
tomtanaka
0
210
AI臭い文章とは何なのか
nasuvitz
38
77k
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
180
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
290
WCS-LA-2024
lcolladotor
0
840
A designer walks into a library…
pauljervisheath
211
25k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
620
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
550
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Six Lessons from altMBA
skipperchong
29
4.5k
Practical Orchestrator
shlominoach
192
12k
So, you think you're a good person
axbom
PRO
2
2.2k
Unsuck your backbone
ammeep
672
58k
Rails Girls Zürich Keynote
gr2m
96
14k
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