SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
Service Tokens
alex.batlin@trustology.io
https://github.com/Trustology/ServiceToken
Alex Batlin
Founder & CEO of Trustology
Before starting Trustology, Alex Batlin was the Global
Head of Emerging Business & Technology team and
the Global Blockchain Lead at BNY Mellon,
responsible for research and development of
emerging technology enabled business strategy,
business models, products and services.
Previously, Alex was a Senior Innovation Manager at
UBS, a founding head of both UBS's FinTech
Innovation Lab based in UK's Level 39 accelerator and
UBS's Crypto 2.0 Pathfinder research programme into
blockchain technology and its impact on business
models.
Alex is the founding member of EEA, USC, Trusted IoT
and R3 consortias.
Trustology
safeguarding crypto assets
Trustology is building a custody platform to
safeguard your crypto assets.
Our smart accounts will be customisable to satisfy
the diverse needs of individual, corporate, exchange
and institutional clients, now and in the future.
Problem
Consultancy
Q1 Q2 Q3 Q4
Budget Approval Consultancy NeedBudget Risk
Consultant Client
Service Units
Consultant
100
82
010
Client
100
91
19
Service Tokens
Consultant
100
82
010
Client
100
82
010
Service Token Components
Service Token Contracts
ServiceAgreement Workflow
ServiceTask Workflow
AgreementFactory
contract AgreementFactory {
event Agreement(ServiceAgreement agreement, ...);
ServiceAgreement[] public agreements; // registry of agreements
...
function createAgreement(...) {
ServiceAgreement agreement = new ServiceAgreement(...);
agreements.push(agreement);
Agreement(agreement, msg.sender, issuer, beneficiary);
}
function getAgreements() returns (ServiceAgreement[] _agreements) {
return agreements;
}
...
}
ServiceAgreement
contract ServiceAgreement {
enum States { Created, Proposed, Withdrawn, Accepted, Rejected }
event StateChange(States indexed oldState, States indexed newState);
States public state;
ServiceToken public token; // link to the created token
AgreementFactory public factory; // validatecontract is recognised by factory
... modifier onlyIssuer { require(msg.sender == issuer); _; } ...
function ServiceAgreement(...) {
... factory = AgreementFactory(msg.sender);
state = States.Created;
}
function propose(bytes32 hashedHash) onlyIssuer onlyCreated {
contentHash = hashedHash;
state = States.Proposed;
StateChange(States.Created, States.Proposed);
}
}
ServiceToken
contract ServiceToken {
event Transfer(address indexed _from, address indexed _to, uint256 _value);
ServiceAgreement public agreement; // Backlink to agreement
ServiceTask[] public tasks; // Stores the registry of creating task contracts
...
function balanceOf(address _addr) constant returns (uint256 balance) {
if ((now > agreement.validFrom()) && (now < agreement.expiresEnd())) {
return balances[_addr]; // otherwise return the balance as is
} else {
return 0;
}
}
...
function transfer(address _to, uint256 _value) {
... require(now > agreement.validFrom());
require(now < agreement.expiresEnd()); ...
}
}

Weitere ähnliche Inhalte

Ähnlich wie Service Token QCON Presentation

P8 a blockchain framework for insurance processes
P8 a blockchain framework for insurance processesP8 a blockchain framework for insurance processes
P8 a blockchain framework for insurance processes
devid8
 

Ähnlich wie Service Token QCON Presentation (20)

Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architected
 
Blockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureBlockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on Azure
 
“Create your own cryptocurrency in an hour” - Sandip Pandey
“Create your own cryptocurrency in an hour” - Sandip Pandey“Create your own cryptocurrency in an hour” - Sandip Pandey
“Create your own cryptocurrency in an hour” - Sandip Pandey
 
Ethereum Smart Contracts 101 with Cryptizens.io
Ethereum Smart Contracts 101 with Cryptizens.ioEthereum Smart Contracts 101 with Cryptizens.io
Ethereum Smart Contracts 101 with Cryptizens.io
 
Blockchain envisioning - Solution brief
Blockchain envisioning  - Solution briefBlockchain envisioning  - Solution brief
Blockchain envisioning - Solution brief
 
Building and deploying microservices with event sourcing, CQRS and Docker (Me...
Building and deploying microservices with event sourcing, CQRS and Docker (Me...Building and deploying microservices with event sourcing, CQRS and Docker (Me...
Building and deploying microservices with event sourcing, CQRS and Docker (Me...
 
Working with Smart contracts in Javascript
Working with Smart contracts in JavascriptWorking with Smart contracts in Javascript
Working with Smart contracts in Javascript
 
Blockchain on Azure
Blockchain on AzureBlockchain on Azure
Blockchain on Azure
 
Stacks 2.0 Introduction ($STX)
Stacks 2.0 Introduction ($STX)Stacks 2.0 Introduction ($STX)
Stacks 2.0 Introduction ($STX)
 
Using Queryable State for Fun and Profit
Using Queryable State for Fun and ProfitUsing Queryable State for Fun and Profit
Using Queryable State for Fun and Profit
 
Brugu Blockchain Services
Brugu Blockchain ServicesBrugu Blockchain Services
Brugu Blockchain Services
 
Blockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton SitnikovBlockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton Sitnikov
 
Blokpark - Decentralized SaaS Property Management System Backed by Real Estat...
Blokpark - Decentralized SaaS Property Management System Backed by Real Estat...Blokpark - Decentralized SaaS Property Management System Backed by Real Estat...
Blokpark - Decentralized SaaS Property Management System Backed by Real Estat...
 
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
 
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
Jerome de Tychey - Building Web3.0 with Ethereum - Codemotion Berlin 2018
 
Blockchain development services
Blockchain development servicesBlockchain development services
Blockchain development services
 
Blokpark - Decentralized SaaS Property Management System
Blokpark - Decentralized SaaS Property Management SystemBlokpark - Decentralized SaaS Property Management System
Blokpark - Decentralized SaaS Property Management System
 
P8 a blockchain framework for insurance processes
P8 a blockchain framework for insurance processesP8 a blockchain framework for insurance processes
P8 a blockchain framework for insurance processes
 
4차산업혁명과 건설, 그리고 블록체인
4차산업혁명과 건설, 그리고 블록체인4차산업혁명과 건설, 그리고 블록체인
4차산업혁명과 건설, 그리고 블록체인
 
Apex Design Patterns
Apex Design PatternsApex Design Patterns
Apex Design Patterns
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 

Service Token QCON Presentation

  • 2. Alex Batlin Founder & CEO of Trustology Before starting Trustology, Alex Batlin was the Global Head of Emerging Business & Technology team and the Global Blockchain Lead at BNY Mellon, responsible for research and development of emerging technology enabled business strategy, business models, products and services. Previously, Alex was a Senior Innovation Manager at UBS, a founding head of both UBS's FinTech Innovation Lab based in UK's Level 39 accelerator and UBS's Crypto 2.0 Pathfinder research programme into blockchain technology and its impact on business models. Alex is the founding member of EEA, USC, Trusted IoT and R3 consortias.
  • 3. Trustology safeguarding crypto assets Trustology is building a custody platform to safeguard your crypto assets. Our smart accounts will be customisable to satisfy the diverse needs of individual, corporate, exchange and institutional clients, now and in the future.
  • 4. Problem Consultancy Q1 Q2 Q3 Q4 Budget Approval Consultancy NeedBudget Risk Consultant Client
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. AgreementFactory contract AgreementFactory { event Agreement(ServiceAgreement agreement, ...); ServiceAgreement[] public agreements; // registry of agreements ... function createAgreement(...) { ServiceAgreement agreement = new ServiceAgreement(...); agreements.push(agreement); Agreement(agreement, msg.sender, issuer, beneficiary); } function getAgreements() returns (ServiceAgreement[] _agreements) { return agreements; } ... }
  • 17. ServiceAgreement contract ServiceAgreement { enum States { Created, Proposed, Withdrawn, Accepted, Rejected } event StateChange(States indexed oldState, States indexed newState); States public state; ServiceToken public token; // link to the created token AgreementFactory public factory; // validatecontract is recognised by factory ... modifier onlyIssuer { require(msg.sender == issuer); _; } ... function ServiceAgreement(...) { ... factory = AgreementFactory(msg.sender); state = States.Created; } function propose(bytes32 hashedHash) onlyIssuer onlyCreated { contentHash = hashedHash; state = States.Proposed; StateChange(States.Created, States.Proposed); } }
  • 18. ServiceToken contract ServiceToken { event Transfer(address indexed _from, address indexed _to, uint256 _value); ServiceAgreement public agreement; // Backlink to agreement ServiceTask[] public tasks; // Stores the registry of creating task contracts ... function balanceOf(address _addr) constant returns (uint256 balance) { if ((now > agreement.validFrom()) && (now < agreement.expiresEnd())) { return balances[_addr]; // otherwise return the balance as is } else { return 0; } } ... function transfer(address _to, uint256 _value) { ... require(now > agreement.validFrom()); require(now < agreement.expiresEnd()); ... } }