/**
 * Runtime value for the Cosmwasm Platform
 */
export const _platform = "Cosmwasm";
export const searchCosmosLogs = (key, logs) => {
    for (const log of logs) {
        for (const ev of log.events) {
            for (const attr of ev.attributes) {
                if (attr.key === key)
                    return attr.value;
            }
        }
    }
    return null;
};
//# sourceMappingURL=types.js.map