diff --git a/api/irismod/htlc/htlc.pulsar.go b/api/irismod/htlc/htlc.pulsar.go index 20b010f7..31ec50f6 100644 --- a/api/irismod/htlc/htlc.pulsar.go +++ b/api/irismod/htlc/htlc.pulsar.go @@ -4619,7 +4619,7 @@ var file_irismod_htlc_htlc_proto_rawDesc = []byte{ 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x1b, 0xc8, 0xde, 0x1f, 0x00, 0xf2, 0xde, 0x1f, 0x13, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x52, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x08, 0x98, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0xf8, + 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x08, 0x98, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0xc5, 0x03, 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x42, 0x0a, 0x0c, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x6c, 0x69, @@ -4630,71 +4630,65 @@ var file_irismod_htlc_htlc_proto_rawDesc = []byte{ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x75, 0x74, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x70, 0x75, 0x74, 0x79, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x4b, 0x0a, 0x09, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, - 0x66, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xc8, 0xde, 0x1f, 0x00, 0xda, - 0xde, 0x1f, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x69, 0x78, 0x65, 0x64, - 0x46, 0x65, 0x65, 0x12, 0x56, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xc8, 0xde, - 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, - 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x0d, 0x6d, 0x69, - 0x6e, 0x53, 0x77, 0x61, 0x70, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x56, 0x0a, 0x0f, 0x6d, - 0x61, 0x78, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x26, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x77, 0x61, 0x70, 0x41, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x69, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x69, 0x6e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, - 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x3a, - 0x08, 0x98, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0xa0, 0x02, 0x0a, 0x0b, 0x53, 0x75, - 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x44, 0x0a, 0x05, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, - 0x1f, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x65, 0x64, 0x12, 0x44, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x08, 0xc8, 0xde, 0x1f, 0x00, 0x98, 0xdf, 0x1f, 0x01, 0x52, 0x0a, 0x74, 0x69, - 0x6d, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x58, 0x0a, 0x10, 0x74, 0x69, 0x6d, 0x65, - 0x5f, 0x62, 0x61, 0x73, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x2e, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x26, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x49, - 0x6e, 0x74, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x61, 0x73, 0x65, 0x64, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x3a, 0x08, 0x98, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x2a, 0x80, 0x01, 0x0a, - 0x09, 0x48, 0x54, 0x4c, 0x43, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0f, 0x48, 0x54, - 0x4c, 0x43, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x00, 0x1a, - 0x08, 0x8a, 0x9d, 0x20, 0x04, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x27, 0x0a, 0x14, 0x48, 0x54, 0x4c, - 0x43, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, - 0x44, 0x10, 0x01, 0x1a, 0x0d, 0x8a, 0x9d, 0x20, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, - 0x65, 0x64, 0x12, 0x25, 0x0a, 0x13, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, - 0x5f, 0x52, 0x45, 0x46, 0x55, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x1a, 0x0c, 0x8a, 0x9d, 0x20, - 0x08, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 0x1a, 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x2a, - 0x61, 0x0a, 0x0d, 0x53, 0x77, 0x61, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x1a, 0x08, 0x8a, 0x9d, 0x20, 0x04, - 0x4e, 0x6f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x49, 0x4e, 0x47, - 0x10, 0x01, 0x1a, 0x0c, 0x8a, 0x9d, 0x20, 0x08, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, - 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x55, 0x54, 0x47, 0x4f, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x1a, 0x0c, - 0x8a, 0x9d, 0x20, 0x08, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x1a, 0x04, 0x88, 0xa3, - 0x1e, 0x00, 0x42, 0x95, 0x01, 0xc8, 0xe1, 0x1e, 0x00, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x69, - 0x72, 0x69, 0x73, 0x6d, 0x6f, 0x64, 0x2e, 0x68, 0x74, 0x6c, 0x63, 0x42, 0x09, 0x48, 0x74, 0x6c, - 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x6d, 0x6f, 0x64, 0x73, 0x2e, 0x69, - 0x72, 0x69, 0x73, 0x6e, 0x65, 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, - 0x72, 0x69, 0x73, 0x6d, 0x6f, 0x64, 0x2f, 0x68, 0x74, 0x6c, 0x63, 0xa2, 0x02, 0x03, 0x49, 0x48, - 0x58, 0xaa, 0x02, 0x0c, 0x49, 0x72, 0x69, 0x73, 0x6d, 0x6f, 0x64, 0x2e, 0x48, 0x74, 0x6c, 0x63, - 0xca, 0x02, 0x0c, 0x49, 0x72, 0x69, 0x73, 0x6d, 0x6f, 0x64, 0x5c, 0x48, 0x74, 0x6c, 0x63, 0xe2, - 0x02, 0x18, 0x49, 0x72, 0x69, 0x73, 0x6d, 0x6f, 0x64, 0x5c, 0x48, 0x74, 0x6c, 0x63, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x49, 0x72, 0x69, - 0x73, 0x6d, 0x6f, 0x64, 0x3a, 0x3a, 0x48, 0x74, 0x6c, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, + 0x66, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x69, 0x78, 0x65, 0x64, 0x46, + 0x65, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, + 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x53, + 0x77, 0x61, 0x70, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x0f, 0x6d, 0x61, 0x78, + 0x5f, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x1d, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, + 0x74, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x77, 0x61, 0x70, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x69, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6c, 0x6f, + 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, + 0x6d, 0x61, 0x78, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x3a, 0x08, 0x98, 0xa0, + 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x22, 0xfe, 0x01, 0x0a, 0x0b, 0x53, 0x75, 0x70, 0x70, 0x6c, + 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x33, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x12, 0x44, + 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, + 0xc8, 0xde, 0x1f, 0x00, 0x98, 0xdf, 0x1f, 0x01, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x50, 0x65, + 0x72, 0x69, 0x6f, 0x64, 0x12, 0x47, 0x0a, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x62, 0x61, 0x73, + 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1d, + 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, + 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x0e, 0x74, + 0x69, 0x6d, 0x65, 0x42, 0x61, 0x73, 0x65, 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x3a, 0x08, 0x98, + 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x2a, 0x80, 0x01, 0x0a, 0x09, 0x48, 0x54, 0x4c, 0x43, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0f, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x00, 0x1a, 0x08, 0x8a, 0x9d, 0x20, 0x04, + 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x27, 0x0a, 0x14, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x01, 0x1a, 0x0d, + 0x8a, 0x9d, 0x20, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, + 0x13, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x46, 0x55, + 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x1a, 0x0c, 0x8a, 0x9d, 0x20, 0x08, 0x52, 0x65, 0x66, 0x75, + 0x6e, 0x64, 0x65, 0x64, 0x1a, 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x2a, 0x61, 0x0a, 0x0d, 0x53, 0x77, + 0x61, 0x70, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x4e, + 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x1a, 0x08, 0x8a, 0x9d, 0x20, 0x04, 0x4e, 0x6f, 0x6e, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x1a, 0x0c, 0x8a, + 0x9d, 0x20, 0x08, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x4f, + 0x55, 0x54, 0x47, 0x4f, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x1a, 0x0c, 0x8a, 0x9d, 0x20, 0x08, 0x4f, + 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x1a, 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x42, 0x95, 0x01, + 0xc8, 0xe1, 0x1e, 0x00, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x69, 0x72, 0x69, 0x73, 0x6d, 0x6f, + 0x64, 0x2e, 0x68, 0x74, 0x6c, 0x63, 0x42, 0x09, 0x48, 0x74, 0x6c, 0x63, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x21, 0x6d, 0x6f, 0x64, 0x73, 0x2e, 0x69, 0x72, 0x69, 0x73, 0x6e, 0x65, + 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x72, 0x69, 0x73, 0x6d, 0x6f, + 0x64, 0x2f, 0x68, 0x74, 0x6c, 0x63, 0xa2, 0x02, 0x03, 0x49, 0x48, 0x58, 0xaa, 0x02, 0x0c, 0x49, + 0x72, 0x69, 0x73, 0x6d, 0x6f, 0x64, 0x2e, 0x48, 0x74, 0x6c, 0x63, 0xca, 0x02, 0x0c, 0x49, 0x72, + 0x69, 0x73, 0x6d, 0x6f, 0x64, 0x5c, 0x48, 0x74, 0x6c, 0x63, 0xe2, 0x02, 0x18, 0x49, 0x72, 0x69, + 0x73, 0x6d, 0x6f, 0x64, 0x5c, 0x48, 0x74, 0x6c, 0x63, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x49, 0x72, 0x69, 0x73, 0x6d, 0x6f, 0x64, 0x3a, + 0x3a, 0x48, 0x74, 0x6c, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/modules/htlc/types/htlc.pb.go b/modules/htlc/types/htlc.pb.go index 11864f75..2f371373 100644 --- a/modules/htlc/types/htlc.pb.go +++ b/modules/htlc/types/htlc.pb.go @@ -4,6 +4,7 @@ package types import ( + cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" @@ -225,15 +226,15 @@ var xxx_messageInfo_Params proto.InternalMessageInfo // AssetParam defines the struct of an AssetParam type AssetParam struct { - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - SupplyLimit SupplyLimit `protobuf:"bytes,2,opt,name=supply_limit,json=supplyLimit,proto3" json:"supply_limit"` - Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` - DeputyAddress string `protobuf:"bytes,4,opt,name=deputy_address,json=deputyAddress,proto3" json:"deputy_address,omitempty"` - FixedFee github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=fixed_fee,json=fixedFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"fixed_fee"` - MinSwapAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=min_swap_amount,json=minSwapAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_swap_amount"` - MaxSwapAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=max_swap_amount,json=maxSwapAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_swap_amount"` - MinBlockLock uint64 `protobuf:"varint,8,opt,name=min_block_lock,json=minBlockLock,proto3" json:"min_block_lock,omitempty"` - MaxBlockLock uint64 `protobuf:"varint,9,opt,name=max_block_lock,json=maxBlockLock,proto3" json:"max_block_lock,omitempty"` + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + SupplyLimit SupplyLimit `protobuf:"bytes,2,opt,name=supply_limit,json=supplyLimit,proto3" json:"supply_limit"` + Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` + DeputyAddress string `protobuf:"bytes,4,opt,name=deputy_address,json=deputyAddress,proto3" json:"deputy_address,omitempty"` + FixedFee cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=fixed_fee,json=fixedFee,proto3,customtype=cosmossdk.io/math.Int" json:"fixed_fee"` + MinSwapAmount cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=min_swap_amount,json=minSwapAmount,proto3,customtype=cosmossdk.io/math.Int" json:"min_swap_amount"` + MaxSwapAmount cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=max_swap_amount,json=maxSwapAmount,proto3,customtype=cosmossdk.io/math.Int" json:"max_swap_amount"` + MinBlockLock uint64 `protobuf:"varint,8,opt,name=min_block_lock,json=minBlockLock,proto3" json:"min_block_lock,omitempty"` + MaxBlockLock uint64 `protobuf:"varint,9,opt,name=max_block_lock,json=maxBlockLock,proto3" json:"max_block_lock,omitempty"` } func (m *AssetParam) Reset() { *m = AssetParam{} } @@ -270,10 +271,10 @@ var xxx_messageInfo_AssetParam proto.InternalMessageInfo // SupplyLimit defines the struct of an SupplyLimit type SupplyLimit struct { - Limit github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=limit,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"limit"` - TimeLimited bool `protobuf:"varint,2,opt,name=time_limited,json=timeLimited,proto3" json:"time_limited,omitempty"` - TimePeriod time.Duration `protobuf:"bytes,3,opt,name=time_period,json=timePeriod,proto3,stdduration" json:"time_period"` - TimeBasedLimit github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=time_based_limit,json=timeBasedLimit,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"time_based_limit"` + Limit cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=limit,proto3,customtype=cosmossdk.io/math.Int" json:"limit"` + TimeLimited bool `protobuf:"varint,2,opt,name=time_limited,json=timeLimited,proto3" json:"time_limited,omitempty"` + TimePeriod time.Duration `protobuf:"bytes,3,opt,name=time_period,json=timePeriod,proto3,stdduration" json:"time_period"` + TimeBasedLimit cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=time_based_limit,json=timeBasedLimit,proto3,customtype=cosmossdk.io/math.Int" json:"time_based_limit"` } func (m *SupplyLimit) Reset() { *m = SupplyLimit{} } @@ -321,77 +322,77 @@ func init() { func init() { proto.RegisterFile("irismod/htlc/htlc.proto", fileDescriptor_e80d32efefafa6aa) } var fileDescriptor_e80d32efefafa6aa = []byte{ - // 1106 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0x3d, 0x6f, 0x23, 0x45, - 0x18, 0xc7, 0xbd, 0xce, 0x26, 0xb7, 0x1e, 0xbf, 0x9c, 0x99, 0x0b, 0x64, 0x71, 0xc0, 0x36, 0x81, - 0x03, 0xeb, 0xd0, 0xad, 0xc9, 0x21, 0x0a, 0xd2, 0xc5, 0x2f, 0xb9, 0x44, 0xe4, 0xec, 0x68, 0x93, - 0x43, 0x27, 0x0a, 0x56, 0xe3, 0xdd, 0x89, 0x3d, 0xca, 0xee, 0xce, 0x6a, 0x67, 0x9c, 0x73, 0x3a, - 0x4a, 0x94, 0x0a, 0xba, 0x6b, 0x22, 0x45, 0xa2, 0xe3, 0x33, 0xf0, 0x01, 0x52, 0x5e, 0x89, 0x28, - 0x72, 0x90, 0x34, 0xd4, 0x54, 0x94, 0x68, 0x66, 0xd6, 0x6f, 0x57, 0x20, 0x2b, 0x4d, 0xe2, 0xe7, - 0xed, 0x37, 0x93, 0xe7, 0x99, 0xe7, 0x1f, 0x83, 0x35, 0x12, 0x13, 0x16, 0x50, 0xaf, 0x3e, 0xe0, - 0xbe, 0x2b, 0x7f, 0x58, 0x51, 0x4c, 0x39, 0x85, 0xb9, 0x24, 0x60, 0x09, 0x5f, 0xa9, 0xec, 0x52, - 0x16, 0x50, 0x56, 0xef, 0x21, 0x86, 0xeb, 0xa7, 0x9b, 0x3d, 0xcc, 0xd1, 0x66, 0xdd, 0xa5, 0x24, - 0x54, 0xd9, 0xa5, 0xd5, 0x3e, 0xed, 0x53, 0xf9, 0xb1, 0x2e, 0x3e, 0x25, 0xde, 0x72, 0x9f, 0xd2, - 0xbe, 0x8f, 0xeb, 0xd2, 0xea, 0x0d, 0x8f, 0xeb, 0xde, 0x30, 0x46, 0x9c, 0xd0, 0xa4, 0x6a, 0xe3, - 0x37, 0x1d, 0xe8, 0xbb, 0x47, 0xfb, 0x4d, 0x58, 0x00, 0x69, 0xe2, 0x99, 0x5a, 0x55, 0xab, 0x65, - 0xec, 0x34, 0xf1, 0xe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e, 0xb8, 0xae, 0x7c, 0xba, 0x80, 0x4a, 0xec, - 0x85, 0xdc, 0x36, 0x24, 0x60, 0x07, 0x63, 0xf8, 0x2d, 0xb8, 0x1f, 0x90, 0xd0, 0x61, 0x2f, 0x51, - 0xe4, 0x4c, 0x34, 0xe9, 0x2e, 0xc8, 0x7c, 0x40, 0x42, 0xb1, 0x62, 0xdb, 0x4a, 0x7d, 0x04, 0x17, - 0x8d, 0xe6, 0xb8, 0xf7, 0xee, 0xc8, 0x45, 0xa3, 0x19, 0xee, 0x27, 0xa0, 0x20, 0xee, 0x2b, 0x35, - 0x42, 0x49, 0x9b, 0x21, 0x85, 0x22, 0x17, 0x90, 0x50, 0xaa, 0x84, 0x94, 0x37, 0x91, 0x85, 0x46, - 0xb3, 0x59, 0x99, 0x24, 0x0b, 0x8d, 0x26, 0x59, 0x33, 0xa3, 0xbf, 0x4c, 0x83, 0xec, 0xcc, 0xd0, - 0x60, 0x0b, 0x2c, 0xab, 0xf1, 0x6a, 0x77, 0xba, 0xb3, 0x2a, 0x16, 0x92, 0x36, 0xbb, 0x66, 0xf2, - 0xad, 0x18, 0xea, 0x85, 0x27, 0x6b, 0x03, 0x5b, 0x40, 0x9a, 0x4e, 0x84, 0x63, 0x42, 0xbd, 0xc9, - 0x3a, 0x2f, 0xb0, 0x28, 0x40, 0xd4, 0x1d, 0xc8, 0x32, 0xf8, 0x02, 0x14, 0x25, 0x45, 0x6c, 0xaa, - 0x97, 0x3c, 0x4c, 0xfd, 0x4e, 0x37, 0x2f, 0x08, 0x4e, 0x43, 0x60, 0xe4, 0x0d, 0xa7, 0x2d, 0x7a, - 0xf4, 0x83, 0x06, 0x32, 0x13, 0xd1, 0x86, 0x1f, 0x82, 0xfb, 0xc2, 0x70, 0x0e, 0x8f, 0xb6, 0x8f, - 0xda, 0x4e, 0xf7, 0xa0, 0xdd, 0x29, 0xa6, 0x4a, 0xc6, 0xf9, 0x45, 0x55, 0xef, 0x46, 0x38, 0x84, - 0x9f, 0x81, 0xd5, 0x99, 0x70, 0xb3, 0xfb, 0xec, 0x60, 0xbf, 0x7d, 0xd4, 0x6e, 0x15, 0xb5, 0x52, - 0xfe, 0xfc, 0xa2, 0x9a, 0x69, 0xd2, 0x20, 0xf2, 0xb1, 0xf8, 0xfb, 0x1f, 0x82, 0x07, 0x33, 0x89, - 0x76, 0x7b, 0xe7, 0x79, 0xa7, 0xd5, 0x6e, 0x15, 0xd3, 0xa5, 0xdc, 0xf9, 0x45, 0xd5, 0xb0, 0xf1, - 0xf1, 0x30, 0xf4, 0xb0, 0x57, 0xd2, 0x7f, 0xfc, 0xa5, 0x9c, 0x7a, 0x84, 0x40, 0x7e, 0x4e, 0xc4, - 0x21, 0x04, 0x7a, 0xa7, 0xdb, 0x69, 0x8f, 0x8f, 0xee, 0xd0, 0x10, 0x8b, 0x7f, 0x12, 0x7b, 0x9d, - 0x66, 0xf7, 0xd9, 0x5e, 0xe7, 0x69, 0x51, 0x53, 0x98, 0xbd, 0x44, 0x8f, 0x45, 0xac, 0xfb, 0xfc, - 0xe8, 0x69, 0x57, 0xc4, 0x92, 0x23, 0xba, 0x89, 0xc2, 0xaa, 0x23, 0x1a, 0xdb, 0x57, 0x7f, 0x95, - 0x53, 0x57, 0x37, 0x65, 0xed, 0xf5, 0x4d, 0x59, 0xfb, 0xf3, 0xa6, 0xac, 0xfd, 0x74, 0x5b, 0x4e, - 0xbd, 0xbe, 0x2d, 0xa7, 0x7e, 0xbf, 0x2d, 0xa7, 0xbe, 0xfb, 0x38, 0xa0, 0x1e, 0x93, 0xab, 0x1e, - 0x62, 0x6e, 0xd1, 0xb8, 0x5f, 0x0f, 0xa8, 0x37, 0xf4, 0x31, 0x53, 0x5f, 0x78, 0x64, 0x1b, 0x7b, - 0x2b, 0x72, 0x6a, 0x5f, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xdb, 0xad, 0xc9, 0x0d, 0x09, - 0x00, 0x00, + // 1114 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x3b, 0x6f, 0x1b, 0x47, + 0x10, 0xe6, 0x49, 0x94, 0x7c, 0x5c, 0x3e, 0xcc, 0xac, 0xe5, 0xe8, 0x42, 0xc5, 0x24, 0xa3, 0xc4, + 0x08, 0xe1, 0xc0, 0xc7, 0xc8, 0x46, 0x8a, 0xa8, 0x13, 0x1f, 0x7a, 0x00, 0x32, 0x29, 0x9c, 0x64, + 0x20, 0x48, 0x91, 0xc3, 0xf2, 0x76, 0x45, 0x2e, 0x74, 0x77, 0x7b, 0xb8, 0x5d, 0xca, 0x54, 0x97, + 0x32, 0x50, 0x95, 0x74, 0x6e, 0x04, 0x18, 0x48, 0x97, 0xdf, 0x90, 0x36, 0x80, 0x4a, 0x97, 0x41, + 0x0a, 0x39, 0x91, 0x9a, 0xd4, 0xf9, 0x01, 0x41, 0xb0, 0xbb, 0xc7, 0x97, 0x8b, 0x80, 0x8d, 0xc4, + 0x99, 0xf9, 0xbe, 0x6f, 0x57, 0xf3, 0xed, 0x8c, 0x08, 0xd6, 0x69, 0x4c, 0x79, 0xc0, 0x70, 0x7d, + 0x20, 0x7c, 0x4f, 0xfd, 0xb0, 0xa3, 0x98, 0x09, 0x06, 0x73, 0x49, 0xc1, 0x96, 0xb9, 0x52, 0xd9, + 0x63, 0x3c, 0x60, 0xbc, 0xde, 0x43, 0x9c, 0xd4, 0xcf, 0xb7, 0x7a, 0x44, 0xa0, 0xad, 0xba, 0xc7, + 0x68, 0xa8, 0xd1, 0xa5, 0xb5, 0x3e, 0xeb, 0x33, 0xf5, 0xb1, 0x2e, 0x3f, 0x25, 0xd9, 0x72, 0x9f, + 0xb1, 0xbe, 0x4f, 0xea, 0x2a, 0xea, 0x0d, 0x4f, 0xeb, 0x78, 0x18, 0x23, 0x41, 0x59, 0xc2, 0xda, + 0xfc, 0x35, 0x0d, 0xd2, 0xfb, 0x27, 0x87, 0x4d, 0x58, 0x00, 0x4b, 0x14, 0x5b, 0x46, 0xd5, 0xa8, + 0x65, 0x9c, 0x25, 0x8a, 0xe1, 0x87, 0x60, 0x95, 0x93, 0x10, 0x93, 0xd8, 0x5a, 0x52, 0xb9, 0x24, + 0x92, 0x38, 0xc1, 0xac, 0x65, 0x8d, 0x13, 0x0c, 0x7e, 0x05, 0xd6, 0x63, 0xe2, 0x11, 0x7a, 0x4e, + 0x62, 0x97, 0x85, 0x2e, 0x13, 0x03, 0x12, 0xbb, 0xde, 0x00, 0xd1, 0xd0, 0x4a, 0x2b, 0xd0, 0xda, + 0xb8, 0xdc, 0x0d, 0xbb, 0xb2, 0xd8, 0x94, 0x35, 0xb8, 0x05, 0x1e, 0x6a, 0xc1, 0xf7, 0x49, 0x2b, + 0x8a, 0x04, 0x75, 0x71, 0x8e, 0xe2, 0x81, 0x55, 0x14, 0xb0, 0x61, 0x28, 0xac, 0xd5, 0xea, 0x72, + 0x2d, 0xfb, 0xec, 0x23, 0x5b, 0x77, 0xc4, 0x96, 0x1d, 0xb1, 0x93, 0x8e, 0xd8, 0x4d, 0x46, 0xc3, + 0xc6, 0x97, 0xd7, 0x37, 0x95, 0xd4, 0x2f, 0xef, 0x2a, 0xb5, 0x3e, 0x15, 0x83, 0x61, 0xcf, 0xf6, + 0x58, 0x50, 0x4f, 0xda, 0xa7, 0x7f, 0x3d, 0xe5, 0xf8, 0xac, 0x2e, 0x2e, 0x22, 0xc2, 0x15, 0x81, + 0x3b, 0x89, 0x34, 0xdc, 0x00, 0x99, 0x01, 0xe2, 0x03, 0xd7, 0x67, 0xde, 0x99, 0x75, 0x4f, 0xdd, + 0xc5, 0x94, 0x89, 0x43, 0xe6, 0x9d, 0xe9, 0x9e, 0x78, 0x31, 0x11, 0x96, 0x39, 0xee, 0x89, 0x8c, + 0xe0, 0xc7, 0x20, 0x23, 0x68, 0x40, 0xb8, 0x40, 0x41, 0x64, 0x65, 0xaa, 0x46, 0x2d, 0xed, 0x4c, + 0x13, 0xf0, 0x0b, 0xf0, 0x01, 0x19, 0x45, 0x54, 0xb7, 0xdd, 0x1d, 0x10, 0xda, 0x1f, 0x08, 0x0b, + 0x28, 0x54, 0x71, 0x5a, 0xd8, 0x57, 0x79, 0xf8, 0x14, 0xac, 0x70, 0x81, 0x04, 0xb1, 0xb2, 0x55, + 0xa3, 0x56, 0x78, 0xb6, 0x6e, 0xcf, 0xbe, 0x01, 0x5b, 0x3a, 0x75, 0x2c, 0xcb, 0x8e, 0x46, 0xc1, + 0x4f, 0x40, 0xce, 0xf3, 0x19, 0x27, 0xd8, 0xed, 0xa9, 0x1b, 0xe7, 0x94, 0x6c, 0x56, 0xe7, 0x1a, + 0x32, 0x05, 0x4b, 0xc0, 0x14, 0x31, 0x0a, 0xf9, 0x29, 0x89, 0xad, 0x7c, 0xd5, 0xa8, 0x99, 0xce, + 0x24, 0x86, 0x5f, 0x83, 0x0c, 0xa6, 0x31, 0xf1, 0xe4, 0x05, 0xac, 0x82, 0x3a, 0x71, 0x63, 0xfe, + 0xc4, 0xe3, 0x57, 0x28, 0x6a, 0x8d, 0x21, 0xce, 0x14, 0xbd, 0x9d, 0xfe, 0xfb, 0x4d, 0xc5, 0xd8, + 0xfc, 0x69, 0x19, 0x64, 0x77, 0x38, 0x27, 0xe2, 0x78, 0x18, 0x45, 0xfe, 0x05, 0xdc, 0x07, 0xf7, + 0x69, 0xe8, 0xb1, 0x80, 0x86, 0x7d, 0x97, 0xab, 0x94, 0x7a, 0x52, 0xff, 0x6b, 0x56, 0x5a, 0x9a, + 0xe5, 0x14, 0xc6, 0xbc, 0xa9, 0x12, 0x1b, 0x8a, 0x3e, 0x9b, 0x51, 0x5a, 0x5a, 0x50, 0x69, 0xcc, + 0x4b, 0x94, 0x76, 0x41, 0xc1, 0x1b, 0xc6, 0x31, 0x09, 0xc5, 0x58, 0x68, 0x79, 0x31, 0xa1, 0x7c, + 0x42, 0x4b, 0x74, 0xbe, 0x03, 0x1b, 0xd2, 0x54,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xdd, + 0x53, 0x42, 0xf4, 0x92, 0x69, 0x3c, 0x92, 0x87, 0xfc, 0x71, 0x53, 0x79, 0xa8, 0x2d, 0xe3, 0xf8, + 0xcc, 0xa6, 0xac, 0x1e, 0x20, 0x31, 0xb0, 0x0f, 0x42, 0xe1, 0x98, 0x0a, 0xbf, 0x4b, 0x08, 0x6c, + 0x83, 0xfb, 0x01, 0x0d, 0x5d, 0xfe, 0x0a, 0x45, 0xee, 0x64, 0x05, 0x2d, 0xa0, 0x90, 0x0f, 0x68, + 0x28, 0x07, 0x68, 0x47, 0xef, 0x16, 0x29, 0x83, 0x46, 0x73, 0x32, 0xf7, 0x16, 0x93, 0x41, 0xa3, + 0x19, 0x99, 0xcf, 0x40, 0x41, 0xde, 0x46, 0x0d, 0xbc, 0xde, 0x53, 0xa6, 0x9a, 0xfa, 0x5c, 0x40, + 0x43, 0x35, 0xf2, 0x6a, 0x57, 0x49, 0x14, 0x1a, 0xcd, 0xa2, 0x32, 0x09, 0x0a, 0x8d, 0x26, 0xa8, + 0x19, 0x1f, 0xff, 0x35, 0x40, 0x76, 0xc6, 0x01, 0xf8, 0x1c, 0xac, 0x68, 0xaf, 0x8c, 0x45, 0xae, + 0xa8, 0xb1, 0x72, 0x1d, 0xcd, 0x8e, 0x88, 0xf2, 0xd9, 0xd4, 0xaf, 0x33, 0x79, 0xf2, 0xb0, 0x05, + 0x54, 0xe8, 0x46, 0x24, 0xa6, 0x0c, 0x4f, 0x46, 0x71, 0x81, 0x47, 0x0e, 0x24, 0xef, 0x48, 0xd1, + 0xe0, 0x1e, 0x28, 0x2a, 0x15, 0x39, 0x65, 0x38, 0x79, 0x54, 0xe9, 0x45, 0x2e, 0x5a, 0x90, 0xb4, + 0x86, 0x64, 0xa9, 0x0b, 0x4d, 0x1b, 0xf0, 0xe4, 0x7b, 0x03, 0x64, 0x26, 0xfb, 0x15, 0x3e, 0x02, + 0xf7, 0x65, 0xe0, 0x1e, 0x9f, 0xec, 0x9c, 0xb4, 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0x5f, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xb8, 0xa7, 0xd8, 0xcc, 0xb8, 0x08, 0x00, 0x00, } func (this *HTLC) Equal(that interface{}) bool { diff --git a/proto/irismod/htlc/htlc.proto b/proto/irismod/htlc/htlc.proto index 3de76ed4..f3b3c1ef 100644 --- a/proto/irismod/htlc/htlc.proto +++ b/proto/irismod/htlc/htlc.proto @@ -88,15 +88,15 @@ message AssetParam { bool active = 3; // denotes if asset is available or paused string deputy_address = 4; // the address of the relayer process string fixed_fee = 5 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false ]; // the fixed fee charged by the relayer process for outgoing swaps string min_swap_amount = 6 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false ]; // Minimum swap amount string max_swap_amount = 7 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false ]; // Maximum swap amount uint64 min_block_lock = 8; // Minimum swap block lock @@ -109,7 +109,7 @@ message SupplyLimit { option (gogoproto.goproto_stringer) = false; string limit = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false ]; // the absolute supply limit for an asset bool time_limited = 2; // boolean for if the supply is also limited by time @@ -118,7 +118,7 @@ message SupplyLimit { (gogoproto.stdduration) = true ]; // the duration for which the supply time limit applies string time_based_limit = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", (gogoproto.nullable) = false ]; // the supply limit for an asset for each time period } \ No newline at end of file