nim-codex/dagger/bitswap/protobuf/payments.proto
2021-06-07 09:50:17 +02:00

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
}