File tree Expand file tree Collapse file tree
services/opencode/src/main/kotlin/com/getcode/opencode
internal/network/extensions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import com.codeinc.opencode.gen.messaging.v1.requestToGiveBill
66import com.codeinc.opencode.gen.messaging.v1.requestToGrabBill
77import com.codeinc.opencode.gen.transaction.v1.TransactionService
88import com.codeinc.opencode.gen.transaction.v1.TransactionService.OpenAccountsMetadata.AccountSet
9+ import com.codeinc.opencode.gen.transaction.v1.exchangeData
910import com.getcode.ed25519.Ed25519.KeyPair
1011import com.getcode.opencode.internal.solana.model.SwapId
1112import com.getcode.opencode.model.accounts.AccountType
@@ -150,6 +151,7 @@ internal fun TransactionMetadata.asProtobufMetadata(): TransactionService.Metada
150151 setClientExchangeData(verifiedExchangeData.asProtobufExchangeData())
151152 }
152153 }
154+ .setServerExchangeData(exchangeData.asProtobufExchangeData())
153155 .setDestination(destination.asSolanaAccountId())
154156 .apply {
155157 if (this @asProtobufMetadata.destinationOwner != null ) {
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ data class VmMetadata(
146146 * @property mintVault The address where this mint's tokens are locked against the liquidity pool
147147 * @property coreMintVault The address where core mint tokens are locked against the liquidity pool
148148 * @property currentCirculatingSupplyQuarks The current circulating mint token supply in quarks
149- * @property sellFeeBps Precent fee for sells in basis points, currently hardcoded to 1%
149+ * @property sellFeeBps Percent fee for sells in basis points, currently hardcoded to 1%
150150 */
151151@Parcelize
152152data class LaunchpadMetadata (
You can’t perform that action at this time.
0 commit comments