SlideShare a Scribd company logo
1 of 18
Download to read offline
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()); ...
}
}

More Related Content

Similar to Service Token QCON Presentation

Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architectedIBM Sverige
 
Blockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureBlockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureNuri Cankaya
 
“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 PandeyEIT Digital Alumni
 
Hello world contract
Hello world contractHello world contract
Hello world contractGene Leybzon
 
Blockchain envisioning - Solution brief
Blockchain envisioning  - Solution briefBlockchain envisioning  - Solution brief
Blockchain envisioning - Solution briefPablo Junco
 
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...Chris Richardson
 
Working with Smart contracts in Javascript
Working with Smart contracts in JavascriptWorking with Smart contracts in Javascript
Working with Smart contracts in JavascriptMikhail Kuznetcov
 
Blockchain on Azure
Blockchain on AzureBlockchain on Azure
Blockchain on AzureNuri Cankaya
 
Stacks 2.0 Introduction ($STX)
Stacks 2.0 Introduction ($STX)Stacks 2.0 Introduction ($STX)
Stacks 2.0 Introduction ($STX)Trevor Owens
 
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 ProfitFlink Forward
 
Brugu Blockchain Services
Brugu Blockchain ServicesBrugu Blockchain Services
Brugu Blockchain Serviceslaurastephen7
 
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 SitnikovDataFest Tbilisi
 
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...Daniel Riceberg
 
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 2018Codemotion
 
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 2018Codemotion
 
Blockchain development services
Blockchain development servicesBlockchain development services
Blockchain development servicesVishvendra Saini
 
Blokpark - Decentralized SaaS Property Management System
Blokpark - Decentralized SaaS Property Management SystemBlokpark - Decentralized SaaS Property Management System
Blokpark - Decentralized SaaS Property Management SystemDaniel Riceberg
 
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 processesdevid8
 
Security in the blockchain
Security in the blockchainSecurity in the blockchain
Security in the blockchainBellaj Badr
 

Similar to 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
 
Hello world contract
Hello world contractHello world contract
Hello world contract
 
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
 
Security in the blockchain
Security in the blockchainSecurity in the blockchain
Security in the blockchain
 

Recently uploaded

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Recently uploaded (20)

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

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()); ... } }