Supplier Actor
Overview
A Supplier is responsible for staking POKT in order to earn POKT in exchange for providing services as a function of volume and time.

Schema
The onchain representation of a Supplier can be found at supplier.proto.
Configuration
Configurations to stake an Supplier can be found at supplier_staking_config.md.
Modules
The Supplier actor depends on both the supplier and proof onchain modules. These two modules' concerns are separated as follows:
Supplier Module
Supplier (un/)staking
Supplier querying
Proof Module
Claim creation & querying
Proof submission & querying
Supplier lifecycle
The lifecycle of a Supplier in the network involves several phases, each with specific actions and status changes. Here’s a detailed breakdown:
Timeline of Events
Here’s a visual representation of the Supplier lifecycle from staking to unbonding with the following example parameters:
Unbonding Period: 3 sessions
Number of Blocks per Session: 10 blocks
Session End Height to Proof Window Close Height: 15 blocks
Session 1 [1,10] Block 3 DO Stake Supplier1 [Is inactive] Block 5 DO Stake Supplier2 [Is inactive]
Session 2 [11,20] Block 11 Supplier1 IS included in sessions Supplier2 IS included in sessions
Session 3 [21,30] Block 21 Supplier1 unstakes [Still active] Block 28 Supplier2 unstakes [Still active] Block 30 DO Deactivate Supplier1 DO Deactivate Supplier2
Session 4 [31,40] Block 31 Supplier1 IS NOT included in sessions Supplier2 IS NOT included in sessions
Session 5 [41,50] Block 45 ProofWindowClosed
Session 6 [51,60] Block 60 DO UNBOND Supplier1 DO UNBOND Supplier2
Links
Was this helpful?
