mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-02-10 11:56:49 +00:00
14 lines
370 B
Protocol Buffer
14 lines
370 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bitswap.payments.pb;
|
|
|
|
message PricingMessage {
|
|
bytes address = 1; // Ethereum address to which payments should be made
|
|
bytes asset = 2; // Asset (coin) with which to pay
|
|
bytes price = 3; // Amount of assets to pay per byte (UInt256)
|
|
}
|
|
|
|
message StateChannelUpdate {
|
|
bytes update = 1; // Signed Nitro state, serialized as JSON
|
|
}
|